From 5f68399c9eb06e64fe2ed6771bba735d97aa7df0 Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Fri, 3 Jan 2014 12:16:36 -0800 Subject: Add Lexmark driver. Package-Manager: portage-2.2.7 --- net-print/lexmark-ppd-common/Manifest | 1 + .../lexmark-ppd-common-20130617.ebuild | 27 ++++++++++++++++++++++ net-print/lexmark-ppd-common/metadata.xml | 11 +++++++++ 3 files changed, 39 insertions(+) create mode 100644 net-print/lexmark-ppd-common/Manifest create mode 100644 net-print/lexmark-ppd-common/lexmark-ppd-common-20130617.ebuild create mode 100644 net-print/lexmark-ppd-common/metadata.xml diff --git a/net-print/lexmark-ppd-common/Manifest b/net-print/lexmark-ppd-common/Manifest new file mode 100644 index 0000000..62c2d83 --- /dev/null +++ b/net-print/lexmark-ppd-common/Manifest @@ -0,0 +1 @@ +DIST PPD-Files-LMADH-20130617.tar.Z 177086 SHA256 22100599ac541f8b4349630f8ddfd4039457fea9401af5ee1bdb4ac2def28643 SHA512 b8420cb0c2785cf89c7aaa8361b27a104a7458a500bd6eb5a1d865fdd66a2c8c80a80d7766cc6fc2721c4e277aa5cd9b8b1388e47928c8ffe80544e6f620e8d1 WHIRLPOOL 16755d8f2f57df14f4ad9636624fda92cfd7528b862acfbcf6401f02dea9cc5e4e96d0bef3378b800c0df75e9d4b0a1cbe467389afa6d4491599d9b6c0f6d617 diff --git a/net-print/lexmark-ppd-common/lexmark-ppd-common-20130617.ebuild b/net-print/lexmark-ppd-common/lexmark-ppd-common-20130617.ebuild new file mode 100644 index 0000000..5ebf8e5 --- /dev/null +++ b/net-print/lexmark-ppd-common/lexmark-ppd-common-20130617.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=4 + +# any of LMADH/LMADG/LMADE for the latest version of pdfcontone +MODEL_CODE=LMADH + +inherit cups-lexmark +DESCRIPTION="CUPS files common to Lexmark drivers" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +src_prepare() { + cups-lexmark_src_prepare + cd "${S2}" + sed -i \ + -e 's/GEYMYUSERNAME/GE[YT]MYUSERNAME/' \ + "$SRCDIR"/fax-pnh-filter \ + || die "sed of fax-pnh-filter failed" + sed -i.orig \ + -e '//,/<\/url>/d' \ + -e '/<\/name>/ahttp://www.lexmark.com' \ + "${S}"/foomatic/UTF-8/driver/Lexmark_PPD.xml \ + || die "sed of Lexmark_PPD.xml failed" +} diff --git a/net-print/lexmark-ppd-common/metadata.xml b/net-print/lexmark-ppd-common/metadata.xml new file mode 100644 index 0000000..9a98ff6 --- /dev/null +++ b/net-print/lexmark-ppd-common/metadata.xml @@ -0,0 +1,11 @@ + + + + printing + + robbat2@gentoo.org + + + Include CONTONE binary per patent US6219155 + + -- cgit v1.2.3-65-gdbad