diff options
Diffstat (limited to 'net-print/epson-inkjet-printer-escpr/epson-inkjet-printer-escpr-1.2.9-r1.ebuild')
-rw-r--r-- | net-print/epson-inkjet-printer-escpr/epson-inkjet-printer-escpr-1.2.9-r1.ebuild | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/net-print/epson-inkjet-printer-escpr/epson-inkjet-printer-escpr-1.2.9-r1.ebuild b/net-print/epson-inkjet-printer-escpr/epson-inkjet-printer-escpr-1.2.9-r1.ebuild new file mode 100644 index 000000000000..ee7aecc88746 --- /dev/null +++ b/net-print/epson-inkjet-printer-escpr/epson-inkjet-printer-escpr-1.2.9-r1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MY_P="${PN}2-${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" +S="${WORKDIR}/${MY_P}" +LICENSE="EPSON LGPL-2.1+" +SLOT="2" +KEYWORDS="amd64" + +QA_FLAGS_IGNORED="/usr/lib64/libescpr2.so.1.0.0" + +DEPEND="net-print/cups" +RDEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}/${PN}-${SLOT}-gcc14.patch" +) + +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." +} |