diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-02-23 11:40:30 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-02-23 11:40:30 +0000 |
commit | edca36e835d0d4e929c1dd3e9688954ae0aa191a (patch) | |
tree | c60f9dd076d4eff037c8ad746de4bf5d48e55b08 /games-emulation/gambatte-jg | |
parent | 914bc7f07098ac3918913e4c83951a9cbba5a949 (diff) |
gentoo auto-resync : 23:02:2024 - 11:40:30
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-9999.ebuild | 51 | ||||
-rw-r--r-- | games-emulation/gambatte-jg/metadata.xml | 8 |
3 files changed, 50 insertions, 13 deletions
diff --git a/games-emulation/gambatte-jg/Manifest b/games-emulation/gambatte-jg/Manifest index cd5822ede188..e125a25d92e0 100644 --- a/games-emulation/gambatte-jg/Manifest +++ b/games-emulation/gambatte-jg/Manifest @@ -1,4 +1,4 @@ DIST gambatte-0.5.1.tar.bz2 305331 BLAKE2B edde374d0ed2b5f8c9ca3060520f2ffa392a82378fcac0ad18ea6ca0a02bc5240c8dc9f72c6427f2c85f11fd4b68b1a92717c20f34ad71d27a1ee3e9eb5238cd SHA512 60ea7199b1f26bb403ac48d871ef5191cbd6de6794ecde72693d9360ca476b364dc9e6c5bd88d5e54e9835d67feb17d1b7453b48096736ef870bea473b0691a5 EBUILD gambatte-jg-0.5.1.ebuild 919 BLAKE2B 9d374581e9abaa4129992adcb86cafd8c73fb71b5fca284a4cd74044f627eeff2f40b0d233f217a2f0a4956009475bef3cf14ca3372b09285e4a69ded170da05 SHA512 4582983c0be84361c1585a3207d559e85e84229ed85673e8c057d2bfdf748ca93622a34c431601605d647fc186a4f7446fe216cb708a0ff51f783cb2790c3ca1 -EBUILD gambatte-jg-9999.ebuild 885 BLAKE2B 00e20523e8549b5342505a3a27617a3d070bfc5d66923964d76ee620019eca16c6bb70e303e40b7149d7157c6a10634f33e4f411be81fb46997c4195033a51eb SHA512 5b8444584c1ded28405c7afbc086a2654fbfd9c7eca85778ecbddc5e2fb3101496f35f4965c7d54480bc57242add1262716343d640236054f793af71fe2609a3 -MISC metadata.xml 680 BLAKE2B ba87d083e7d2cf3e89089b2891061eacc44f630595a01cd4e3dacaca21117d78945d22bfb59f392ac14add708faad4fcf07231955ca4575399c0919c56e68d58 SHA512 9a37c608b2f34bc62ddcc2f045469f14dbbd0916700eb7fcb534776fb729186b6a3a2c21ebf287af10bd87353d4d42b0d3764ce75c197ed3bcc3d150fb339053 +EBUILD gambatte-jg-9999.ebuild 1448 BLAKE2B d4bbf6b48e452eb23d5902e56913052e3945e9bbed219e655c7e1f558008e0a3d81289d176473f1fa12251cc9066bdf575bfa4ccb276bcb70bc2875aaa7704f0 SHA512 fae2679e34b17a62ebfa0758d4e0b01f4583c10e462816b7f9c094d07ff209d0ba939c48c6e5dc73b985f8b73430287345fc86f73d0500a24f64f3bf4f56123d +MISC metadata.xml 945 BLAKE2B 05a854a69160c7a5a94c50b704cfc03de95dba24196542432ad299c70cbd0855438abe3505652b433aa9b24059a4b6a9bc6aaa898919ec1ca409867a72fa8e60 SHA512 b6b7bfdaf940fb8ac8ff8d5c0110b1c96db6c34716e16c6739b73ac9e1c830286e8556542fb401253ea97985a2ca383234eda0885a06c59722cd5791f3cfa29b diff --git a/games-emulation/gambatte-jg/gambatte-jg-9999.ebuild b/games-emulation/gambatte-jg/gambatte-jg-9999.ebuild index bc00ccf2fcc5..1c1fd17466dd 100644 --- a/games-emulation/gambatte-jg/gambatte-jg-9999.ebuild +++ b/games-emulation/gambatte-jg/gambatte-jg-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022 Gentoo Authors +# Copyright 2022-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -15,32 +15,61 @@ if [[ "${PV}" == *9999 ]] ; then else SRC_URI="https://gitlab.com/jgemu/${MY_PN}/-/archive/${PV}/${MY_P}.tar.bz2" S="${WORKDIR}/${MY_P}" - KEYWORDS="~amd64" + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" fi -LICENSE="BSD GPL-2" +LICENSE=" + GPL-2 + examples? ( 0BSD ) + jgmodule? ( BSD ) +" SLOT="1" +IUSE="examples +jgmodule shared" +REQUIRED_USE="|| ( examples jgmodule shared )" DEPEND=" - media-libs/jg:1= - media-libs/soxr + examples? ( + media-libs/libsdl2[opengl,sound,video] + media-libs/speexdsp + ) + jgmodule? ( + media-libs/jg:1= + media-libs/soxr + ) " RDEPEND=" ${DEPEND} - games-emulation/jgrf + jgmodule? ( games-emulation/jgrf ) " BDEPEND=" virtual/pkgconfig " +pkg_setup() { + 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() { - emake CXX="$(tc-getCXX)" PKG_CONFIG="$(tc-getPKG_CONFIG)" + local mymakeargs=( + CXX="$(tc-getCXX)" + PKG_CONFIG="$(tc-getPKG_CONFIG)" + ${MY_MAKEOPTS} + ) + emake "${mymakeargs[@]}" } src_install() { - emake install \ - DESTDIR="${D}" \ - PREFIX="${EPREFIX}"/usr \ - DOCDIR="${EPREFIX}"/usr/share/doc/${PF} \ + 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/metadata.xml b/games-emulation/gambatte-jg/metadata.xml index 184d31eac85b..231d8c0f1d03 100644 --- a/games-emulation/gambatte-jg/metadata.xml +++ b/games-emulation/gambatte-jg/metadata.xml @@ -9,6 +9,14 @@ <email>sam@gentoo.org</email> <name>Sam James</name> </maintainer> + <maintainer type="project" proxied="proxy"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <use> + <flag name="jgmodule">Build module for The Jolly Good API</flag> + <flag name="shared">Build shared library</flag> + </use> <longdescription> Gambatte JG is an emulator for the Nintendo Game Boy/Game Boy Color. This is a fork of the final public revision of Gambatte. |