summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-action/gltron')
-rw-r--r--games-action/gltron/gltron-0.70-r2.ebuild19
-rw-r--r--games-action/gltron/metadata.xml2
2 files changed, 11 insertions, 10 deletions
diff --git a/games-action/gltron/gltron-0.70-r2.ebuild b/games-action/gltron/gltron-0.70-r2.ebuild
index da0109b26e78..8bd8b1eb9bbb 100644
--- a/games-action/gltron/gltron-0.70-r2.ebuild
+++ b/games-action/gltron/gltron-0.70-r2.ebuild
@@ -1,19 +1,18 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
inherit desktop
DESCRIPTION="3d tron, just like the movie"
-HOMEPAGE="http://gltron.sourceforge.net/"
-SRC_URI="mirror://sourceforge/${PN}/${P}-source.tar.gz
+HOMEPAGE="https://gltron.sourceforge.net/"
+SRC_URI="https://downloads.sourceforge.net/${PN}/${P}-source.tar.gz
mirror://gentoo/${PN}.png"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
+KEYWORDS="~amd64 ~arm64 ~x86"
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
}
diff --git a/games-action/gltron/metadata.xml b/games-action/gltron/metadata.xml
index 0612306374d9..b8ae5ff92a3d 100644
--- a/games-action/gltron/metadata.xml
+++ b/games-action/gltron/metadata.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>games@gentoo.org</email>