From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DA039138334 for ; Thu, 15 Aug 2019 16:05:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 19478E07F6; Thu, 15 Aug 2019 16:05:43 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id DCAEEE07F6 for ; Thu, 15 Aug 2019 16:05:42 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8D24C349BE5 for ; Thu, 15 Aug 2019 16:05:41 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 95F6E2A5 for ; Thu, 15 Aug 2019 16:05:39 +0000 (UTC) From: "Daniel Pielmeier" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Daniel Pielmeier" Message-ID: <1565884994.543eb1bab06212a69a74408d13ef38bd72c6f477.billie@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.19.6.ebuild X-VCS-Directories: net-print/hplip-plugin/ X-VCS-Committer: billie X-VCS-Committer-Name: Daniel Pielmeier X-VCS-Revision: 543eb1bab06212a69a74408d13ef38bd72c6f477 X-VCS-Branch: master Date: Thu, 15 Aug 2019 16:05:39 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: a14ace6a-f341-40c3-bc69-e3eabf8c174f X-Archives-Hash: 9d89d9b3cda6ebaf9109022d535b2127 commit: 543eb1bab06212a69a74408d13ef38bd72c6f477 Author: Felix Neumärker posteo de> AuthorDate: Thu Aug 15 15:18:47 2019 +0000 Commit: Daniel Pielmeier gentoo org> CommitDate: Thu Aug 15 16:03:14 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=543eb1ba net-print/hplip-plugin: bump to 3.19.6 Closes: https://bugs.gentoo.org/684428 Thanks @stefson Package-Manager: Portage-2.3.69, Repoman-2.3.17 Signed-off-by: Felix Neumärker posteo.de> Signed-off-by: Daniel Pielmeier gentoo.org> net-print/hplip-plugin/Manifest | 1 + net-print/hplip-plugin/hplip-plugin-3.19.6.ebuild | 70 +++++++++++++++++++++++ 2 files changed, 71 insertions(+) diff --git a/net-print/hplip-plugin/Manifest b/net-print/hplip-plugin/Manifest index 8503a5e5a0b..ad13371f902 100644 --- a/net-print/hplip-plugin/Manifest +++ b/net-print/hplip-plugin/Manifest @@ -1,3 +1,4 @@ DIST hplip-3.18.12-plugin.run 10486821 BLAKE2B e48940b1b5fe94dc216383b63bee7807bce9ad265b7c454c201c0ed22ec1964e6c5adf653c3c230789c042cffaaf50bd604bae6f66f407a85f98248934307158 SHA512 82b90aa8245f787e088a1bebfa7892a7f2b97fd04b3702c46eed27306640e562aeec63b4b5b45c24943abe4672f2627d1821bdcdf58a5c1ac4e1d06c7270535f DIST hplip-3.18.6-plugin.run 2065663 BLAKE2B 501a37dd504250225ddad9712259e0e1b564aa034e433f24d277c5609fa95580417da1a0ae040a4624ff48806a3b34ec56ff31aed843e9f0f0b68b304d2ebd9e SHA512 7b5eb2f43dd014df25ccd9e72dd7efc069db47921f2de650b2ff993dbee60056063edeee6593be7d35019212daf623fff9696b13508a808db92128f5c81bde76 DIST hplip-3.19.5-plugin.run 11516444 BLAKE2B c43aaa4dd3c4a8acf91b2746733e5237ef0ff39c3e6180530e0fcd34d5319e603c23806a3b010d70399772abc5564095fe2696c823d80eedf892b87acd170d23 SHA512 8c933f175bf0b91a8f30d6b362f8a487a964dd3304c859d78c9505357088047fdcacb99230f8696071269d5950f681adc0e4051617f1051be254fd6bed704cb9 +DIST hplip-3.19.6-plugin.run 11517158 BLAKE2B c44707e29b104b45c110729c70ebeba1f392ad753eb98d8677657f735e547cdecfab357b348a30545274b51c18249ddb9102df49aa73d726a8e9145a302a8a0c SHA512 3636d655ba289331572f0762a5de2e0bf2f3108ac3f7ca9cb8bbec126942be954fe9c07c882bd8272e30ac46d67231d86a3c4249a6fe31e2d3e8d5e568bbbd8b diff --git a/net-print/hplip-plugin/hplip-plugin-3.19.6.ebuild b/net-print/hplip-plugin/hplip-plugin-3.19.6.ebuild new file mode 100644 index 00000000000..042e62f4b98 --- /dev/null +++ b/net-print/hplip-plugin/hplip-plugin-3.19.6.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit unpacker + +DESCRIPTION="Proprietary plugins and firmware for HPLIP" +HOMEPAGE="https://developers.hp.com/hp-linux-imaging-and-printing/plugins" +SRC_URI="https://developers.hp.com/sites/default/files/hplip-${PV}-plugin.run" +LICENSE="hplip-plugin" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=" + ~net-print/hplip-${PV} + virtual/libusb:0 + 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_escl.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_install() { + local hplip_arch + case "${ARCH}" in + amd64) hplip_arch="x86_64" ;; + x86) hplip_arch="x86_32" ;; + *) die "Unsupported architecture." ;; + esac + + 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 + + insinto /var/lib/hp + newins - hplip.state <<-_EOF_ + [plugin] + installed = 1 + eula = 1 + version = ${PV} + _EOF_ +}