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 AC42F1581E7 for ; Mon, 29 Apr 2024 08:46:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C8F54E29CD; Mon, 29 Apr 2024 08:46:38 +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 95950E29CD for ; Mon, 29 Apr 2024 08:46:38 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DF532343060 for ; Mon, 29 Apr 2024 08:46:37 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 527A2176D for ; Mon, 29 Apr 2024 08:46:35 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1714380319.52e1c0009631818fa409ab9119d9c2023253cb60.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-emulation/gambatte-jg/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-emulation/gambatte-jg/Manifest games-emulation/gambatte-jg/gambatte-jg-0.6.0.ebuild X-VCS-Directories: games-emulation/gambatte-jg/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: 52e1c0009631818fa409ab9119d9c2023253cb60 X-VCS-Branch: master Date: Mon, 29 Apr 2024 08:46:35 +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: 906b84a0-dc1a-490f-b701-9bb9da9f5da0 X-Archives-Hash: 51cdfa7c5abb653302195f87ad8c71e4 commit: 52e1c0009631818fa409ab9119d9c2023253cb60 Author: orbea riseup net> AuthorDate: Sun Mar 31 17:09:59 2024 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Mon Apr 29 08:45:19 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52e1c000 games-emulation/gambatte-jg: add 0.6.0 Signed-off-by: orbea riseup.net> Signed-off-by: Joonas Niilola gentoo.org> games-emulation/gambatte-jg/Manifest | 1 + .../gambatte-jg/gambatte-jg-0.6.0.ebuild | 75 ++++++++++++++++++++++ 2 files changed, 76 insertions(+) diff --git a/games-emulation/gambatte-jg/Manifest b/games-emulation/gambatte-jg/Manifest index 40a95ee7206c..d220eb85ea9a 100644 --- a/games-emulation/gambatte-jg/Manifest +++ b/games-emulation/gambatte-jg/Manifest @@ -1 +1,2 @@ DIST gambatte-0.5.1.tar.bz2 305331 BLAKE2B edde374d0ed2b5f8c9ca3060520f2ffa392a82378fcac0ad18ea6ca0a02bc5240c8dc9f72c6427f2c85f11fd4b68b1a92717c20f34ad71d27a1ee3e9eb5238cd SHA512 60ea7199b1f26bb403ac48d871ef5191cbd6de6794ecde72693d9360ca476b364dc9e6c5bd88d5e54e9835d67feb17d1b7453b48096736ef870bea473b0691a5 +DIST gambatte-0.6.0.tar.bz2 384803 BLAKE2B 8d203385704fc212c84835ec1446dac9b7e64b59dc04ffc72533fe309716ea78a58d5b61707214b2b66dd9af5e5f9d52e0e46973673ab50b04dbd3b2075de51f SHA512 538a52d91b554c9a01c8e4ffbb96aa81638344687d0dee593f8950c10a93d732f44442ada4809cb36be5311df2bdce65b1d5f71db97579bcf8cb9516dddc30a3 diff --git a/games-emulation/gambatte-jg/gambatte-jg-0.6.0.ebuild b/games-emulation/gambatte-jg/gambatte-jg-0.6.0.ebuild new file mode 100644 index 000000000000..5b5647ac0425 --- /dev/null +++ b/games-emulation/gambatte-jg/gambatte-jg-0.6.0.ebuild @@ -0,0 +1,75 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +MY_PN=${PN%-*} +MY_P=${MY_PN}-${PV} +DESCRIPTION="Jolly Good Fork of Gambatte" +HOMEPAGE="https://gitlab.com/jgemu/gambatte" +if [[ "${PV}" == *9999 ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://gitlab.com/jgemu/${MY_PN}.git" +else + SRC_URI="https://gitlab.com/jgemu/${MY_PN}/-/archive/${PV}/${MY_P}.tar.bz2" + S="${WORKDIR}/${MY_P}" + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" +fi + +LICENSE=" + GPL-2 + examples? ( 0BSD ) + jgmodule? ( BSD ) +" +SLOT="1" +IUSE="examples +jgmodule shared" +REQUIRED_USE="|| ( examples jgmodule shared )" + +DEPEND=" + examples? ( + media-libs/libsdl2[sound,video] + media-libs/speexdsp + ) + jgmodule? ( + media-libs/jg:1= + media-libs/soxr + ) +" +RDEPEND=" + ${DEPEND} + jgmodule? ( games-emulation/jgrf ) +" +BDEPEND=" + virtual/pkgconfig +" + +src_configure() { + local makeopts=( + DISABLE_MODULE=$(usex jgmodule 0 1) + ENABLE_EXAMPLE=$(usex examples 1 0) + ENABLE_SHARED=$(usex shared 1 0) + ) + export MY_MAKEOPTS="${makeopts[@]}" +} + +src_compile() { + local mymakeargs=( + CXX="$(tc-getCXX)" + PKG_CONFIG="$(tc-getPKG_CONFIG)" + ${MY_MAKEOPTS} + ) + emake "${mymakeargs[@]}" +} + +src_install() { + local mymakeargs=( + DESTDIR="${D}" + PREFIX="${EPREFIX}"/usr + DOCDIR="${EPREFIX}"/usr/share/doc/${PF} + LIBDIR="${EPREFIX}/usr/$(get_libdir)" + ${MY_MAKEOPTS} + ) + emake install "${mymakeargs[@]}" +}