From dd0fc4654421817cdc4276ae2fe0e5f90396c60f Mon Sep 17 00:00:00 2001 From: Fredrik Eriksson Date: Sat, 13 Jul 2024 07:59:55 +0200 Subject: [PATCH] bump EAPI for samsung-unified-driver --- net-print/samsung-unified-driver/Manifest | 10 +- .../samsung-unified-driver-1.00.37.ebuild | 120 ------------------ .../samsung-unified-driver-1.00.39.ebuild | 4 +- 3 files changed, 6 insertions(+), 128 deletions(-) delete mode 100644 net-print/samsung-unified-driver/samsung-unified-driver-1.00.37.ebuild diff --git a/net-print/samsung-unified-driver/Manifest b/net-print/samsung-unified-driver/Manifest index 1223936..426b380 100644 --- a/net-print/samsung-unified-driver/Manifest +++ b/net-print/samsung-unified-driver/Manifest @@ -1,6 +1,4 @@ -AUX 1.00.37-libsane-smfp.rules 9401 SHA256 528b6eea5f9cfd537f77239d3d32547c20a06a66f02ac036dd732b4f4938d5fd SHA512 2fa0cbab5187a545004727b50838f1abed35dfbe839f129d1bb99ef290ce05788101cd3ebe6bd1ef8b799605550d2885c18ea2cfd6b2a64e9eea4383bf185dbc WHIRLPOOL f272c0754646999fd1b79091b2b17f4e6ed8e2a2397e1d8f0b93e6824402252e6a84a004992cef610302ca1a65eebeaf19c2e6efa8925ba86d200e3269fde662 -AUX 1.00.39-libsane-smfp.rules 9401 SHA256 528b6eea5f9cfd537f77239d3d32547c20a06a66f02ac036dd732b4f4938d5fd SHA512 2fa0cbab5187a545004727b50838f1abed35dfbe839f129d1bb99ef290ce05788101cd3ebe6bd1ef8b799605550d2885c18ea2cfd6b2a64e9eea4383bf185dbc WHIRLPOOL f272c0754646999fd1b79091b2b17f4e6ed8e2a2397e1d8f0b93e6824402252e6a84a004992cef610302ca1a65eebeaf19c2e6efa8925ba86d200e3269fde662 -DIST samsung-unified-driver-1.00.37.tar.gz 15409140 SHA256 6b85253ea0bb51d241f6fd665ff0d39464cdad87084802a77a385c707fa2c664 SHA512 96feb7f7464db616f400f34a61bf6facafe51da9a48e19d6c4e702ea2377e86f5a5f93d085c50c8220396249febbf8e604a9fe27c25324f36ad0e58552af21fb WHIRLPOOL 5d1f40e89da8736fbfa3c533628cb246d49172a5017e8b4743cbabca2bdde9ee9e367f0e8b903c5ad7b8fb15da5d3a3bda30f6834e753ed32fc710983f9b4377 -DIST samsung-unified-driver-1.00.39.tar.gz 15443851 SHA256 09c166f9b1e11ff312965886387ee31c6980867c67c3d6206680cbae76ae6746 SHA512 fccda77af20b31c9b46117b013d0c40333adc87679057c2b1e513d9bae97fc7267eca74030bc039feec50edee8e4cdfebe8761c77d653646f7ea4ac102c2643f WHIRLPOOL 148453d04e1856c36b7f13b64d6aea2b4cfefe3cd28fa3b5f561fcd26844a631df6f57ed3c509f0d648eca81995b8647700e17b744674060f16c597d8889c115 -EBUILD samsung-unified-driver-1.00.37.ebuild 3122 SHA256 8678b85b811fdd4831cede7f23f5b6b7419e8d2d35dc0f0bb6850e9839d7a6d5 SHA512 dde259c88b8ee5ed6f8e74f717577d6075b43bfb6cd35d186b5f8786c45a7bbf986787150f7b23a51cd08d050292ff20bbc66543d35c1516580e4f20d3e92261 WHIRLPOOL eb8edfc77bc5b587bb4685a73801209a24c7ef1153ee6631b8bca36d53f0f082eba300f0620318b14f0c0dc48fc5753cba63b038e6d00c190524124d24f99770 -EBUILD samsung-unified-driver-1.00.39.ebuild 3122 SHA256 bb7cc8085d079a8dfa767ee5c86af5a7c63968fd6040121b2cc247d98be6fb5b SHA512 40dd30173ec0460bef3caac6349db4f7a2dfa06f0bded159ca4bce9cc6c65c39b7ccaf7659917729afd5248319f10051b126c6b9c14dd1cf4701d7c400d29c61 WHIRLPOOL f7163add33cdbdaf735028e97e1a3d94bca5930c3d389c105eb7c41e4b847bcadc5188bd86d9301d44be69db2fe99dc223c49a62af8fca6ca3cf726f510e6c87 +AUX 1.00.37-libsane-smfp.rules 9401 BLAKE2B f9a8533507df5321c30eadb23cf79b1352334feec7b75cc316a48ff359cb6f44c9c6796158448a5d5150ac2afb4bac9c5b69b6d034c77dabb10034de6fe79f2a SHA512 2fa0cbab5187a545004727b50838f1abed35dfbe839f129d1bb99ef290ce05788101cd3ebe6bd1ef8b799605550d2885c18ea2cfd6b2a64e9eea4383bf185dbc +AUX 1.00.39-libsane-smfp.rules 9401 BLAKE2B f9a8533507df5321c30eadb23cf79b1352334feec7b75cc316a48ff359cb6f44c9c6796158448a5d5150ac2afb4bac9c5b69b6d034c77dabb10034de6fe79f2a SHA512 2fa0cbab5187a545004727b50838f1abed35dfbe839f129d1bb99ef290ce05788101cd3ebe6bd1ef8b799605550d2885c18ea2cfd6b2a64e9eea4383bf185dbc +DIST samsung-unified-driver-1.00.39.tar.gz 15443851 BLAKE2B da438fc4347462b5719d6d09a6c47ffd039facb8556b93dbad07a88168180810043b111f0944536abab1010b6b1aeb6a9288fff11cdadf2728f2abf781e68a6f SHA512 fccda77af20b31c9b46117b013d0c40333adc87679057c2b1e513d9bae97fc7267eca74030bc039feec50edee8e4cdfebe8761c77d653646f7ea4ac102c2643f +EBUILD samsung-unified-driver-1.00.39.ebuild 3123 BLAKE2B 51ab38fc772f8e1944a540bae35e87cfc5b32c94cf737a401be1d4a96dddb9597aaba67842a248f4bc6dbd72e04fd91a332fb56f81ccd848edad4da540385700 SHA512 810116cbcfda8d4c16f9a0f530cae01efcace06c344a5c2f1f0e7ec8b22c5af305796929b53f9fccc2eb017a03ffd810f2ccd11c89d5519296372731d9cc17ad diff --git a/net-print/samsung-unified-driver/samsung-unified-driver-1.00.37.ebuild b/net-print/samsung-unified-driver/samsung-unified-driver-1.00.37.ebuild deleted file mode 100644 index 505b96d..0000000 --- a/net-print/samsung-unified-driver/samsung-unified-driver-1.00.37.ebuild +++ /dev/null @@ -1,120 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit linux-info udev vcs-snapshot - -EXTRA_PV=00.99 - -DESCRIPTION="Samsung Unified Linux Driver for printers and MFDs" -HOMEPAGE="http://www.samsung.com" -SRC_URI="http://downloadcenter.samsung.com/content/DR/201512/20151211135958538/ULD_v${PV}_${EXTRA_PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="Samsung-EULA" -SLOT="0" -KEYWORDS="-* ~amd64 ~x86" -IUSE="cups network scanner" - -RDEPEND=" - cups? ( - net-print/cups - !net-print/splix - ) - scanner? ( - media-gfx/sane-backends - dev-libs/libxml2:2 - virtual/libusb:0 - ) - network? ( virtual/libusb ) -" - -REQUIRED_USE=" - network? ( cups ) - || ( cups scanner ) -" - -RESTRICT="mirror strip" - -pkg_pretend() { - if use scanner && ! has_version ${CATEGORY}/${PN}[scanner]; then - if ! linux_config_exists || linux_chkconfig_present USB_PRINTER; then - ewarn "Samsung USB MFDs are normally managed via libusb." - ewarn "In this case, you need to either disable the USB_PRINTER" - ewarn "support in your kernel, or blacklist the 'usblp' module." - fi - fi -} - -pkg_setup() { - if use cups; then - QA_SONAME="usr/$(get_libdir)/libscmssc.so" - QA_FLAGS_IGNORED+=" usr/$(get_libdir)/libscmssc.so" - QA_FLAGS_IGNORED+=" usr/libexec/cups/filter/pstosecps" - QA_FLAGS_IGNORED+=" usr/libexec/cups/filter/rastertospl" - fi - if use scanner; then - QA_FLAGS_IGNORED+=" usr/$(get_libdir)/sane/libsane-smfp.so.1.0.1" - fi - if use network; then - QA_FLAGS_IGNORED+=" usr/libexec/cups/backend/smfpnetdiscovery" - fi -} - -src_install() { - local MY_ARCH="x86_64" - use x86 && MY_ARCH="i386" - - # Printer support. - if use cups; then - # libscmssc.so is required by rastertospl. - dolib.so ${MY_ARCH}/libscmssc.so - - exeinto /usr/libexec/cups/filter - doexe ${MY_ARCH}/{pstosecps,rastertospl} - - dodir /usr/share/cups/model/samsung - insinto /usr/share/cups/model/samsung - doins noarch/share/ppd/*.ppd - gzip -9 "${ED}"usr/share/cups/model/samsung/*.ppd || die - - dodir /usr/share/cups/profiles/samsung - insinto /usr/share/cups/profiles/samsung - doins noarch/share/ppd/cms/*.cts - fi - - # Scanner support. - if use scanner; then - insinto /etc/sane.d - doins noarch/etc/smfp.conf - - dodir /opt/samsung/scanner/share - insinto /opt/samsung/scanner/share - doins noarch/oem.conf - - exeinto /usr/$(get_libdir)/sane - doexe ${MY_ARCH}/libsane-smfp.so.1.0.1 - - dosym libsane-smfp.so.1.0.1 /usr/$(get_libdir)/sane/libsane-smfp.so - dosym libsane-smfp.so.1.0.1 /usr/$(get_libdir)/sane/libsane-smfp.so.1 - - udev_newrules "${FILESDIR}/${PV}-libsane-smfp.rules" 40-libsane-smfp.rules - fi - - # Network support. - if use network; then - exeinto /usr/libexec/cups/backend - doexe ${MY_ARCH}/smfpnetdiscovery - fi -} - -pkg_postinst() { - if use scanner && ! has_version ${CATEGORY}/${PN}[scanner]; then - elog "You need to manually add 'smfp' backend to /etc/sane.d/dll.conf:" - elog "# echo smfp >> /etc/sane.d/dll.conf" - fi - if use network && ! has_version ${CATEGORY}/${PN}[network]; then - elog "If you are behind a firewall, you need to allow SNMP UDP packets" - elog "with source port 161 and destination port 22161." - fi -} diff --git a/net-print/samsung-unified-driver/samsung-unified-driver-1.00.39.ebuild b/net-print/samsung-unified-driver/samsung-unified-driver-1.00.39.ebuild index 9dc968a..c3812d9 100644 --- a/net-print/samsung-unified-driver/samsung-unified-driver-1.00.39.ebuild +++ b/net-print/samsung-unified-driver/samsung-unified-driver-1.00.39.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=8 inherit linux-info udev vcs-snapshot @@ -76,7 +76,7 @@ src_install() { dodir /usr/share/cups/model/samsung insinto /usr/share/cups/model/samsung doins noarch/share/ppd/*.ppd - gzip -9 "${ED}"usr/share/cups/model/samsung/*.ppd || die + gzip -9 "${ED}"/usr/share/cups/model/samsung/*.ppd || die dodir /usr/share/cups/profiles/samsung insinto /usr/share/cups/profiles/samsung