public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Pacho Ramos" <pacho@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-print/cndrvcups-common-lb/
Date: Sat, 21 Nov 2015 11:27:02 +0000 (UTC)	[thread overview]
Message-ID: <1448105214.3f28d5d1c1ac4562ec14213187f451ee09e7cf82.pacho@gentoo> (raw)

commit:     3f28d5d1c1ac4562ec14213187f451ee09e7cf82
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 21 11:25:59 2015 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Sat Nov 21 11:26:54 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f28d5d1

net-print/cndrvcups-common-lb: Version bump (#565606 by Kalin KOZHUHAROV)

Package-Manager: portage-2.2.24

 net-print/cndrvcups-common-lb/Manifest             |   1 +
 .../cndrvcups-common-lb-3.10.ebuild                | 111 +++++++++++++++++++++
 2 files changed, 112 insertions(+)

diff --git a/net-print/cndrvcups-common-lb/Manifest b/net-print/cndrvcups-common-lb/Manifest
index 19c82e7..0714db8 100644
--- a/net-print/cndrvcups-common-lb/Manifest
+++ b/net-print/cndrvcups-common-lb/Manifest
@@ -1 +1,2 @@
 DIST Linux_UFRII_PrinterDriver_V290_uk_EN.tar.gz 90901373 SHA256 bcc9db26e261d239438aeb15f171b5b0e7fd305abd0729be0e806bb4c039654a SHA512 23181155f5719fa0a9c216c058be749b5faaa8ee745d260eba2e5e284ef4ff161e344289a7c301a2d74cc919c5031763b0daf41cd07686cfdce188492a9b34b2 WHIRLPOOL 82bb966d823f8019d6275d421ebd2ff848556415e1767bd8fc2638d97479e15029a48818e5b45e9210781f4f37fd269dde46763404314b6c47ee0b4670e03600
+DIST o1581en_linux_UFRII_v300.zip 94262679 SHA256 1ec1b162411642dc1814608ec71a3b94d6e22ede234f6b750bbdfd3820d5ac46 SHA512 e31415f2e9256c5dc98e27afe3bdc2f75b852d0a99721f8f2ac78225bac497e84c6ce94e8447f3aed6bb6c94975c7625f0dbb2647be44f90c144a46e9af89b81 WHIRLPOOL f419d6130ce9cfd87caebc9678991bbd46e2db5f8bb5a39fb8202a7532de33e969f4f907f2f1404859f987c57f49f562defcec42380ea1b4f284b8d4c6cae3e6

diff --git a/net-print/cndrvcups-common-lb/cndrvcups-common-lb-3.10.ebuild b/net-print/cndrvcups-common-lb/cndrvcups-common-lb-3.10.ebuild
new file mode 100644
index 0000000..0ed0e99
--- /dev/null
+++ b/net-print/cndrvcups-common-lb/cndrvcups-common-lb-3.10.ebuild
@@ -0,0 +1,111 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit autotools multilib versionator
+
+DESCRIPTION="Common files for Canon drivers"
+HOMEPAGE="http://software.canon-europe.com/software/0046530.asp"
+SRC_URI="http://files.canon-europe.com/files/soft46530/software/o1581en_linux_UFRII_v300.zip"
+
+LICENSE="Canon-UFR-II GPL-2 MIT"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~x86"
+IUSE=""
+
+# Needed because GPL2 stuff miss their sources in tarball
+RESTRICT="mirror"
+
+RDEPEND="
+	dev-libs/libxml2
+	gnome-base/libglade
+	net-print/cups
+	x11-libs/gtk+:2
+"
+DEPEND="${DEPEND}"
+
+S="${WORKDIR}/uk_eng/Sources/${P}"
+
+# Don't raise a fuss over pre-built binaries
+QA_PREBUILT="
+	/usr/libexec/cups/filter/c3pldrv
+	/usr/$(get_abi_LIBDIR x86)/libColorGear.so.0.0.0
+	/usr/$(get_abi_LIBDIR x86)/libColorGearC.so.0.0.0
+	/usr/$(get_abi_LIBDIR x86)/libc3pl.so.0.0.1
+	/usr/$(get_abi_LIBDIR x86)/libcaepcm.so.1.0
+	/usr/$(get_abi_LIBDIR x86)/libcaiousb.so.1.0.0
+	/usr/$(get_abi_LIBDIR x86)/libcaiowrap.so.1.0.0
+	/usr/$(get_abi_LIBDIR x86)/libcanon_slim.so.1.0.0
+	/usr/$(get_libdir)/libcanonc3pl.so.1.0.0
+"
+QA_SONAME="/usr/$(get_abi_LIBDIR x86)/libcaiousb.so.1.0.0"
+
+S="${WORKDIR}/uk_eng/Sources/${P//-lb}"
+
+src_unpack() {
+	unpack ${A}
+	cd "${WORKDIR}/uk_eng/Sources/"
+	unpack ./${P//-lb}-1.tar.gz
+}
+
+change_dir() {
+	for i in cngplp buftool backend; do
+		cd "${i}"
+		"${@}"
+		cd "${S}"
+	done
+}
+
+src_prepare() {
+	sed -i -e \
+		"s:backenddir = \$(libdir)/cups/backend:backenddir = `cups-config --serverbin`/backend:" \
+		backend/Makefile.am || die
+
+	export "LIBS=-lgmodule-2.0"
+	change_dir eautoreconf
+}
+
+src_configure() {
+	change_dir econf
+}
+
+src_compile() {
+	change_dir emake
+
+	# Cannot be moved to 'change_dir' as it doesn't need eautoreconf
+	cd "${S}/c3plmod_ipc" && emake
+}
+
+src_install() {
+	MAKEOPTS+=" -j1" default
+
+	einstalldocs
+
+	cd "${S}/c3plmod_ipc"
+	dolib.so libcanonc3pl.so.1.0.0
+	dosym libcanonc3pl.so.1.0.0 "/usr/$(get_libdir)/libcanonc3pl.so.1"
+	dosym libcanonc3pl.so.1.0.0 "/usr/$(get_libdir)/libcanonc3pl.so"
+
+	cd "${S}/data"
+	insinto /usr/share/caepcm
+	doins *
+
+	ABI=x86
+	cd "${S}/libs"
+	exeinto $(cups-config --serverbin)/filter
+	doexe c3pldrv
+	dolib.so libcaepcm.so.1.0
+	dosym libcaepcm.so.1.0 "/usr/$(get_libdir)/libcaepcm.so.1"
+	dosym libcaepcm.so.1.0 "/usr/$(get_libdir)/libcaepcm.so"
+	for lib in *.so.?.?.?; do
+		dolib.so "${lib}"
+		dosym "${lib}" "/usr/$(get_libdir)/${lib%.?.?}"
+		dosym "${lib}" "/usr/$(get_libdir)/${lib%.?.?.?}"
+	done
+
+	# c3pldrv dlopens the absolute path /usr/lib/libc3pl.so :(
+	if [[ "$(get_libdir)" != lib ]]; then
+		dosym "../$(get_libdir)/libc3pl.so" /usr/lib/libc3pl.so
+	fi
+}


             reply	other threads:[~2015-11-21 11:27 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-21 11:27 Pacho Ramos [this message]
  -- strict thread matches above, loose matches on Subject: below --
2015-12-31 12:38 [gentoo-commits] repo/gentoo:master commit in: net-print/cndrvcups-common-lb/ Pacho Ramos
2017-07-27  8:35 Pacho Ramos
2017-09-05 18:36 Pacho Ramos
2017-09-05 18:36 Pacho Ramos
2018-02-27 19:31 Pacho Ramos
2018-09-15 11:58 Pacho Ramos
2018-09-28 11:49 Mikle Kolyada
2018-11-11 13:59 Pacho Ramos
2018-11-11 13:59 Pacho Ramos
2018-11-12  1:14 Thomas Deutschmann
2018-11-12 18:54 Mikle Kolyada
2019-02-24  9:11 Pacho Ramos
2019-03-28  7:16 Mikle Kolyada
2019-04-02  6:39 Pacho Ramos
2019-10-20 10:14 Pacho Ramos
2019-10-20 10:18 Pacho Ramos
2020-12-29 16:40 David Seifert
2020-12-30 11:10 David Seifert
2021-01-07 11:33 Sam James
2021-01-07 12:24 Sam James
2021-03-16 19:57 Sam James
2021-04-02 14:01 Sam James
2021-04-12  1:09 Sam James
2022-07-30 13:03 David Seifert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1448105214.3f28d5d1c1ac4562ec14213187f451ee09e7cf82.pacho@gentoo \
    --to=pacho@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox