From 167e9e18d4fd7df04e275e8e8570d8234c3b716f Mon Sep 17 00:00:00 2001 From: Jakov Smolic Date: Wed, 17 Feb 2021 10:36:22 +0100 Subject: net-print/gtklp: Port to EAPI 7 Closes: https://bugs.gentoo.org/708374 Signed-off-by: Jakov Smolic Signed-off-by: David Seifert --- net-print/gtklp/gtklp-1.3.1.ebuild | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'net-print') 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' -- cgit v1.2.3-65-gdbad