diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-04-30 00:00:01 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-04-30 00:00:01 +0100 |
commit | 4c2b70adc6484c35ff05e412de08a7b7f50cfb34 (patch) | |
tree | c7557ae36b9b2bfa7134849511e79da938581c5f /games-emulation/gambatte-jg | |
parent | 5f0030fd1370c4d03dbb2e0d3086f5e618a33749 (diff) |
gentoo auto-resync : 30:04:2024 - 00:00:01
Diffstat (limited to 'games-emulation/gambatte-jg')
-rw-r--r-- | games-emulation/gambatte-jg/Manifest | 4 | ||||
-rw-r--r-- | games-emulation/gambatte-jg/gambatte-jg-0.6.0.ebuild | 75 | ||||
-rw-r--r-- | games-emulation/gambatte-jg/gambatte-jg-9999.ebuild | 2 |
3 files changed, 79 insertions, 2 deletions
diff --git a/games-emulation/gambatte-jg/Manifest b/games-emulation/gambatte-jg/Manifest index 28ac78a5fef0..5cfb8402dbae 100644 --- a/games-emulation/gambatte-jg/Manifest +++ b/games-emulation/gambatte-jg/Manifest @@ -1,4 +1,6 @@ DIST gambatte-0.5.1.tar.bz2 305331 BLAKE2B edde374d0ed2b5f8c9ca3060520f2ffa392a82378fcac0ad18ea6ca0a02bc5240c8dc9f72c6427f2c85f11fd4b68b1a92717c20f34ad71d27a1ee3e9eb5238cd SHA512 60ea7199b1f26bb403ac48d871ef5191cbd6de6794ecde72693d9360ca476b364dc9e6c5bd88d5e54e9835d67feb17d1b7453b48096736ef870bea473b0691a5 +DIST gambatte-0.6.0.tar.bz2 384803 BLAKE2B 8d203385704fc212c84835ec1446dac9b7e64b59dc04ffc72533fe309716ea78a58d5b61707214b2b66dd9af5e5f9d52e0e46973673ab50b04dbd3b2075de51f SHA512 538a52d91b554c9a01c8e4ffbb96aa81638344687d0dee593f8950c10a93d732f44442ada4809cb36be5311df2bdce65b1d5f71db97579bcf8cb9516dddc30a3 EBUILD gambatte-jg-0.5.1.ebuild 919 BLAKE2B 9d374581e9abaa4129992adcb86cafd8c73fb71b5fca284a4cd74044f627eeff2f40b0d233f217a2f0a4956009475bef3cf14ca3372b09285e4a69ded170da05 SHA512 4582983c0be84361c1585a3207d559e85e84229ed85673e8c057d2bfdf748ca93622a34c431601605d647fc186a4f7446fe216cb708a0ff51f783cb2790c3ca1 -EBUILD gambatte-jg-9999.ebuild 1441 BLAKE2B 7d0d1e577644523fe9b0791b3ad138826b202eeb04ea54f355aa83da19d533be7430646f787e4a8ab8fa20fc561508d3d2444944f0163af742c31dad704bc0cd SHA512 54444488e1563476ba3ba0f2bdd33e0d7a6736661ccb6116acff9c592ea43ce09ae34f9aa803258ecb7ec4bf2bc444f2897b691f41ea646697db23bd82c93625 +EBUILD gambatte-jg-0.6.0.ebuild 1445 BLAKE2B db69150bae98f9ff8da6724dd67a7c9b61df778f726d7d0af17eaae5c71e643f506219e521c5654190a2f458c521dbd6128ac65323e3d320e15ddc1448b893e2 SHA512 38b95f34213ed8372a7f98b5af172411a6de23b18cefb32f79c151fc2c2b4d7d3337f1680bf5e0af60aeabc993cb8103164265ba46839e1861496708478ea6d8 +EBUILD gambatte-jg-9999.ebuild 1445 BLAKE2B db69150bae98f9ff8da6724dd67a7c9b61df778f726d7d0af17eaae5c71e643f506219e521c5654190a2f458c521dbd6128ac65323e3d320e15ddc1448b893e2 SHA512 38b95f34213ed8372a7f98b5af172411a6de23b18cefb32f79c151fc2c2b4d7d3337f1680bf5e0af60aeabc993cb8103164265ba46839e1861496708478ea6d8 MISC metadata.xml 829 BLAKE2B 80f617ab969735cfb919892d1b2fcbe1c6f090c3726314039d5ca44245651b2556be0b33af59cb5550c30b445b1053cd861f71a01dc7c6efd3103be8e2b00be9 SHA512 748f3c506bcd68ec1a53598c0c9742b7fbb3ae84c4ab5fd6561bbfae310a48e771f124bcf2efcae6d30bfe77553ed504752b5f36ae2929e66d0227997ace10ca 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[@]}" +} diff --git a/games-emulation/gambatte-jg/gambatte-jg-9999.ebuild b/games-emulation/gambatte-jg/gambatte-jg-9999.ebuild index f342303e1e39..5b5647ac0425 100644 --- a/games-emulation/gambatte-jg/gambatte-jg-9999.ebuild +++ b/games-emulation/gambatte-jg/gambatte-jg-9999.ebuild @@ -45,7 +45,7 @@ BDEPEND=" virtual/pkgconfig " -pkg_setup() { +src_configure() { local makeopts=( DISABLE_MODULE=$(usex jgmodule 0 1) ENABLE_EXAMPLE=$(usex examples 1 0) |