diff options
author | Bernard Cafarelli <voyageur@gentoo.org> | 2020-12-02 08:58:04 +0100 |
---|---|---|
committer | Bernard Cafarelli <voyageur@gentoo.org> | 2020-12-02 08:58:04 +0100 |
commit | 142e422db67e63f6543793362bd8b8fc0d2556e4 (patch) | |
tree | 3069834a0e609ab3c86b11e62a24a76042170837 /net-print | |
parent | www-plugins/chrome-binary-plugins: automated update (88.0.4324.27) (diff) | |
download | gentoo-142e422db67e63f6543793362bd8b8fc0d2556e4.tar.gz gentoo-142e422db67e63f6543793362bd8b8fc0d2556e4.tar.bz2 gentoo-142e422db67e63f6543793362bd8b8fc0d2556e4.zip |
net-print/splix: drop old
Package-Manager: Portage-3.0.11, Repoman-3.0.2
Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>
Diffstat (limited to 'net-print')
-rw-r--r-- | net-print/splix/splix-2.0.0_p20130826.ebuild | 62 |
1 files changed, 0 insertions, 62 deletions
diff --git a/net-print/splix/splix-2.0.0_p20130826.ebuild b/net-print/splix/splix-2.0.0_p20130826.ebuild deleted file mode 100644 index 3ca2d9b6afb6..000000000000 --- a/net-print/splix/splix-2.0.0_p20130826.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -inherit eutils toolchain-funcs - -DESCRIPTION="A set of CUPS printer drivers for SPL (Samsung Printer Language) printers" -HOMEPAGE="http://splix.sourceforge.net/" -SRC_URI="https://dev.gentoo.org/~voyageur/distfiles/${P}.tar.bz2 - https://dev.gentoo.org/~voyageur/distfiles/samsung-cms-20120312.tar.xz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="+jbig" - -DEPEND=">=app-text/ghostscript-gpl-9.02 - >=net-print/cups-1.4.0 - jbig? ( media-libs/jbigkit )" -RDEPEND="${DEPEND}" - -src_prepare() { - # Move to correct place - mv *.ppd ppd/ || die "ppd files move failed" - # Honor LDFLAGS - sed -e "/[a-z]_LDFLAGS/s/:=.*/:= $\{LDFLAGS\}/" -i module.mk \ - || die "module.mk sed failed" - # Correct link comand - sed -e "s/g++/$\{LINKER\}/" -i rules.mk \ - || die "rules.mk sed failed" -} - -src_compile() { - local options="MODE=optimized" - use jbig || options="${options} DISABLE_JBIG=1" - emake ${options} PSTORASTER=gstoraster CXX="$(tc-getCXX)" \ - OPTIM_CFLAGS="${CFLAGS}" OPTIM_CXXFLAGS="${CXXFLAGS}" -} - -src_install() { - emake DESTDIR="${D}" install - gzip "${ED}"/$(cups-config --datadir)/model/*/*.ppd || die "ppd gzip failed" - - emake DESTDIR="${D}" CMSDIR="${WORKDIR}"/cms MANUFACTURER=samsung installcms - # Add symlinks for xerox and dell models (installed in samsung) - dosym $(cups-config --datadir)/profiles/samsung $(cups-config --datadir)/profiles/xerox - dosym $(cups-config --datadir)/profiles/samsung $(cups-config --datadir)/profiles/dell -} - -pkg_postinst() { - ewarn "You *MUST* make sure that the PPD files that CUPS is using" - ewarn "for actually installed printers are updated if you upgraded" - ewarn "from a previous version of splix!" - ewarn "Otherwise you will be unable to print (your printer might" - ewarn "spit out blank pages etc.)." - ewarn "To do that, simply delete the corresponding PPD file in" - ewarn "/etc/cups/ppd/, click on 'Modify Printer' belonging to the" - ewarn "corresponding printer in the CUPS webinterface (usually" - ewarn "reachable via http://localhost:631/) and choose the correct" - ewarn "printer make and model, for example:" - ewarn "'Samsung' -> 'Samsung ML-1610, 1.0 (en)'" -} |