summaryrefslogtreecommitdiff
path: root/games-util/dfarc
diff options
context:
space:
mode:
Diffstat (limited to 'games-util/dfarc')
-rw-r--r--games-util/dfarc/Manifest4
-rw-r--r--games-util/dfarc/dfarc-3.12-r1.ebuild (renamed from games-util/dfarc/dfarc-3.12.ebuild)28
-rw-r--r--games-util/dfarc/files/dfarc-3.12-nowindres.patch4
3 files changed, 16 insertions, 20 deletions
diff --git a/games-util/dfarc/Manifest b/games-util/dfarc/Manifest
index 8685a57dfc3f..d7ec33aec5d5 100644
--- a/games-util/dfarc/Manifest
+++ b/games-util/dfarc/Manifest
@@ -1,4 +1,4 @@
-AUX dfarc-3.12-nowindres.patch 721 BLAKE2B 1b8cc481f06a728c6024f6d60c54cc6e891ce91c912d7c6983f7852076cbff2a9a940d5eaa39db0823085fca067f7c902f271800a33d6fe1d8423db7e9c9b4b6 SHA512 c5f0f00b6ae313238ac59560b1af0bd890051263c9b1ae97e803c3d4e9d6dad6b83895ee103342ad4b237a93a0756838e04d98a15c33f93f81aa73c58196d754
+AUX dfarc-3.12-nowindres.patch 725 BLAKE2B 2f18e6dac03aea89cc59cdb59d394a1c5cf3b25fda55bdc9742a36d278728ebf9ee5566edf6b671ba2d719d8c3ab193239aea1ce237d7d7c64e8b87eaf9c3491 SHA512 64d6deb8c3bfde0e276b779a000e09803eaea4d3dec86718e23c971f1b4d8d0066fec96d25e881e767ce85f9eddd3c0c2505a34cbd3ca024ecdb6ce1b7ebdffb
DIST dfarc-3.12.tar.gz 329925 BLAKE2B ebebfdf42fbd8bcc53696777f5fb06a54635e269dafb59c888990250343e0bca0b20d46b051e753b047f008061ef74070456d83ee72eb37018a2bc1b386d1c9f SHA512 e87e89e67e383c3d25a6620edc38c6ab6f90b9df52b84d6e6de20af1ac3b50588b3037575f2f89a14c90c14151053c08a7bb97143f24471e33326f3f2d2574ab
-EBUILD dfarc-3.12.ebuild 1039 BLAKE2B 70bd3498f64c98ea865a8917f9757f199b8e6c87f5975b3363751e10dd0051f48b66ddda34804d87e954f6adc0aca59650599f798264cc09815f8d4abe3b0ca1 SHA512 a381b62ef0c0971bd4a8507714a7db473d46cceda11a666c84a10e1e15a28c381a27d5c683ff2d92fae2a26dc8daa1afa524e63894fc1d9e8967698737fe43f1
+EBUILD dfarc-3.12-r1.ebuild 878 BLAKE2B 1015af2a3ad1bd03aed5659c3cd9e09040d4d6830dffa96bd75feeafa5e64ee1c88745b042edda83f4c0f978c804856c8e025ed027c8c99b24494a29e3b04b9a SHA512 dcbeb8a65243501a72dbf861adee7ba1efd771b9d7777992286674e7d5cbfc0db50be9e689e7083760cb5cf57e1545ec410a47d33ce73a8d39126b23e7ac5a1a
MISC metadata.xml 253 BLAKE2B 443ca9c8d4f6801169382e87a0ecd1385c56e65229209e7200f9d313ef380e92ae8d7dc3c38e5989a4166289f22607a20b1e13bb960fff6b3d9f78629d8ab020 SHA512 61c4689cbc649d84a00be211b7b5b98dd03e1d3f813eff370df549f2998cd4343f391c18b57cf20e4a8f4dd2311e3bfa04eb60f356f2bbac78f0b68f5091f254
diff --git a/games-util/dfarc/dfarc-3.12.ebuild b/games-util/dfarc/dfarc-3.12-r1.ebuild
index b290c3a959d1..c996a7d3172d 100644
--- a/games-util/dfarc/dfarc-3.12.ebuild
+++ b/games-util/dfarc/dfarc-3.12-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=6
WX_GTK_VER="3.0"
-inherit eutils gnome2-utils fdo-mime wxwidgets games
+inherit eutils gnome2-utils wxwidgets xdg
DESCRIPTION="Frontend and .dmod installer for GNU FreeDink"
HOMEPAGE="http://www.freedink.org/"
@@ -17,16 +17,16 @@ IUSE="nls"
RDEPEND="
app-arch/bzip2
x11-misc/xdg-utils
- x11-libs/wxGTK:${WX_GTK_VER}[X]"
+ x11-libs/wxGTK:${WX_GTK_VER}[X]
+"
DEPEND="${RDEPEND}
- nls? ( >=dev-util/intltool-0.31 )"
+ nls? ( >=dev-util/intltool-0.31 )
+"
-src_prepare() {
- epatch "${FILESDIR}"/${P}-nowindres.patch
-}
+PATCHES=( "${FILESDIR}"/${P}-nowindres.patch )
src_configure() {
- egamesconf \
+ econf \
$(use_enable nls) \
--disable-desktopfiles
}
@@ -34,23 +34,19 @@ src_configure() {
src_install() {
default
dodoc TRANSLATIONS.txt
- prepgamesdirs
}
pkg_preinst() {
- games_pkg_preinst
+ xdg_pkg_preinst
gnome2_icon_savelist
}
pkg_postinst() {
- games_pkg_postinst
+ xdg_pkg_postinst
gnome2_icon_cache_update
- fdo-mime_desktop_database_update
- fdo-mime_mime_database_update
}
pkg_postrm() {
+ xdg_pkg_postrm
gnome2_icon_cache_update
- fdo-mime_desktop_database_update
- fdo-mime_mime_database_update
}
diff --git a/games-util/dfarc/files/dfarc-3.12-nowindres.patch b/games-util/dfarc/files/dfarc-3.12-nowindres.patch
index 78b71096973c..142658ccb001 100644
--- a/games-util/dfarc/files/dfarc-3.12-nowindres.patch
+++ b/games-util/dfarc/files/dfarc-3.12-nowindres.patch
@@ -1,5 +1,5 @@
---- src/Makefile.in.orig 2016-04-05 12:49:17.997412757 -0400
-+++ src/Makefile.in 2016-04-05 12:50:42.058496766 -0400
+--- a/src/Makefile.in.orig 2016-04-05 12:49:17.997412757 -0400
++++ b/src/Makefile.in 2016-04-05 12:50:42.058496766 -0400
@@ -100,7 +100,6 @@
Package.$(OBJEXT) RecursiveDelete.$(OBJEXT) Tar.$(OBJEXT) \
DFArcFrame_Base.$(OBJEXT) Options_Base.$(OBJEXT) \