1 |
commit: 142e422db67e63f6543793362bd8b8fc0d2556e4 |
2 |
Author: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Dec 2 07:58:04 2020 +0000 |
4 |
Commit: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Dec 2 07:58:04 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=142e422d |
7 |
|
8 |
net-print/splix: drop old |
9 |
|
10 |
Package-Manager: Portage-3.0.11, Repoman-3.0.2 |
11 |
Signed-off-by: Bernard Cafarelli <voyageur <AT> gentoo.org> |
12 |
|
13 |
net-print/splix/splix-2.0.0_p20130826.ebuild | 62 ---------------------------- |
14 |
1 file changed, 62 deletions(-) |
15 |
|
16 |
diff --git a/net-print/splix/splix-2.0.0_p20130826.ebuild b/net-print/splix/splix-2.0.0_p20130826.ebuild |
17 |
deleted file mode 100644 |
18 |
index 3ca2d9b6afb..00000000000 |
19 |
--- a/net-print/splix/splix-2.0.0_p20130826.ebuild |
20 |
+++ /dev/null |
21 |
@@ -1,62 +0,0 @@ |
22 |
-# Copyright 1999-2018 Gentoo Foundation |
23 |
-# Distributed under the terms of the GNU General Public License v2 |
24 |
- |
25 |
-EAPI=5 |
26 |
-inherit eutils toolchain-funcs |
27 |
- |
28 |
-DESCRIPTION="A set of CUPS printer drivers for SPL (Samsung Printer Language) printers" |
29 |
-HOMEPAGE="http://splix.sourceforge.net/" |
30 |
-SRC_URI="https://dev.gentoo.org/~voyageur/distfiles/${P}.tar.bz2 |
31 |
- https://dev.gentoo.org/~voyageur/distfiles/samsung-cms-20120312.tar.xz" |
32 |
- |
33 |
-LICENSE="GPL-2" |
34 |
-SLOT="0" |
35 |
-KEYWORDS="amd64 x86" |
36 |
-IUSE="+jbig" |
37 |
- |
38 |
-DEPEND=">=app-text/ghostscript-gpl-9.02 |
39 |
- >=net-print/cups-1.4.0 |
40 |
- jbig? ( media-libs/jbigkit )" |
41 |
-RDEPEND="${DEPEND}" |
42 |
- |
43 |
-src_prepare() { |
44 |
- # Move to correct place |
45 |
- mv *.ppd ppd/ || die "ppd files move failed" |
46 |
- # Honor LDFLAGS |
47 |
- sed -e "/[a-z]_LDFLAGS/s/:=.*/:= $\{LDFLAGS\}/" -i module.mk \ |
48 |
- || die "module.mk sed failed" |
49 |
- # Correct link comand |
50 |
- sed -e "s/g++/$\{LINKER\}/" -i rules.mk \ |
51 |
- || die "rules.mk sed failed" |
52 |
-} |
53 |
- |
54 |
-src_compile() { |
55 |
- local options="MODE=optimized" |
56 |
- use jbig || options="${options} DISABLE_JBIG=1" |
57 |
- emake ${options} PSTORASTER=gstoraster CXX="$(tc-getCXX)" \ |
58 |
- OPTIM_CFLAGS="${CFLAGS}" OPTIM_CXXFLAGS="${CXXFLAGS}" |
59 |
-} |
60 |
- |
61 |
-src_install() { |
62 |
- emake DESTDIR="${D}" install |
63 |
- gzip "${ED}"/$(cups-config --datadir)/model/*/*.ppd || die "ppd gzip failed" |
64 |
- |
65 |
- emake DESTDIR="${D}" CMSDIR="${WORKDIR}"/cms MANUFACTURER=samsung installcms |
66 |
- # Add symlinks for xerox and dell models (installed in samsung) |
67 |
- dosym $(cups-config --datadir)/profiles/samsung $(cups-config --datadir)/profiles/xerox |
68 |
- dosym $(cups-config --datadir)/profiles/samsung $(cups-config --datadir)/profiles/dell |
69 |
-} |
70 |
- |
71 |
-pkg_postinst() { |
72 |
- ewarn "You *MUST* make sure that the PPD files that CUPS is using" |
73 |
- ewarn "for actually installed printers are updated if you upgraded" |
74 |
- ewarn "from a previous version of splix!" |
75 |
- ewarn "Otherwise you will be unable to print (your printer might" |
76 |
- ewarn "spit out blank pages etc.)." |
77 |
- ewarn "To do that, simply delete the corresponding PPD file in" |
78 |
- ewarn "/etc/cups/ppd/, click on 'Modify Printer' belonging to the" |
79 |
- ewarn "corresponding printer in the CUPS webinterface (usually" |
80 |
- ewarn "reachable via http://localhost:631/) and choose the correct" |
81 |
- ewarn "printer make and model, for example:" |
82 |
- ewarn "'Samsung' -> 'Samsung ML-1610, 1.0 (en)'" |
83 |
-} |