From: "Ionen Wolkens" <ionen@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-arcade/jumpnbump/
Date: Thu, 18 Nov 2021 19:11:40 +0000 (UTC) [thread overview]
Message-ID: <1637262487.74f54c8e5622e307705505e280b94e2aaf93f006.ionen@gentoo> (raw)
commit: 74f54c8e5622e307705505e280b94e2aaf93f006
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 18 18:23:06 2021 +0000
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Thu Nov 18 19:08:07 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74f54c8e
games-arcade/jumpnbump: add 1.61_p20210421
* EAPI7->8
* enable py3.10
* drop -fcommon workaround wrt bug #794970 (fixed upstream)
* add zlib/bzip2/pillow missing deps.
* IUSE=gtk->gui (IUSE=launcher or =menu may make more sense
but didn't see a major need for non-generic flags here)
* move icon to right location
Closes: https://bugs.gentoo.org/794970
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
games-arcade/jumpnbump/Manifest | 1 +
.../jumpnbump/jumpnbump-1.61_p20210421.ebuild | 69 ++++++++++++++++++++++
2 files changed, 70 insertions(+)
diff --git a/games-arcade/jumpnbump/Manifest b/games-arcade/jumpnbump/Manifest
index 98b961d211e2..5da33430f393 100644
--- a/games-arcade/jumpnbump/Manifest
+++ b/games-arcade/jumpnbump/Manifest
@@ -1 +1,2 @@
DIST jumpnbump-1.61.tar.xz 309072 BLAKE2B 057f597aedfcacb5c45e2980d670109c6ed1d9508a17ff467f44e10190d84d19609fded416c30512a59385a6c59221da98af90069adc993f0cc4c9332d248321 SHA512 1c5999c6d0d00770416a61803e5dac4742e23d787ba6bec3742517e3eab006efe9448e59f3e84278e224e184a8ac8444c7c766b74374761b1aec7cffdc1708c1
+DIST jumpnbump-1.61_p20210421.tar.gz 436105 BLAKE2B 3546c3c1d625b2560acbd39cf4a1a0b1fc022254c8b99913ead856d90a9354426220c2cae57ea991e4133287bc9e10d2b7b8d621f70eaa8c0baf93ee3d419a30 SHA512 ae5a7173fe43c3674ab6883d5daf3758680e53b4b33ada4c998831fcd52b6769683e72b484d01e976e3358dc1992a46e764b75d7cbe1632c48b00b570a03e03b
diff --git a/games-arcade/jumpnbump/jumpnbump-1.61_p20210421.ebuild b/games-arcade/jumpnbump/jumpnbump-1.61_p20210421.ebuild
new file mode 100644
index 000000000000..7b0afcd18e3f
--- /dev/null
+++ b/games-arcade/jumpnbump/jumpnbump-1.61_p20210421.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+inherit desktop python-single-r1 toolchain-funcs
+
+MY_COMMIT="73c5fe86fd831dec45a22077e8d63dd2b6a6349e"
+
+DESCRIPTION="Funny multiplayer game about cute little fluffy bunnies"
+HOMEPAGE="https://libregames.gitlab.io/jumpnbump"
+SRC_URI="https://gitlab.com/LibreGames/jumpnbump/-/archive/${MY_COMMIT}/${P}.tar.gz"
+S="${WORKDIR}/${PN}-${MY_COMMIT}"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="gui"
+REQUIRED_USE="gui? ( ${PYTHON_REQUIRED_USE} )"
+
+DEPEND="
+ app-arch/bzip2:=
+ media-libs/libsdl2[joystick,sound,video]
+ media-libs/sdl2-mixer[mod]
+ media-libs/sdl2-net
+ sys-libs/zlib:="
+RDEPEND="
+ ${DEPEND}
+ gui? (
+ ${PYTHON_DEPS}
+ $(python_gen_cond_dep '
+ dev-python/pillow[${PYTHON_USEDEP}]
+ dev-python/pygobject[${PYTHON_USEDEP}]
+ ')
+ x11-libs/gdk-pixbuf:2[introspection]
+ x11-libs/gtk+:3[introspection]
+ )"
+BDEPEND="gui? ( ${PYTHON_DEPS} )"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.61-ranlib.patch
+)
+
+pkg_setup() {
+ use gui && python-single-r1_pkg_setup
+}
+
+src_compile() {
+ tc-export AR CC RANLIB
+
+ emake PREFIX="${EPREFIX}"/usr
+
+ if use gui; then
+ emake PREFIX="${EPREFIX}"/usr jnbmenu
+ python_fix_shebang menu/jumpnbump_menu.py
+ fi
+}
+
+src_install() {
+ emake PREFIX="${ED}"/usr install
+
+ use gui && emake -C menu PREFIX="${ED}"/usr install
+
+ doicon dist/${PN}.png
+ rm "${ED}"/usr/share/icons/${PN}.png || die
+
+ einstalldocs
+}
next reply other threads:[~2021-11-18 19:11 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-18 19:11 Ionen Wolkens [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-05-05 23:44 [gentoo-commits] repo/gentoo:master commit in: games-arcade/jumpnbump/ Ionen Wolkens
2023-02-16 7:39 Ionen Wolkens
2023-02-16 7:39 Ionen Wolkens
2021-12-02 5:13 Ionen Wolkens
2021-12-02 5:13 Ionen Wolkens
2021-04-06 18:18 Sam James
2021-03-05 23:56 Sam James
2021-03-05 23:56 Sam James
2018-04-17 21:01 Pacho Ramos
2018-04-17 21:01 Pacho Ramos
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1637262487.74f54c8e5622e307705505e280b94e2aaf93f006.ionen@gentoo \
--to=ionen@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox