summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAustin English <wizardedit@gentoo.org>2016-06-29 18:13:50 -0500
committerAustin English <wizardedit@gentoo.org>2016-06-29 18:17:02 -0500
commitac8d3049ffe6b50811f6f1874cdee650ec88569e (patch)
tree98547b9a3be13db5d64af868ac13248a26c2d5a4 /games-util
parentgames-util/gamepick: remove depreacted games eclass (diff)
downloadgentoo-ac8d3049ffe6b50811f6f1874cdee650ec88569e.tar.gz
gentoo-ac8d3049ffe6b50811f6f1874cdee650ec88569e.tar.bz2
gentoo-ac8d3049ffe6b50811f6f1874cdee650ec88569e.zip
games-util/etswitch: remove deprecated games eclass
Also update to EAPI 6 Gentoo-Bug: https://bugs.gentoo.org/574082 Package-Manager: portage-2.2.28
Diffstat (limited to 'games-util')
-rw-r--r--games-util/etswitch/etswitch-0.1.14-r1.ebuild33
-rw-r--r--games-util/etswitch/files/etswitch-0.1.14-desktop-entry.patch4
2 files changed, 35 insertions, 2 deletions
diff --git a/games-util/etswitch/etswitch-0.1.14-r1.ebuild b/games-util/etswitch/etswitch-0.1.14-r1.ebuild
new file mode 100644
index 000000000000..5889357cd976
--- /dev/null
+++ b/games-util/etswitch/etswitch-0.1.14-r1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+DESCRIPTION="*nix minimizer for a few games"
+HOMEPAGE="http://hem.bredband.net/b400150/"
+SRC_URI="http://hem.bredband.net/b400150/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="x11-libs/libX11
+ x11-libs/libXxf86vm
+ x11-libs/libXmu
+ x11-libs/libXpm"
+DEPEND="${RDEPEND}
+ x11-libs/libXt
+ x11-proto/recordproto
+ x11-proto/xf86vidmodeproto
+ x11-proto/xproto"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-desktop-entry.patch
+ "${FILESDIR}"/${P}-glibc.patch
+)
+
+src_configure() {
+ econf --datadir=/usr/share
+}
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
index a7c50800c99e..f3e6b5dcd805 100644
--- a/games-util/etswitch/files/etswitch-0.1.14-desktop-entry.patch
+++ b/games-util/etswitch/files/etswitch-0.1.14-desktop-entry.patch
@@ -1,5 +1,5 @@
---- etswitch.desktop.in.orig 2008-02-02 10:54:51.000000000 -0500
-+++ etswitch.desktop.in 2008-02-02 11:17:40.000000000 -0500
+--- a/etswitch.desktop.in 2008-02-02 10:54:51.000000000 -0500
++++ b/etswitch.desktop.in 2008-02-02 11:17:40.000000000 -0500
@@ -1,5 +1,4 @@
[Desktop Entry]
-Encoding=UTF-8