summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-06-02 11:57:28 +0000
committerSam James <sam@gentoo.org>2021-06-02 12:21:25 +0000
commit92186944f7dcdceca82b6d2bbbeb1ecdb849d6c0 (patch)
treef6951fba5cbc1892ad209b5362f40355995ebbff /games-action/gltron
parentgames-arcade/sdlsasteroids: add virtual/glu dep (diff)
downloadgentoo-92186944f7dcdceca82b6d2bbbeb1ecdb849d6c0.tar.gz
gentoo-92186944f7dcdceca82b6d2bbbeb1ecdb849d6c0.tar.bz2
gentoo-92186944f7dcdceca82b6d2bbbeb1ecdb849d6c0.zip
games-action/gltron: add virtual/glu dep
Closes: https://bugs.gentoo.org/739082 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'games-action/gltron')
-rw-r--r--games-action/gltron/gltron-0.70-r2.ebuild13
1 files changed, 7 insertions, 6 deletions
diff --git a/games-action/gltron/gltron-0.70-r2.ebuild b/games-action/gltron/gltron-0.70-r2.ebuild
index da0109b26e78..60deb41a00fe 100644
--- a/games-action/gltron/gltron-0.70-r2.ebuild
+++ b/games-action/gltron/gltron-0.70-r2.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
inherit desktop
@@ -13,7 +13,6 @@ SRC_URI="mirror://sourceforge/${PN}/${P}-source.tar.gz
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE=""
DEPEND="
media-libs/libmikmod
@@ -22,9 +21,9 @@ DEPEND="
media-libs/sdl-mixer[vorbis]
media-libs/sdl-sound[vorbis,mikmod]
media-libs/smpeg
- virtual/opengl"
-
-RDEPEND=${DEPEND}
+ virtual/opengl
+ virtual/glu"
+RDEPEND="${DEPEND}"
PATCHES=(
"${FILESDIR}"/${P}-configure.patch
@@ -35,6 +34,7 @@ PATCHES=(
src_prepare() {
default
+
sed -i \
-e '/^gltron_LINK/s/$/ $(LDFLAGS)/' \
Makefile.in || die
@@ -51,6 +51,7 @@ src_configure() {
src_install() {
default
+
doicon "${DISTDIR}"/${PN}.png
make_desktop_entry ${PN} GLtron
}