summaryrefslogtreecommitdiff
path: root/net-print/kyocera-1x2x-mfp-driver
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-06-18 00:10:02 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-06-18 00:10:02 +0100
commitccaccfe4f1da8c11d9fa110f6e4eb847358769d7 (patch)
treeff02c95ae3d9a1e73e2a182e268161743d81a88b /net-print/kyocera-1x2x-mfp-driver
parent74e526c590f52d24a213e25f77858ae0b34ec2c8 (diff)
gentoo auto-resync : 18:06:2024 - 00:10:02
Diffstat (limited to 'net-print/kyocera-1x2x-mfp-driver')
-rw-r--r--net-print/kyocera-1x2x-mfp-driver/Manifest2
-rw-r--r--net-print/kyocera-1x2x-mfp-driver/kyocera-1x2x-mfp-driver-1.1203-r2.ebuild (renamed from net-print/kyocera-1x2x-mfp-driver/kyocera-1x2x-mfp-driver-1.1203-r1.ebuild)48
2 files changed, 18 insertions, 32 deletions
diff --git a/net-print/kyocera-1x2x-mfp-driver/Manifest b/net-print/kyocera-1x2x-mfp-driver/Manifest
index f3e3fc0490fb..58aa4b8f3d10 100644
--- a/net-print/kyocera-1x2x-mfp-driver/Manifest
+++ b/net-print/kyocera-1x2x-mfp-driver/Manifest
@@ -1,4 +1,4 @@
AUX rastertokpsl-fix.sh 399 BLAKE2B 14376b73ad961b4dba3064403c079be18492a2e0091f113ed127c3f18668a6abcd0cfdc587dc2991269ce3549049d5b367ed96da623ec851353c9a5b7a4dbdb5 SHA512 7d757297b737a4fcebfd91bde4457674b738bf227480d5bcbf5049eb332c215395bca7798cd1931592ada217b5d85806fe567bd1741d8fadc23b572642901d09
DIST LinuxDrv_1.1203_FS-1x2xMFP.zip 5392941 BLAKE2B d39140d6bbf5d08d248739f2689ccd45d066b5568c3ba27bdcea34f2ed348e91d0b95d64c7e789dd08094ebda43a5fb6911efb9cdfcc43cf1fefd4af32fb18bb SHA512 afbe237d25d784a6202be01669ccb5e1f0f9a6349b6b74227723905529f23da6d7880b25420b289277020450286d02f579722add5c0d48c839ac44152a60d1ab
-EBUILD kyocera-1x2x-mfp-driver-1.1203-r1.ebuild 3431 BLAKE2B f764815ab3b6f3a5e873016d183ae4b081e7de93fc9972f556caaf8342e4194d5bc740eb63701e690b86a0650b937dafe28c3ee9116a5f7fd4e83137acc19955 SHA512 4d1103d77579f41bded3ee5bd2c38c6aec04ed88e59cf3be31d80e30bb9510c3940a52ed8cb6dbf2e9b2fc183b9f4af6c5a550be6bf9ac8244567a5d96c836ea
+EBUILD kyocera-1x2x-mfp-driver-1.1203-r2.ebuild 3416 BLAKE2B 1692a4596af184c99d532c849e56917e2aeae7aef938142a8328c76fb79ce003e89d2a0223b9bf3daed45ca3fc60db33016cc1524610712d46e2d4c156a22c3f SHA512 11a5f90fdf9d87bf8fb554e9c756a0001f01644a754e2821ba03cbac9b2ca8a2c7e0602d76617ed0c6b92740d41799f925b1a14c60ae1ccdf4dde954db9b485b
MISC metadata.xml 559 BLAKE2B 3fbb9d675d4ebcf59e1925cb0aae03019151418fa91bc8e2612a3b5d1be935462a3b6558a32398940bf2b6e1aa0517bbe7c38985349c4cf03b0ed73aa28921d9 SHA512 46fddd98531b0bbc20ff39dee43cdf926c60609e1684f92fceb5ac57b199e0d86372731663e6609717ee16d58ddbbe48bcce3530f28d893486d78e9461cf572b
diff --git a/net-print/kyocera-1x2x-mfp-driver/kyocera-1x2x-mfp-driver-1.1203-r1.ebuild b/net-print/kyocera-1x2x-mfp-driver/kyocera-1x2x-mfp-driver-1.1203-r2.ebuild
index a575ee6097e4..ee73cd5036fb 100644
--- a/net-print/kyocera-1x2x-mfp-driver/kyocera-1x2x-mfp-driver-1.1203-r1.ebuild
+++ b/net-print/kyocera-1x2x-mfp-driver/kyocera-1x2x-mfp-driver-1.1203-r2.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=8
DESCRIPTION="Printer descriptions (PPDs) and filters for Kyocera 1x2x MFP"
HOMEPAGE="http://www.kyoceradocumentsolutions.eu"
@@ -9,49 +9,35 @@ SRC_URI="LinuxDrv_${PV}_FS-1x2xMFP.zip"
LICENSE="GPL-2 kyocera-mita-ppds"
SLOT="0"
-
KEYWORDS="-* ~amd64"
-IUSE_L10N=(en ar cs de el es fr he hu it ko pl pt ro ru th tr vi zh-CN zh-TW)
+IUSE_L10N=( en ar cs de el es fr he hu it ko pl pt ro ru th tr vi zh-CN zh-TW )
IUSE="+rastertokpsl-fix +${IUSE_L10N[@]/#/l10n_}"
REQUIRED_USE="|| ( ${IUSE_L10N[@]/#/l10n_} )"
+RESTRICT="fetch mirror"
RDEPEND="net-print/cups"
-DEPEND="app-arch/unzip"
-RESTRICT="fetch mirror"
+BDEPEND="app-arch/unzip"
+
QA_PREBUILT="/usr/libexec/cups/filter/rastertokpsl"
get_tarball_name() {
# Note the capitalization inconsistency. Don't "fix" that.
- case "$1" in
- ar) echo arabic ;;
- cs) echo czech ;;
- de) echo German ;;
- el) echo greek ;;
- en) echo English ;;
- es) echo Spanish ;;
- fr) echo French ;;
- he) echo hebrew ;;
- hu) echo hungarian ;;
- it) echo Italian ;;
- ko) echo Korean ;;
- pl) echo polish ;;
- pt) echo Portuguese ;;
- ro) echo romanian ;;
- ru) echo russian ;;
- th) echo thai ;;
- tr) echo turkish ;;
- vi) echo vietnamese ;;
- zh-CN) echo simplified ;;
- zh-TW) echo traditional ;;
- *) die ;;
- esac
+ declare -A animals=(
+ [ar]=arabic [cs]=czech [de]=German [el]=greek [en]=English
+ [es]=Spanish [fr]=French [he]=hebrew [hu]=hungarian [it]=Italian
+ [ko]=Korean [pl]=polish [pt]=Portuguese [ro]=romanian [ru]=russian
+ [th]=thai [tr]=turkish [vi]=vietnamese [zh-CN]=simplified [zh-TW]=traditional
+ )
+ echo "${animals[$1]}"
}
pkg_nofetch() {
- einfo "Please, navigate your browser to the following URL and manually"
+ einfo "Please, navigate your browser to the following URL, select"
+ einfo "'Support - Downloads' in the menu, select 'FS-1025MFP',"
+ einfo "select 'Linux print driver (${PV})', accept EULA, and manually"
einfo "download the file named '${A}', then put it into your DISTDIR."
- einfo "https://www.kyoceradocumentsolutions.eu/index/service/dlc.false.driver.FS1025MFP._.EN.html"
+ einfo "https://www.kyoceradocumentsolutions.eu/en/support/downloads.name-L2V1L2VuL21mcC9GUzExMjVNRlA=.html"
einfo
einfo "Consider keeping a local copy of the file since there're chances"
einfo "the company is going to eventually stop hosting it for whatever"