summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakov Smolic <jakov.smolic@sartura.hr>2021-02-17 10:36:22 +0100
committerDavid Seifert <soap@gentoo.org>2021-02-17 10:36:22 +0100
commit167e9e18d4fd7df04e275e8e8570d8234c3b716f (patch)
tree08638e15677779ead15bbec86c4cbf5c8554ea67 /net-print
parentgames-strategy/naev: Remove old (diff)
downloadgentoo-167e9e18d4fd7df04e275e8e8570d8234c3b716f.tar.gz
gentoo-167e9e18d4fd7df04e275e8e8570d8234c3b716f.tar.bz2
gentoo-167e9e18d4fd7df04e275e8e8570d8234c3b716f.zip
net-print/gtklp: Port to EAPI 7
Closes: https://bugs.gentoo.org/708374 Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr> Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'net-print')
-rw-r--r--net-print/gtklp/gtklp-1.3.1.ebuild17
1 files changed, 9 insertions, 8 deletions
diff --git a/net-print/gtklp/gtklp-1.3.1.ebuild b/net-print/gtklp/gtklp-1.3.1.ebuild
index b1eb8322df2e..6b98fb7e5f39 100644
--- a/net-print/gtklp/gtklp-1.3.1.ebuild
+++ b/net-print/gtklp/gtklp-1.3.1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
-inherit autotools eutils
+inherit autotools desktop flag-o-matic
DESCRIPTION="A GUI for cupsd"
HOMEPAGE="https://gtklp.sirtobi.com/"
@@ -15,14 +15,13 @@ SLOT="0"
KEYWORDS="amd64 ppc ~sparc x86"
IUSE="nls ssl"
-RDEPEND="x11-libs/gtk+:2
+RDEPEND="
net-print/cups
+ x11-libs/gtk+:2
nls? ( sys-devel/gettext )
ssl? ( dev-libs/openssl:0= )"
-DEPEND="${RDEPEND}
- virtual/pkgconfig"
-
-DOCS="AUTHORS BUGS ChangeLog README TODO USAGE"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
PATCHES=( "${FILESDIR}/${P}-formatsec.patch" )
@@ -35,6 +34,7 @@ src_prepare() {
}
src_configure() {
+ append-cflags -fcommon
econf \
$(use_enable nls) \
$(use_enable ssl) \
@@ -44,6 +44,7 @@ src_configure() {
src_install() {
default
+ dodoc USAGE
doicon "${WORKDIR}"/gtklp-logo.xpm
make_desktop_entry 'gtklp -i' "Print files via CUPS" gtklp-logo 'System;HardwareSettings;Settings;Printing'
make_desktop_entry gtklpq "CUPS queue manager" gtklp-logo 'System;HardwareSettings;Settings;Printing'