Diff splix-2.0.1 with a splix-2.0.2
| /usr/portage/net-print/splix/splix-2.0.2.ebuild 2026-08-20 20:03:04.825346749 +0300 | ||
|---|---|---|
| 1 |
# Copyright 1999-2025 Gentoo Authors |
|
| 1 |
# Copyright 1999-2026 Gentoo Authors |
|
| 2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 | 3 | |
| 4 | 4 |
EAPI=8 |
| ... | ... | |
| 11 | 11 | |
| 12 | 12 |
LICENSE="GPL-2" |
| 13 | 13 |
SLOT="0" |
| 14 |
KEYWORDS="amd64 ~arm64 x86" |
|
| 14 |
KEYWORDS="~amd64 ~arm64 ~x86" |
|
| 15 | 15 |
IUSE="+jbig" |
| 16 | 16 | |
| 17 | 17 |
DEPEND=">=app-text/ghostscript-gpl-9.02 |
| ... | ... | |
| 26 | 26 | |
| 27 | 27 |
# Move to correct place |
| 28 | 28 |
mv *.ppd ppd/ |
| 29 |
# Honor LDFLAGS |
|
| 30 |
sed -e "/[a-z]_LDFLAGS/s/:=.*/:= $\{LDFLAGS\}/" -i module.mk \
|
|
| 31 |
|| die |
|
| 29 | ||
| 30 |
# Tarball missing PPD localization files for new printers |
|
| 31 |
sed -e "s/^LANGUAGES.*:=.*/LANGUAGES :=/" -i ppd/Makefile || die |
|
| 32 |
emake -C ppd distclean |
|
| 32 | 33 |
} |
| 33 | 34 | |
| 34 | 35 |
src_compile() {
|
| ... | ... | |
| 36 | 37 |
use jbig || options="${options} DISABLE_JBIG=1"
|
| 37 | 38 |
emake ${options} PSTORASTER=gstoraster CXX="$(tc-getCXX)" \
|
| 38 | 39 |
OPTIM_CFLAGS="${CFLAGS}" OPTIM_CXXFLAGS="${CXXFLAGS}"
|
| 40 | ||
| 41 |
emake -C ppd ppd ${options}
|
|
| 39 | 42 |
} |
| 40 | 43 | |
| 41 | 44 |
src_install() {
|
| 42 | 45 |
emake DESTDIR="${D}" install
|
| 43 |
gzip "${ED}"/$(cups-config --datadir)/model/*/*.ppd || die
|
|
| 46 |
gzip "${ED}"/$(pkg-config --variable=cups_datadir cups)/model/*/*.ppd || die
|
|
| 44 | 47 | |
| 45 | 48 |
emake DESTDIR="${D}" CMSDIR="${WORKDIR}"/cms MANUFACTURER=samsung installcms
|
| 46 | 49 |
# Add symlinks for xerox and dell models (installed in samsung) |
| 47 |
dosym $(cups-config --datadir)/profiles/samsung $(cups-config --datadir)/profiles/xerox |
|
| 48 |
dosym $(cups-config --datadir)/profiles/samsung $(cups-config --datadir)/profiles/dell |
|
| 50 |
dosym $(pkg-config --variable=cups_datadir cups)/profiles/samsung \ |
|
| 51 |
$(pkg-config --variable=cups_datadir cups)/profiles/xerox |
|
| 52 |
dosym $(pkg-config --variable=cups_datadir cups)/profiles/samsung \ |
|
| 53 |
$(pkg-config --variable=cups_datadir cups)/profiles/dell |
|
| 49 | 54 |
} |
| 50 | 55 | |
| 51 | 56 |
pkg_postinst() {
|