From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 61DBC158086 for ; Thu, 18 Nov 2021 19:11:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 80ED8E07FE; Thu, 18 Nov 2021 19:11:43 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 29B44E07FE for ; Thu, 18 Nov 2021 19:11:43 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E038C342FC3 for ; Thu, 18 Nov 2021 19:11:41 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 50E011C8 for ; Thu, 18 Nov 2021 19:11:40 +0000 (UTC) From: "Ionen Wolkens" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ionen Wolkens" Message-ID: <1637262487.74f54c8e5622e307705505e280b94e2aaf93f006.ionen@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-arcade/jumpnbump/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-arcade/jumpnbump/Manifest games-arcade/jumpnbump/jumpnbump-1.61_p20210421.ebuild X-VCS-Directories: games-arcade/jumpnbump/ X-VCS-Committer: ionen X-VCS-Committer-Name: Ionen Wolkens X-VCS-Revision: 74f54c8e5622e307705505e280b94e2aaf93f006 X-VCS-Branch: master Date: Thu, 18 Nov 2021 19:11:40 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 6dd4190a-d2fe-4ded-bf48-b7b6119c34b6 X-Archives-Hash: 9ae7184a6bb5de5db122bc158ee77b34 commit: 74f54c8e5622e307705505e280b94e2aaf93f006 Author: Ionen Wolkens gentoo org> AuthorDate: Thu Nov 18 18:23:06 2021 +0000 Commit: Ionen Wolkens gentoo 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 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 +}