diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-09-16 09:32:48 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-09-16 09:32:48 +0100 |
commit | 9ee6d97c2883d42f204a533a8bc1f4562df778fb (patch) | |
tree | b690ddc0ca30f1472887edbb0b8313629bfcbbb2 /net-print/hplip-plugin | |
parent | b17a3ef12038de50228bade1f05502c74e135321 (diff) |
gentoo resync : 16.09.2020
Diffstat (limited to 'net-print/hplip-plugin')
-rw-r--r-- | net-print/hplip-plugin/Manifest | 8 | ||||
-rw-r--r-- | net-print/hplip-plugin/hplip-plugin-3.19.12.ebuild | 10 | ||||
-rw-r--r-- | net-print/hplip-plugin/hplip-plugin-3.20.3.ebuild | 10 | ||||
-rw-r--r-- | net-print/hplip-plugin/hplip-plugin-3.20.6-r1.ebuild | 72 | ||||
-rw-r--r-- | net-print/hplip-plugin/metadata.xml | 7 |
5 files changed, 86 insertions, 21 deletions
diff --git a/net-print/hplip-plugin/Manifest b/net-print/hplip-plugin/Manifest index 24564adfe54f..7ee55f4e76bb 100644 --- a/net-print/hplip-plugin/Manifest +++ b/net-print/hplip-plugin/Manifest @@ -1,5 +1,7 @@ DIST hplip-3.19.12-plugin.run 11512079 BLAKE2B 534cbba51b2254f8227611b8f0449e100361fb445400f664e43e30412be8eb554bb35c2fe260d45cd5ad742b083af6d551532a9d14585029b0ff93675fab578a SHA512 ac2022d555f5084d5bf1e4519ddbb29828e9ca385aa6dff818ae9e79b60b4b2745e31ad4146cb01bca3747fae0d61b96e4a823b81179d2e2c55a643831165e4b DIST hplip-3.20.3-plugin.run 11514166 BLAKE2B 15ff8caf13f82256a5e814acf2b0433a6d365cea8b0073ea133f2e8a175796be04b058f44f68fb86c0f43f4a7c0bebf14f486aa93548b5155490e7240d02355a SHA512 3481c852aed773d3b3bcecd203066476a670eb506688381c54bc88f4057ad15da99b128d8a1cc2358985c0b3772b5538e75988dd66221f50dcea78f9bab2e3ce -EBUILD hplip-plugin-3.19.12.ebuild 1582 BLAKE2B a32bc580eaf2ee335739306a8f5661bd7bf3a0a49f2bd7fdf0ddab0265418807122d680d385e76a5eae243d2e56029ddb7d74ee9f362ec338290ff226b33e003 SHA512 a423e2ef0f2663ed772cebf37517d5373737c6c68ff387ece0aa17a43a934b4338ba2f2ff395b67ca00ae8f9e7b29f587e86c69cfb461dde6c0e9273358e851b -EBUILD hplip-plugin-3.20.3.ebuild 1582 BLAKE2B a32bc580eaf2ee335739306a8f5661bd7bf3a0a49f2bd7fdf0ddab0265418807122d680d385e76a5eae243d2e56029ddb7d74ee9f362ec338290ff226b33e003 SHA512 a423e2ef0f2663ed772cebf37517d5373737c6c68ff387ece0aa17a43a934b4338ba2f2ff395b67ca00ae8f9e7b29f587e86c69cfb461dde6c0e9273358e851b -MISC metadata.xml 334 BLAKE2B 8f1a0784c57af6204db98f443bdb09df2a6432674d711a5ecf577c20e29f04a030549ea19c6e04f51cd9a36e60a6da94bebafbfcc10d52da87109e59c32d42ee SHA512 105a5442ba05b94b2886f9075bd89268d4f2e0567ad69a637a1bd7d7d0eafdc280dfdb198aab5d72525300a9be0d4ad78f6bfe6398c896cc9de0f591651d102c +DIST hplip-3.20.6-plugin.run 11514108 BLAKE2B 83e2d26fb397c5c5df1fc4371bfc2798cea049965499b6f1ad5daa05b44b74f51ba9deb933b564dfa47a8d0ef79d4921c3a96b9531730317742e1c5651d7b012 SHA512 6f9e5c92e302f4068abbe9134cf7f8081fcbe98568c9b75d6a668843b76c83afd0f4fbb3d90d3ac775c719ab8e2dca5beedd887ef6d072bd8ee0eb48d42521ed +EBUILD hplip-plugin-3.19.12.ebuild 1301 BLAKE2B f4cd61c24495b61e9928e1b80cee878d647037af127d9b890ddb9301666b69c17efd15103ceab6983a0c18c24e240185ea0d967e6efdff917c3e250ef4094a45 SHA512 2b0c474f02f34078b603c47d02724f198416569befabc6d8ec6abd25b4002ba93a6d600e5aa07dff0092c9fbbd26f8330f04ac31661cbc721c566fab503cfcc9 +EBUILD hplip-plugin-3.20.3.ebuild 1301 BLAKE2B f4cd61c24495b61e9928e1b80cee878d647037af127d9b890ddb9301666b69c17efd15103ceab6983a0c18c24e240185ea0d967e6efdff917c3e250ef4094a45 SHA512 2b0c474f02f34078b603c47d02724f198416569befabc6d8ec6abd25b4002ba93a6d600e5aa07dff0092c9fbbd26f8330f04ac31661cbc721c566fab503cfcc9 +EBUILD hplip-plugin-3.20.6-r1.ebuild 1450 BLAKE2B ab91d2d615018b9d377e6397a122f3fa92cbf42ea00441cedd6e7eaa57873cd6137ff558395106f78006c066f18c28856dd171f5ccf0f86fdf1574ba5c848d2f SHA512 694394be4f54bb8e5f7a2ee2a0991fcbe3588dfc1798e3b84168c53087746a17982bd496401dfbe3016f598cf3c275734de5980fc34c23dcaf6cd7165b4ae559 +MISC metadata.xml 522 BLAKE2B 47eae04f2b9633c1707c451a53dbdd8d72491903525e04f82e6017cd4e1ce9a4ce71a488dd0afcc84401fa061d51bad545a8b8a3f50d378d5f19c33f2b43ec2d SHA512 8f1a5e7c4b50aa472433dc6e49cb4715731f146f29774ad4304d9e24f1ffbe2a4756bef024d01982d8c978208e5c47e5987a48fc2ad6dd3962fa3cfb68d01a31 diff --git a/net-print/hplip-plugin/hplip-plugin-3.19.12.ebuild b/net-print/hplip-plugin/hplip-plugin-3.19.12.ebuild index 315136510139..94c7a5c55145 100644 --- a/net-print/hplip-plugin/hplip-plugin-3.19.12.ebuild +++ b/net-print/hplip-plugin/hplip-plugin-3.19.12.ebuild @@ -25,15 +25,7 @@ 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 -" +QA_PREBUILT="${HPLIP_HOME}/*.so" # License does not allow us to redistribute the "source" package RESTRICT="mirror" diff --git a/net-print/hplip-plugin/hplip-plugin-3.20.3.ebuild b/net-print/hplip-plugin/hplip-plugin-3.20.3.ebuild index 315136510139..94c7a5c55145 100644 --- a/net-print/hplip-plugin/hplip-plugin-3.20.3.ebuild +++ b/net-print/hplip-plugin/hplip-plugin-3.20.3.ebuild @@ -25,15 +25,7 @@ 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 -" +QA_PREBUILT="${HPLIP_HOME}/*.so" # License does not allow us to redistribute the "source" package RESTRICT="mirror" diff --git a/net-print/hplip-plugin/hplip-plugin-3.20.6-r1.ebuild b/net-print/hplip-plugin/hplip-plugin-3.20.6-r1.ebuild new file mode 100644 index 000000000000..fa8335f3ab18 --- /dev/null +++ b/net-print/hplip-plugin/hplip-plugin-3.20.6-r1.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2020 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 ~arm ~x86" +IUSE="orblite" + +RDEPEND=" + ~net-print/hplip-${PV} + virtual/udev + orblite? ( + media-gfx/sane-backends + >=sys-libs/glibc-2.26 + virtual/libusb:0 + ) +" +DEPEND="" + +S=${WORKDIR} + +HPLIP_HOME=/usr/share/hplip + +# Binary prebuilt package +QA_PREBUILT="${HPLIP_HOME}/*.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" ;; + arm) hplip_arch="arm32" ;; + 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 + bb_orblite-*) + use orblite || continue + plugin_type=scan ;; + bb_*) + plugin_type=scan ;; + fax_*) + plugin_type=fax ;; + 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_ +} diff --git a/net-print/hplip-plugin/metadata.xml b/net-print/hplip-plugin/metadata.xml index aa914daf8cfb..cb97715b8595 100644 --- a/net-print/hplip-plugin/metadata.xml +++ b/net-print/hplip-plugin/metadata.xml @@ -5,7 +5,14 @@ <email>printing@gentoo.org</email> <name>Gentoo Printing Project</name> </maintainer> + <maintainer type="person"> + <email>chewi@gentoo.org</email> + <name>James Le Cuirot</name> + </maintainer> <upstream> <remote-id type="sourceforge">hplip</remote-id> </upstream> + <use> + <flag name="orblite">Install the ORBlite scanner plugin</flag> + </use> </pkgmetadata> |