diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-12-31 13:43:35 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-12-31 13:43:35 +0000 |
commit | 2891d29af8907ce881662f4a02844926d7a293c7 (patch) | |
tree | 56979d96839d0827aa52008b81b746b4934d88df /net-print | |
parent | de49812990871e1705b64051c35161d5e6400269 (diff) |
gentoo resync : 31.12.2018
Diffstat (limited to 'net-print')
-rw-r--r-- | net-print/Manifest.gz | bin | 6918 -> 6918 bytes | |||
-rw-r--r-- | net-print/cups-filters/Manifest | 2 | ||||
-rw-r--r-- | net-print/cups-filters/cups-filters-1.20.4.ebuild | 2 | ||||
-rw-r--r-- | net-print/gutenprint/Manifest | 9 | ||||
-rw-r--r-- | net-print/gutenprint/files/gutenprint-5.3.1-cflags.patch | 23 | ||||
-rw-r--r-- | net-print/gutenprint/gutenprint-5.2.12.ebuild | 90 | ||||
-rw-r--r-- | net-print/gutenprint/gutenprint-5.3.0_pre1.ebuild | 94 | ||||
-rw-r--r-- | net-print/gutenprint/gutenprint-5.3.1.ebuild (renamed from net-print/gutenprint/gutenprint-5.2.13_pre1.ebuild) | 9 | ||||
-rw-r--r-- | net-print/hplip-plugin/Manifest | 2 | ||||
-rw-r--r-- | net-print/hplip-plugin/hplip-plugin-3.18.12.ebuild | 69 |
10 files changed, 103 insertions, 197 deletions
diff --git a/net-print/Manifest.gz b/net-print/Manifest.gz Binary files differindex 4a0c7f440e7d..858a504c9717 100644 --- a/net-print/Manifest.gz +++ b/net-print/Manifest.gz diff --git a/net-print/cups-filters/Manifest b/net-print/cups-filters/Manifest index e6916fea0de4..b32bca06125c 100644 --- a/net-print/cups-filters/Manifest +++ b/net-print/cups-filters/Manifest @@ -5,7 +5,7 @@ DIST cups-filters-1.20.4.tar.xz 1474700 BLAKE2B 70948565e4a2b35d0c3bc510e7c03d77 DIST cups-filters-1.21.5.tar.xz 1474388 BLAKE2B 8e21302256c6da033e09b9b43da03edbe9f7345ec50497501522da773fc698494a674e66457570d8f43c081afc2787cdfc55d738ffe3397bf5fdd307bbb9952f SHA512 41ed3364cb0a87e8b2b2482f3c8de90eba63538682ad3fa1079908beadec5e975d9eda151d822e93f62dcc32fe2a6189cc02b6b7691640fb00434efec35c0f7a DIST cups-filters-1.21.6.tar.xz 1474944 BLAKE2B a4c3418accb9d2bf46a366ec6004919d2a5c2c0a02022102270da17fb81915428275aadf58f1f50f8ca022e1c09cbdbd7300492fa38c53d4a2cbc4c4b86a09e3 SHA512 804250745ac710706ff1bfa6e161c0b1a8a65a74850a76a311b7614694a7e5d07f01dfd15f277ad79ed7fe1e84ea680bab1643e0b82cefa3e26603fa2eea935a EBUILD cups-filters-1.17.9.ebuild 3495 BLAKE2B 0354831007a19a9a5fc00152e52fec2d95a0b35adfb498278c3312cbcf00ecfc62f717e353e21085b1c55462ba81bb8aed9e60e8d439a5dbe9da9af838b2db92 SHA512 35391fc1cc809d8fbc2c7ba4944924244ea1f97bb14180532b30f841c2a6a8da3fc8e34def58417d11fc604821d010914d8f6462ce4fca69c44adcd754169d3e -EBUILD cups-filters-1.20.4.ebuild 3558 BLAKE2B 3063fe64d43deea9c064553fb9da520a8c8d59fc113b1d26ce7e4a53d1b3a9d840b6cd0ad36bc22fac39ccc69ff85bbc7ece6aef98d6f5216c789bade6a8664f SHA512 d465bdd8dca34d128de311af00fe7b4787a854598c6ed976dc51527bfea7a3b433c3b2008afa42066c912c9c99194c66258351fbed8808f0991e149348ab64b7 +EBUILD cups-filters-1.20.4.ebuild 3557 BLAKE2B d2e2ac9473a765973f9835cef621d9f3ad32653276db4e00c53d1210b017b8fb667fbc639d60b034724ca20efee37930de5cb7d63127ff914e4a28a4d61e7e86 SHA512 4b999bee8a162ba3d62e61d06a99939eae090aa78a34dd6c4a4949a62a6119ea88a7abfa0728a267f197d5e6de71b44c6e417cdb8b4b76d728d9805741657659 EBUILD cups-filters-1.21.5.ebuild 3499 BLAKE2B 3d905b568e5a6b0e35eedf4bf36d6e0cd8a4674ff5c9231f7060025042ce2bca9e57d7ae0e3eb17aa0a3ed3fdfdbf05867007374cb36bde15c2fdac3f7c6d4be SHA512 c05043f224c2b15b380057296fb263c5152677507b0a3ca5ddc87cdd68ac04083b996776328ea334a58cc458e4dbf08a0be3ea36b5f64798a86bd8d21a5827b4 EBUILD cups-filters-1.21.6.ebuild 3499 BLAKE2B 3d905b568e5a6b0e35eedf4bf36d6e0cd8a4674ff5c9231f7060025042ce2bca9e57d7ae0e3eb17aa0a3ed3fdfdbf05867007374cb36bde15c2fdac3f7c6d4be SHA512 c05043f224c2b15b380057296fb263c5152677507b0a3ca5ddc87cdd68ac04083b996776328ea334a58cc458e4dbf08a0be3ea36b5f64798a86bd8d21a5827b4 EBUILD cups-filters-9999.ebuild 3593 BLAKE2B c5774a25045123e7ccc395470fc6df78bb8348f9738652c849bcab4b3287e11df23d171f54e6d53da1cb8a4e3838281a48ff63caa35732a824a00da9933075b0 SHA512 e7a2ecd21d0b1d225cb76365388bd67db61c38ff27065af1b2072f4f5f9b4fe49c5a7cc1801e8b03f5c3529f1d5ad2a896636827dc85558b28aaecf4bad2bda6 diff --git a/net-print/cups-filters/cups-filters-1.20.4.ebuild b/net-print/cups-filters/cups-filters-1.20.4.ebuild index c062a162b564..77b90c6efca7 100644 --- a/net-print/cups-filters/cups-filters-1.20.4.ebuild +++ b/net-print/cups-filters/cups-filters-1.20.4.ebuild @@ -12,7 +12,7 @@ if [[ "${PV}" == "9999" ]] ; then EBZR_REPO_URI="http://bzr.linuxfoundation.org/openprinting/cups-filters" else SRC_URI="http://www.openprinting.org/download/${PN}/${P}.tar.xz" - KEYWORDS="alpha amd64 arm ~arm64 ~hppa ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-fbsd ~m68k-mint" + KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-fbsd ~m68k-mint" fi DESCRIPTION="Cups filters" HOMEPAGE="https://wiki.linuxfoundation.org/openprinting/cups-filters" diff --git a/net-print/gutenprint/Manifest b/net-print/gutenprint/Manifest index 827cfd2defab..e8b805c49c83 100644 --- a/net-print/gutenprint/Manifest +++ b/net-print/gutenprint/Manifest @@ -1,11 +1,8 @@ AUX gutenprint-5.2.10-genppd.patch 1609 BLAKE2B 96770083d99c537d6b883a9e06a32219e2c94e4fdb88853825c3e2b38934807786c26423410dcc5a73fc38285b49f6bb01628e9ad48717a5cd18d7b2c66ddb45 SHA512 d582bafdf593a9e00d0f20aa5dd9043f52ca0c53bc713e979fd162c023acef937fd4a1706bcc808579ea97d122ede54f7a505537bb97b4fba5f68eeffced0a96 AUX gutenprint-5.2.4-CFLAGS.patch 781 BLAKE2B a1b29ce970b66eb56d9429ba9116380cd80f9ba3cc332e43ab2e974b0978ae9c9537c32354f714940a43568ef4a8f6bd8119f02df0bf3e733f742960a23a7ec9 SHA512 2bdfbb024251f79d06b24a5fc72ec35c7c7f794df8eb4cb06983047e4339d77d3d9a7c1b2913e96ef4c28f82ba7970276e27e8fe7709aecfd20b27357995ea20 -DIST gutenprint-5.2.12.tar.bz2 6898738 BLAKE2B 753fee4b2fad6fdcb3ed5c6bfd8bebf4c1459c86a8e2e6bd5922b367b887b0100b9f3c8562283f7b850fd6b616353e2455c8ccdae3455c537e4ccce04222cf86 SHA512 38dd34ca1946a37d0bdaa7d69f65b11651097b6d7f2b451387afd72b32fc92c3670bf54b46df226ca7a64d78f50117a648e2d6194ebaf2e86627cb29fb0e958e -DIST gutenprint-5.2.13-pre1.tar.bz2 6971542 BLAKE2B 50ea5051760ea5a03e2d72c1ae390803e16bd8ec18cd9884f3ef1ae9ddef66fce72823f4c0622f156f013a642acf3a5a60d7fa312b9e35fe198ef755a44ccf02 SHA512 86c04136fa783391abd47aeefe4ce405f2940728ffccf55196f683f1977843f96a0e6d66bc1fe4d7eef7d3fcac3860fa6125d74ae4be088e95450e05b7f855b2 +AUX gutenprint-5.3.1-cflags.patch 659 BLAKE2B 90beb435d0b9a036f31e25f78afedca178b2b6d7bba3cf294ae45699e139d136bbc996dfca86db65d64a61ef004c343ba55f7e097e7304b1d6392efe0ed9cc31 SHA512 f7bac5fd0cff9c1e5b47c965c0304ffda47478241f715de4ada829a295ec54adf198046699bab866166f974c692ac525207f0541e7ba6959e18d63765128327d DIST gutenprint-5.2.13.tar.bz2 6995005 BLAKE2B 7f9fe4bfee907fa6fe6de9bde674368701a221ea12459438053c231cc0e181601eb4fc700a95531135aecff2de6b2f41c2c78d89ad4445773efe0c11a8f45a35 SHA512 6a60a5e462bfd754ac4389b7e926715c06847c660df17e40d48cd57ece99a7ea6098bfd16c067cb27d8aef7ef705a2fdca9f05209d1f3ebf168b0ab16af4e36e -DIST gutenprint-5.3.0-pre1.tar.bz2 6979423 BLAKE2B 39093c48b8212da7b1bf1e9fb4c9b8b79a0a5bb67b2846b2ba7c94bbb35e6d0cb03e951984ecaa2e3e8c785c70e5fdf52eadc553b18494edc229026b73974227 SHA512 0b72a76f48351f49eea35338e04a533d9419333339f5eb2c20bc0535a337ce2f77b7f1a1050d0de3e1b3220504fa1ce3b39fa6eee7013b7b3a45fc347b3ee83d -EBUILD gutenprint-5.2.12.ebuild 2030 BLAKE2B f4b5a84f19bbcddd0e182635decd5ddce805879d4e25436a75da8e5db75a41dd81526034b24c6a2d54484f89284e48d1e239505425076c708b0a17010b7be9a5 SHA512 cf904aa171bdf0d37d22b0b9d3dd8d2d047d24c7844d2401dbae473abcbb41625775fa4d356f38af74511725e701f8d4c2bcdb9d88329ec13a37b3e64893ce4e +DIST gutenprint-5.3.1.tar.xz 5153260 BLAKE2B 03465158944a77af93bfaf13878f821f13e63eac1bd92f9e33ba003b49a4cc1864e0ddf2bd3d72cec9fd2759401f90304f62ec068c3b62b0c210c53d1265c0d1 SHA512 214d07e6f78130e95c8c9d98f0862921d26f74a7c302afabdb138b35ef5f02f52fa143411983867fd7015477c16ca18cf8001e6552c27cd4a12c08ff77e92986 EBUILD gutenprint-5.2.13.ebuild 2074 BLAKE2B a7f893ce22a51924689fea248bd1fdc6237201d737418f47b3e4ab9f3c91b4e4c232c4b452d3ab3a36ed41dff5bf0620947c212dfa9af21e7bdf5162b4d9ba2a SHA512 7e2cda6ea2de1215bb999a1ea373e16e29d314068a6d9833ff4b16b57b25db30bdae3cfb7a018c6a225042fbbd60627f65e857a19bc0f693fc1b4cd6c5efc9d0 -EBUILD gutenprint-5.2.13_pre1.ebuild 2083 BLAKE2B 634183c6ce24ef198f9157fc268914ba2283e361295b13dff2cfed2a308d43f562858844c855dc4173c2e913f8f2ae64214065816143210c9e896514a8f13a52 SHA512 5e540ff6db6b6f2c731c82ccefbd5bfae854b44d5de12467df1f37af98d20ad0af4da3ec884f6d83249c2f1d8c548e11eb3073068738a231300c1ebf0428de70 -EBUILD gutenprint-5.3.0_pre1.ebuild 2084 BLAKE2B 921781cb1468aac2b1e88c60589885a5dd71d4b97d901389490ead11aaa6f2a44a65a6a7bc0e2adc14b75f63a795e9035a66a7bcf15c97bc4c0d4d7fe728fee9 SHA512 28eeace987d40f049c6e73146d8ab332dd220ff8cf4dde69a438a1857d45891aafdbdf941e774390f23b3a5d6f49056a15c9ab3a4aa0f9730d0105710d6262bf +EBUILD gutenprint-5.3.1.ebuild 2025 BLAKE2B 83bb16cc89d27360d620986e1d3471c0a0fae4e9fd99c127cf80e0e13050254a484dd86cb4b0e04df136c83a085bd9143e8a46a33f3fcbf52d94b32d363fd9c5 SHA512 e41aa69faa8f14015315b59e7012602e72acab3398f607df29bee6ed7bd044ea3d5a77dea5d008f081719d3606c2eafd56191ecb70da81f26e0e2c544687a54a MISC metadata.xml 339 BLAKE2B 1090eefd725cc9e37f9c8e77daddb80c3791098af5ba2405dd2746426a46722bef0ed8706654100559735d9f29c2be45eec525cadc0653776dda60453abca786 SHA512 b2153b9425e34eb5561da4d5ea99c08bdfac03b036a94b0c471f985635e2a75f843956cd94d99cbb0d2e2b71b6a14493892bd8efa6eeecf2309ac4b964d9d6a6 diff --git a/net-print/gutenprint/files/gutenprint-5.3.1-cflags.patch b/net-print/gutenprint/files/gutenprint-5.3.1-cflags.patch new file mode 100644 index 000000000000..2f539333f792 --- /dev/null +++ b/net-print/gutenprint/files/gutenprint-5.3.1-cflags.patch @@ -0,0 +1,23 @@ +--- gutenprint-5.3.1/configure.ac ++++ gutenprint-5.3.1/configure.ac +@@ -714,20 +714,6 @@ + if test x${USE_MAINTAINER_MODE} = xyes ; then + STP_ADD_COMPILER_ARGS([-D_POSIX_C_SOURCE=200809L -std=c99 -pedantic -Waggregate-return -Wcast-qual -Wshadow -Wredundant-decls],, [GNUCFLAGS]) + fi +- if test x$ENABLE_DEBUG = xyes ; then +- STP_ADD_COMPILER_ARG([-g]) +- else +- STP_ADD_FIRST_COMPILER_ARG([-O3 -O2 -O1 -O]) +- fi +-else +- if test x$ENABLE_DEBUG = xyes ; then +- STP_ADD_COMPILER_ARG([-g]) +- else +- STP_ADD_FIRST_COMPILER_ARG([-O]) +- fi +-fi +-if test x$ENABLE_PROFILE = xyes ; then +- STP_ADD_COMPILER_ARG([-pg]) + fi + AC_SUBST(GNUCFLAGS) + diff --git a/net-print/gutenprint/gutenprint-5.2.12.ebuild b/net-print/gutenprint/gutenprint-5.2.12.ebuild deleted file mode 100644 index 91ed40cc0864..000000000000 --- a/net-print/gutenprint/gutenprint-5.2.12.ebuild +++ /dev/null @@ -1,90 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit autotools - -DESCRIPTION="Ghostscript and cups printer drivers" -HOMEPAGE="http://gutenprint.sourceforge.net" -SRC_URI="mirror://sourceforge/gimp-print/${P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86" -IUSE="cups gimp gtk nls readline ppds static-libs" -REQUIRED_USE="gimp? ( gtk )" - -RDEPEND=" - dev-lang/perl - readline? ( sys-libs/readline:0= ) - cups? ( >=net-print/cups-1.1.14 ) - gimp? ( >=media-gfx/gimp-2.2 x11-libs/gtk+:2 ) - gtk? ( x11-libs/gtk+:2 ) - nls? ( virtual/libintl ) -" -DEPEND="${RDEPEND} - virtual/pkgconfig - nls? ( sys-devel/gettext )" - -RESTRICT="test" - -DOCS=( AUTHORS ChangeLog NEWS README doc/gutenprint-users-manual.{pdf,odt} ) - -PATCHES=( - "${FILESDIR}"/${PN}-5.2.4-CFLAGS.patch - "${FILESDIR}"/${PN}-5.2.10-genppd.patch # bug 382927 -) - -src_prepare() { - default - - sed -i "s:m4local:m4extra:" Makefile.am || die - - sed -e "s/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/" \ - -e "s/AM_PROG_CC_STDC/AC_PROG_CC/" \ - -i configure.ac || die - - eautoreconf -} - -src_configure() { - local myeconfargs=( - --enable-test - --disable-translated-cups-ppds - $(use_enable gtk libgutenprintui2) - $(use_with gimp gimp2) - $(use_with gimp gimp2-as-gutenprint) - $(use_with cups) - $(use_enable nls) - $(use_with readline) - $(use_enable static-libs static) - ) - - if use cups && use ppds; then - myeconfargs+=( --enable-cups-ppds --enable-cups-level3-ppds ) - else - myeconfargs+=( --disable-cups-ppds ) - fi - - econf "${myeconfargs[@]}" -} - -src_install() { - default - - dodoc doc/FAQ.html - dodoc -r doc/gutenprintui2/html - rm -r "${ED}"/usr/share/gutenprint/doc || die - - find "${ED}" -name '*.la' -exec rm -f '{}' + || die -} - -pkg_postinst() { - if [[ ${ROOT} == / ]] && [[ -x /usr/sbin/cups-genppdupdate ]]; then - elog "Updating installed printer ppd files" - elog $(/usr/sbin/cups-genppdupdate) - else - elog "You need to update installed ppds manually using cups-genppdupdate" - fi -} diff --git a/net-print/gutenprint/gutenprint-5.3.0_pre1.ebuild b/net-print/gutenprint/gutenprint-5.3.0_pre1.ebuild deleted file mode 100644 index 46cbfb56c28e..000000000000 --- a/net-print/gutenprint/gutenprint-5.3.0_pre1.ebuild +++ /dev/null @@ -1,94 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -inherit autotools - -DESCRIPTION="Ghostscript and cups printer drivers" -HOMEPAGE="http://gutenprint.sourceforge.net" - -MY_P="${P/_/-}" -S="${WORKDIR}/${MY_P}" -SRC_URI="mirror://sourceforge/gimp-print/${MY_P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -#KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" - -IUSE="cups gimp gtk nls readline ppds static-libs" -REQUIRED_USE="gimp? ( gtk )" - -RDEPEND=" - dev-lang/perl - readline? ( sys-libs/readline:0= ) - cups? ( >=net-print/cups-1.1.14 ) - gimp? ( >=media-gfx/gimp-2.2 x11-libs/gtk+:2 ) - gtk? ( x11-libs/gtk+:2 ) - nls? ( virtual/libintl ) -" -DEPEND="${RDEPEND} - virtual/pkgconfig - nls? ( sys-devel/gettext ) -" - -RESTRICT="test" - -DOCS=( AUTHORS ChangeLog NEWS README doc/gutenprint-users-manual.{pdf,odt} ) - -PATCHES=( - "${FILESDIR}"/${PN}-5.2.4-CFLAGS.patch - "${FILESDIR}"/${PN}-5.2.10-genppd.patch # bug 382927 -) - -src_prepare() { - default - - sed -i "s:m4local:m4extra:" Makefile.am || die - - sed -e "s/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/" \ - -e "s/AM_PROG_CC_STDC/AC_PROG_CC/" \ - -i configure.ac || die - - eautoreconf -} - -src_configure() { - local myeconfargs=( - --enable-test - --disable-translated-cups-ppds - $(use_enable gtk libgutenprintui2) - $(use_with gimp gimp2) - $(use_with gimp gimp2-as-gutenprint) - $(use_with cups) - $(use_enable nls) - $(use_with readline) - $(use_enable static-libs static) - ) - - if use cups && use ppds; then - myeconfargs+=( --enable-cups-ppds --enable-cups-level3-ppds ) - else - myeconfargs+=( --disable-cups-ppds ) - fi - - econf "${myeconfargs[@]}" -} - -src_install() { - default - - dodoc doc/FAQ.html - dodoc -r doc/gutenprintui2/html - rm -r "${ED}"/usr/share/gutenprint/doc || die - - find "${ED}" -name '*.la' -exec rm -f '{}' + || die -} - -pkg_postinst() { - if [[ ${ROOT} == / ]] && [[ -x /usr/sbin/cups-genppdupdate ]]; then - elog "Updating installed printer ppd files" - elog $(/usr/sbin/cups-genppdupdate) - else - elog "You need to update installed ppds manually using cups-genppdupdate" - fi -} diff --git a/net-print/gutenprint/gutenprint-5.2.13_pre1.ebuild b/net-print/gutenprint/gutenprint-5.3.1.ebuild index 53882ab7a0f1..ee683257f387 100644 --- a/net-print/gutenprint/gutenprint-5.2.13_pre1.ebuild +++ b/net-print/gutenprint/gutenprint-5.3.1.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 inherit autotools DESCRIPTION="Ghostscript and cups printer drivers" @@ -9,7 +9,7 @@ HOMEPAGE="http://gutenprint.sourceforge.net" MY_P="${P/_/-}" S="${WORKDIR}/${MY_P}" -SRC_URI="mirror://sourceforge/gimp-print/${MY_P}.tar.bz2" +SRC_URI="mirror://sourceforge/gimp-print/${MY_P}.tar.xz" LICENSE="GPL-2" SLOT="0" @@ -36,8 +36,7 @@ RESTRICT="test" DOCS=( AUTHORS ChangeLog NEWS README doc/gutenprint-users-manual.{pdf,odt} ) PATCHES=( - "${FILESDIR}"/${PN}-5.2.4-CFLAGS.patch - "${FILESDIR}"/${PN}-5.2.10-genppd.patch # bug 382927 + "${FILESDIR}"/${PN}-5.3.1-cflags.patch ) src_prepare() { diff --git a/net-print/hplip-plugin/Manifest b/net-print/hplip-plugin/Manifest index d0b675d4ef22..dd6af18291f5 100644 --- a/net-print/hplip-plugin/Manifest +++ b/net-print/hplip-plugin/Manifest @@ -1,5 +1,7 @@ DIST hplip-3.18.10-plugin.run 7324725 BLAKE2B 62e7ba436a32c70a0ad0ae009f192035e1152689ce0e032ec45fae11e8ff0470a2c04a5b243e1857dceb6bd65de2381291f6b1bdcdf8fae5ca6ebb92da15823c SHA512 86f393689d1afbaa43ec049d7c1150acd210ce100adbae8ec6f354d215d8bf2f6cc26acefdab840f933b2f5e11f8a731b79b99b528b7a3e455f283b0f7438a07 +DIST hplip-3.18.12-plugin.run 10486821 BLAKE2B e48940b1b5fe94dc216383b63bee7807bce9ad265b7c454c201c0ed22ec1964e6c5adf653c3c230789c042cffaaf50bd604bae6f66f407a85f98248934307158 SHA512 82b90aa8245f787e088a1bebfa7892a7f2b97fd04b3702c46eed27306640e562aeec63b4b5b45c24943abe4672f2627d1821bdcdf58a5c1ac4e1d06c7270535f DIST hplip-3.18.6-plugin.run 2065663 BLAKE2B 501a37dd504250225ddad9712259e0e1b564aa034e433f24d277c5609fa95580417da1a0ae040a4624ff48806a3b34ec56ff31aed843e9f0f0b68b304d2ebd9e SHA512 7b5eb2f43dd014df25ccd9e72dd7efc069db47921f2de650b2ff993dbee60056063edeee6593be7d35019212daf623fff9696b13508a808db92128f5c81bde76 EBUILD hplip-plugin-3.18.10.ebuild 1635 BLAKE2B ae1570a85138b53a21ee01c9b6c2eed85b4f22f4040666289d2bf52bdc5df0ef063574e767109fec86d3f24765149774918e9aa39247df5d0b2af56b25dfffcc SHA512 e039e8f25c210638d6098e06e51861b5c35400554fba867abd533f2aa89584abc6c62546bdad04b5fb4ce6dc61bc9d33ef9b7a0ae9d3ed3a7b3b42c45c2888d2 +EBUILD hplip-plugin-3.18.12.ebuild 1635 BLAKE2B ae1570a85138b53a21ee01c9b6c2eed85b4f22f4040666289d2bf52bdc5df0ef063574e767109fec86d3f24765149774918e9aa39247df5d0b2af56b25dfffcc SHA512 e039e8f25c210638d6098e06e51861b5c35400554fba867abd533f2aa89584abc6c62546bdad04b5fb4ce6dc61bc9d33ef9b7a0ae9d3ed3a7b3b42c45c2888d2 EBUILD hplip-plugin-3.18.6.ebuild 1551 BLAKE2B d034eacc21cb423a79ccd668d322d40f23aed57392d75aa75b10f3f90f634d96510e5e87c485b04bca566cfdc7bb59056f75a13493e90e92ad4ea13ffe4198f8 SHA512 6ed4f208ec25a1805ed377749d9232ed59f890eaedcdbc1f58fa6c2b41eb77ea52d8dad9f7beec5ad8b156eac22384956faddf458562febf7e20ed1b88bff356 MISC metadata.xml 334 BLAKE2B 8f1a0784c57af6204db98f443bdb09df2a6432674d711a5ecf577c20e29f04a030549ea19c6e04f51cd9a36e60a6da94bebafbfcc10d52da87109e59c32d42ee SHA512 105a5442ba05b94b2886f9075bd89268d4f2e0567ad69a637a1bd7d7d0eafdc280dfdb198aab5d72525300a9be0d4ad78f6bfe6398c896cc9de0f591651d102c diff --git a/net-print/hplip-plugin/hplip-plugin-3.18.12.ebuild b/net-print/hplip-plugin/hplip-plugin-3.18.12.ebuild new file mode 100644 index 000000000000..d598946893c6 --- /dev/null +++ b/net-print/hplip-plugin/hplip-plugin-3.18.12.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit udev unpacker + +DESCRIPTION="Proprietary plugins and firmware for HPLIP" +HOMEPAGE="https://developers.hp.com/hp-linux-imaging-and-printing/plugins" +#SRC_URI="http://www.openprinting.org/download/printdriver/auxfiles/HP/plugins/hplip-${PV}-plugin.run" +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/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_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_ +} |