Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-print/cndrvcups-common-lb/
Date: Thu, 07 Jan 2021 11:33:37
Message-Id: 1610019201.eb47eaebf7b3e9e51540f204839d6ad231c24ae6.sam@gentoo
1 commit: eb47eaebf7b3e9e51540f204839d6ad231c24ae6
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jan 7 11:29:45 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Thu Jan 7 11:33:21 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb47eaeb
7
8 net-print/cndrvcups-common-lb: cleanup old
9
10 Package-Manager: Portage-3.0.12, Repoman-3.0.2
11 Signed-off-by: Sam James <sam <AT> gentoo.org>
12
13 net-print/cndrvcups-common-lb/Manifest | 1 -
14 .../cndrvcups-common-lb-3.60-r1.ebuild | 116 ---------------------
15 2 files changed, 117 deletions(-)
16
17 diff --git a/net-print/cndrvcups-common-lb/Manifest b/net-print/cndrvcups-common-lb/Manifest
18 index 225fe9561f2..b8b441732ad 100644
19 --- a/net-print/cndrvcups-common-lb/Manifest
20 +++ b/net-print/cndrvcups-common-lb/Manifest
21 @@ -1,2 +1 @@
22 -DIST linux-UFRII-drv-v360-uken.tar.gz 116695930 BLAKE2B 75b0ed7a957fbc1677a834e67b92b7752cfa74536cb238b553f1c2c98b86399c29209240d093492ea212618c0092ad59a22f03f992462b8ef488f8ed58b51d21 SHA512 c8b2abb2d0e9ccf972241dda5154c0ddd1ba9cfe6c721c242c40c90cf29e8d0b2c6a559907318cd191232f699a42425cc4148aebcaab6aa111f1cb5439777ce7
23 DIST linux-UFRII-drv-v370-uken-05.tar.gz 117334511 BLAKE2B 295c7a710b0f1ee29e642b29c7b0576f68317dba93758825aa85d431129cebea174d5c2dfa67f7506fa3b18fe48d373f0dc9331ed9caabc2e3bc733946aefd97 SHA512 d83254b7f7f87c56caeaaf151d898de36f746c03ad88d427959bdeec905b9cd92a14a8ac534073473a6cefbb5e2b0be9e9faa79b500e252ecd0a0564d2312bbc
24
25 diff --git a/net-print/cndrvcups-common-lb/cndrvcups-common-lb-3.60-r1.ebuild b/net-print/cndrvcups-common-lb/cndrvcups-common-lb-3.60-r1.ebuild
26 deleted file mode 100644
27 index cbdab7f9b8c..00000000000
28 --- a/net-print/cndrvcups-common-lb/cndrvcups-common-lb-3.60-r1.ebuild
29 +++ /dev/null
30 @@ -1,116 +0,0 @@
31 -# Copyright 1999-2019 Gentoo Authors
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=7
35 -inherit autotools
36 -
37 -MY_PV="$(ver_rs 1- '')"
38 -SOURCES_NAME="linux-UFRII-drv-v${MY_PV}-uken"
39 -
40 -DESCRIPTION="Common files for Canon drivers"
41 -HOMEPAGE="https://www.canon-europe.com/support/products/imagerunner/imagerunner-1730i.aspx"
42 -SRC_URI="http://gdlp01.c-wss.com/gds/0/0100009240/02/${SOURCES_NAME}.tar.gz"
43 -
44 -# GPL-2 License inside LICENSE-EN.txt files
45 -LICENSE="Canon-UFR-II GPL-2 MIT"
46 -SLOT="0"
47 -KEYWORDS="-* amd64 x86"
48 -IUSE=""
49 -
50 -RDEPEND="
51 - >=dev-libs/libxml2-2.6:2
52 - >=gnome-base/libglade-2.4:2.0
53 - >=net-print/cups-1.1.17
54 - >=x11-libs/gtk+-2.4:2
55 -"
56 -DEPEND="${DEPEND}"
57 -
58 -S="${WORKDIR}/${SOURCES_NAME}/Sources/${P/-lb-${PV}/-4.00}"
59 -
60 -pkg_setup() {
61 - # Don't raise a fuss over pre-built binaries
62 - QA_PREBUILT="
63 - /usr/libexec/cups/filter/c3pldrv
64 - /usr/$(get_abi_LIBDIR x86)/libColorGear.so.0.0.0
65 - /usr/$(get_abi_LIBDIR x86)/libColorGearC.so.1.0.0
66 - /usr/$(get_abi_LIBDIR x86)/libc3pl.so.0.0.1
67 - /usr/$(get_abi_LIBDIR x86)/libcaepcm.so.1.0
68 - /usr/$(get_abi_LIBDIR x86)/libcaiousb.so.1.0.0
69 - /usr/$(get_abi_LIBDIR x86)/libcaiowrap.so.1.0.0
70 - /usr/$(get_abi_LIBDIR x86)/libcanon_slim.so.1.0.0
71 - /usr/$(get_libdir)/libcanonc3pl.so.1.0.0
72 - "
73 - QA_SONAME="
74 - /usr/$(get_abi_LIBDIR x86)/libcaiousb.so.1.0.0
75 - "
76 -}
77 -
78 -src_unpack() {
79 - unpack ${A}
80 - cd "${WORKDIR}/${SOURCES_NAME}/Sources/" || die
81 - unpack ./${P/-lb-${PV}/-4.00}-1.tar.gz
82 -}
83 -
84 -change_dir() {
85 - for i in cngplp buftool backend; do
86 - cd "${i}" || die
87 - "${@}"
88 - cd "${S}" || die
89 - done
90 -}
91 -
92 -src_prepare() {
93 - default
94 - sed -i -e \
95 - "s:backenddir = \$(libdir)/cups/backend:backenddir = `cups-config --serverbin`/backend:" \
96 - backend/Makefile.am || die
97 -
98 - export "LIBS=-lgtk-x11-2.0 -lgobject-2.0 -lglib-2.0 -lgmodule-2.0"
99 - change_dir eautoreconf
100 -}
101 -
102 -src_configure() {
103 - change_dir econf
104 -}
105 -
106 -src_compile() {
107 - change_dir emake
108 -
109 - # Cannot be moved to 'change_dir' as it doesn't need eautoreconf
110 - cd "${S}/c3plmod_ipc" || die
111 - emake
112 -}
113 -
114 -src_install() {
115 - MAKEOPTS+=" -j1" default
116 -
117 - einstalldocs
118 -
119 - cd "${S}/c3plmod_ipc" || die
120 - dolib.so libcanonc3pl.so.1.0.0
121 - dosym libcanonc3pl.so.1.0.0 "/usr/$(get_libdir)/libcanonc3pl.so.1"
122 - dosym libcanonc3pl.so.1.0.0 "/usr/$(get_libdir)/libcanonc3pl.so"
123 -
124 - cd "${S}/data" || die
125 - insinto /usr/share/caepcm
126 - doins *
127 -
128 - ABI=x86
129 - cd "${S}/libs" || die
130 - exeinto $(cups-config --serverbin)/filter
131 - doexe c3pldrv
132 - dolib.so libcaepcm.so.1.0
133 - dosym libcaepcm.so.1.0 "/usr/$(get_libdir)/libcaepcm.so.1"
134 - dosym libcaepcm.so.1.0 "/usr/$(get_libdir)/libcaepcm.so"
135 - for lib in *.so.?.?.?; do
136 - dolib.so "${lib}"
137 - dosym "${lib}" "/usr/$(get_libdir)/${lib%.?.?}"
138 - dosym "${lib}" "/usr/$(get_libdir)/${lib%.?.?.?}"
139 - done
140 -
141 - # c3pldrv dlopens the absolute path /usr/lib/libc3pl.so :(, bug #????
142 - # Only needed with SYMLINK_LIB=yes #642138
143 - if [[ "$(get_libdir)" != lib ]] && [[ ${SYMLINK_LIB} = yes ]]; then
144 - dosym "../$(get_libdir)/libc3pl.so" /usr/lib/libc3pl.so
145 - fi
146 -}