1 |
commit: 7626f9981ec8d4c7962a7c0d587fa471a9a1cbb0 |
2 |
Author: Tupone Alfredo <tupone <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Sep 21 09:05:42 2018 +0000 |
4 |
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Sep 21 09:05:42 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7626f998 |
7 |
|
8 |
net-print/cnijfilter2: Version bump to 5.50 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/665810 |
11 |
Closes: https://bugs.gentoo.org/660436 |
12 |
Package-Manager: Portage-2.3.40, Repoman-2.3.9 |
13 |
|
14 |
net-print/cnijfilter2/Manifest | 1 + |
15 |
net-print/cnijfilter2/cnijfilter2-5.50.ebuild | 64 +++++++++++++++++++++++++++ |
16 |
2 files changed, 65 insertions(+) |
17 |
|
18 |
diff --git a/net-print/cnijfilter2/Manifest b/net-print/cnijfilter2/Manifest |
19 |
index 5bfb823fd70..b6dcf783578 100644 |
20 |
--- a/net-print/cnijfilter2/Manifest |
21 |
+++ b/net-print/cnijfilter2/Manifest |
22 |
@@ -1,2 +1,3 @@ |
23 |
DIST cnijfilter2-source-5.20-1.tar.gz 466507 BLAKE2B 1ca96153350a157f56dfed691a04dcbe1e3ab5462b59c0cd919316a7c54a36bbeb34cf4205132f0aa3e5a23f89eb260c35c1a3ee14ea85bc36b9e3b67cd7e3f7 SHA512 60be49d34adf9a4d2cd8337cccb36eb8c078e9712bf8043c3552f1d83c3da307badfe34fc3683c99e3234da30f4ba82e0c4a0b48ea5f78f0d66db1408bd7d495 |
24 |
DIST cnijfilter2-source-5.40-1.tar.gz 817298 BLAKE2B 1088eb19c70ed9133c38b8a6da9fbc26c42d6f077fda01678fb4485c2db21a17567fab8ab5c9565ece7ea13e5fac3f7c5842e984116d6c595e7a1f19092d3461 SHA512 bb4ce18864037fae9735fcb1b2c3198fe39f8abe0caa754e457e3cb0d03767742d82ff4fddf81451215395b23eea8207a880e238558e0ea2ac5c359186ecd859 |
25 |
+DIST cnijfilter2-source-5.50-1.tar.gz 1129057 BLAKE2B 20208b1fa679a4303b5f47ae733224fa1346277d539e62688ecbfaa6a1a9f7b01cb4742c299ec188d59787e4175896dfe8d812f8aa936977f8168d823216b239 SHA512 9a99d0230fb9498d2b17648e58009efa5812fe5c076c11fdc6c2afeec453e355c1e3406053330e965e46be23651df6b887d0edb20eebd564554a7bf31b155186 |
26 |
|
27 |
diff --git a/net-print/cnijfilter2/cnijfilter2-5.50.ebuild b/net-print/cnijfilter2/cnijfilter2-5.50.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..eadbf778b1f |
30 |
--- /dev/null |
31 |
+++ b/net-print/cnijfilter2/cnijfilter2-5.50.ebuild |
32 |
@@ -0,0 +1,64 @@ |
33 |
+# Copyright 1999-2018 Gentoo Foundation |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=6 |
37 |
+ |
38 |
+inherit autotools |
39 |
+ |
40 |
+MY_P="${PN}-source-${PV}-1" |
41 |
+ |
42 |
+DESCRIPTION="IJ Printer Driver" |
43 |
+HOMEPAGE="https://www.canon.it/" |
44 |
+SRC_URI="http://gdlp01.c-wss.com/gds/0/0100009110/01/${MY_P}.tar.gz" |
45 |
+ |
46 |
+LICENSE="Canon-IJ" |
47 |
+SLOT="0" |
48 |
+KEYWORDS="~amd64 ~x86" |
49 |
+IUSE="" |
50 |
+ |
51 |
+DEPEND="virtual/libusb:1 |
52 |
+ dev-libs/libxml2 |
53 |
+ net-print/cups" |
54 |
+RDEPEND="${DEPEND}" |
55 |
+ |
56 |
+S="${WORKDIR}"/${MY_P} |
57 |
+ |
58 |
+PATCHES=( "${FILESDIR}"/${PN}-5.20-gentoo.patch ) |
59 |
+ |
60 |
+src_prepare() { |
61 |
+ default |
62 |
+ DIRS="cmdtocanonij2 cnijbe2 lgmon3 rastertocanonij tocanonij tocnpwg" |
63 |
+ LIBDIR=com/libs_bin$(usex amd64 64 32) |
64 |
+ for d in ${DIRS}; do |
65 |
+ mv "${d}"/configure.{in,ac} || die |
66 |
+ done |
67 |
+ echo "AC_INIT([${PN}], [${PV}])" >> configure.ac |
68 |
+ echo "AM_INIT_AUTOMAKE" >> configure.ac |
69 |
+ echo "AC_CONFIG_SUBDIRS([${DIRS}])" >> configure.ac |
70 |
+ echo "AC_CONFIG_FILES([Makefile])" >> configure.ac |
71 |
+ echo "AC_OUTPUT()" >> configure.ac |
72 |
+ echo "SUBDIRS= ${DIRS}" >> Makefile.am |
73 |
+ sed -i \ |
74 |
+ -e "/^CFLAGS/d" \ |
75 |
+ */configure.ac || die |
76 |
+ eautoreconf |
77 |
+ cd ${LIBDIR} |
78 |
+ rm libcn*.so || die |
79 |
+ ln -sf libcnbpcnclapicom2.so.5.0.0 libcnbpcnclapicom2.so || die |
80 |
+ ln -sf libcnbpnet20.so.1.0.0 libcnbpnet20.so || die |
81 |
+ ln -sf libcnbpnet30.so.1.0.0 libcnbpnet30.so || die |
82 |
+ ln -sf libcnnet2.so.1.2.4 libcnnet2.so || die |
83 |
+ |
84 |
+ cd - |
85 |
+} |
86 |
+ |
87 |
+src_configure() { |
88 |
+ LDFLAGS="-L"${S}"/${LIBDIR}" econf --enable-progpath="${EPREFIX}/usr/bin" |
89 |
+} |
90 |
+ |
91 |
+src_install() { |
92 |
+ default |
93 |
+ insinto /usr/share/ppd/cupsfilters |
94 |
+ doins ppd/*ppd |
95 |
+ dolib.so ${LIBDIR}/* |
96 |
+} |