summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Pagano <mpagano@gentoo.org>2023-10-20 09:10:42 -0400
committerMike Pagano <mpagano@gentoo.org>2023-10-20 09:10:42 -0400
commitb61675440e6ca5c0af778905372dd8db46cb33a2 (patch)
tree0093f653291823596aad8dcd1b60b83fbf42cf73 /net-print
parentwww-servers/nginx-unit: add 1.31.1 (diff)
downloadgentoo-b61675440e6ca5c0af778905372dd8db46cb33a2.tar.gz
gentoo-b61675440e6ca5c0af778905372dd8db46cb33a2.tar.bz2
gentoo-b61675440e6ca5c0af778905372dd8db46cb33a2.zip
net-print/epson-inkjet-printer-escpr: add 1.8.1
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.1.ebuild41
-rw-r--r--net-print/epson-inkjet-printer-escpr/metadata.xml1
3 files changed, 43 insertions, 0 deletions
diff --git a/net-print/epson-inkjet-printer-escpr/Manifest b/net-print/epson-inkjet-printer-escpr/Manifest
index dec6bc1c6f7f..f3641e129b3a 100644
--- a/net-print/epson-inkjet-printer-escpr/Manifest
+++ b/net-print/epson-inkjet-printer-escpr/Manifest
@@ -1 +1,2 @@
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
diff --git a/net-print/epson-inkjet-printer-escpr/epson-inkjet-printer-escpr-1.8.1.ebuild b/net-print/epson-inkjet-printer-escpr/epson-inkjet-printer-escpr-1.8.1.ebuild
new file mode 100644
index 000000000000..49c2d6991586
--- /dev/null
+++ b/net-print/epson-inkjet-printer-escpr/epson-inkjet-printer-escpr-1.8.1.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/17/80/dd5ac793cfbd089019af95cc02297787c105a346/${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
+}
diff --git a/net-print/epson-inkjet-printer-escpr/metadata.xml b/net-print/epson-inkjet-printer-escpr/metadata.xml
index 8ee1dc81397f..7bb24186fea9 100644
--- a/net-print/epson-inkjet-printer-escpr/metadata.xml
+++ b/net-print/epson-inkjet-printer-escpr/metadata.xml
@@ -5,4 +5,5 @@
<email>mpagano@gentoo.org</email>
<name>Mike Pagano</name>
</maintainer>
+ <stabilize-allarches/>
</pkgmetadata>