games-util/gamepick: remove depreacted games eclass
authorAustin English <wizardedit@gentoo.org>
Wed, 29 Jun 2016 23:05:30 +0000 (18:05 -0500)
committerAustin English <wizardedit@gentoo.org>
Wed, 29 Jun 2016 23:05:30 +0000 (18:05 -0500)
Also update to EAPI 6

Gentoo-Bug: https://bugs.gentoo.org/574082

Package-Manager: portage-2.2.28

games-util/gamepick/gamepick-0.35-r1.ebuild [new file with mode: 0644]

diff --git a/games-util/gamepick/gamepick-0.35-r1.ebuild b/games-util/gamepick/gamepick-0.35-r1.ebuild
new file mode 100644 (file)
index 0000000..6271a2f
--- /dev/null
@@ -0,0 +1,32 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit eutils
+
+DESCRIPTION="Launch opengl games with custom graphic settings"
+HOMEPAGE="http://www.rillion.net/gamepick/index.html"
+SRC_URI="http://www.rillion.net/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="x11-libs/gtk+:2"
+DEPEND="${RDEPEND}
+       virtual/pkgconfig"
+
+src_prepare() {
+       default
+       sed -i \
+               -e 's/-O2//' \
+               src/Makefile.in || die
+}
+
+src_install() {
+       default
+       newicon ${PN}-48x48.xpm ${PN}.xpm
+       make_desktop_entry ${PN} ${PN}
+}