summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesus P Rey (Chuso) <gentoo@chuso.net>2020-10-11 15:18:39 +0200
committerSam James <sam@gentoo.org>2021-03-05 23:49:25 +0000
commit46c4eb977ca5b27977fb98f3507606636eb50495 (patch)
treeeb3daa62931c61e06a70fe2aa82bbb1ebe993fd6 /games-arcade
parentgames-action/lugaru: remove old version (diff)
downloadgentoo-46c4eb977ca5b27977fb98f3507606636eb50495.tar.gz
gentoo-46c4eb977ca5b27977fb98f3507606636eb50495.tar.bz2
gentoo-46c4eb977ca5b27977fb98f3507606636eb50495.zip
games-arcade/jumpnbump: 1.61 version bump
Signed-off-by: Jesus P Rey <gentoo@chuso.net> Closes: https://bugs.gentoo.org/702402 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'games-arcade')
-rw-r--r--games-arcade/jumpnbump/Manifest1
-rw-r--r--games-arcade/jumpnbump/jumpnbump-1.61.ebuild46
-rw-r--r--games-arcade/jumpnbump/metadata.xml1
3 files changed, 48 insertions, 0 deletions
diff --git a/games-arcade/jumpnbump/Manifest b/games-arcade/jumpnbump/Manifest
index 25c7511151cc..fa2a4f9799fb 100644
--- a/games-arcade/jumpnbump/Manifest
+++ b/games-arcade/jumpnbump/Manifest
@@ -1,2 +1,3 @@
DIST jumpnbump-1.50-autotool.patch.bz2 94692 BLAKE2B 40fa60260426cc1461e3e31d220a8f7261c7ad9e079fb17011fff72dc7ad2d52f66fb040263502d6082f3609bda0c783dd5c8b6a1d226d4fa22a1f77e6bfe5c4 SHA512 3749f3bda969d9ab2225019d8a6333d23402c8e284c3278aad23f76d5436326fed1efcae28a8922f814e0cf8417ea20fc51abb34f70bd6d37afca803475214fa
DIST jumpnbump-1.50.tar.gz 397208 BLAKE2B f62a30723d8a08976ba06b1941d62544a764b4d5cbce6b076d0f096af099d9db35a451c413f3c490e2aff0388c92456e46a70cdc6a9404449a19dc4a77be0db3 SHA512 a343e514efa42aacd2c0fd113269ebf27418ea851dad21cecfa16a765639cc6a5de43fbdb9ad2f0282740f369b7e457a236fc3e918b486af10222c733f5c8fb0
+DIST jumpnbump-1.61.tar.xz 309072 BLAKE2B 057f597aedfcacb5c45e2980d670109c6ed1d9508a17ff467f44e10190d84d19609fded416c30512a59385a6c59221da98af90069adc993f0cc4c9332d248321 SHA512 1c5999c6d0d00770416a61803e5dac4742e23d787ba6bec3742517e3eab006efe9448e59f3e84278e224e184a8ac8444c7c766b74374761b1aec7cffdc1708c1
diff --git a/games-arcade/jumpnbump/jumpnbump-1.61.ebuild b/games-arcade/jumpnbump/jumpnbump-1.61.ebuild
new file mode 100644
index 000000000000..4681c057d6cd
--- /dev/null
+++ b/games-arcade/jumpnbump/jumpnbump-1.61.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python3_{6,7,8} )
+inherit python-single-r1
+
+DESCRIPTION="A funny multiplayer game about cute little fluffy bunnies"
+HOMEPAGE="https://libregames.gitlab.io/jumpnbump"
+SRC_URI="https://gitlab.com/LibreGames/${PN}/uploads/95acdae2a232513f068e260977371dcf/${P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="gtk"
+
+REQUIRED_USE="gtk? ( ${PYTHON_REQUIRED_USE} )"
+
+DEPEND="
+ media-libs/sdl2-mixer[mod]
+ media-libs/libsdl2
+ media-libs/sdl2-net
+"
+RDEPEND="${DEPEND}
+ gtk? (
+ ${PYTHON_DEPS}
+ $(python_gen_cond_dep '
+ dev-python/pygobject[${PYTHON_USEDEP}]
+ ')
+ x11-libs/gdk-pixbuf:2[introspection]
+ x11-libs/gtk+:3[introspection]
+ )
+"
+
+src_compile() {
+ emake PREFIX="${EPREFIX}/usr"
+ use gtk && emake PREFIX="${EPREFIX}/usr" jnbmenu
+}
+
+src_install() {
+ emake PREFIX="${ED}/usr" install
+ if use gtk; then
+ emake -C menu PREFIX="${ED}/usr" install
+ python_doscript "${ED}/usr/bin/jumpnbump-menu"
+ fi
+}
diff --git a/games-arcade/jumpnbump/metadata.xml b/games-arcade/jumpnbump/metadata.xml
index 1329ada5712f..81218895621f 100644
--- a/games-arcade/jumpnbump/metadata.xml
+++ b/games-arcade/jumpnbump/metadata.xml
@@ -6,6 +6,7 @@
<name>Gentoo Games Project</name>
</maintainer>
<use>
+ <flag name="gtk">Install Python-based GTK menu</flag>
<flag name="music">Enable playing of background music</flag>
</use>
</pkgmetadata>