commit:     92186944f7dcdceca82b6d2bbbeb1ecdb849d6c0
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Jun  2 11:57:28 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Jun  2 12:21:25 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92186944

games-action/gltron: add virtual/glu dep

Closes: https://bugs.gentoo.org/739082
Signed-off-by: Sam James <sam <AT> gentoo.org>

 games-action/gltron/gltron-0.70-r2.ebuild | 13 +++++++------
 1 file 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 da0109b26e7..60deb41a00f 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
 }

Reply via email to