From 129160ec854dca4c3fedb5bcfbcb56930371da0f Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 1 Jan 2021 21:06:00 +0000 Subject: gentoo new year resync : 01.01.2021 --- app-misc/utimer/utimer-0.4-r1.ebuild | 24 +++++++++++------------- 1 file changed, 11 insertions(+), 13 deletions(-) (limited to 'app-misc/utimer/utimer-0.4-r1.ebuild') diff --git a/app-misc/utimer/utimer-0.4-r1.ebuild b/app-misc/utimer/utimer-0.4-r1.ebuild index bf5c8f9fd36b..d3055fbb083f 100644 --- a/app-misc/utimer/utimer-0.4-r1.ebuild +++ b/app-misc/utimer/utimer-0.4-r1.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 DESCRIPTION="A command line timer and stopwatch" HOMEPAGE="http://utimer.codealpha.net/utimer" @@ -12,21 +12,19 @@ SLOT="0" KEYWORDS="amd64 x86" IUSE="debug nls" -DEPEND=" +RDEPEND=" dev-libs/glib:2 dev-util/intltool" +DEPEND="${RDEPEND}" -RDEPEND="${RDEPEND}" - +PATCHES=( + "${FILESDIR}"/${P}-fno-common.patch + "${FILESDIR}"/${P}-locale.patch +) DOCS=( AUTHORS ChangeLog NEWS README ) src_configure() { - local myconf=( --enable-debug=no ) - use debug || myconf=( --enable-debug=yes ) - econf "${myconf[@]}" $(use_enable nls) -} - -src_install() { - emake install DESTDIR="${D}" - einstalldocs + econf \ + $(use_enable debug) \ + $(use_enable nls) } -- cgit v1.2.3