From df8677a2e2265b7813f8484eeb14a30e8dfb6b65 Mon Sep 17 00:00:00 2001
From: Mattéo Rossillol‑‑Laruelle <beatussum@protonmail.com>
Date: Thu, 21 Dec 2023 18:44:23 +0100
Subject: net-print/epson-inkjet-printer-escpr: add 1.2.9
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Mattéo Rossillol‑‑Laruelle <beatussum@protonmail.com>
Closes: https://github.com/gentoo/gentoo/pull/31616
Signed-off-by: Mike Pagano <mpagano@gentoo.org>
---
 net-print/epson-inkjet-printer-escpr/Manifest      |  1 +
 .../epson-inkjet-printer-escpr-1.2.9.ebuild        | 31 ++++++++++++++
 net-print/epson-inkjet-printer-escpr/metadata.xml  | 48 +++++++++++++++++++---
 3 files changed, 75 insertions(+), 5 deletions(-)
 create mode 100644 net-print/epson-inkjet-printer-escpr/epson-inkjet-printer-escpr-1.2.9.ebuild

(limited to 'net-print')

diff --git a/net-print/epson-inkjet-printer-escpr/Manifest b/net-print/epson-inkjet-printer-escpr/Manifest
index 1b66a3f53f28..97820a313a51 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.2-1.src.rpm 5091114 BLAKE2B 5c8a86086923a2c439c621bbee11427dcc64b65c4c392fefa4450647afdc6cc84ae073a9c604b67bc6d3e8d8cb8699cc8b2680a9d3e43b6f0bf09cf16a9ec54e SHA512 c0da358bdc9e08c11977397beb7bf2a8506896d8e2f40d85e5ed6aa5195ea5e0213638c9c8a018c5d74b225c55625d111df81ae14edc78a0edcdef93034c323b
+DIST epson-inkjet-printer-escpr2-1.2.9-1.tar.gz 5367737 BLAKE2B 6868569a6bed622e2f50619a36ffb0a0f7e834fd8a794ae3bc906d971db26b0c86386c9545190ec384027d0b8e8f62ddda6cb24f1e3f60b9c535a1eeddff4332 SHA512 70ff744d42fac4c79d2994648763b0b3970ee5463a7a310a0721a63735d536cb9a0499c894289d946b30e6f564f9bf60aa61801580ab6635af211d50867921a1
diff --git a/net-print/epson-inkjet-printer-escpr/epson-inkjet-printer-escpr-1.2.9.ebuild b/net-print/epson-inkjet-printer-escpr/epson-inkjet-printer-escpr-1.2.9.ebuild
new file mode 100644
index 000000000000..847180657333
--- /dev/null
+++ b/net-print/epson-inkjet-printer-escpr/epson-inkjet-printer-escpr-1.2.9.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+SLOT="2"
+MY_P="${PN}${SLOT}-${PV}"
+
+DESCRIPTION="Epson Inkjet Printer Driver 2 (ESC/P-R) for Linux"
+HOMEPAGE="https://download.ebz.epson.net/dsc/search/01/search/?OSC=LX"
+SRC_URI="https://download3.ebz.epson.net/dsc/f/03/00/15/33/96/607198a4f064daa9e7931913eaf27f3a58125f2b/${MY_P}-1.tar.gz"
+LICENSE="EPSON LGPL-2.1+"
+KEYWORDS="~amd64"
+
+DEPEND="net-print/cups"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+src_configure() {
+	econf \
+		--with-cupsfilterdir="${EPREFIX}/usr/libexec/cups/filter"
+		--with-cupsppddir="${EPREFIX}/usr/share/ppd"
+}
+
+src_install() {
+	default
+
+	find "${ED}/usr/lib64" -name "*.la" -delete \
+		|| die "Removal of libtool files (.la) has failed."
+}
diff --git a/net-print/epson-inkjet-printer-escpr/metadata.xml b/net-print/epson-inkjet-printer-escpr/metadata.xml
index 7bb24186fea9..78e26bf47244 100644
--- a/net-print/epson-inkjet-printer-escpr/metadata.xml
+++ b/net-print/epson-inkjet-printer-escpr/metadata.xml
@@ -1,9 +1,47 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-    <maintainer type="person">
-        <email>mpagano@gentoo.org</email>
-        <name>Mike Pagano</name>
-    </maintainer>
-    <stabilize-allarches/>
+	<maintainer type="person">
+		<email>mpagano@gentoo.org</email>
+		<name>Mike Pagano</name>
+	</maintainer>
+	<longdescription>
+		This software is a filter program used with Common UNIX Printing System
+		(CUPS) from the Linux. This can supply the high quality print with
+		Seiko Epson Color Ink Jet Printers.
+
+		This product supports only EPSON ESC/P-R printers. This package can be
+		used for all EPSON ESC/P-R printers.
+
+		For detail list of supported printer, please refer to below site:
+		http://download.ebz.epson.net/dsc/search/01/search/?OSC=LX.
+	</longdescription>
+	<longdescription lang="fr">
+		Ce logiciel est un programme de filtres pour le « Common UNIX Printing
+		System » (CUPS) de Linux. Il peut fournir une impression de haute
+		qualité avec les imprimantes à jet d'encre couleur Seiko Epson (« Seiko
+		Epson Color Ink Jet Printers »).
+
+		Ce produit ne supporte que les imprimantes EPSON ESC/P-R. Ce paquet
+		peut être être utilisé pour toutes les imprimantes EPSON ESC/P-R.
+
+		Pour une liste détaillée des imprimantes supportées, veuillez vous
+		référer au site ci-dessous :
+		http://download.ebz.epson.net/dsc/search/01/search/?OSC=LX.
+	</longdescription>
+	<slots>
+		<slot name="0">Epson Inkjet Printer Driver (ESC/P-R) for Linux</slot>
+		<slot name="2">Epson Inkjet Printer Driver 2 (ESC/P-R) for Linux</slot>
+	</slots>
+	<slots lang="fr">
+		<slot name="0">Epson Inkjet Printer Driver (ESC/P-R) pour Linux</slot>
+		<slot name="2">Epson Inkjet Printer Driver 2 (ESC/P-R) pour Linux</slot>
+	</slots>
+	<upstream>
+		<maintainer status="active">
+			<name>Seiko Epson Corporation</name>
+			<email>linux-printer@epson.jp</email>
+		</maintainer>
+		<doc>http://download.ebz.epson.net/man/linux/escpr2.html</doc>
+	</upstream>
 </pkgmetadata>
-- 
cgit v1.2.3-65-gdbad