summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Pagano <mpagano@gentoo.org>2023-11-08 12:33:44 -0500
committerMike Pagano <mpagano@gentoo.org>2023-11-08 12:33:44 -0500
commit8bded3a225d9ad11ac6772160e310c4698e4a04e (patch)
tree1e433f88098b49ba024231c064123bb5fb203071 /net-print
parentapp-containers/grype: add 0.73.0 (diff)
downloadgentoo-8bded3a225d9ad11ac6772160e310c4698e4a04e.tar.gz
gentoo-8bded3a225d9ad11ac6772160e310c4698e4a04e.tar.bz2
gentoo-8bded3a225d9ad11ac6772160e310c4698e4a04e.zip
net-print/epson-inkjet-printer-escpr: add 1.8.2
Signed-off-by: Mike Pagano <mpagano@gentoo.org>
Diffstat (limited to 'net-print')
-rw-r--r--net-print/epson-inkjet-printer-escpr/Manifest1
-rw-r--r--net-print/epson-inkjet-printer-escpr/epson-inkjet-printer-escpr-1.8.2.ebuild41
2 files changed, 42 insertions, 0 deletions
diff --git a/net-print/epson-inkjet-printer-escpr/Manifest b/net-print/epson-inkjet-printer-escpr/Manifest
index f3641e129b3a..e2e14529b32b 100644
--- a/net-print/epson-inkjet-printer-escpr/Manifest
+++ b/net-print/epson-inkjet-printer-escpr/Manifest
@@ -1,2 +1,3 @@
DIST epson-inkjet-printer-escpr-1.8.0-1.tar.gz 5483956 BLAKE2B 699f747dfed86391f5e4a492c928ecf4d3e24482c7937a3598d520f1478e721ee044f1658f1de4c82922bf1df82b356f0ad83b69b4a36ff85804db1f461aa32b SHA512 ffdad4690db060f471e5b666920f5b41bf565a42a5e7f2d692e5f04463f416a52c860ce57360a8af712a86b05b30e3443951c627641ef78d1c04daf4a6ee733e
DIST epson-inkjet-printer-escpr-1.8.1-1.src.rpm 5066048 BLAKE2B f9eba2e1d04487b288ce3bcab951884a55e6950dd5f6ad6e15a5349bb70943d43b5f71ecd1f19c3b5b392536ec729b10cadeea89d7450c16f4bdf70b0f03b972 SHA512 31b2b5629b168d90353e9230e2973f6ee8ce0643b960c35e95d29a8900d603acfff0b40afeb282897e8e5ae47b6362086515cdb65a264d0aa3deea2f8a304544
+DIST epson-inkjet-printer-escpr-1.8.2-1.src.rpm 5091114 BLAKE2B 5c8a86086923a2c439c621bbee11427dcc64b65c4c392fefa4450647afdc6cc84ae073a9c604b67bc6d3e8d8cb8699cc8b2680a9d3e43b6f0bf09cf16a9ec54e SHA512 c0da358bdc9e08c11977397beb7bf2a8506896d8e2f40d85e5ed6aa5195ea5e0213638c9c8a018c5d74b225c55625d111df81ae14edc78a0edcdef93034c323b
diff --git a/net-print/epson-inkjet-printer-escpr/epson-inkjet-printer-escpr-1.8.2.ebuild b/net-print/epson-inkjet-printer-escpr/epson-inkjet-printer-escpr-1.8.2.ebuild
new file mode 100644
index 000000000000..3467973e79ef
--- /dev/null
+++ b/net-print/epson-inkjet-printer-escpr/epson-inkjet-printer-escpr-1.8.2.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit rpm
+
+DESCRIPTION="Epson Inkjet Printer Driver (ESC/P-R)"
+HOMEPAGE="https://download.ebz.epson.net/dsc/search/01/search/?OSC=LX"
+SRC_URI="https://download3.ebz.epson.net/dsc/f/03/00/15/37/34/9823560a4c0a6e4a614c71d2278434b32d147e29/${P}-1.src.rpm"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc64"
+
+DEPEND="net-print/cups"
+RDEPEND="${DEPEND}"
+
+PATCHES=(
+ "${FILESDIR}/1.6.5-warnings.patch"
+ "${FILESDIR}/${PN}-1.7.7-fnocommon.patch"
+)
+
+src_unpack() {
+ rpm_src_unpack "${A}"
+}
+
+src_configure() {
+ econf --disable-shared
+
+ # Makefile calls ls to generate a file list which is included in Makefile.am
+ # Set the collation to C to avoid automake being called automatically
+ unset LC_ALL
+ export LC_COLLATE=C
+}
+
+src_install() {
+ emake -C ppd DESTDIR="${D}" install
+ emake -C src DESTDIR="${D}" install
+ einstalldocs
+}