diff options
author | David Seifert <soap@gentoo.org> | 2021-04-05 00:28:35 +0200 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2021-04-05 00:28:35 +0200 |
commit | c03a4b02d7b982326056c040a356e3c4da1742a8 (patch) | |
tree | 199b359434e6d205b2aafc771eb3ace6db79ac8e /games-util | |
parent | games-util/dfarc: Remove old 3.12-r1 (diff) | |
download | gentoo-c03a4b02d7b982326056c040a356e3c4da1742a8.tar.gz gentoo-c03a4b02d7b982326056c040a356e3c4da1742a8.tar.bz2 gentoo-c03a4b02d7b982326056c040a356e3c4da1742a8.zip |
games-util/dfarc: Port to EAPI 7
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'games-util')
-rw-r--r-- | games-util/dfarc/dfarc-3.14.ebuild | 34 |
1 files changed, 10 insertions, 24 deletions
diff --git a/games-util/dfarc/dfarc-3.14.ebuild b/games-util/dfarc/dfarc-3.14.ebuild index 96118b386c92..3215e6fa9c25 100644 --- a/games-util/dfarc/dfarc-3.14.ebuild +++ b/games-util/dfarc/dfarc-3.14.ebuild @@ -1,9 +1,10 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 + WX_GTK_VER="3.0" -inherit eutils gnome2-utils wxwidgets xdg +inherit wxwidgets xdg DESCRIPTION="Frontend and .dmod installer for GNU FreeDink" HOMEPAGE="http://www.freedink.org/" @@ -17,36 +18,21 @@ IUSE="nls" RDEPEND=" app-arch/bzip2 x11-misc/xdg-utils - x11-libs/wxGTK:${WX_GTK_VER}[X] -" -DEPEND="${RDEPEND} - nls? ( >=dev-util/intltool-0.31 ) -" + x11-libs/wxGTK:${WX_GTK_VER}[X]" +DEPEND="${RDEPEND}" +BDEPEND="nls? ( dev-util/intltool )" PATCHES=( "${FILESDIR}"/${PN}-3.12-nowindres.patch ) src_configure() { + setup-wxwidgets econf \ $(use_enable nls) \ - --disable-desktopfiles + --disable-desktopfiles \ + --with-wx-config="${WX_CONFIG}" } src_install() { default dodoc TRANSLATIONS.txt } - -pkg_preinst() { - xdg_pkg_preinst - gnome2_icon_savelist -} - -pkg_postinst() { - xdg_pkg_postinst - gnome2_icon_cache_update -} - -pkg_postrm() { - xdg_pkg_postrm - gnome2_icon_cache_update -} |