summaryrefslogtreecommitdiff
path: root/games-arcade/gnujump
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2022-08-13 12:44:59 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2022-08-13 12:44:59 +0000
commit573cd021af53780a713637381b95ed8d1f41d9c9 (patch)
tree0c16c023394abcbf1aaeebd98e959aa53eb88562 /games-arcade/gnujump
parentd0aeca19ba2356f8f5d0a7fec8f171b7dbd629bf (diff)
downloadbaldeagleos-repo-573cd021af53780a713637381b95ed8d1f41d9c9.tar.gz
baldeagleos-repo-573cd021af53780a713637381b95ed8d1f41d9c9.tar.xz
baldeagleos-repo-573cd021af53780a713637381b95ed8d1f41d9c9.zip
Adding metadata
Diffstat (limited to 'games-arcade/gnujump')
-rw-r--r--games-arcade/gnujump/files/gnujump-1.0.8-musl.patch10
-rw-r--r--games-arcade/gnujump/gnujump-1.0.8-r1.ebuild35
-rw-r--r--games-arcade/gnujump/gnujump-1.0.8-r2.ebuild52
-rw-r--r--games-arcade/gnujump/metadata.xml4
4 files changed, 65 insertions, 36 deletions
diff --git a/games-arcade/gnujump/files/gnujump-1.0.8-musl.patch b/games-arcade/gnujump/files/gnujump-1.0.8-musl.patch
new file mode 100644
index 000000000000..83bb4214e722
--- /dev/null
+++ b/games-arcade/gnujump/files/gnujump-1.0.8-musl.patch
@@ -0,0 +1,10 @@
+locale.h is always needed, include here rather than rely on
+conditional macros which lead to failure with musl
+
+https://bugs.gentoo.org/831726
+--- a/src/gnujump.h
++++ b/src/gnujump.h
+@@ -38,2 +38,3 @@
+ #include <time.h>
++#include <locale.h>
+
diff --git a/games-arcade/gnujump/gnujump-1.0.8-r1.ebuild b/games-arcade/gnujump/gnujump-1.0.8-r1.ebuild
deleted file mode 100644
index 271171a2cf0a..000000000000
--- a/games-arcade/gnujump/gnujump-1.0.8-r1.ebuild
+++ /dev/null
@@ -1,35 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-inherit desktop flag-o-matic
-
-DESCRIPTION="Xjump clone with added features"
-HOMEPAGE="http://gnujump.es.gnu.org"
-SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-DEPEND="media-libs/libsdl[sound,video]
- media-libs/sdl-image[png]
- media-libs/sdl-mixer[vorbis]
- virtual/opengl
- x11-libs/libX11
-"
-RDEPEND="${DEPEND}"
-
-src_prepare() {
- default
- append-libs -lm
-}
-
-src_install() {
- default
- einstalldocs
-
- newicon skins/xjump/hero1.0.png ${PN}.png
- make_desktop_entry ${PN} "GNUjump"
-}
diff --git a/games-arcade/gnujump/gnujump-1.0.8-r2.ebuild b/games-arcade/gnujump/gnujump-1.0.8-r2.ebuild
new file mode 100644
index 000000000000..dfae59b48abd
--- /dev/null
+++ b/games-arcade/gnujump/gnujump-1.0.8-r2.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools desktop flag-o-matic
+
+DESCRIPTION="Xjump clone with added features"
+HOMEPAGE="https://jump.gnu.sinusoid.es/"
+SRC_URI="mirror://gnu/gnujump/${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ media-libs/libglvnd[X]
+ media-libs/libsdl[opengl,sound,video]
+ media-libs/sdl-image[png]
+ media-libs/sdl-mixer[vorbis]
+ virtual/glu
+ virtual/libintl"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ sys-devel/autoconf-archive
+ sys-devel/gettext
+ virtual/pkgconfig"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-musl.patch
+)
+
+src_prepare() {
+ default
+
+ # change ac_unique_file given eautoreconf will move configure.in
+ sed -i 's/(configure.in)//' configure.in || die
+
+ # regenerate due to missing macros, ensure have autoconf-archive for GLU
+ # and remove acinclude.m4 which does unnecessary checks (bug #818814)
+ rm acinclude.m4 || die
+ eautoreconf
+
+ append-libs -lm #496924
+}
+
+src_install() {
+ default
+
+ newicon skins/xjump/hero1.0.png ${PN}.png
+ make_desktop_entry ${PN} "GNUjump"
+}
diff --git a/games-arcade/gnujump/metadata.xml b/games-arcade/gnujump/metadata.xml
index 1b8db8b4c1d6..ba8876a081e5 100644
--- a/games-arcade/gnujump/metadata.xml
+++ b/games-arcade/gnujump/metadata.xml
@@ -5,6 +5,8 @@
<email>games@gentoo.org</email>
<name>Gentoo Games Project</name>
</maintainer>
-
+ <upstream>
+ <bugs-to>https://savannah.gnu.org/bugs/?group=gnujump</bugs-to>
+ </upstream>
<origin>gentoo-staging</origin>
</pkgmetadata> \ No newline at end of file