1 |
commit: 74c9b0b795b1624332c180fa40342ae658f23fd1 |
2 |
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed May 2 19:19:19 2018 +0000 |
4 |
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed May 2 19:28:16 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74c9b0b7 |
7 |
|
8 |
games-util/dfarc: Stop using games.eclass |
9 |
|
10 |
Package-Manager: Portage-2.3.31, Repoman-2.3.9 |
11 |
|
12 |
games-util/dfarc/dfarc-3.12-r1.ebuild | 52 +++++++++++++++++++++++ |
13 |
games-util/dfarc/files/dfarc-3.12-nowindres.patch | 4 +- |
14 |
2 files changed, 54 insertions(+), 2 deletions(-) |
15 |
|
16 |
diff --git a/games-util/dfarc/dfarc-3.12-r1.ebuild b/games-util/dfarc/dfarc-3.12-r1.ebuild |
17 |
new file mode 100644 |
18 |
index 00000000000..c996a7d3172 |
19 |
--- /dev/null |
20 |
+++ b/games-util/dfarc/dfarc-3.12-r1.ebuild |
21 |
@@ -0,0 +1,52 @@ |
22 |
+# Copyright 1999-2018 Gentoo Foundation |
23 |
+# Distributed under the terms of the GNU General Public License v2 |
24 |
+ |
25 |
+EAPI=6 |
26 |
+WX_GTK_VER="3.0" |
27 |
+inherit eutils gnome2-utils wxwidgets xdg |
28 |
+ |
29 |
+DESCRIPTION="Frontend and .dmod installer for GNU FreeDink" |
30 |
+HOMEPAGE="http://www.freedink.org/" |
31 |
+SRC_URI="mirror://gnu/freedink/${P}.tar.gz" |
32 |
+ |
33 |
+LICENSE="GPL-3 BZIP2" |
34 |
+SLOT="0" |
35 |
+KEYWORDS="~amd64 ~x86" |
36 |
+IUSE="nls" |
37 |
+ |
38 |
+RDEPEND=" |
39 |
+ app-arch/bzip2 |
40 |
+ x11-misc/xdg-utils |
41 |
+ x11-libs/wxGTK:${WX_GTK_VER}[X] |
42 |
+" |
43 |
+DEPEND="${RDEPEND} |
44 |
+ nls? ( >=dev-util/intltool-0.31 ) |
45 |
+" |
46 |
+ |
47 |
+PATCHES=( "${FILESDIR}"/${P}-nowindres.patch ) |
48 |
+ |
49 |
+src_configure() { |
50 |
+ econf \ |
51 |
+ $(use_enable nls) \ |
52 |
+ --disable-desktopfiles |
53 |
+} |
54 |
+ |
55 |
+src_install() { |
56 |
+ default |
57 |
+ dodoc TRANSLATIONS.txt |
58 |
+} |
59 |
+ |
60 |
+pkg_preinst() { |
61 |
+ xdg_pkg_preinst |
62 |
+ gnome2_icon_savelist |
63 |
+} |
64 |
+ |
65 |
+pkg_postinst() { |
66 |
+ xdg_pkg_postinst |
67 |
+ gnome2_icon_cache_update |
68 |
+} |
69 |
+ |
70 |
+pkg_postrm() { |
71 |
+ xdg_pkg_postrm |
72 |
+ gnome2_icon_cache_update |
73 |
+} |
74 |
|
75 |
diff --git a/games-util/dfarc/files/dfarc-3.12-nowindres.patch b/games-util/dfarc/files/dfarc-3.12-nowindres.patch |
76 |
index 78b71096973..142658ccb00 100644 |
77 |
--- a/games-util/dfarc/files/dfarc-3.12-nowindres.patch |
78 |
+++ b/games-util/dfarc/files/dfarc-3.12-nowindres.patch |
79 |
@@ -1,5 +1,5 @@ |
80 |
---- src/Makefile.in.orig 2016-04-05 12:49:17.997412757 -0400 |
81 |
-+++ src/Makefile.in 2016-04-05 12:50:42.058496766 -0400 |
82 |
+--- a/src/Makefile.in.orig 2016-04-05 12:49:17.997412757 -0400 |
83 |
++++ b/src/Makefile.in 2016-04-05 12:50:42.058496766 -0400 |
84 |
@@ -100,7 +100,6 @@ |
85 |
Package.$(OBJEXT) RecursiveDelete.$(OBJEXT) Tar.$(OBJEXT) \ |
86 |
DFArcFrame_Base.$(OBJEXT) Options_Base.$(OBJEXT) \ |