1 |
commit: ac8d3049ffe6b50811f6f1874cdee650ec88569e |
2 |
Author: Austin English <wizardedit <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jun 29 23:13:50 2016 +0000 |
4 |
Commit: Austin English <wizardedit <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jun 29 23:17:02 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac8d3049 |
7 |
|
8 |
games-util/etswitch: remove deprecated games eclass |
9 |
|
10 |
Also update to EAPI 6 |
11 |
|
12 |
Gentoo-Bug: https://bugs.gentoo.org/574082 |
13 |
|
14 |
Package-Manager: portage-2.2.28 |
15 |
|
16 |
games-util/etswitch/etswitch-0.1.14-r1.ebuild | 33 ++++++++++++++++++++++ |
17 |
.../files/etswitch-0.1.14-desktop-entry.patch | 4 +-- |
18 |
2 files changed, 35 insertions(+), 2 deletions(-) |
19 |
|
20 |
diff --git a/games-util/etswitch/etswitch-0.1.14-r1.ebuild b/games-util/etswitch/etswitch-0.1.14-r1.ebuild |
21 |
new file mode 100644 |
22 |
index 0000000..5889357 |
23 |
--- /dev/null |
24 |
+++ b/games-util/etswitch/etswitch-0.1.14-r1.ebuild |
25 |
@@ -0,0 +1,33 @@ |
26 |
+# Copyright 1999-2016 Gentoo Foundation |
27 |
+# Distributed under the terms of the GNU General Public License v2 |
28 |
+# $Id$ |
29 |
+ |
30 |
+EAPI=6 |
31 |
+ |
32 |
+DESCRIPTION="*nix minimizer for a few games" |
33 |
+HOMEPAGE="http://hem.bredband.net/b400150/" |
34 |
+SRC_URI="http://hem.bredband.net/b400150/${PN}/${P}.tar.gz" |
35 |
+ |
36 |
+LICENSE="GPL-2" |
37 |
+SLOT="0" |
38 |
+KEYWORDS="~amd64 ~x86" |
39 |
+IUSE="" |
40 |
+ |
41 |
+RDEPEND="x11-libs/libX11 |
42 |
+ x11-libs/libXxf86vm |
43 |
+ x11-libs/libXmu |
44 |
+ x11-libs/libXpm" |
45 |
+DEPEND="${RDEPEND} |
46 |
+ x11-libs/libXt |
47 |
+ x11-proto/recordproto |
48 |
+ x11-proto/xf86vidmodeproto |
49 |
+ x11-proto/xproto" |
50 |
+ |
51 |
+PATCHES=( |
52 |
+ "${FILESDIR}"/${P}-desktop-entry.patch |
53 |
+ "${FILESDIR}"/${P}-glibc.patch |
54 |
+) |
55 |
+ |
56 |
+src_configure() { |
57 |
+ econf --datadir=/usr/share |
58 |
+} |
59 |
|
60 |
diff --git a/games-util/etswitch/files/etswitch-0.1.14-desktop-entry.patch b/games-util/etswitch/files/etswitch-0.1.14-desktop-entry.patch |
61 |
index a7c5080..f3e6b5d 100644 |
62 |
--- a/games-util/etswitch/files/etswitch-0.1.14-desktop-entry.patch |
63 |
+++ b/games-util/etswitch/files/etswitch-0.1.14-desktop-entry.patch |
64 |
@@ -1,5 +1,5 @@ |
65 |
---- etswitch.desktop.in.orig 2008-02-02 10:54:51.000000000 -0500 |
66 |
-+++ etswitch.desktop.in 2008-02-02 11:17:40.000000000 -0500 |
67 |
+--- a/etswitch.desktop.in 2008-02-02 10:54:51.000000000 -0500 |
68 |
++++ b/etswitch.desktop.in 2008-02-02 11:17:40.000000000 -0500 |
69 |
@@ -1,5 +1,4 @@ |
70 |
[Desktop Entry] |
71 |
-Encoding=UTF-8 |