From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 06B2B13829C for ; Sun, 5 Jun 2016 13:33:58 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6D73FE0881; Sun, 5 Jun 2016 13:33:53 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id F2A72E0881 for ; Sun, 5 Jun 2016 13:33:52 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 43E0B34072E for ; Sun, 5 Jun 2016 13:33:51 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 94CC4970 for ; Sun, 5 Jun 2016 13:33:48 +0000 (UTC) From: "Aaron Swenson" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Aaron Swenson" Message-ID: <1465133618.a4f3a72f7238963c6308e97df6a2ab05cbc715e0.titanofold@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-print/hplip-plugin/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-print/hplip-plugin/Manifest net-print/hplip-plugin/hplip-plugin-3.16.5.ebuild X-VCS-Directories: net-print/hplip-plugin/ X-VCS-Committer: titanofold X-VCS-Committer-Name: Aaron Swenson X-VCS-Revision: a4f3a72f7238963c6308e97df6a2ab05cbc715e0 X-VCS-Branch: master Date: Sun, 5 Jun 2016 13:33:48 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 4a143fc2-b48e-46c8-be35-1d67fe2cdde7 X-Archives-Hash: 5761a223ad0953597bff1a0c63a30c51 commit: a4f3a72f7238963c6308e97df6a2ab05cbc715e0 Author: Aaron W. Swenson gentoo org> AuthorDate: Sun Jun 5 13:33:38 2016 +0000 Commit: Aaron Swenson gentoo org> CommitDate: Sun Jun 5 13:33:38 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4f3a72f net-print/hplip-plugin: Version Bump Bump made on behalf of Manuel Rueger. Package-Manager: portage-2.2.28 net-print/hplip-plugin/Manifest | 1 + net-print/hplip-plugin/hplip-plugin-3.16.5.ebuild | 69 +++++++++++++++++++++++ 2 files changed, 70 insertions(+) diff --git a/net-print/hplip-plugin/Manifest b/net-print/hplip-plugin/Manifest index 5e2a604..0cf9c24 100644 --- a/net-print/hplip-plugin/Manifest +++ b/net-print/hplip-plugin/Manifest @@ -1,2 +1,3 @@ DIST hplip-3.14.10-plugin.run 1869038 SHA256 b395b480ad86b9f27b6a2f63b6ecb00beb78e762a6137efb81dc1104837f9b81 SHA512 3e5bea924e989d902aea0de182941be692a124ba8c27f53ce2e4f137308bad8373462c6128c26716e481e758f76533163d311a2676df034c1b15d6ef6ed008be WHIRLPOOL 18375de4cc92cb73bcaa109927bd34f8487938b02472f0b7adbf44ad4688e5c6a1d030077b1e3c14f15f9b8e4cc86d195b0195e2d08121f746c62624db4658db DIST hplip-3.16.3-plugin.run 2084271 SHA256 b7edef2a1c5c0a5e001deb4a18c0ef7202e653596e97144b8908ae093818070f SHA512 2ae8aeb40c2604a2c6b9725700f9addf7a82e819d603631158a5d5feac931248e53e7533178100df1fc12b0dc2340cb3ae0d85f145cd023a311f77bbe67e7c7f WHIRLPOOL 928117f862030eca9c3e5813eb8c4db66570923695b0c7af17df1992f339d2478f42af67ca0e0eb8cfa1d7425b522082fde3b8c829c3f5167e1ec503c95a986b +DIST hplip-3.16.5-plugin.run 2084359 SHA256 783c74b301a1ea25cdd1f079805e9cee0f27b697babae6ae89b9db6647631997 SHA512 2a49fed0a89e8ba987d58b5c681cd2cfbdb4d235ce2ae4c9a943c763cdb1038a754075f7b65e857c8d21f64a3f7b440abe04d15ca1faf46f3709581aae4ff6fe WHIRLPOOL c7b72fe33e212581dd3c9fdd7bf9b77a204856479a9cfd5b960869f6882728037f48cbc2a3df7c103dc876fb16b922923733af8955588279ad7606f47e564fd5 diff --git a/net-print/hplip-plugin/hplip-plugin-3.16.5.ebuild b/net-print/hplip-plugin/hplip-plugin-3.16.5.ebuild new file mode 100644 index 0000000..8408448 --- /dev/null +++ b/net-print/hplip-plugin/hplip-plugin-3.16.5.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="6" + +inherit udev unpacker + +DESCRIPTION="Proprietary plugins and firmware for HPLIP" +HOMEPAGE="http://hplipopensource.com/hplip-web/index.html" +SRC_URI="http://www.openprinting.org/download/printdriver/auxfiles/HP/plugins/hplip-${PV}-plugin.run" + +LICENSE="hplip-plugin" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=" + ~net-print/hplip-${PV} + virtual/udev +" +DEPEND="" + +S=${WORKDIR} + +HPLIP_HOME=/usr/share/hplip + +# Binary prebuilt package +QA_PRESTRIPPED=" + /usr/share/hplip/fax/plugins/fax_marvell.so + /usr/share/hplip/prnt/plugins/hbpl1.so + /usr/share/hplip/prnt/plugins/lj.so + /usr/share/hplip/scan/plugins/bb_marvell.so + /usr/share/hplip/scan/plugins/bb_soapht.so + /usr/share/hplip/scan/plugins/bb_soap.so +" + +# License does not allow us to redistribute the "source" package +RESTRICT="mirror" + +src_unpack() { + unpack_makeself "hplip-${PV}-plugin.run" +} + +src_install() { + local hplip_arch=$(use amd64 && echo 'x86_64' || echo 'x86_32') + + insinto "${HPLIP_HOME}"/data/firmware + doins *.fw.gz + + for plugin in *-${hplip_arch}.so; do + local plugin_type=prnt + case "${plugin}" in + fax_*) plugin_type=fax ;; + bb_*) plugin_type=scan ;; + esac + + exeinto "${HPLIP_HOME}"/${plugin_type}/plugins + newexe ${plugin} ${plugin/-${hplip_arch}} + done + + mkdir -p "${ED}/var/lib/hp/" + cat >> "${ED}/var/lib/hp/hplip.state" <<-_EOF_ + [plugin] + installed = 1 + eula = 1 + version = ${PV} + _EOF_ +}