summaryrefslogtreecommitdiff
path: root/net-print
diff options
context:
space:
mode:
Diffstat (limited to 'net-print')
-rw-r--r--net-print/cnijfilter/cnijfilter-4.10.ebuild47
1 files changed, 47 insertions, 0 deletions
diff --git a/net-print/cnijfilter/cnijfilter-4.10.ebuild b/net-print/cnijfilter/cnijfilter-4.10.ebuild
new file mode 100644
index 00000000..a2e5cbf2
--- /dev/null
+++ b/net-print/cnijfilter/cnijfilter-4.10.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: net-print/cnijfilter-drivers/cnijfilter-drivers-4.00.ebuild,v 2.0 2015/08/08 03:10:53 Exp $
+
+EAPI=5
+
+MULTILIB_COMPAT=( abi_x86_{32,64} )
+
+PRINTER_MODEL=( "ix6700" "ix6800" "ip2800" "mx470" "mx530" "ip8700" "e560" "e400" )
+PRINTER_ID=( "431" "432" "433" "434" "435" "436" "437" "438" )
+
+inherit ecnij
+
+DESCRIPTION="Canon InkJet Printer Driver for Linux (Pixus/Pixma-Series)"
+HOMEPAGE="http://www.canon-europe.com/Support/"
+SRC_URI="http://gdlp01.c-wss.com/gds/8/0100005858/01/${PN}-source-${PV}-1.tar.gz"
+
+IUSE="+doc +net"
+SLOT="${PV:0:1}"
+
+DEPEND=">=net-print/cups-1.1.14[${MULTILIB_USEDEP}]
+ gtk? ( virtual/libusb:1 )"
+RDEPEND="${RDEPEND}"
+
+RESTRICT="mirror"
+
+S="${WORKDIR}"/${PN}-source-${PV}-1
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-4.00-4-ppd.patch
+ "${FILESDIR}"/${PN}-3.70-1-libexec-cups.patch
+ "${FILESDIR}"/${PN}-3.70-1-libexec-backend.patch
+ "${FILESDIR}"/${PN}-4.00-1-libexec-backend.patch
+ "${FILESDIR}"/${PN}-4.00-1-libexec-cups.patch
+ "${FILESDIR}"/${PN}-4.00-5-abi_x86_32.patch
+ "${FILESDIR}"/${PN}-3.80-1-cups-1.6.patch
+)
+
+src_prepare() {
+ local arc=64
+ [[ x${ABI} == xx86 ]] && arc=32
+ sed -e "s,cnijlgmon2_LDADD =,cnijlgmon2_LDADD = -L../../com/libs_bin${arc}," \
+ -i lgmon2/src/Makefile.am || die
+
+ ecnij_src_prepare
+}
+