summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2024-06-15 19:28:07 +0300
committerArthur Zamarin <arthurzam@gentoo.org>2024-06-15 19:28:25 +0300
commitdd4dd9a3dc5bdbbc3f2090ad23a7876f85d0a38f (patch)
tree76d3c91070d76b18edfcd1578ba55a1569ed50a1 /net-print
parentnet-print/foomatic-db: EAPI 6 -> 8 (diff)
downloadgentoo-dd4dd9a3dc5bdbbc3f2090ad23a7876f85d0a38f.tar.gz
gentoo-dd4dd9a3dc5bdbbc3f2090ad23a7876f85d0a38f.tar.bz2
gentoo-dd4dd9a3dc5bdbbc3f2090ad23a7876f85d0a38f.zip
net-print/foomatic-db-ppds: EAPI 6 -> 8
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'net-print')
-rw-r--r--net-print/foomatic-db-ppds/foomatic-db-ppds-4.0.20190226-r1.ebuild (renamed from net-print/foomatic-db-ppds/foomatic-db-ppds-4.0.20190226.ebuild)17
1 files changed, 7 insertions, 10 deletions
diff --git a/net-print/foomatic-db-ppds/foomatic-db-ppds-4.0.20190226.ebuild b/net-print/foomatic-db-ppds/foomatic-db-ppds-4.0.20190226-r1.ebuild
index aafc2714c037..0d96755a90e8 100644
--- a/net-print/foomatic-db-ppds/foomatic-db-ppds-4.0.20190226.ebuild
+++ b/net-print/foomatic-db-ppds/foomatic-db-ppds-4.0.20190226-r1.ebuild
@@ -1,25 +1,22 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
-
-inherit versionator
-
-MY_P=${PN/-ppds}-$(replace_version_separator 2 '-')
+EAPI=8
DESCRIPTION="linuxprinting.org PPD files for postscript printers"
HOMEPAGE="http://www.linuxprinting.org/foomatic.html"
-SRC_URI="http://linuxprinting.org/download/foomatic/${MY_P}.tar.xz"
+SRC_URI="http://linuxprinting.org/download/foomatic/${PN/-ppds}-$(ver_rs 2 -).tar.xz"
+S=${WORKDIR}/${PN/-ppds}-$(ver_cut 3)
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 sparc x86"
-IUSE=""
-S="${WORKDIR}/${PN/-ppds}-$(get_version_component_range 3 ${PV})"
+PATCHES=(
+ "${FILESDIR}/Makefile.in-4.0.20120117.patch"
+)
src_prepare() {
- eapply "${FILESDIR}/Makefile.in-4.0.20120117.patch"
rm db/source/PPD/Kyocera/ReadMe.htm || die # bug #559008
default
}