[gentoo-commits] repo/gentoo:master commit in: games-emulation/mgba-jg/
commit: 6d1932a4169e04a3f4b53490d12553ea05258ef5 Author: orbea riseup net> AuthorDate: Mon Dec 23 21:41:38 2024 + Commit: Michael Orlitzky gentoo org> CommitDate: Mon Feb 10 02:06:06 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d1932a4 games-emulation/mgba-jg: drop 0.10.3 Signed-off-by: orbea riseup.net> Signed-off-by: Michael Orlitzky gentoo.org> games-emulation/mgba-jg/Manifest | 1 - games-emulation/mgba-jg/mgba-jg-0.10.3.ebuild | 45 --- 2 files changed, 46 deletions(-) diff --git a/games-emulation/mgba-jg/Manifest b/games-emulation/mgba-jg/Manifest index bb8f066658b6..d22f5877b320 100644 --- a/games-emulation/mgba-jg/Manifest +++ b/games-emulation/mgba-jg/Manifest @@ -1,2 +1 @@ -DIST mgba-0.10.3.tar.bz2 12943639 BLAKE2B 3adf52ce7b1a8811f3a2d0f874450a7d9ac1c88a39de2cd94846671145e2e1112b92e48a7987a711829a6a4957827f73cf26e988e8a482f43ed055ed27627d15 SHA512 6d9ebd9ce83c6f5c554e677abcf3e52b077fb79df2fb5754d5ee2441d3104208b3d15eb6f3dd3d5e11f8782d257d16b852f0dbf5907e28d638fd7fa92138f8e2 DIST mgba-0.10.4.tar.bz2 12950129 BLAKE2B e489232c92e6221bd845eb00880f70ce3bfc755213659d44b2ff3ed7e5cc6b74637ecd3e8329351bdde79fb802e0d6179e637656b281a5454b386db7c92a9043 SHA512 dc2a6dfa5309932aef9fbd3457aabaf2625371e3db672f7d4bba2dfe2797aca72daee255144a829fc374996d1bee71f7222aab40aba1fb7f8c4211be20a90ec2 diff --git a/games-emulation/mgba-jg/mgba-jg-0.10.3.ebuild b/games-emulation/mgba-jg/mgba-jg-0.10.3.ebuild deleted file mode 100644 index f27d3666bf7b.. --- a/games-emulation/mgba-jg/mgba-jg-0.10.3.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# 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 Port of mGBA" -HOMEPAGE="https://gitlab.com/jgemu/mgba"; -if [[ "${PV}" == * ]] ; 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="BSD-2 MPL-2.0" -SLOT="1" - -DEPEND=" - media-libs/jg:1= -" -RDEPEND=" - ${DEPEND} - games-emulation/jgrf -" -BDEPEND=" - virtual/pkgconfig -" - -src_compile() { - emake -C jollygood CC="$(tc-getCC)" PKG_CONFIG="$(tc-getPKG_CONFIG)" -} - -src_install() { - emake -C jollygood install \ - DESTDIR="${D}" \ - PREFIX="${EPREFIX}"/usr \ - DOCDIR="${EPREFIX}"/usr/share/doc/${PF} \ - LIBDIR="${EPREFIX}/usr/$(get_libdir)" -}
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mgba/, games-emulation/mgba/files/
commit: b3b4cd81b5d3adb6fa51e4ccce5e81740ed589b3 Author: Ionen Wolkens gentoo org> AuthorDate: Tue Jan 7 05:56:59 2025 + Commit: Ionen Wolkens gentoo org> CommitDate: Tue Jan 7 06:47:58 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3b4cd81 games-emulation/mgba: drop 0.10.3 Signed-off-by: Ionen Wolkens gentoo.org> games-emulation/mgba/Manifest | 1 - .../files/mgba-0.10.3-rapidjson-gcc14-const.patch | 17 --- games-emulation/mgba/mgba-0.10.3.ebuild| 117 - 3 files changed, 135 deletions(-) diff --git a/games-emulation/mgba/Manifest b/games-emulation/mgba/Manifest index 959842c7dfee..3470bf45e307 100644 --- a/games-emulation/mgba/Manifest +++ b/games-emulation/mgba/Manifest @@ -1,2 +1 @@ -DIST mgba-0.10.3.tar.gz 14350721 BLAKE2B 2109c53455ece7beba0af30787cd75cad85db334be44e41b51f579f813393f8d83c5c9537832b190bb8b0ac1c28d78e92adb6af23191b17b463847df3360f656 SHA512 de92725a18f00ec8645a75cf434a667bfc5aba954d0ae8be188241371a4a310214123be2cec13d20dbff4f660b401364efb51c43c7bdc24eea40454949062a52 DIST mgba-0.10.4.tar.gz 14355132 BLAKE2B 1f99fd1f79e1645f2de8c1fbd07bdc4996fbc12263fd14b3588e0dcccff910780be73ed92084e53ed873f5e55eef70a983afee2f3f0bd166c578a03bcf57ea0b SHA512 300c09ae8d6dc9677aabb6771345da42b78dc2e4e63e14f1fc404b89737e5161f412f4903488fd222fcf3ac9b0161ba5947a099cd9b5095137d100ce14a14aa3 diff --git a/games-emulation/mgba/files/mgba-0.10.3-rapidjson-gcc14-const.patch b/games-emulation/mgba/files/mgba-0.10.3-rapidjson-gcc14-const.patch deleted file mode 100644 index 516c81199bda.. --- a/games-emulation/mgba/files/mgba-0.10.3-rapidjson-gcc14-const.patch +++ /dev/null @@ -1,17 +0,0 @@ -https://bugs.gentoo.org/924019 -(same as https://bugs.gentoo.org/914583 given rapidjson is bundled) - -https://github.com/Tencent/rapidjson/issues/718 -https://github.com/Tencent/rapidjson/commit/3b2441b87f99ab65f37b141a7b548ebadb607b96 -From: Janusz Chorko -Date: Fri, 26 Aug 2016 21:17:38 +0200 -Subject: [PATCH] Removed non-compiling assignment operator. Fixed #718 a/src/third-party/discord-rpc/include/rapidjson/document.h -+++ b/src/third-party/discord-rpc/include/rapidjson/document.h -@@ -317,6 +317,4 @@ - GenericStringRef(const GenericStringRef& rhs) : s(rhs.s), length(rhs.length) {} - --GenericStringRef& operator=(const GenericStringRef& rhs) { s = rhs.s; length = rhs.length; } -- - //! implicit conversion to plain CharType pointer - operator const Ch *() const { return s; } diff --git a/games-emulation/mgba/mgba-0.10.3.ebuild b/games-emulation/mgba/mgba-0.10.3.ebuild deleted file mode 100644 index 0e746e84b175.. --- a/games-emulation/mgba/mgba-0.10.3.ebuild +++ /dev/null @@ -1,117 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -LUA_COMPAT=( lua5-{3..4} ) -inherit cmake lua-single xdg - -if [[ ${PV} == ]] ; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/mgba-emu/mgba.git"; -else - SRC_URI="https://github.com/mgba-emu/mgba/archive/${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="amd64 arm64 ppc64 x86" -fi - -DESCRIPTION="Game Boy Advance Emulator" -HOMEPAGE="https://mgba.io/"; - -LICENSE="MPL-2.0 BSD LGPL-2.1+ public-domain discord? ( MIT )" -SLOT="0/$(ver_cut 1-2)" -IUSE=" - debug discord elf ffmpeg gles2 gles3 gui libretro - lua +opengl +sdl +sqlite test -" -REQUIRED_USE=" - gui? ( || ( gles2 gles3 opengl ) sqlite ) - lua? ( ${LUA_REQUIRED_USE} ) -" -RESTRICT="!test? ( test )" - -RDEPEND=" - media-libs/libpng:= - sys-libs/zlib:=[minizip] - debug? ( dev-libs/libedit ) - elf? ( dev-libs/elfutils ) - ffmpeg? ( media-video/ffmpeg:= ) - gles2? ( media-libs/libglvnd ) - gles3? ( media-libs/libglvnd ) - lua? ( ${LUA_DEPS} ) - opengl? ( media-libs/libglvnd ) - gui? ( - dev-qt/qtcore:5 - dev-qt/qtgui:5 - dev-qt/qtmultimedia:5 - dev-qt/qtnetwork:5 - dev-qt/qtwidgets:5 - ) - sdl? ( media-libs/libsdl2[sound,joystick,gles2?,opengl?,video] ) - sqlite? ( dev-db/sqlite:3 ) -" -DEPEND=" - ${RDEPEND} - test? ( dev-util/cmocka ) -" -BDEPEND=" - gui? ( dev-qt/linguist-tools:5 ) - lua? ( virtual/pkgconfig ) -" - -PATCHES=( - "${FILESDIR}"/${PN}-0.10.0-optional-updater.patch - "${FILESDIR}"/${PN}-0.10.3-rapidjson-gcc14-const.patch -) - -pkg_setup() { - use lua && lua-single_pkg_setup -} - -src_configure() { - local mycmakeargs=( - -DBUILD_CINEMA=$(usex test) - -DBUILD_GL=$(usex opengl) - -DBUILD_GLES2=$(usex gles2) - -DBUILD_GLES3=$(usex gles3) - -DBUILD_LIBRETRO=$(usex libretro) - -DBUILD_QT=$(usex gui) - -DBUILD_ROM_TEST=yes #918855 -
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mgba/
commit: ee61eb9cc1a15702490d17378f9bc8f6b123f483 Author: Sam James gentoo org> AuthorDate: Sat Jan 4 16:16:24 2025 + Commit: Sam James gentoo org> CommitDate: Sat Jan 4 16:16:24 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee61eb9c games-emulation/mgba: Stabilize 0.10.4 arm64, #947354 Signed-off-by: Sam James gentoo.org> games-emulation/mgba/mgba-0.10.4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/games-emulation/mgba/mgba-0.10.4.ebuild b/games-emulation/mgba/mgba-0.10.4.ebuild index 250ae543e894..578c796fa9a6 100644 --- a/games-emulation/mgba/mgba-0.10.4.ebuild +++ b/games-emulation/mgba/mgba-0.10.4.ebuild @@ -11,7 +11,7 @@ if [[ ${PV} == ]] ; then EGIT_REPO_URI="https://github.com/mgba-emu/mgba.git"; else SRC_URI="https://github.com/mgba-emu/mgba/archive/${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="amd64 ~arm64 ppc64 x86" + KEYWORDS="amd64 arm64 ppc64 x86" fi DESCRIPTION="Game Boy Advance Emulator"
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mgba/
commit: db839c3fefd3a4e1d98fc43f52493daab80b2937 Author: Sam James gentoo org> AuthorDate: Thu Jan 2 14:15:09 2025 + Commit: Sam James gentoo org> CommitDate: Thu Jan 2 14:15:09 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db839c3f games-emulation/mgba: Stabilize 0.10.4 x86, #947354 Signed-off-by: Sam James gentoo.org> games-emulation/mgba/mgba-0.10.4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/games-emulation/mgba/mgba-0.10.4.ebuild b/games-emulation/mgba/mgba-0.10.4.ebuild index a228714fedeb..250ae543e894 100644 --- a/games-emulation/mgba/mgba-0.10.4.ebuild +++ b/games-emulation/mgba/mgba-0.10.4.ebuild @@ -11,7 +11,7 @@ if [[ ${PV} == ]] ; then EGIT_REPO_URI="https://github.com/mgba-emu/mgba.git"; else SRC_URI="https://github.com/mgba-emu/mgba/archive/${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="amd64 ~arm64 ppc64 ~x86" + KEYWORDS="amd64 ~arm64 ppc64 x86" fi DESCRIPTION="Game Boy Advance Emulator"
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mgba/
commit: b0b6b8ef10f9970ca56a6f829eeb396bcfac1dc5 Author: Sam James gentoo org> AuthorDate: Thu Jan 2 14:15:08 2025 + Commit: Sam James gentoo org> CommitDate: Thu Jan 2 14:15:08 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0b6b8ef games-emulation/mgba: Stabilize 0.10.4 amd64, #947354 Signed-off-by: Sam James gentoo.org> games-emulation/mgba/mgba-0.10.4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/games-emulation/mgba/mgba-0.10.4.ebuild b/games-emulation/mgba/mgba-0.10.4.ebuild index e16c00e51db5..a228714fedeb 100644 --- a/games-emulation/mgba/mgba-0.10.4.ebuild +++ b/games-emulation/mgba/mgba-0.10.4.ebuild @@ -11,7 +11,7 @@ if [[ ${PV} == ]] ; then EGIT_REPO_URI="https://github.com/mgba-emu/mgba.git"; else SRC_URI="https://github.com/mgba-emu/mgba/archive/${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~arm64 ppc64 ~x86" + KEYWORDS="amd64 ~arm64 ppc64 ~x86" fi DESCRIPTION="Game Boy Advance Emulator"
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mgba/
commit: 551ad5b2deb76be7f2a14fb2845ef72580c5060a Author: Sam James gentoo org> AuthorDate: Thu Jan 2 14:00:11 2025 + Commit: Sam James gentoo org> CommitDate: Thu Jan 2 14:00:11 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=551ad5b2 games-emulation/mgba: Stabilize 0.10.4 ppc64, #947354 Signed-off-by: Sam James gentoo.org> games-emulation/mgba/mgba-0.10.4.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/games-emulation/mgba/mgba-0.10.4.ebuild b/games-emulation/mgba/mgba-0.10.4.ebuild index f0e400060c46..e16c00e51db5 100644 --- a/games-emulation/mgba/mgba-0.10.4.ebuild +++ b/games-emulation/mgba/mgba-0.10.4.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -11,7 +11,7 @@ if [[ ${PV} == ]] ; then EGIT_REPO_URI="https://github.com/mgba-emu/mgba.git"; else SRC_URI="https://github.com/mgba-emu/mgba/archive/${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" + KEYWORDS="~amd64 ~arm64 ppc64 ~x86" fi DESCRIPTION="Game Boy Advance Emulator"
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mgba/
commit: 9bc18ca442337b0878120ea556deff319f608f88 Author: Ionen Wolkens gentoo org> AuthorDate: Fri Dec 13 23:12:59 2024 + Commit: Ionen Wolkens gentoo org> CommitDate: Fri Dec 13 23:39:02 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9bc18ca4 games-emulation/mgba: add 0.10.4 ftr still no Qt6 support in this version, this will be in 0.11.x Signed-off-by: Ionen Wolkens gentoo.org> games-emulation/mgba/Manifest | 1 + games-emulation/mgba/mgba-0.10.4.ebuild | 116 2 files changed, 117 insertions(+) diff --git a/games-emulation/mgba/Manifest b/games-emulation/mgba/Manifest index e8faf3bf19e9..959842c7dfee 100644 --- a/games-emulation/mgba/Manifest +++ b/games-emulation/mgba/Manifest @@ -1 +1,2 @@ DIST mgba-0.10.3.tar.gz 14350721 BLAKE2B 2109c53455ece7beba0af30787cd75cad85db334be44e41b51f579f813393f8d83c5c9537832b190bb8b0ac1c28d78e92adb6af23191b17b463847df3360f656 SHA512 de92725a18f00ec8645a75cf434a667bfc5aba954d0ae8be188241371a4a310214123be2cec13d20dbff4f660b401364efb51c43c7bdc24eea40454949062a52 +DIST mgba-0.10.4.tar.gz 14355132 BLAKE2B 1f99fd1f79e1645f2de8c1fbd07bdc4996fbc12263fd14b3588e0dcccff910780be73ed92084e53ed873f5e55eef70a983afee2f3f0bd166c578a03bcf57ea0b SHA512 300c09ae8d6dc9677aabb6771345da42b78dc2e4e63e14f1fc404b89737e5161f412f4903488fd222fcf3ac9b0161ba5947a099cd9b5095137d100ce14a14aa3 diff --git a/games-emulation/mgba/mgba-0.10.4.ebuild b/games-emulation/mgba/mgba-0.10.4.ebuild new file mode 100644 index ..f0e400060c46 --- /dev/null +++ b/games-emulation/mgba/mgba-0.10.4.ebuild @@ -0,0 +1,116 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +LUA_COMPAT=( lua5-{3..4} ) +inherit cmake lua-single xdg + +if [[ ${PV} == ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/mgba-emu/mgba.git"; +else + SRC_URI="https://github.com/mgba-emu/mgba/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" +fi + +DESCRIPTION="Game Boy Advance Emulator" +HOMEPAGE="https://mgba.io/"; + +LICENSE="MPL-2.0 BSD LGPL-2.1+ public-domain discord? ( MIT )" +SLOT="0/$(ver_cut 1-2)" +IUSE=" + debug discord elf ffmpeg gles2 gles3 gui libretro + lua +opengl +sdl +sqlite test +" +REQUIRED_USE=" + gui? ( || ( gles2 gles3 opengl ) sqlite ) + lua? ( ${LUA_REQUIRED_USE} ) +" +RESTRICT="!test? ( test )" + +RDEPEND=" + media-libs/libpng:= + sys-libs/zlib:=[minizip] + debug? ( dev-libs/libedit ) + elf? ( dev-libs/elfutils ) + ffmpeg? ( media-video/ffmpeg:= ) + gles2? ( media-libs/libglvnd ) + gles3? ( media-libs/libglvnd ) + lua? ( ${LUA_DEPS} ) + opengl? ( media-libs/libglvnd ) + gui? ( + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtmultimedia:5 + dev-qt/qtnetwork:5 + dev-qt/qtwidgets:5 + ) + sdl? ( media-libs/libsdl2[sound,joystick,gles2?,opengl?,video] ) + sqlite? ( dev-db/sqlite:3 ) +" +DEPEND=" + ${RDEPEND} + test? ( dev-util/cmocka ) +" +BDEPEND=" + gui? ( dev-qt/linguist-tools:5 ) + lua? ( virtual/pkgconfig ) +" + +PATCHES=( + "${FILESDIR}"/${PN}-0.10.0-optional-updater.patch +) + +pkg_setup() { + use lua && lua-single_pkg_setup +} + +src_configure() { + local mycmakeargs=( + -DBUILD_CINEMA=$(usex test) + -DBUILD_GL=$(usex opengl) + -DBUILD_GLES2=$(usex gles2) + -DBUILD_GLES3=$(usex gles3) + -DBUILD_LIBRETRO=$(usex libretro) + -DBUILD_QT=$(usex gui) + -DBUILD_ROM_TEST=yes #918855 + -DBUILD_SDL=$(usex sdl) # also used for gamepads in QT build + -DBUILD_SUITE=$(usex test) + -DBUILD_UPDATER=no + -DENABLE_SCRIPTING=$(usex lua) + -DMARKDOWN=no #752048 + -DUSE_DEBUGGERS=$(usex debug) + -DUSE_DISCORD_RPC=$(usex discord) + -DUSE_EDITLINE=$(usex debug) + -DUSE_ELF=$(usex elf) + -DUSE_EPOXY=no + -DUSE_FFMPEG=$(usex ffmpeg) + -DUSE_GDB_STUB=$(usex debug) + -DUSE_LIBZIP=no + -DUSE_LZMA=yes + -DUSE_MINIZIP=yes + -DUSE_PNG=yes + -DUSE_SQLITE3=$(usex sqlite) + -DUSE_ZLIB=yes + $(usev libretro -DLIBRETRO_LIBDIR="${EPREFIX}"/usr/$(get_libdir)/libretro) + ) + use lua && mycmakeargs+=( -DUSE_LUA=$(ver_cut 1-2 $(lua_get_version)) ) + + cmake_src_configure +} + +src_test() { + # CMakeLists.txt forces SKIP_RPATH=yes when PREFIX=/usr + local -x LD_LIBRARY_PATH=${BUILD_DIR}:${LD_LIBRARY_PATH} + + cmake_src_test +} + +src_install() { + cmake_src_install + + use !test || rm "${ED}"/usr/bin
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mgba/
commit: f4584e11b9e82e20a5506b912d21c7c6140a996f Author: Ionen Wolkens gentoo org> AuthorDate: Fri Dec 13 23:05:36 2024 + Commit: Ionen Wolkens gentoo org> CommitDate: Fri Dec 13 23:38:23 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4584e11 games-emulation/mgba: drop qt5 support in live We're actively trying to drop Qt5 where possible, and see no reason to keep this here. Also fix linguist-tools dependency BDEPEND which ignored qt6. May need other updates, but have not looked closely (will do when mgba 0.11 releases). Signed-off-by: Ionen Wolkens gentoo.org> games-emulation/mgba/mgba-.ebuild | 19 +-- 1 file changed, 5 insertions(+), 14 deletions(-) diff --git a/games-emulation/mgba/mgba-.ebuild b/games-emulation/mgba/mgba-.ebuild index afc5b4396e02..a599c0cec301 100644 --- a/games-emulation/mgba/mgba-.ebuild +++ b/games-emulation/mgba/mgba-.ebuild @@ -21,7 +21,7 @@ LICENSE="MPL-2.0 BSD LGPL-2.1+ public-domain discord? ( MIT )" SLOT="0/$(ver_cut 1-2)" IUSE=" debug discord elf ffmpeg gles2 gles3 gui libretro - lua +opengl qt6 +sdl +sqlite test + lua +opengl +sdl +sqlite test " REQUIRED_USE=" gui? ( || ( gles2 gles3 opengl ) sqlite ) @@ -43,17 +43,8 @@ RDEPEND=" ) opengl? ( media-libs/libglvnd ) gui? ( - qt6? ( - dev-qt/qtbase:6[gui,network,opengl,widgets] - dev-qt/qtmultimedia:6 - ) - !qt6? ( - dev-qt/qtcore:5 - dev-qt/qtgui:5 - dev-qt/qtmultimedia:5 - dev-qt/qtnetwork:5 - dev-qt/qtwidgets:5 - ) + dev-qt/qtbase:6[gui,network,opengl,widgets] + dev-qt/qtmultimedia:6 ) sdl? ( media-libs/libsdl2[sound,joystick,gles2?,opengl?,video] ) sqlite? ( dev-db/sqlite:3 ) @@ -63,7 +54,7 @@ DEPEND=" test? ( dev-util/cmocka ) " BDEPEND=" - gui? ( dev-qt/linguist-tools:5 ) + gui? ( dev-qt/qttools:6[linguist] ) lua? ( virtual/pkgconfig ) " @@ -83,7 +74,7 @@ src_configure() { -DBUILD_GLES3=$(usex gles3) -DBUILD_LIBRETRO=$(usex libretro) -DBUILD_QT=$(usex gui) - $(usev gui -DFORCE_QT_VERSION=$(usex qt6 6 5)) + $(usev gui -DFORCE_QT_VERSION=6) -DBUILD_ROM_TEST=yes #918855 -DBUILD_SDL=$(usex sdl) # also used for gamepads in QT build -DBUILD_SUITE=$(usex test)
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mgba-jg/
commit: 5da6e861e5300b2a8e79b047592ec6748f0bfce8 Author: orbea riseup net> AuthorDate: Fri Dec 13 01:48:40 2024 + Commit: Sam James gentoo org> CommitDate: Fri Dec 13 09:34:15 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5da6e861 games-emulation/mgba-jg: metadata: add changelog Signed-off-by: orbea riseup.net> Signed-off-by: Sam James gentoo.org> games-emulation/mgba-jg/metadata.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/games-emulation/mgba-jg/metadata.xml b/games-emulation/mgba-jg/metadata.xml index 4ced7d6f9fbf..dc2fab8bd2b8 100644 --- a/games-emulation/mgba-jg/metadata.xml +++ b/games-emulation/mgba-jg/metadata.xml @@ -16,6 +16,7 @@ https://gitlab.com/jgemu/mgba/-/issues + https://gitlab.com/jgemu/mgba/-/blob/master/CHANGES jgemu/mgba
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mgba-jg/
commit: 0287246aa3eb46e8bea3c364131cdd87151d1381 Author: orbea riseup net> AuthorDate: Fri Dec 13 01:55:59 2024 + Commit: Sam James gentoo org> CommitDate: Fri Dec 13 09:34:20 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0287246a games-emulation/mgba-jg: drop 0.10.2 Signed-off-by: orbea riseup.net> Signed-off-by: Sam James gentoo.org> games-emulation/mgba-jg/Manifest | 1 - games-emulation/mgba-jg/mgba-jg-0.10.2.ebuild | 45 --- 2 files changed, 46 deletions(-) diff --git a/games-emulation/mgba-jg/Manifest b/games-emulation/mgba-jg/Manifest index 230e196a3c71..bb8f066658b6 100644 --- a/games-emulation/mgba-jg/Manifest +++ b/games-emulation/mgba-jg/Manifest @@ -1,3 +1,2 @@ -DIST mgba-0.10.2.tar.bz2 12925327 BLAKE2B 73a4a969ea99cde7d928d04ef43208b378784c73f39f6e8bc62f02da3df31ff45c82360cd3184b94e835a355bb3ccb05c2f7b70290aa886a1df7619e319cfb56 SHA512 6bf50bf4ec172fae8a8f5495bbed646f32f978ffcf271531aecea1b56b69788da1ea84bbbab4d22ae5bec0a4e64035209d5719bb5d574981770b7cd3a531798b DIST mgba-0.10.3.tar.bz2 12943639 BLAKE2B 3adf52ce7b1a8811f3a2d0f874450a7d9ac1c88a39de2cd94846671145e2e1112b92e48a7987a711829a6a4957827f73cf26e988e8a482f43ed055ed27627d15 SHA512 6d9ebd9ce83c6f5c554e677abcf3e52b077fb79df2fb5754d5ee2441d3104208b3d15eb6f3dd3d5e11f8782d257d16b852f0dbf5907e28d638fd7fa92138f8e2 DIST mgba-0.10.4.tar.bz2 12950129 BLAKE2B e489232c92e6221bd845eb00880f70ce3bfc755213659d44b2ff3ed7e5cc6b74637ecd3e8329351bdde79fb802e0d6179e637656b281a5454b386db7c92a9043 SHA512 dc2a6dfa5309932aef9fbd3457aabaf2625371e3db672f7d4bba2dfe2797aca72daee255144a829fc374996d1bee71f7222aab40aba1fb7f8c4211be20a90ec2 diff --git a/games-emulation/mgba-jg/mgba-jg-0.10.2.ebuild b/games-emulation/mgba-jg/mgba-jg-0.10.2.ebuild deleted file mode 100644 index f27d3666bf7b.. --- a/games-emulation/mgba-jg/mgba-jg-0.10.2.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# 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 Port of mGBA" -HOMEPAGE="https://gitlab.com/jgemu/mgba"; -if [[ "${PV}" == * ]] ; 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="BSD-2 MPL-2.0" -SLOT="1" - -DEPEND=" - media-libs/jg:1= -" -RDEPEND=" - ${DEPEND} - games-emulation/jgrf -" -BDEPEND=" - virtual/pkgconfig -" - -src_compile() { - emake -C jollygood CC="$(tc-getCC)" PKG_CONFIG="$(tc-getPKG_CONFIG)" -} - -src_install() { - emake -C jollygood install \ - DESTDIR="${D}" \ - PREFIX="${EPREFIX}"/usr \ - DOCDIR="${EPREFIX}"/usr/share/doc/${PF} \ - LIBDIR="${EPREFIX}/usr/$(get_libdir)" -}
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mgba-jg/
commit: 7f3d640ffb74907dde4b2fefb5d62de074d95493 Author: orbea riseup net> AuthorDate: Fri Dec 13 01:55:46 2024 + Commit: Sam James gentoo org> CommitDate: Fri Dec 13 09:34:20 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f3d640f games-emulation/mgba-jg: add 0.10.4 Signed-off-by: orbea riseup.net> Signed-off-by: Sam James gentoo.org> games-emulation/mgba-jg/Manifest | 1 + games-emulation/mgba-jg/mgba-jg-0.10.4.ebuild | 45 +++ 2 files changed, 46 insertions(+) diff --git a/games-emulation/mgba-jg/Manifest b/games-emulation/mgba-jg/Manifest index 818d715802cb..230e196a3c71 100644 --- a/games-emulation/mgba-jg/Manifest +++ b/games-emulation/mgba-jg/Manifest @@ -1,2 +1,3 @@ DIST mgba-0.10.2.tar.bz2 12925327 BLAKE2B 73a4a969ea99cde7d928d04ef43208b378784c73f39f6e8bc62f02da3df31ff45c82360cd3184b94e835a355bb3ccb05c2f7b70290aa886a1df7619e319cfb56 SHA512 6bf50bf4ec172fae8a8f5495bbed646f32f978ffcf271531aecea1b56b69788da1ea84bbbab4d22ae5bec0a4e64035209d5719bb5d574981770b7cd3a531798b DIST mgba-0.10.3.tar.bz2 12943639 BLAKE2B 3adf52ce7b1a8811f3a2d0f874450a7d9ac1c88a39de2cd94846671145e2e1112b92e48a7987a711829a6a4957827f73cf26e988e8a482f43ed055ed27627d15 SHA512 6d9ebd9ce83c6f5c554e677abcf3e52b077fb79df2fb5754d5ee2441d3104208b3d15eb6f3dd3d5e11f8782d257d16b852f0dbf5907e28d638fd7fa92138f8e2 +DIST mgba-0.10.4.tar.bz2 12950129 BLAKE2B e489232c92e6221bd845eb00880f70ce3bfc755213659d44b2ff3ed7e5cc6b74637ecd3e8329351bdde79fb802e0d6179e637656b281a5454b386db7c92a9043 SHA512 dc2a6dfa5309932aef9fbd3457aabaf2625371e3db672f7d4bba2dfe2797aca72daee255144a829fc374996d1bee71f7222aab40aba1fb7f8c4211be20a90ec2 diff --git a/games-emulation/mgba-jg/mgba-jg-0.10.4.ebuild b/games-emulation/mgba-jg/mgba-jg-0.10.4.ebuild new file mode 100644 index ..f27d3666bf7b --- /dev/null +++ b/games-emulation/mgba-jg/mgba-jg-0.10.4.ebuild @@ -0,0 +1,45 @@ +# 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 Port of mGBA" +HOMEPAGE="https://gitlab.com/jgemu/mgba"; +if [[ "${PV}" == * ]] ; 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="BSD-2 MPL-2.0" +SLOT="1" + +DEPEND=" + media-libs/jg:1= +" +RDEPEND=" + ${DEPEND} + games-emulation/jgrf +" +BDEPEND=" + virtual/pkgconfig +" + +src_compile() { + emake -C jollygood CC="$(tc-getCC)" PKG_CONFIG="$(tc-getPKG_CONFIG)" +} + +src_install() { + emake -C jollygood install \ + DESTDIR="${D}" \ + PREFIX="${EPREFIX}"/usr \ + DOCDIR="${EPREFIX}"/usr/share/doc/${PF} \ + LIBDIR="${EPREFIX}/usr/$(get_libdir)" +}
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mgba/
commit: 2dafc08868a64472315a899939c936362dade4bc Author: Ionen Wolkens gentoo org> AuthorDate: Sat May 25 17:53:37 2024 + Commit: Ionen Wolkens gentoo org> CommitDate: Sat May 25 17:57:15 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2dafc088 games-emulation/mgba: avoid unused option warning with USE=-gui Signed-off-by: Ionen Wolkens gentoo.org> games-emulation/mgba/mgba-.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/games-emulation/mgba/mgba-.ebuild b/games-emulation/mgba/mgba-.ebuild index d764aa0d8fe3..afc5b4396e02 100644 --- a/games-emulation/mgba/mgba-.ebuild +++ b/games-emulation/mgba/mgba-.ebuild @@ -83,6 +83,7 @@ src_configure() { -DBUILD_GLES3=$(usex gles3) -DBUILD_LIBRETRO=$(usex libretro) -DBUILD_QT=$(usex gui) + $(usev gui -DFORCE_QT_VERSION=$(usex qt6 6 5)) -DBUILD_ROM_TEST=yes #918855 -DBUILD_SDL=$(usex sdl) # also used for gamepads in QT build -DBUILD_SUITE=$(usex test) @@ -90,7 +91,6 @@ src_configure() { -DENABLE_DEBUGGERS=$(usex debug) -DENABLE_GDB_STUB=$(usex debug) -DENABLE_SCRIPTING=$(usex lua) - -DFORCE_QT_VERSION=$(usex qt6 6 5) -DMARKDOWN=no #752048 -DUSE_DISCORD_RPC=$(usex discord) -DUSE_EDITLINE=$(usex debug)
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mgba/
commit: a10b45e512f28404510d78cabe978ae45c937c3b Author: Ionen Wolkens gentoo org> AuthorDate: Sat May 25 17:04:42 2024 + Commit: Ionen Wolkens gentoo org> CommitDate: Sat May 25 17:30:51 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a10b45e5 games-emulation/mgba: update live Only updating the obvious bits and not tested much, will look more in-depth when there's a new release: * add IUSE=qt6 (was automagically used) * rename debug options * drop upstreamed patch wrt bug #932741 Also fix missing xdg_pkg_preinst for icon cache. Closes: https://bugs.gentoo.org/932741 Signed-off-by: Ionen Wolkens gentoo.org> games-emulation/mgba/mgba-.ebuild | 28 ++-- 1 file changed, 18 insertions(+), 10 deletions(-) diff --git a/games-emulation/mgba/mgba-.ebuild b/games-emulation/mgba/mgba-.ebuild index 97441a1c618f..d764aa0d8fe3 100644 --- a/games-emulation/mgba/mgba-.ebuild +++ b/games-emulation/mgba/mgba-.ebuild @@ -21,7 +21,7 @@ LICENSE="MPL-2.0 BSD LGPL-2.1+ public-domain discord? ( MIT )" SLOT="0/$(ver_cut 1-2)" IUSE=" debug discord elf ffmpeg gles2 gles3 gui libretro - lua +opengl +sdl +sqlite test + lua +opengl qt6 +sdl +sqlite test " REQUIRED_USE=" gui? ( || ( gles2 gles3 opengl ) sqlite ) @@ -43,11 +43,17 @@ RDEPEND=" ) opengl? ( media-libs/libglvnd ) gui? ( - dev-qt/qtcore:5 - dev-qt/qtgui:5 - dev-qt/qtmultimedia:5 - dev-qt/qtnetwork:5 - dev-qt/qtwidgets:5 + qt6? ( + dev-qt/qtbase:6[gui,network,opengl,widgets] + dev-qt/qtmultimedia:6 + ) + !qt6? ( + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtmultimedia:5 + dev-qt/qtnetwork:5 + dev-qt/qtwidgets:5 + ) ) sdl? ( media-libs/libsdl2[sound,joystick,gles2?,opengl?,video] ) sqlite? ( dev-db/sqlite:3 ) @@ -63,7 +69,6 @@ BDEPEND=" PATCHES=( "${FILESDIR}"/${PN}-0.10.0-optional-updater.patch - "${FILESDIR}"/${PN}-0.10.3-rapidjson-gcc14-const.patch ) pkg_setup() { @@ -82,15 +87,16 @@ src_configure() { -DBUILD_SDL=$(usex sdl) # also used for gamepads in QT build -DBUILD_SUITE=$(usex test) -DBUILD_UPDATER=no + -DENABLE_DEBUGGERS=$(usex debug) + -DENABLE_GDB_STUB=$(usex debug) -DENABLE_SCRIPTING=$(usex lua) + -DFORCE_QT_VERSION=$(usex qt6 6 5) -DMARKDOWN=no #752048 - -DUSE_DEBUGGERS=$(usex debug) -DUSE_DISCORD_RPC=$(usex discord) -DUSE_EDITLINE=$(usex debug) -DUSE_ELF=$(usex elf) -DUSE_EPOXY=no -DUSE_FFMPEG=$(usex ffmpeg) - -DUSE_GDB_STUB=$(usex debug) -DUSE_LIBZIP=no -DUSE_LZMA=yes -DUSE_MINIZIP=yes @@ -116,10 +122,12 @@ src_install() { use !test || rm "${ED}"/usr/bin/mgba-cinema || die - rm -r "${ED}"/usr/share/doc/${PF}/{LICENSE,licenses} || die + rm -r -- "${ED}"/usr/share/doc/${PF}/{LICENSE,licenses} || die } pkg_preinst() { + xdg_pkg_preinst + # hack: .shader/ were directories in <0.11 and are now single (zip) files # named the same, that leads to portage mis-merging and leaving an empty # directory behind rather than the new file
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mgba-jg/
commit: f406fdcdd955125f527b9e7413320f4911e4235f Author: orbea riseup net> AuthorDate: Sat Feb 24 00:16:10 2024 + Commit: Joonas Niilola gentoo org> CommitDate: Sat Feb 24 07:06:15 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f406fdcd games-emulation/mgba-jg: update maintainers Signed-off-by: orbea riseup.net> Signed-off-by: Joonas Niilola gentoo.org> games-emulation/mgba-jg/metadata.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/games-emulation/mgba-jg/metadata.xml b/games-emulation/mgba-jg/metadata.xml index 04ad02462183..4ced7d6f9fbf 100644 --- a/games-emulation/mgba-jg/metadata.xml +++ b/games-emulation/mgba-jg/metadata.xml @@ -5,9 +5,9 @@ or...@riseup.net orbea - - s...@gentoo.org - Sam James + + proxy-ma...@gentoo.org + Proxy Maintainers mGBA is an emulator for running Game Boy Advance games.
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mgba/
commit: 57e27ed33bd38cf241748422b4b26fad210c8b01 Author: Ionen Wolkens gentoo org> AuthorDate: Thu Feb 22 05:11:15 2024 + Commit: Ionen Wolkens gentoo org> CommitDate: Thu Feb 22 06:14:30 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57e27ed3 games-emulation/mgba: drop 0.10.2-r1 Signed-off-by: Ionen Wolkens gentoo.org> games-emulation/mgba/Manifest | 1 - games-emulation/mgba/mgba-0.10.2-r1.ebuild | 109 - 2 files changed, 110 deletions(-) diff --git a/games-emulation/mgba/Manifest b/games-emulation/mgba/Manifest index ab81e1e91319..e8faf3bf19e9 100644 --- a/games-emulation/mgba/Manifest +++ b/games-emulation/mgba/Manifest @@ -1,2 +1 @@ -DIST mgba-0.10.2.tar.gz 14323388 BLAKE2B fb2e652b76871c9a9ffdbf049965ca4a62ee8fed48b547a4e7d514587535f172a7e3b21ec138b8660707a2fbdc19268985191d10eb268e7ed0f059c5a8c81216 SHA512 4063cde6dee9cc07025fa997e401ddd4b28240a9e53cee571ef8aec65cb6cf56b821f0020af1cf00d4f97353efbd4dc39ccd55bc6a3bdf0448ee34736bfd6499 DIST mgba-0.10.3.tar.gz 14350721 BLAKE2B 2109c53455ece7beba0af30787cd75cad85db334be44e41b51f579f813393f8d83c5c9537832b190bb8b0ac1c28d78e92adb6af23191b17b463847df3360f656 SHA512 de92725a18f00ec8645a75cf434a667bfc5aba954d0ae8be188241371a4a310214123be2cec13d20dbff4f660b401364efb51c43c7bdc24eea40454949062a52 diff --git a/games-emulation/mgba/mgba-0.10.2-r1.ebuild b/games-emulation/mgba/mgba-0.10.2-r1.ebuild deleted file mode 100644 index 0abe311a8e9c.. --- a/games-emulation/mgba/mgba-0.10.2-r1.ebuild +++ /dev/null @@ -1,109 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -LUA_COMPAT=( lua5-{3..4} ) -inherit cmake lua-single xdg - -if [[ ${PV} == ]] ; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/mgba-emu/mgba.git"; -else - SRC_URI="https://github.com/mgba-emu/mgba/archive/${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="amd64 arm64 ppc64 x86" -fi - -DESCRIPTION="Game Boy Advance Emulator" -HOMEPAGE="https://mgba.io/"; - -LICENSE="MPL-2.0 BSD LGPL-2.1+ public-domain discord? ( MIT )" -SLOT="0/$(ver_cut 1-2)" -IUSE="debug discord elf ffmpeg gles2 gles3 gui libretro lua +opengl +sdl +sqlite test" -REQUIRED_USE=" - gui? ( || ( gles2 gles3 opengl ) sqlite ) - lua? ( ${LUA_REQUIRED_USE} )" -RESTRICT="!test? ( test )" - -RDEPEND=" - media-libs/libpng:= - sys-libs/zlib:=[minizip] - debug? ( dev-libs/libedit ) - elf? ( dev-libs/elfutils ) - ffmpeg? ( media-video/ffmpeg:= ) - gles2? ( media-libs/libglvnd ) - gles3? ( media-libs/libglvnd ) - lua? ( ${LUA_DEPS} ) - opengl? ( media-libs/libglvnd ) - gui? ( - dev-qt/qtcore:5 - dev-qt/qtgui:5 - dev-qt/qtmultimedia:5 - dev-qt/qtnetwork:5 - dev-qt/qtwidgets:5 - ) - sdl? ( media-libs/libsdl2[sound,joystick,gles2?,opengl?,video] ) - sqlite? ( dev-db/sqlite:3 )" -DEPEND=" - ${RDEPEND} - test? ( dev-util/cmocka )" -BDEPEND=" - gui? ( dev-qt/linguist-tools:5 ) - lua? ( virtual/pkgconfig )" - -PATCHES=( - "${FILESDIR}"/${PN}-0.10.0-optional-updater.patch -) - -pkg_setup() { - use lua && lua-single_pkg_setup -} - -src_configure() { - local mycmakeargs=( - -DBUILD_CINEMA=$(usex test) - -DBUILD_GL=$(usex opengl) - -DBUILD_GLES2=$(usex gles2) - -DBUILD_GLES3=$(usex gles3) - -DBUILD_LIBRETRO=$(usex libretro) - -DBUILD_QT=$(usex gui) - -DBUILD_ROM_TEST=ON #918855 - -DBUILD_SDL=$(usex sdl) # also used for gamepads in QT build - -DBUILD_SUITE=$(usex test) - -DBUILD_UPDATER=OFF - -DENABLE_SCRIPTING=$(usex lua) - -DMARKDOWN=OFF #752048 - -DUSE_DEBUGGERS=$(usex debug) - -DUSE_DISCORD_RPC=$(usex discord) - -DUSE_EDITLINE=$(usex debug) - -DUSE_ELF=$(usex elf) - -DUSE_EPOXY=OFF - -DUSE_FFMPEG=$(usex ffmpeg) - -DUSE_GDB_STUB=$(usex debug) - -DUSE_LIBZIP=OFF - -DUSE_LZMA=ON - -DUSE_MINIZIP=ON - -DUSE_PNG=ON - -DUSE_SQLITE3=$(usex sqlite) - -DUSE_ZLIB=ON - $(usev libretro -DLIBRETRO_LIBDIR="${EPREFIX}"/usr/$(get_libdir)/libretro) - ) - use lua && mycmakeargs+=( -DUSE_LUA=$(ver_cut 1-2 $(lua_get_version)) ) - - cmake_src_configure -} - -src_test() { - # CMakeLists.txt forces SKIP_RPATH=ON when PREFIX=/usr - local -x LD_LIBRARY_PATH=${BUILD_DIR}:${LD_LIBRARY_PATH} - - cmake_src_test -} - -src_install() { - cmake_src_install - - use !test || rm "${ED}"/usr/bin/mgba-cinema || die - - rm -r "${ED}"/usr/share/doc/${PF}/{LICENSE,licens
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mgba/
commit: b408dc92493d277aa9631397edad5695b6be6617 Author: Matoro Mahri matoro tk> AuthorDate: Tue Feb 6 21:25:12 2024 + Commit: Ionen Wolkens gentoo org> CommitDate: Wed Feb 7 04:44:40 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b408dc92 games-emulation/mgba: Stabilize 0.10.3 ppc64, #922751 Signed-off-by: Matoro Mahri matoro.tk> Signed-off-by: Ionen Wolkens gentoo.org> games-emulation/mgba/mgba-0.10.3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/games-emulation/mgba/mgba-0.10.3.ebuild b/games-emulation/mgba/mgba-0.10.3.ebuild index 894d8f295dcc..1ae84af200cd 100644 --- a/games-emulation/mgba/mgba-0.10.3.ebuild +++ b/games-emulation/mgba/mgba-0.10.3.ebuild @@ -11,7 +11,7 @@ if [[ ${PV} == ]] ; then EGIT_REPO_URI="https://github.com/mgba-emu/mgba.git"; else SRC_URI="https://github.com/mgba-emu/mgba/archive/${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="amd64 arm64 ~ppc64 x86" + KEYWORDS="amd64 arm64 ppc64 x86" fi DESCRIPTION="Game Boy Advance Emulator"
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mgba/
commit: cc8032a0ad10aeec38a0bf2378663cbb5a3bf1f5 Author: Sam James gentoo org> AuthorDate: Tue Jan 23 18:46:35 2024 + Commit: Sam James gentoo org> CommitDate: Tue Jan 23 18:46:35 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc8032a0 games-emulation/mgba: Stabilize 0.10.3 x86, #922751 Signed-off-by: Sam James gentoo.org> games-emulation/mgba/mgba-0.10.3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/games-emulation/mgba/mgba-0.10.3.ebuild b/games-emulation/mgba/mgba-0.10.3.ebuild index 971e786efadb..894d8f295dcc 100644 --- a/games-emulation/mgba/mgba-0.10.3.ebuild +++ b/games-emulation/mgba/mgba-0.10.3.ebuild @@ -11,7 +11,7 @@ if [[ ${PV} == ]] ; then EGIT_REPO_URI="https://github.com/mgba-emu/mgba.git"; else SRC_URI="https://github.com/mgba-emu/mgba/archive/${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="amd64 arm64 ~ppc64 ~x86" + KEYWORDS="amd64 arm64 ~ppc64 x86" fi DESCRIPTION="Game Boy Advance Emulator"
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mgba/
commit: 46a662432ced14a59c3b0ba5164ad93822439ae5 Author: Sam James gentoo org> AuthorDate: Tue Jan 23 16:39:24 2024 + Commit: Sam James gentoo org> CommitDate: Tue Jan 23 16:39:24 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46a66243 games-emulation/mgba: Stabilize 0.10.3 amd64, #922751 Signed-off-by: Sam James gentoo.org> games-emulation/mgba/mgba-0.10.3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/games-emulation/mgba/mgba-0.10.3.ebuild b/games-emulation/mgba/mgba-0.10.3.ebuild index ccd1355085e6..554142f5d712 100644 --- a/games-emulation/mgba/mgba-0.10.3.ebuild +++ b/games-emulation/mgba/mgba-0.10.3.ebuild @@ -11,7 +11,7 @@ if [[ ${PV} == ]] ; then EGIT_REPO_URI="https://github.com/mgba-emu/mgba.git"; else SRC_URI="https://github.com/mgba-emu/mgba/archive/${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" + KEYWORDS="amd64 ~arm64 ~ppc64 ~x86" fi DESCRIPTION="Game Boy Advance Emulator"
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mgba/
commit: 55d7f020c7d5daa746acda43fbce12d56c9053d3 Author: Sam James gentoo org> AuthorDate: Tue Jan 23 16:39:26 2024 + Commit: Sam James gentoo org> CommitDate: Tue Jan 23 16:39:26 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55d7f020 games-emulation/mgba: Stabilize 0.10.3 arm64, #922751 Signed-off-by: Sam James gentoo.org> games-emulation/mgba/mgba-0.10.3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/games-emulation/mgba/mgba-0.10.3.ebuild b/games-emulation/mgba/mgba-0.10.3.ebuild index 554142f5d712..971e786efadb 100644 --- a/games-emulation/mgba/mgba-0.10.3.ebuild +++ b/games-emulation/mgba/mgba-0.10.3.ebuild @@ -11,7 +11,7 @@ if [[ ${PV} == ]] ; then EGIT_REPO_URI="https://github.com/mgba-emu/mgba.git"; else SRC_URI="https://github.com/mgba-emu/mgba/archive/${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="amd64 ~arm64 ~ppc64 ~x86" + KEYWORDS="amd64 arm64 ~ppc64 ~x86" fi DESCRIPTION="Game Boy Advance Emulator"
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mgba-jg/
commit: f5883f97d909258b3c9890765184296d6add7f17 Author: orbea riseup net> AuthorDate: Tue Jan 9 06:02:50 2024 + Commit: Sam James gentoo org> CommitDate: Sun Jan 21 03:59:56 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5883f97 games-emulation/mgba-jg: drop 0.10.1 Signed-off-by: orbea riseup.net> Signed-off-by: Sam James gentoo.org> games-emulation/mgba-jg/Manifest | 1 - games-emulation/mgba-jg/mgba-jg-0.10.1.ebuild | 45 --- 2 files changed, 46 deletions(-) diff --git a/games-emulation/mgba-jg/Manifest b/games-emulation/mgba-jg/Manifest index ec33abed6aed..818d715802cb 100644 --- a/games-emulation/mgba-jg/Manifest +++ b/games-emulation/mgba-jg/Manifest @@ -1,3 +1,2 @@ -DIST mgba-0.10.1.tar.bz2 12984463 BLAKE2B 8cdd3ee302ba29febbdd255582b2c071543bbe9e483a302c2e2116444662ace9e8988acead32be2b84361b6145099a1a76c2391a938069e3dddba83e76070842 SHA512 69d7f1a8973159cf6dab21aa669bd29e8344efad1a5ffaa77fc94ad02ce1f3c2f74692bdce896cee394ffcdbecfe7d91c0f51bc89fbb65a16cf44801e26d8412 DIST mgba-0.10.2.tar.bz2 12925327 BLAKE2B 73a4a969ea99cde7d928d04ef43208b378784c73f39f6e8bc62f02da3df31ff45c82360cd3184b94e835a355bb3ccb05c2f7b70290aa886a1df7619e319cfb56 SHA512 6bf50bf4ec172fae8a8f5495bbed646f32f978ffcf271531aecea1b56b69788da1ea84bbbab4d22ae5bec0a4e64035209d5719bb5d574981770b7cd3a531798b DIST mgba-0.10.3.tar.bz2 12943639 BLAKE2B 3adf52ce7b1a8811f3a2d0f874450a7d9ac1c88a39de2cd94846671145e2e1112b92e48a7987a711829a6a4957827f73cf26e988e8a482f43ed055ed27627d15 SHA512 6d9ebd9ce83c6f5c554e677abcf3e52b077fb79df2fb5754d5ee2441d3104208b3d15eb6f3dd3d5e11f8782d257d16b852f0dbf5907e28d638fd7fa92138f8e2 diff --git a/games-emulation/mgba-jg/mgba-jg-0.10.1.ebuild b/games-emulation/mgba-jg/mgba-jg-0.10.1.ebuild deleted file mode 100644 index 0e80a91b3ee1.. --- a/games-emulation/mgba-jg/mgba-jg-0.10.1.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 2022 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 Port of mGBA" -HOMEPAGE="https://gitlab.com/jgemu/mgba"; -if [[ "${PV}" == * ]] ; 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" -fi - -LICENSE="BSD-2 MPL-2.0" -SLOT="1" - -DEPEND=" - media-libs/jg:1= -" -RDEPEND=" - ${DEPEND} - games-emulation/jgrf -" -BDEPEND=" - virtual/pkgconfig -" - -src_compile() { - emake -C jollygood CC="$(tc-getCC)" PKG_CONFIG="$(tc-getPKG_CONFIG)" -} - -src_install() { - emake -C jollygood install \ - DESTDIR="${D}" \ - PREFIX="${EPREFIX}"/usr \ - DOCDIR="${EPREFIX}"/usr/share/doc/${PF} \ - LIBDIR="${EPREFIX}/usr/$(get_libdir)" -}
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mgba-jg/
commit: b52e2b36c541f17331f31bb258413f61aa94d7d3 Author: orbea riseup net> AuthorDate: Tue Jan 9 05:58:37 2024 + Commit: Sam James gentoo org> CommitDate: Sun Jan 21 03:59:56 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b52e2b36 games-emulation/mgba-jg: sync keywords Signed-off-by: orbea riseup.net> Signed-off-by: Sam James gentoo.org> games-emulation/mgba-jg/mgba-jg-.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/games-emulation/mgba-jg/mgba-jg-.ebuild b/games-emulation/mgba-jg/mgba-jg-.ebuild index 0e80a91b3ee1..f27d3666bf7b 100644 --- a/games-emulation/mgba-jg/mgba-jg-.ebuild +++ b/games-emulation/mgba-jg/mgba-jg-.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,7 +15,7 @@ if [[ "${PV}" == * ]] ; 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-2 MPL-2.0"
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mgba-jg/
commit: cf4e221a23932e47fe21c28c4cfab0de0ca38951 Author: orbea riseup net> AuthorDate: Tue Jan 9 06:01:46 2024 + Commit: Sam James gentoo org> CommitDate: Sun Jan 21 03:59:56 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf4e221a games-emulation/mgba-jg: add 0.10.3 Signed-off-by: orbea riseup.net> Signed-off-by: Sam James gentoo.org> games-emulation/mgba-jg/Manifest | 1 + games-emulation/mgba-jg/mgba-jg-0.10.3.ebuild | 45 +++ 2 files changed, 46 insertions(+) diff --git a/games-emulation/mgba-jg/Manifest b/games-emulation/mgba-jg/Manifest index eed77a8b3f25..ec33abed6aed 100644 --- a/games-emulation/mgba-jg/Manifest +++ b/games-emulation/mgba-jg/Manifest @@ -1,2 +1,3 @@ DIST mgba-0.10.1.tar.bz2 12984463 BLAKE2B 8cdd3ee302ba29febbdd255582b2c071543bbe9e483a302c2e2116444662ace9e8988acead32be2b84361b6145099a1a76c2391a938069e3dddba83e76070842 SHA512 69d7f1a8973159cf6dab21aa669bd29e8344efad1a5ffaa77fc94ad02ce1f3c2f74692bdce896cee394ffcdbecfe7d91c0f51bc89fbb65a16cf44801e26d8412 DIST mgba-0.10.2.tar.bz2 12925327 BLAKE2B 73a4a969ea99cde7d928d04ef43208b378784c73f39f6e8bc62f02da3df31ff45c82360cd3184b94e835a355bb3ccb05c2f7b70290aa886a1df7619e319cfb56 SHA512 6bf50bf4ec172fae8a8f5495bbed646f32f978ffcf271531aecea1b56b69788da1ea84bbbab4d22ae5bec0a4e64035209d5719bb5d574981770b7cd3a531798b +DIST mgba-0.10.3.tar.bz2 12943639 BLAKE2B 3adf52ce7b1a8811f3a2d0f874450a7d9ac1c88a39de2cd94846671145e2e1112b92e48a7987a711829a6a4957827f73cf26e988e8a482f43ed055ed27627d15 SHA512 6d9ebd9ce83c6f5c554e677abcf3e52b077fb79df2fb5754d5ee2441d3104208b3d15eb6f3dd3d5e11f8782d257d16b852f0dbf5907e28d638fd7fa92138f8e2 diff --git a/games-emulation/mgba-jg/mgba-jg-0.10.3.ebuild b/games-emulation/mgba-jg/mgba-jg-0.10.3.ebuild new file mode 100644 index ..f27d3666bf7b --- /dev/null +++ b/games-emulation/mgba-jg/mgba-jg-0.10.3.ebuild @@ -0,0 +1,45 @@ +# 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 Port of mGBA" +HOMEPAGE="https://gitlab.com/jgemu/mgba"; +if [[ "${PV}" == * ]] ; 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="BSD-2 MPL-2.0" +SLOT="1" + +DEPEND=" + media-libs/jg:1= +" +RDEPEND=" + ${DEPEND} + games-emulation/jgrf +" +BDEPEND=" + virtual/pkgconfig +" + +src_compile() { + emake -C jollygood CC="$(tc-getCC)" PKG_CONFIG="$(tc-getPKG_CONFIG)" +} + +src_install() { + emake -C jollygood install \ + DESTDIR="${D}" \ + PREFIX="${EPREFIX}"/usr \ + DOCDIR="${EPREFIX}"/usr/share/doc/${PF} \ + LIBDIR="${EPREFIX}/usr/$(get_libdir)" +}
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mgba/
commit: 0f0e276ed69222f58fb47140258e76426049c0c1 Author: Sam James gentoo org> AuthorDate: Thu Jan 11 10:45:27 2024 + Commit: Sam James gentoo org> CommitDate: Thu Jan 11 10:45:27 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f0e276e games-emulation/mgba: Stabilize 0.10.2-r1 arm64, #921767 Signed-off-by: Sam James gentoo.org> games-emulation/mgba/mgba-0.10.2-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/games-emulation/mgba/mgba-0.10.2-r1.ebuild b/games-emulation/mgba/mgba-0.10.2-r1.ebuild index 2a4e20a7efae..0abe311a8e9c 100644 --- a/games-emulation/mgba/mgba-0.10.2-r1.ebuild +++ b/games-emulation/mgba/mgba-0.10.2-r1.ebuild @@ -11,7 +11,7 @@ if [[ ${PV} == ]] ; then EGIT_REPO_URI="https://github.com/mgba-emu/mgba.git"; else SRC_URI="https://github.com/mgba-emu/mgba/archive/${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="amd64 ~arm64 ppc64 x86" + KEYWORDS="amd64 arm64 ppc64 x86" fi DESCRIPTION="Game Boy Advance Emulator"
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mgba/
commit: 5cada07e9c8899a622a42bb14dd7c9b46a646e3e Author: Ionen Wolkens gentoo org> AuthorDate: Mon Jan 8 11:25:46 2024 + Commit: Ionen Wolkens gentoo org> CommitDate: Mon Jan 8 12:57:49 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5cada07e games-emulation/mgba: add 0.10.3 Signed-off-by: Ionen Wolkens gentoo.org> games-emulation/mgba/Manifest | 1 + games-emulation/mgba/mgba-0.10.3.ebuild | 116 2 files changed, 117 insertions(+) diff --git a/games-emulation/mgba/Manifest b/games-emulation/mgba/Manifest index 96905b886039..ab81e1e91319 100644 --- a/games-emulation/mgba/Manifest +++ b/games-emulation/mgba/Manifest @@ -1 +1,2 @@ DIST mgba-0.10.2.tar.gz 14323388 BLAKE2B fb2e652b76871c9a9ffdbf049965ca4a62ee8fed48b547a4e7d514587535f172a7e3b21ec138b8660707a2fbdc19268985191d10eb268e7ed0f059c5a8c81216 SHA512 4063cde6dee9cc07025fa997e401ddd4b28240a9e53cee571ef8aec65cb6cf56b821f0020af1cf00d4f97353efbd4dc39ccd55bc6a3bdf0448ee34736bfd6499 +DIST mgba-0.10.3.tar.gz 14350721 BLAKE2B 2109c53455ece7beba0af30787cd75cad85db334be44e41b51f579f813393f8d83c5c9537832b190bb8b0ac1c28d78e92adb6af23191b17b463847df3360f656 SHA512 de92725a18f00ec8645a75cf434a667bfc5aba954d0ae8be188241371a4a310214123be2cec13d20dbff4f660b401364efb51c43c7bdc24eea40454949062a52 diff --git a/games-emulation/mgba/mgba-0.10.3.ebuild b/games-emulation/mgba/mgba-0.10.3.ebuild new file mode 100644 index ..ccd1355085e6 --- /dev/null +++ b/games-emulation/mgba/mgba-0.10.3.ebuild @@ -0,0 +1,116 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +LUA_COMPAT=( lua5-{3..4} ) +inherit cmake lua-single xdg + +if [[ ${PV} == ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/mgba-emu/mgba.git"; +else + SRC_URI="https://github.com/mgba-emu/mgba/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" +fi + +DESCRIPTION="Game Boy Advance Emulator" +HOMEPAGE="https://mgba.io/"; + +LICENSE="MPL-2.0 BSD LGPL-2.1+ public-domain discord? ( MIT )" +SLOT="0/$(ver_cut 1-2)" +IUSE=" + debug discord elf ffmpeg gles2 gles3 gui libretro + lua +opengl +sdl +sqlite test +" +REQUIRED_USE=" + gui? ( || ( gles2 gles3 opengl ) sqlite ) + lua? ( ${LUA_REQUIRED_USE} ) +" +RESTRICT="!test? ( test )" + +RDEPEND=" + media-libs/libpng:= + sys-libs/zlib:=[minizip] + debug? ( dev-libs/libedit ) + elf? ( dev-libs/elfutils ) + ffmpeg? ( media-video/ffmpeg:= ) + gles2? ( media-libs/libglvnd ) + gles3? ( media-libs/libglvnd ) + lua? ( ${LUA_DEPS} ) + opengl? ( media-libs/libglvnd ) + gui? ( + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtmultimedia:5 + dev-qt/qtnetwork:5 + dev-qt/qtwidgets:5 + ) + sdl? ( media-libs/libsdl2[sound,joystick,gles2?,opengl?,video] ) + sqlite? ( dev-db/sqlite:3 ) +" +DEPEND=" + ${RDEPEND} + test? ( dev-util/cmocka ) +" +BDEPEND=" + gui? ( dev-qt/linguist-tools:5 ) + lua? ( virtual/pkgconfig ) +" + +PATCHES=( + "${FILESDIR}"/${PN}-0.10.0-optional-updater.patch +) + +pkg_setup() { + use lua && lua-single_pkg_setup +} + +src_configure() { + local mycmakeargs=( + -DBUILD_CINEMA=$(usex test) + -DBUILD_GL=$(usex opengl) + -DBUILD_GLES2=$(usex gles2) + -DBUILD_GLES3=$(usex gles3) + -DBUILD_LIBRETRO=$(usex libretro) + -DBUILD_QT=$(usex gui) + -DBUILD_ROM_TEST=yes #918855 + -DBUILD_SDL=$(usex sdl) # also used for gamepads in QT build + -DBUILD_SUITE=$(usex test) + -DBUILD_UPDATER=no + -DENABLE_SCRIPTING=$(usex lua) + -DMARKDOWN=no #752048 + -DUSE_DEBUGGERS=$(usex debug) + -DUSE_DISCORD_RPC=$(usex discord) + -DUSE_EDITLINE=$(usex debug) + -DUSE_ELF=$(usex elf) + -DUSE_EPOXY=no + -DUSE_FFMPEG=$(usex ffmpeg) + -DUSE_GDB_STUB=$(usex debug) + -DUSE_LIBZIP=no + -DUSE_LZMA=yes + -DUSE_MINIZIP=yes + -DUSE_PNG=yes + -DUSE_SQLITE3=$(usex sqlite) + -DUSE_ZLIB=yes + $(usev libretro -DLIBRETRO_LIBDIR="${EPREFIX}"/usr/$(get_libdir)/libretro) + ) + use lua && mycmakeargs+=( -DUSE_LUA=$(ver_cut 1-2 $(lua_get_version)) ) + + cmake_src_configure +} + +src_test() { + # CMakeLists.txt forces SKIP_RPATH=yes when PREFIX=/usr + local -x LD_LIBRARY_PATH=${BUILD_DIR}:${LD_LIBRARY_PATH} + + cmake_src_test +} + +src_install() { + cmake_src_install + + use !test || rm "${ED}"/usr/bin/mgba-cinema || die + + rm -r "${ED}"/usr/share/doc/${PF}/{L
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mgba/
commit: 178b678803ca6a2b6bfd33033de41866142997cb Author: Ionen Wolkens gentoo org> AuthorDate: Mon Jan 8 11:45:12 2024 + Commit: Ionen Wolkens gentoo org> CommitDate: Mon Jan 8 12:57:49 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=178b6788 games-emulation/mgba: do preinst shader merge workaround in live See ebuild comment. Users that have been using may need to manually delete these directories to get shaders to be merged (this is otherwise in preparation for the 0.11.0 release). Signed-off-by: Ionen Wolkens gentoo.org> games-emulation/mgba/mgba-.ebuild | 9 + 1 file changed, 9 insertions(+) diff --git a/games-emulation/mgba/mgba-.ebuild b/games-emulation/mgba/mgba-.ebuild index 91e0309f70ac..d4ce0e18832b 100644 --- a/games-emulation/mgba/mgba-.ebuild +++ b/games-emulation/mgba/mgba-.ebuild @@ -117,3 +117,12 @@ src_install() { rm -r "${ED}"/usr/share/doc/${PF}/{LICENSE,licenses} || die } + +pkg_preinst() { + # hack: .shader/ were directories in <0.11 and are now single (zip) files + # named the same, that leads to portage mis-merging and leaving an empty + # directory behind rather than the new file + if use gui && has_version '
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mgba/
commit: 30a7a2223da801936e9995ac06627d3f33537b9d Author: Ionen Wolkens gentoo org> AuthorDate: Mon Jan 8 10:19:55 2024 + Commit: Ionen Wolkens gentoo org> CommitDate: Mon Jan 8 12:57:49 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30a7a222 games-emulation/mgba: drop 0.10.2-r0 Signed-off-by: Ionen Wolkens gentoo.org> games-emulation/mgba/mgba-0.10.2.ebuild | 108 1 file changed, 108 deletions(-) diff --git a/games-emulation/mgba/mgba-0.10.2.ebuild b/games-emulation/mgba/mgba-0.10.2.ebuild deleted file mode 100644 index 1faa65354ce9.. --- a/games-emulation/mgba/mgba-0.10.2.ebuild +++ /dev/null @@ -1,108 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -LUA_COMPAT=( lua5-{3..4} ) -inherit cmake lua-single xdg - -if [[ ${PV} == ]] ; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/mgba-emu/mgba.git"; -else - SRC_URI="https://github.com/mgba-emu/mgba/archive/${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="amd64 ~arm64 ~ppc64 x86" -fi - -DESCRIPTION="Game Boy Advance Emulator" -HOMEPAGE="https://mgba.io/"; - -LICENSE="MPL-2.0 BSD LGPL-2.1+ public-domain discord? ( MIT )" -SLOT="0/$(ver_cut 1-2)" -IUSE="debug discord elf ffmpeg gles2 gles3 gui libretro lua +opengl +sdl +sqlite test" -REQUIRED_USE=" - gui? ( || ( gles2 gles3 opengl ) sqlite ) - lua? ( ${LUA_REQUIRED_USE} )" -RESTRICT="!test? ( test )" - -RDEPEND=" - media-libs/libpng:= - sys-libs/zlib:=[minizip] - debug? ( dev-libs/libedit ) - elf? ( dev-libs/elfutils ) - ffmpeg? ( media-video/ffmpeg:= ) - gles2? ( media-libs/libglvnd ) - gles3? ( media-libs/libglvnd ) - lua? ( ${LUA_DEPS} ) - opengl? ( media-libs/libglvnd ) - gui? ( - dev-qt/qtcore:5 - dev-qt/qtgui:5 - dev-qt/qtmultimedia:5 - dev-qt/qtnetwork:5 - dev-qt/qtwidgets:5 - ) - sdl? ( media-libs/libsdl2[sound,joystick,gles2?,opengl?,video] ) - sqlite? ( dev-db/sqlite:3 )" -DEPEND=" - ${RDEPEND} - test? ( dev-util/cmocka )" -BDEPEND=" - gui? ( dev-qt/linguist-tools:5 ) - lua? ( virtual/pkgconfig )" - -PATCHES=( - "${FILESDIR}"/${PN}-0.10.0-optional-updater.patch -) - -pkg_setup() { - use lua && lua-single_pkg_setup -} - -src_configure() { - local mycmakeargs=( - -DBUILD_CINEMA=$(usex test) - -DBUILD_GL=$(usex opengl) - -DBUILD_GLES2=$(usex gles2) - -DBUILD_GLES3=$(usex gles3) - -DBUILD_LIBRETRO=$(usex libretro) - -DBUILD_QT=$(usex gui) - -DBUILD_SDL=$(usex sdl) # also used for gamepads in QT build - -DBUILD_SUITE=$(usex test) - -DBUILD_UPDATER=OFF - -DENABLE_SCRIPTING=$(usex lua) - -DMARKDOWN=OFF #752048 - -DUSE_DEBUGGERS=$(usex debug) - -DUSE_DISCORD_RPC=$(usex discord) - -DUSE_EDITLINE=$(usex debug) - -DUSE_ELF=$(usex elf) - -DUSE_EPOXY=OFF - -DUSE_FFMPEG=$(usex ffmpeg) - -DUSE_GDB_STUB=$(usex debug) - -DUSE_LIBZIP=OFF - -DUSE_LZMA=ON - -DUSE_MINIZIP=ON - -DUSE_PNG=ON - -DUSE_SQLITE3=$(usex sqlite) - -DUSE_ZLIB=ON - $(usev libretro -DLIBRETRO_LIBDIR="${EPREFIX}"/usr/$(get_libdir)/libretro) - ) - use lua && mycmakeargs+=( -DUSE_LUA=$(ver_cut 1-2 $(lua_get_version)) ) - - cmake_src_configure -} - -src_test() { - # CMakeLists.txt forces SKIP_RPATH=ON when PREFIX=/usr - local -x LD_LIBRARY_PATH=${BUILD_DIR}:${LD_LIBRARY_PATH} - - cmake_src_test -} - -src_install() { - cmake_src_install - - use !test || rm "${ED}"/usr/bin/mgba-cinema || die - - rm -r "${ED}"/usr/share/doc/${PF}/{LICENSE,licenses} || die -}
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mgba/
commit: 50252f046804819d8595dc976d0c27783a7fe9cb Author: Ionen Wolkens gentoo org> AuthorDate: Mon Jan 8 11:01:22 2024 + Commit: Ionen Wolkens gentoo org> CommitDate: Mon Jan 8 12:57:49 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50252f04 games-emulation/mgba: update+tidy live Mostly just style changes except the new json-c dependency with USE=lua. Technically this could be made further optional for gimped scripting support (no storage API) with a USE=json, but unless requested feel it is better left out. Minimal builds can do USE=-lua. Signed-off-by: Ionen Wolkens gentoo.org> games-emulation/mgba/mgba-.ebuild | 44 +-- 1 file changed, 27 insertions(+), 17 deletions(-) diff --git a/games-emulation/mgba/mgba-.ebuild b/games-emulation/mgba/mgba-.ebuild index 3bfc5e6ae130..91e0309f70ac 100644 --- a/games-emulation/mgba/mgba-.ebuild +++ b/games-emulation/mgba/mgba-.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -19,10 +19,14 @@ HOMEPAGE="https://mgba.io/"; LICENSE="MPL-2.0 BSD LGPL-2.1+ public-domain discord? ( MIT )" SLOT="0/$(ver_cut 1-2)" -IUSE="debug discord elf ffmpeg gles2 gles3 gui libretro lua +opengl +sdl +sqlite test" +IUSE=" + debug discord elf ffmpeg gles2 gles3 gui libretro + lua +opengl +sdl +sqlite test +" REQUIRED_USE=" gui? ( || ( gles2 gles3 opengl ) sqlite ) - lua? ( ${LUA_REQUIRED_USE} )" + lua? ( ${LUA_REQUIRED_USE} ) +" RESTRICT="!test? ( test )" RDEPEND=" @@ -33,7 +37,10 @@ RDEPEND=" ffmpeg? ( media-video/ffmpeg:= ) gles2? ( media-libs/libglvnd ) gles3? ( media-libs/libglvnd ) - lua? ( ${LUA_DEPS} ) + lua? ( + ${LUA_DEPS} + dev-libs/json-c:= + ) opengl? ( media-libs/libglvnd ) gui? ( dev-qt/qtcore:5 @@ -43,13 +50,16 @@ RDEPEND=" dev-qt/qtwidgets:5 ) sdl? ( media-libs/libsdl2[sound,joystick,gles2?,opengl?,video] ) - sqlite? ( dev-db/sqlite:3 )" + sqlite? ( dev-db/sqlite:3 ) +" DEPEND=" ${RDEPEND} - test? ( dev-util/cmocka )" + test? ( dev-util/cmocka ) +" BDEPEND=" gui? ( dev-qt/linguist-tools:5 ) - lua? ( virtual/pkgconfig )" + lua? ( virtual/pkgconfig ) +" PATCHES=( "${FILESDIR}"/${PN}-0.10.0-optional-updater.patch @@ -67,25 +77,25 @@ src_configure() { -DBUILD_GLES3=$(usex gles3) -DBUILD_LIBRETRO=$(usex libretro) -DBUILD_QT=$(usex gui) - -DBUILD_ROM_TEST=ON #918855 + -DBUILD_ROM_TEST=yes #918855 -DBUILD_SDL=$(usex sdl) # also used for gamepads in QT build -DBUILD_SUITE=$(usex test) - -DBUILD_UPDATER=OFF + -DBUILD_UPDATER=no -DENABLE_SCRIPTING=$(usex lua) - -DMARKDOWN=OFF #752048 + -DMARKDOWN=no #752048 -DUSE_DEBUGGERS=$(usex debug) -DUSE_DISCORD_RPC=$(usex discord) -DUSE_EDITLINE=$(usex debug) -DUSE_ELF=$(usex elf) - -DUSE_EPOXY=OFF + -DUSE_EPOXY=no -DUSE_FFMPEG=$(usex ffmpeg) -DUSE_GDB_STUB=$(usex debug) - -DUSE_LIBZIP=OFF - -DUSE_LZMA=ON - -DUSE_MINIZIP=ON - -DUSE_PNG=ON + -DUSE_LIBZIP=no + -DUSE_LZMA=yes + -DUSE_MINIZIP=yes + -DUSE_PNG=yes -DUSE_SQLITE3=$(usex sqlite) - -DUSE_ZLIB=ON + -DUSE_ZLIB=yes $(usev libretro -DLIBRETRO_LIBDIR="${EPREFIX}"/usr/$(get_libdir)/libretro) ) use lua && mycmakeargs+=( -DUSE_LUA=$(ver_cut 1-2 $(lua_get_version)) ) @@ -94,7 +104,7 @@ src_configure() { } src_test() { - # CMakeLists.txt forces SKIP_RPATH=ON when PREFIX=/usr + # CMakeLists.txt forces SKIP_RPATH=yes when PREFIX=/usr local -x LD_LIBRARY_PATH=${BUILD_DIR}:${LD_LIBRARY_PATH} cmake_src_test
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mgba-jg/
commit: 2dce497817f125c81ffd59da3ef782a9ebdcc26e Author: Matoro Mahri matoro tk> AuthorDate: Fri Jan 5 18:44:10 2024 + Commit: Viorel Munteanu gentoo org> CommitDate: Sat Jan 6 19:29:04 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2dce4978 games-emulation/mgba-jg: Keyword 0.10.2 arm, #891201 Signed-off-by: Matoro Mahri matoro.tk> Signed-off-by: Viorel Munteanu gentoo.org> games-emulation/mgba-jg/mgba-jg-0.10.2.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/games-emulation/mgba-jg/mgba-jg-0.10.2.ebuild b/games-emulation/mgba-jg/mgba-jg-0.10.2.ebuild index 2bc2522aab11..f27d3666bf7b 100644 --- a/games-emulation/mgba-jg/mgba-jg-0.10.2.ebuild +++ b/games-emulation/mgba-jg/mgba-jg-0.10.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022-2023 Gentoo Authors +# Copyright 2022-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -15,7 +15,7 @@ if [[ "${PV}" == * ]] ; then else SRC_URI="https://gitlab.com/jgemu/${MY_PN}/-/archive/${PV}/${MY_P}.tar.bz2"; S="${WORKDIR}/${MY_P}" - KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86" + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" fi LICENSE="BSD-2 MPL-2.0"
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mgba/
commit: fbdcbd6a3dede0a2c6dc6012ff6031b732503024 Author: Sam James gentoo org> AuthorDate: Wed Jan 3 06:21:49 2024 + Commit: Sam James gentoo org> CommitDate: Wed Jan 3 06:21:49 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fbdcbd6a games-emulation/mgba: Stabilize 0.10.2-r1 ppc64, #921236 Signed-off-by: Sam James gentoo.org> games-emulation/mgba/mgba-0.10.2-r1.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/games-emulation/mgba/mgba-0.10.2-r1.ebuild b/games-emulation/mgba/mgba-0.10.2-r1.ebuild index 33f520be01f6..2a4e20a7efae 100644 --- a/games-emulation/mgba/mgba-0.10.2-r1.ebuild +++ b/games-emulation/mgba/mgba-0.10.2-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -11,7 +11,7 @@ if [[ ${PV} == ]] ; then EGIT_REPO_URI="https://github.com/mgba-emu/mgba.git"; else SRC_URI="https://github.com/mgba-emu/mgba/archive/${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="amd64 ~arm64 ~ppc64 x86" + KEYWORDS="amd64 ~arm64 ppc64 x86" fi DESCRIPTION="Game Boy Advance Emulator"
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mgba/
commit: 17296eccc2d413cc0c4625bccdaee954469cc873 Author: Arthur Zamarin gentoo org> AuthorDate: Tue Dec 19 17:01:02 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Tue Dec 19 17:01:02 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=17296ecc games-emulation/mgba: Stabilize 0.10.2-r1 amd64, #920317 Signed-off-by: Arthur Zamarin gentoo.org> games-emulation/mgba/mgba-0.10.2-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/games-emulation/mgba/mgba-0.10.2-r1.ebuild b/games-emulation/mgba/mgba-0.10.2-r1.ebuild index 3bfc5e6ae130..d2325a212cb1 100644 --- a/games-emulation/mgba/mgba-0.10.2-r1.ebuild +++ b/games-emulation/mgba/mgba-0.10.2-r1.ebuild @@ -11,7 +11,7 @@ if [[ ${PV} == ]] ; then EGIT_REPO_URI="https://github.com/mgba-emu/mgba.git"; else SRC_URI="https://github.com/mgba-emu/mgba/archive/${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" + KEYWORDS="amd64 ~arm64 ~ppc64 ~x86" fi DESCRIPTION="Game Boy Advance Emulator"
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mgba/
commit: 44c65ca17b631a740e07ddd4b8b9ad7decebd4e4 Author: Arthur Zamarin gentoo org> AuthorDate: Tue Dec 19 17:01:03 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Tue Dec 19 17:01:03 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44c65ca1 games-emulation/mgba: Stabilize 0.10.2-r1 x86, #920317 Signed-off-by: Arthur Zamarin gentoo.org> games-emulation/mgba/mgba-0.10.2-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/games-emulation/mgba/mgba-0.10.2-r1.ebuild b/games-emulation/mgba/mgba-0.10.2-r1.ebuild index d2325a212cb1..33f520be01f6 100644 --- a/games-emulation/mgba/mgba-0.10.2-r1.ebuild +++ b/games-emulation/mgba/mgba-0.10.2-r1.ebuild @@ -11,7 +11,7 @@ if [[ ${PV} == ]] ; then EGIT_REPO_URI="https://github.com/mgba-emu/mgba.git"; else SRC_URI="https://github.com/mgba-emu/mgba/archive/${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="amd64 ~arm64 ~ppc64 ~x86" + KEYWORDS="amd64 ~arm64 ~ppc64 x86" fi DESCRIPTION="Game Boy Advance Emulator"
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mgba/, x11-apps/mesa-progs/, sys-apps/kmscon/, dev-games/ogre/, ...
commit: 2693a14b562505fd8d6c8136917fcef39b0a2e75 Author: Michał Górny gentoo org> AuthorDate: Sun Dec 17 15:54:00 2023 + Commit: Michał Górny gentoo org> CommitDate: Mon Dec 18 18:52:37 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2693a14b profiles/use.desc: Make USE=gles2 global Add a global USE=gles2 flag, to enable GLES 2 support (as a companion to USE=gles2-only). It seems to be used consistently in 16 packages, though for some it also enables GLES 3). Technically there are also `gles1` and `gles3` flags in the wild but they are used by a few packages. Signed-off-by: Michał Górny gentoo.org> dev-games/ogre/metadata.xml | 1 - games-emulation/mgba/metadata.xml | 1 - games-fps/gzdoom/metadata.xml | 1 - media-libs/cogl/metadata.xml| 1 - media-libs/gst-plugins-bad/metadata.xml | 1 - media-libs/libsdl2/metadata.xml | 1 - media-libs/mesa-amber/metadata.xml | 1 - media-libs/mesa/metadata.xml| 1 - profiles/use.desc | 3 ++- sci-libs/opencascade/metadata.xml | 3 --- sys-apps/kmscon/metadata.xml| 1 - x11-apps/mesa-progs/metadata.xml| 3 --- 12 files changed, 2 insertions(+), 16 deletions(-) diff --git a/dev-games/ogre/metadata.xml b/dev-games/ogre/metadata.xml index 10134612ebf8..744b1a91ff68 100644 --- a/dev-games/ogre/metadata.xml +++ b/dev-games/ogre/metadata.xml @@ -93,7 +93,6 @@ Exporters Support images via media-libs/freeimage Build OpenGL 3+ RenderSystem -Build OpenGL ES 2.x RenderSystem Enable OpenGL ES 3.x Features Use dev-libs/rapidjson (needed by Hlms JSON materials) diff --git a/games-emulation/mgba/metadata.xml b/games-emulation/mgba/metadata.xml index 9e784de51af0..5af613d4048c 100644 --- a/games-emulation/mgba/metadata.xml +++ b/games-emulation/mgba/metadata.xml @@ -8,7 +8,6 @@ Enable Discord RPC support Enable the use of elf utils via dev-libs/elfutils -Build OpenGL ES 2.x RenderSystem Build OpenGL ES 3.x RenderSystem Build libretro port diff --git a/games-fps/gzdoom/metadata.xml b/games-fps/gzdoom/metadata.xml index 41b3c9962102..b337177bc8a0 100644 --- a/games-fps/gzdoom/metadata.xml +++ b/games-fps/gzdoom/metadata.xml @@ -14,7 +14,6 @@ Gentoo Games Project - Enable GLES2 backend Enable non-free components Enable software renderer diff --git a/media-libs/cogl/metadata.xml b/media-libs/cogl/metadata.xml index 9b65a27f8c1d..d9a2e9c4ee28 100644 --- a/media-libs/cogl/metadata.xml +++ b/media-libs/cogl/metadata.xml @@ -6,7 +6,6 @@ Gentoo GNOME Desktop -Enable OpenGL ES 2.0 support Enable KMS support. Build cogl-pango library for x11-libs/pango integration diff --git a/media-libs/gst-plugins-bad/metadata.xml b/media-libs/gst-plugins-bad/metadata.xml index 6749b9b02477..477b2c0d2320 100644 --- a/media-libs/gst-plugins-bad/metadata.xml +++ b/media-libs/gst-plugins-bad/metadata.xml @@ -8,7 +8,6 @@ Enable bzip2 encoder/decoder plugin Enable EGL support - Enable GLES2 support Enable Intel Quick Sync Video using the media-libs/oneVPL dispatcher diff --git a/media-libs/libsdl2/metadata.xml b/media-libs/libsdl2/metadata.xml index 9cf6272d454a..a96219c59be3 100644 --- a/media-libs/libsdl2/metadata.xml +++ b/media-libs/libsdl2/metadata.xml @@ -26,7 +26,6 @@ Enable support for app-i18n/fcitx 4 include OpenGL ES 1.0 support - include OpenGL ES 2.0 support Enable the haptic (force feedback) subsystem Enable support for app-i18n/ibus Control joystick support (disable at your own risk) diff --git a/media-libs/mesa-amber/metadata.xml b/media-libs/mesa-amber/metadata.xml index 78f51b58c849..01806171bf75 100644 --- a/media-libs/mesa-amber/metadata.xml +++ b/media-libs/mesa-amber/metadata.xml @@ -7,7 +7,6 @@ Enable GLESv1 support. -Enable GLESv2 support. Enable support for dev-libs/wayland diff --git a/media-libs/mesa/metadata.xml b/media-libs/mesa/metadata.xml index 022f603de352..459ad451374c 100644 --- a/media-libs/mesa/metadata.xml +++ b/media-libs/mesa/metadata.xml @@ -8,7 +8,6 @@ Enable Direct 3D9 API through Nine state tracker. Can be used together with patched wine. Enable GLESv1 support. -Enable GLESv2 support. Enable LLVM backend for Gallium3D. Enable Gallium HUD lm-sensors support. Enable the Rusticl Gallium OpenCL state tracker. diff --git a/profiles/use.desc b/profiles/use.desc index 2a1e7bdd6b02..f0199949f2f5 100644 --- a/profiles/use.desc +++ b/profiles/use.desc @@ -101,7 +101,8 @@ ggi - Add support for media-libs/libggi (non-X video api/drivers) gif - Add GIF image support
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mgba-jg/
commit: bd2b6f3982dceb6dbfba3226b34d244a068cfddd Author: Sam James gentoo org> AuthorDate: Sun Dec 3 07:41:31 2023 + Commit: Sam James gentoo org> CommitDate: Sun Dec 3 07:41:31 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd2b6f39 games-emulation/mgba-jg: Keyword 0.10.2 ppc64, #891201 Signed-off-by: Sam James gentoo.org> games-emulation/mgba-jg/mgba-jg-0.10.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/games-emulation/mgba-jg/mgba-jg-0.10.2.ebuild b/games-emulation/mgba-jg/mgba-jg-0.10.2.ebuild index 6c26456fb52c..2bc2522aab11 100644 --- a/games-emulation/mgba-jg/mgba-jg-0.10.2.ebuild +++ b/games-emulation/mgba-jg/mgba-jg-0.10.2.ebuild @@ -15,7 +15,7 @@ if [[ "${PV}" == * ]] ; then else SRC_URI="https://gitlab.com/jgemu/${MY_PN}/-/archive/${PV}/${MY_P}.tar.bz2"; S="${WORKDIR}/${MY_P}" - KEYWORDS="~amd64 ~arm64 ~ppc ~x86" + KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86" fi LICENSE="BSD-2 MPL-2.0"
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mgba-jg/
commit: 88926681e49622c0933e5a78fc4a635cadfe3467 Author: Arthur Zamarin gentoo org> AuthorDate: Sat Dec 2 09:23:08 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Sat Dec 2 09:23:08 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=88926681 games-emulation/mgba-jg: Keyword 0.10.2 ppc, #891201 Signed-off-by: Arthur Zamarin gentoo.org> games-emulation/mgba-jg/mgba-jg-0.10.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/games-emulation/mgba-jg/mgba-jg-0.10.2.ebuild b/games-emulation/mgba-jg/mgba-jg-0.10.2.ebuild index b37d3c315241..6c26456fb52c 100644 --- a/games-emulation/mgba-jg/mgba-jg-0.10.2.ebuild +++ b/games-emulation/mgba-jg/mgba-jg-0.10.2.ebuild @@ -15,7 +15,7 @@ if [[ "${PV}" == * ]] ; then else SRC_URI="https://gitlab.com/jgemu/${MY_PN}/-/archive/${PV}/${MY_P}.tar.bz2"; S="${WORKDIR}/${MY_P}" - KEYWORDS="~amd64 ~arm64 ~x86" + KEYWORDS="~amd64 ~arm64 ~ppc ~x86" fi LICENSE="BSD-2 MPL-2.0"
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mgba/
commit: fb8c110bb4507827a283ba682744ea518755a566 Author: Ionen Wolkens gentoo org> AuthorDate: Wed Nov 29 16:30:18 2023 + Commit: Ionen Wolkens gentoo org> CommitDate: Wed Nov 29 16:31:59 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb8c110b games-emulation/mgba: build the mgba-rom-test tool Closes: https://bugs.gentoo.org/918855 Signed-off-by: Ionen Wolkens gentoo.org> games-emulation/mgba/{mgba-.ebuild => mgba-0.10.2-r1.ebuild} | 1 + games-emulation/mgba/mgba-.ebuild| 1 + 2 files changed, 2 insertions(+) diff --git a/games-emulation/mgba/mgba-.ebuild b/games-emulation/mgba/mgba-0.10.2-r1.ebuild similarity index 98% copy from games-emulation/mgba/mgba-.ebuild copy to games-emulation/mgba/mgba-0.10.2-r1.ebuild index 2878b50c65f2..3bfc5e6ae130 100644 --- a/games-emulation/mgba/mgba-.ebuild +++ b/games-emulation/mgba/mgba-0.10.2-r1.ebuild @@ -67,6 +67,7 @@ src_configure() { -DBUILD_GLES3=$(usex gles3) -DBUILD_LIBRETRO=$(usex libretro) -DBUILD_QT=$(usex gui) + -DBUILD_ROM_TEST=ON #918855 -DBUILD_SDL=$(usex sdl) # also used for gamepads in QT build -DBUILD_SUITE=$(usex test) -DBUILD_UPDATER=OFF diff --git a/games-emulation/mgba/mgba-.ebuild b/games-emulation/mgba/mgba-.ebuild index 2878b50c65f2..3bfc5e6ae130 100644 --- a/games-emulation/mgba/mgba-.ebuild +++ b/games-emulation/mgba/mgba-.ebuild @@ -67,6 +67,7 @@ src_configure() { -DBUILD_GLES3=$(usex gles3) -DBUILD_LIBRETRO=$(usex libretro) -DBUILD_QT=$(usex gui) + -DBUILD_ROM_TEST=ON #918855 -DBUILD_SDL=$(usex sdl) # also used for gamepads in QT build -DBUILD_SUITE=$(usex test) -DBUILD_UPDATER=OFF
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mgba-jg/
commit: 58ced7084213649af8060fb572ffc99e8bd62d14 Author: Arthur Zamarin gentoo org> AuthorDate: Sun Sep 17 08:56:26 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Sun Sep 17 08:56:38 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58ced708 games-emulation/mgba-jg: Keyword 0.10.2 x86, #891201 Signed-off-by: Arthur Zamarin gentoo.org> games-emulation/mgba-jg/mgba-jg-0.10.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/games-emulation/mgba-jg/mgba-jg-0.10.2.ebuild b/games-emulation/mgba-jg/mgba-jg-0.10.2.ebuild index 732258d2400f..b37d3c315241 100644 --- a/games-emulation/mgba-jg/mgba-jg-0.10.2.ebuild +++ b/games-emulation/mgba-jg/mgba-jg-0.10.2.ebuild @@ -15,7 +15,7 @@ if [[ "${PV}" == * ]] ; then else SRC_URI="https://gitlab.com/jgemu/${MY_PN}/-/archive/${PV}/${MY_P}.tar.bz2"; S="${WORKDIR}/${MY_P}" - KEYWORDS="~amd64 ~arm64" + KEYWORDS="~amd64 ~arm64 ~x86" fi LICENSE="BSD-2 MPL-2.0"
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mgba-jg/
commit: 27d0c75ad11f1ea74704706f4a3f9e0648eb95c5 Author: Sam James gentoo org> AuthorDate: Wed Sep 13 03:19:40 2023 + Commit: Sam James gentoo org> CommitDate: Wed Sep 13 03:19:40 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27d0c75a games-emulation/mgba-jg: Keyword 0.10.2 arm64, #891201 Signed-off-by: Sam James gentoo.org> games-emulation/mgba-jg/mgba-jg-0.10.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/games-emulation/mgba-jg/mgba-jg-0.10.2.ebuild b/games-emulation/mgba-jg/mgba-jg-0.10.2.ebuild index 11cad347f454..732258d2400f 100644 --- a/games-emulation/mgba-jg/mgba-jg-0.10.2.ebuild +++ b/games-emulation/mgba-jg/mgba-jg-0.10.2.ebuild @@ -15,7 +15,7 @@ if [[ "${PV}" == * ]] ; then else SRC_URI="https://gitlab.com/jgemu/${MY_PN}/-/archive/${PV}/${MY_P}.tar.bz2"; S="${WORKDIR}/${MY_P}" - KEYWORDS="~amd64" + KEYWORDS="~amd64 ~arm64" fi LICENSE="BSD-2 MPL-2.0"
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mgba/
commit: b7cdec7417e14e8be8b946ae71a2ea91ac2ee00e Author: Ionen Wolkens gentoo org> AuthorDate: Thu May 11 19:04:41 2023 + Commit: Ionen Wolkens gentoo org> CommitDate: Fri May 12 08:59:37 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7cdec74 games-emulation/mgba: drop 0.10.1 Signed-off-by: Ionen Wolkens gentoo.org> games-emulation/mgba/Manifest | 1 - games-emulation/mgba/mgba-0.10.1.ebuild | 106 2 files changed, 107 deletions(-) diff --git a/games-emulation/mgba/Manifest b/games-emulation/mgba/Manifest index 8c9d9a55ce98..96905b886039 100644 --- a/games-emulation/mgba/Manifest +++ b/games-emulation/mgba/Manifest @@ -1,2 +1 @@ -DIST mgba-0.10.1.tar.gz 14308454 BLAKE2B 5e28ac799cd9e5398508a65bec00dc1da9462e19dc18e0194368a8c57fff2b1af7578a595ab1a414741c1f68c795de3d55913302810d95298a4068b385613389 SHA512 bb79d2380a4708b70daf95c9b403427f77254391b1e11d68411384f265a670907e64b842c9978c9be558ffad337b738d9d83988d52890f08aed7e7fc124f19d4 DIST mgba-0.10.2.tar.gz 14323388 BLAKE2B fb2e652b76871c9a9ffdbf049965ca4a62ee8fed48b547a4e7d514587535f172a7e3b21ec138b8660707a2fbdc19268985191d10eb268e7ed0f059c5a8c81216 SHA512 4063cde6dee9cc07025fa997e401ddd4b28240a9e53cee571ef8aec65cb6cf56b821f0020af1cf00d4f97353efbd4dc39ccd55bc6a3bdf0448ee34736bfd6499 diff --git a/games-emulation/mgba/mgba-0.10.1.ebuild b/games-emulation/mgba/mgba-0.10.1.ebuild deleted file mode 100644 index 90acb66a079a.. --- a/games-emulation/mgba/mgba-0.10.1.ebuild +++ /dev/null @@ -1,106 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -LUA_COMPAT=( lua5-{3..4} ) -inherit cmake lua-single xdg - -if [[ ${PV} == ]] ; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/mgba-emu/mgba.git"; -else - SRC_URI="https://github.com/mgba-emu/mgba/archive/${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="amd64 ~arm64 ~ppc64 x86" -fi - -DESCRIPTION="Game Boy Advance Emulator" -HOMEPAGE="https://mgba.io/"; - -LICENSE="MPL-2.0 BSD LGPL-2.1+ public-domain discord? ( MIT )" -SLOT="0/$(ver_cut 1-2)" -IUSE="debug discord elf ffmpeg gles2 gles3 gui libretro lua +opengl +sdl +sqlite test" -REQUIRED_USE=" - gui? ( || ( gles2 gles3 opengl ) sqlite ) - lua? ( ${LUA_REQUIRED_USE} )" -RESTRICT="!test? ( test )" - -RDEPEND=" - media-libs/libpng:= - sys-libs/zlib:=[minizip] - debug? ( dev-libs/libedit ) - elf? ( dev-libs/elfutils ) - ffmpeg? ( media-video/ffmpeg:= ) - gles2? ( media-libs/libglvnd ) - gles3? ( media-libs/libglvnd ) - lua? ( ${LUA_DEPS} ) - opengl? ( media-libs/libglvnd ) - gui? ( - dev-qt/qtcore:5 - dev-qt/qtgui:5 - dev-qt/qtmultimedia:5 - dev-qt/qtnetwork:5 - dev-qt/qtwidgets:5 - ) - sdl? ( media-libs/libsdl2[sound,joystick,gles2?,opengl?,video] ) - sqlite? ( dev-db/sqlite:3 )" -DEPEND=" - ${RDEPEND} - test? ( dev-util/cmocka )" -BDEPEND="lua? ( virtual/pkgconfig )" - -PATCHES=( - "${FILESDIR}"/${PN}-0.10.0-optional-updater.patch -) - -pkg_setup() { - use lua && lua-single_pkg_setup -} - -src_configure() { - local mycmakeargs=( - -DBUILD_CINEMA=$(usex test) - -DBUILD_GL=$(usex opengl) - -DBUILD_GLES2=$(usex gles2) - -DBUILD_GLES3=$(usex gles3) - -DBUILD_LIBRETRO=$(usex libretro) - -DBUILD_QT=$(usex gui) - -DBUILD_SDL=$(usex sdl) # also used for gamepads in QT build - -DBUILD_SUITE=$(usex test) - -DBUILD_UPDATER=OFF - -DENABLE_SCRIPTING=$(usex lua) - -DMARKDOWN=OFF #752048 - -DUSE_DEBUGGERS=$(usex debug) - -DUSE_DISCORD_RPC=$(usex discord) - -DUSE_EDITLINE=$(usex debug) - -DUSE_ELF=$(usex elf) - -DUSE_EPOXY=OFF - -DUSE_FFMPEG=$(usex ffmpeg) - -DUSE_GDB_STUB=$(usex debug) - -DUSE_LIBZIP=OFF - -DUSE_LZMA=ON - -DUSE_MINIZIP=ON - -DUSE_PNG=ON - -DUSE_SQLITE3=$(usex sqlite) - -DUSE_ZLIB=ON - $(usev libretro -DLIBRETRO_LIBDIR="${EPREFIX}"/usr/$(get_libdir)/libretro) - ) - use lua && mycmakeargs+=( -DUSE_LUA=$(ver_cut 1-2 $(lua_get_version)) ) - - cmake_src_configure -} - -src_test() { - # CMakeLists.txt forces SKIP_RPATH=ON when PREFIX=/usr - local -x LD_LIBRARY_PATH=${BUILD_DIR}:${LD_LIBRARY_PATH} - - cmake_src_test -} - -src_install() { - cmake_src_install - - use !test || rm "${ED}"/usr/bin/mgba-cinema || die - - rm -r "${ED}"/usr/share/doc/${PF}/{LICENSE,licenses} || die -}
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mgba/
commit: bf1c329415daf22c91571ddf7f92e3998e7c8a62 Author: Arthur Zamarin gentoo org> AuthorDate: Thu May 11 18:48:11 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Thu May 11 18:48:11 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf1c3294 games-emulation/mgba: Stabilize 0.10.2 x86, #906159 Signed-off-by: Arthur Zamarin gentoo.org> games-emulation/mgba/mgba-0.10.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/games-emulation/mgba/mgba-0.10.2.ebuild b/games-emulation/mgba/mgba-0.10.2.ebuild index 9051f575e8b6..1faa65354ce9 100644 --- a/games-emulation/mgba/mgba-0.10.2.ebuild +++ b/games-emulation/mgba/mgba-0.10.2.ebuild @@ -11,7 +11,7 @@ if [[ ${PV} == ]] ; then EGIT_REPO_URI="https://github.com/mgba-emu/mgba.git"; else SRC_URI="https://github.com/mgba-emu/mgba/archive/${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="amd64 ~arm64 ~ppc64 ~x86" + KEYWORDS="amd64 ~arm64 ~ppc64 x86" fi DESCRIPTION="Game Boy Advance Emulator"
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mgba/
commit: dd575962ff262c07c754cce52051ea66a0f63cf2 Author: Arthur Zamarin gentoo org> AuthorDate: Thu May 11 18:42:24 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Thu May 11 18:42:24 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd575962 games-emulation/mgba: Stabilize 0.10.2 amd64, #906159 Signed-off-by: Arthur Zamarin gentoo.org> games-emulation/mgba/mgba-0.10.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/games-emulation/mgba/mgba-0.10.2.ebuild b/games-emulation/mgba/mgba-0.10.2.ebuild index 2878b50c65f2..9051f575e8b6 100644 --- a/games-emulation/mgba/mgba-0.10.2.ebuild +++ b/games-emulation/mgba/mgba-0.10.2.ebuild @@ -11,7 +11,7 @@ if [[ ${PV} == ]] ; then EGIT_REPO_URI="https://github.com/mgba-emu/mgba.git"; else SRC_URI="https://github.com/mgba-emu/mgba/archive/${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" + KEYWORDS="amd64 ~arm64 ~ppc64 ~x86" fi DESCRIPTION="Game Boy Advance Emulator"
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mgba-jg/
commit: c346baf966c3f33d0ba171722e1eb6ac10677c20 Author: orbea riseup net> AuthorDate: Mon Apr 24 15:02:26 2023 + Commit: Sam James gentoo org> CommitDate: Wed Apr 26 03:47:15 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c346baf9 games-emulation/mgba-jg: add 0.10.2 Signed-off-by: orbea riseup.net> Closes: https://github.com/gentoo/gentoo/pull/30733 Signed-off-by: Sam James gentoo.org> games-emulation/mgba-jg/Manifest | 1 + games-emulation/mgba-jg/mgba-jg-0.10.2.ebuild | 45 +++ 2 files changed, 46 insertions(+) diff --git a/games-emulation/mgba-jg/Manifest b/games-emulation/mgba-jg/Manifest index cc60171758b9..eed77a8b3f25 100644 --- a/games-emulation/mgba-jg/Manifest +++ b/games-emulation/mgba-jg/Manifest @@ -1 +1,2 @@ DIST mgba-0.10.1.tar.bz2 12984463 BLAKE2B 8cdd3ee302ba29febbdd255582b2c071543bbe9e483a302c2e2116444662ace9e8988acead32be2b84361b6145099a1a76c2391a938069e3dddba83e76070842 SHA512 69d7f1a8973159cf6dab21aa669bd29e8344efad1a5ffaa77fc94ad02ce1f3c2f74692bdce896cee394ffcdbecfe7d91c0f51bc89fbb65a16cf44801e26d8412 +DIST mgba-0.10.2.tar.bz2 12925327 BLAKE2B 73a4a969ea99cde7d928d04ef43208b378784c73f39f6e8bc62f02da3df31ff45c82360cd3184b94e835a355bb3ccb05c2f7b70290aa886a1df7619e319cfb56 SHA512 6bf50bf4ec172fae8a8f5495bbed646f32f978ffcf271531aecea1b56b69788da1ea84bbbab4d22ae5bec0a4e64035209d5719bb5d574981770b7cd3a531798b diff --git a/games-emulation/mgba-jg/mgba-jg-0.10.2.ebuild b/games-emulation/mgba-jg/mgba-jg-0.10.2.ebuild new file mode 100644 index ..11cad347f454 --- /dev/null +++ b/games-emulation/mgba-jg/mgba-jg-0.10.2.ebuild @@ -0,0 +1,45 @@ +# Copyright 2022-2023 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 Port of mGBA" +HOMEPAGE="https://gitlab.com/jgemu/mgba"; +if [[ "${PV}" == * ]] ; 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" +fi + +LICENSE="BSD-2 MPL-2.0" +SLOT="1" + +DEPEND=" + media-libs/jg:1= +" +RDEPEND=" + ${DEPEND} + games-emulation/jgrf +" +BDEPEND=" + virtual/pkgconfig +" + +src_compile() { + emake -C jollygood CC="$(tc-getCC)" PKG_CONFIG="$(tc-getPKG_CONFIG)" +} + +src_install() { + emake -C jollygood install \ + DESTDIR="${D}" \ + PREFIX="${EPREFIX}"/usr \ + DOCDIR="${EPREFIX}"/usr/share/doc/${PF} \ + LIBDIR="${EPREFIX}/usr/$(get_libdir)" +}
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mgba/
commit: 3914e6578b75363ed47b2d32ea5fddc4b90824c4 Author: Ionen Wolkens gentoo org> AuthorDate: Mon Apr 24 05:29:24 2023 + Commit: Ionen Wolkens gentoo org> CommitDate: Mon Apr 24 05:46:41 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3914e657 games-emulation/mgba: add 0.10.2 Signed-off-by: Ionen Wolkens gentoo.org> games-emulation/mgba/Manifest | 1 + games-emulation/mgba/mgba-0.10.2.ebuild | 108 2 files changed, 109 insertions(+) diff --git a/games-emulation/mgba/Manifest b/games-emulation/mgba/Manifest index 4ad9fcc5fa35..8c9d9a55ce98 100644 --- a/games-emulation/mgba/Manifest +++ b/games-emulation/mgba/Manifest @@ -1 +1,2 @@ DIST mgba-0.10.1.tar.gz 14308454 BLAKE2B 5e28ac799cd9e5398508a65bec00dc1da9462e19dc18e0194368a8c57fff2b1af7578a595ab1a414741c1f68c795de3d55913302810d95298a4068b385613389 SHA512 bb79d2380a4708b70daf95c9b403427f77254391b1e11d68411384f265a670907e64b842c9978c9be558ffad337b738d9d83988d52890f08aed7e7fc124f19d4 +DIST mgba-0.10.2.tar.gz 14323388 BLAKE2B fb2e652b76871c9a9ffdbf049965ca4a62ee8fed48b547a4e7d514587535f172a7e3b21ec138b8660707a2fbdc19268985191d10eb268e7ed0f059c5a8c81216 SHA512 4063cde6dee9cc07025fa997e401ddd4b28240a9e53cee571ef8aec65cb6cf56b821f0020af1cf00d4f97353efbd4dc39ccd55bc6a3bdf0448ee34736bfd6499 diff --git a/games-emulation/mgba/mgba-0.10.2.ebuild b/games-emulation/mgba/mgba-0.10.2.ebuild new file mode 100644 index ..2878b50c65f2 --- /dev/null +++ b/games-emulation/mgba/mgba-0.10.2.ebuild @@ -0,0 +1,108 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +LUA_COMPAT=( lua5-{3..4} ) +inherit cmake lua-single xdg + +if [[ ${PV} == ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/mgba-emu/mgba.git"; +else + SRC_URI="https://github.com/mgba-emu/mgba/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" +fi + +DESCRIPTION="Game Boy Advance Emulator" +HOMEPAGE="https://mgba.io/"; + +LICENSE="MPL-2.0 BSD LGPL-2.1+ public-domain discord? ( MIT )" +SLOT="0/$(ver_cut 1-2)" +IUSE="debug discord elf ffmpeg gles2 gles3 gui libretro lua +opengl +sdl +sqlite test" +REQUIRED_USE=" + gui? ( || ( gles2 gles3 opengl ) sqlite ) + lua? ( ${LUA_REQUIRED_USE} )" +RESTRICT="!test? ( test )" + +RDEPEND=" + media-libs/libpng:= + sys-libs/zlib:=[minizip] + debug? ( dev-libs/libedit ) + elf? ( dev-libs/elfutils ) + ffmpeg? ( media-video/ffmpeg:= ) + gles2? ( media-libs/libglvnd ) + gles3? ( media-libs/libglvnd ) + lua? ( ${LUA_DEPS} ) + opengl? ( media-libs/libglvnd ) + gui? ( + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtmultimedia:5 + dev-qt/qtnetwork:5 + dev-qt/qtwidgets:5 + ) + sdl? ( media-libs/libsdl2[sound,joystick,gles2?,opengl?,video] ) + sqlite? ( dev-db/sqlite:3 )" +DEPEND=" + ${RDEPEND} + test? ( dev-util/cmocka )" +BDEPEND=" + gui? ( dev-qt/linguist-tools:5 ) + lua? ( virtual/pkgconfig )" + +PATCHES=( + "${FILESDIR}"/${PN}-0.10.0-optional-updater.patch +) + +pkg_setup() { + use lua && lua-single_pkg_setup +} + +src_configure() { + local mycmakeargs=( + -DBUILD_CINEMA=$(usex test) + -DBUILD_GL=$(usex opengl) + -DBUILD_GLES2=$(usex gles2) + -DBUILD_GLES3=$(usex gles3) + -DBUILD_LIBRETRO=$(usex libretro) + -DBUILD_QT=$(usex gui) + -DBUILD_SDL=$(usex sdl) # also used for gamepads in QT build + -DBUILD_SUITE=$(usex test) + -DBUILD_UPDATER=OFF + -DENABLE_SCRIPTING=$(usex lua) + -DMARKDOWN=OFF #752048 + -DUSE_DEBUGGERS=$(usex debug) + -DUSE_DISCORD_RPC=$(usex discord) + -DUSE_EDITLINE=$(usex debug) + -DUSE_ELF=$(usex elf) + -DUSE_EPOXY=OFF + -DUSE_FFMPEG=$(usex ffmpeg) + -DUSE_GDB_STUB=$(usex debug) + -DUSE_LIBZIP=OFF + -DUSE_LZMA=ON + -DUSE_MINIZIP=ON + -DUSE_PNG=ON + -DUSE_SQLITE3=$(usex sqlite) + -DUSE_ZLIB=ON + $(usev libretro -DLIBRETRO_LIBDIR="${EPREFIX}"/usr/$(get_libdir)/libretro) + ) + use lua && mycmakeargs+=( -DUSE_LUA=$(ver_cut 1-2 $(lua_get_version)) ) + + cmake_src_configure +} + +src_test() { + # CMakeLists.txt forces SKIP_RPATH=ON when PREFIX=/usr + local -x LD_LIBRARY_PATH=${BUILD_DIR}:${LD_LIBRARY_PATH} + + cmake_src_test +} + +src_install() { + cmake_src_install + + use !test || rm "${ED}"/usr/bin/mgba-cinema || die + + rm -r "${ED}"/usr/share/doc/${PF}/{LICENSE,licenses} || die +}
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mgba/
commit: 131cc3eefa290858f2d1311dd1377cd6f966aec5 Author: Ionen Wolkens gentoo org> AuthorDate: Mon Apr 24 05:38:11 2023 + Commit: Ionen Wolkens gentoo org> CommitDate: Mon Apr 24 05:46:41 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=131cc3ee games-emulation/mgba: sync live Signed-off-by: Ionen Wolkens gentoo.org> games-emulation/mgba/mgba-.ebuild | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/games-emulation/mgba/mgba-.ebuild b/games-emulation/mgba/mgba-.ebuild index a2fb0f2ce948..2878b50c65f2 100644 --- a/games-emulation/mgba/mgba-.ebuild +++ b/games-emulation/mgba/mgba-.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -47,7 +47,9 @@ RDEPEND=" DEPEND=" ${RDEPEND} test? ( dev-util/cmocka )" -BDEPEND="lua? ( virtual/pkgconfig )" +BDEPEND=" + gui? ( dev-qt/linguist-tools:5 ) + lua? ( virtual/pkgconfig )" PATCHES=( "${FILESDIR}"/${PN}-0.10.0-optional-updater.patch
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mgba-jg/
commit: 4c70f1f64e1be6d8d8fd75a14bfef25264a022ed Author: Sam James gentoo org> AuthorDate: Wed Feb 22 09:28:49 2023 + Commit: Sam James gentoo org> CommitDate: Wed Feb 22 09:28:49 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c70f1f6 games-emulation/mgba-jg: proxy orbea directly I'll proxy directly. Bug: https://bugs.gentoo.org/895856 Signed-off-by: Sam James gentoo.org> games-emulation/mgba-jg/metadata.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/games-emulation/mgba-jg/metadata.xml b/games-emulation/mgba-jg/metadata.xml index 4ced7d6f9fbf..04ad02462183 100644 --- a/games-emulation/mgba-jg/metadata.xml +++ b/games-emulation/mgba-jg/metadata.xml @@ -5,9 +5,9 @@ or...@riseup.net orbea - - proxy-ma...@gentoo.org - Proxy Maintainers + + s...@gentoo.org + Sam James mGBA is an emulator for running Game Boy Advance games.
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mgba/
commit: cd108727e0320b3ddc7f43da73b388249391b371 Author: Ionen Wolkens gentoo org> AuthorDate: Mon Jan 30 18:55:47 2023 + Commit: Ionen Wolkens gentoo org> CommitDate: Mon Jan 30 19:11:09 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd108727 games-emulation/mgba: drop 0.10.0 Signed-off-by: Ionen Wolkens gentoo.org> games-emulation/mgba/Manifest | 1 - games-emulation/mgba/mgba-0.10.0.ebuild | 106 2 files changed, 107 deletions(-) diff --git a/games-emulation/mgba/Manifest b/games-emulation/mgba/Manifest index 9e7fd52ce992..4ad9fcc5fa35 100644 --- a/games-emulation/mgba/Manifest +++ b/games-emulation/mgba/Manifest @@ -1,2 +1 @@ -DIST mgba-0.10.0.tar.gz 14302653 BLAKE2B 0ebfa8a3de5db61452f070116fcf2d6312ce96f5d08b1b1e70ba8f7e50235fecff2a0f6a5a32860b7e95e55a6ab5bbf2227d483bad7eb25d6c7e471424bcf0dd SHA512 05939f94bc00906d999b955091e8e8059cc13a5b822048f6e002062c2e74069337d947d2cde2f8c1be96e3353a361743d752811c214fa9da31ed6a4893b4d7e8 DIST mgba-0.10.1.tar.gz 14308454 BLAKE2B 5e28ac799cd9e5398508a65bec00dc1da9462e19dc18e0194368a8c57fff2b1af7578a595ab1a414741c1f68c795de3d55913302810d95298a4068b385613389 SHA512 bb79d2380a4708b70daf95c9b403427f77254391b1e11d68411384f265a670907e64b842c9978c9be558ffad337b738d9d83988d52890f08aed7e7fc124f19d4 diff --git a/games-emulation/mgba/mgba-0.10.0.ebuild b/games-emulation/mgba/mgba-0.10.0.ebuild deleted file mode 100644 index 706b27959a3e.. --- a/games-emulation/mgba/mgba-0.10.0.ebuild +++ /dev/null @@ -1,106 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -LUA_COMPAT=( lua5-{3..4} ) -inherit cmake lua-single xdg - -if [[ ${PV} == ]] ; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/mgba-emu/mgba.git"; -else - SRC_URI="https://github.com/mgba-emu/mgba/archive/${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="amd64 ~arm64 ~ppc64 x86" -fi - -DESCRIPTION="Game Boy Advance Emulator" -HOMEPAGE="https://mgba.io/"; - -LICENSE="MPL-2.0 BSD LGPL-2.1+ public-domain discord? ( MIT )" -SLOT="0/$(ver_cut 1-2)" -IUSE="debug discord elf ffmpeg gles2 gles3 gui libretro lua +opengl +sdl +sqlite test" -REQUIRED_USE=" - gui? ( || ( gles2 gles3 opengl ) sqlite ) - lua? ( ${LUA_REQUIRED_USE} )" -RESTRICT="!test? ( test )" - -RDEPEND=" - media-libs/libpng:= - sys-libs/zlib:=[minizip] - debug? ( dev-libs/libedit ) - elf? ( dev-libs/elfutils ) - ffmpeg? ( media-video/ffmpeg:= ) - gles2? ( media-libs/libglvnd ) - gles3? ( media-libs/libglvnd ) - lua? ( ${LUA_DEPS} ) - opengl? ( media-libs/libglvnd ) - gui? ( - dev-qt/qtcore:5 - dev-qt/qtgui:5 - dev-qt/qtmultimedia:5 - dev-qt/qtnetwork:5 - dev-qt/qtwidgets:5 - ) - sdl? ( media-libs/libsdl2[sound,joystick,gles2?,opengl?,video] ) - sqlite? ( dev-db/sqlite:3 )" -DEPEND=" - ${RDEPEND} - test? ( dev-util/cmocka )" -BDEPEND="lua? ( virtual/pkgconfig )" - -PATCHES=( - "${FILESDIR}"/${PN}-0.10.0-optional-updater.patch -) - -pkg_setup() { - use lua && lua-single_pkg_setup -} - -src_configure() { - local mycmakeargs=( - -DBUILD_CINEMA=$(usex test) - -DBUILD_GL=$(usex opengl) - -DBUILD_GLES2=$(usex gles2) - -DBUILD_GLES3=$(usex gles3) - -DBUILD_LIBRETRO=$(usex libretro) - -DBUILD_QT=$(usex gui) - -DBUILD_SDL=$(usex sdl) # also used for gamepads in QT build - -DBUILD_SUITE=$(usex test) - -DBUILD_UPDATER=OFF - -DENABLE_SCRIPTING=$(usex lua) - -DMARKDOWN=OFF #752048 - -DUSE_DEBUGGERS=$(usex debug) - -DUSE_DISCORD_RPC=$(usex discord) - -DUSE_EDITLINE=$(usex debug) - -DUSE_ELF=$(usex elf) - -DUSE_EPOXY=OFF - -DUSE_FFMPEG=$(usex ffmpeg) - -DUSE_GDB_STUB=$(usex debug) - -DUSE_LIBZIP=OFF - -DUSE_LZMA=ON - -DUSE_MINIZIP=ON - -DUSE_PNG=ON - -DUSE_SQLITE3=$(usex sqlite) - -DUSE_ZLIB=ON - $(usev libretro -DLIBRETRO_LIBDIR="${EPREFIX}"/usr/$(get_libdir)/libretro) - ) - use lua && mycmakeargs+=( -DUSE_LUA=$(ver_cut 1-2 $(lua_get_version)) ) - - cmake_src_configure -} - -src_test() { - # CMakeLists.txt forces SKIP_RPATH=ON when PREFIX=/usr - local -x LD_LIBRARY_PATH=${BUILD_DIR}:${LD_LIBRARY_PATH} - - cmake_src_test -} - -src_install() { - cmake_src_install - - use !test || rm "${ED}"/usr/bin/mgba-cinema || die - - rm -r "${ED}"/usr/share/doc/${PF}/{LICENSE,licenses} || die -}
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mgba/
commit: aa6a670dc011395438e69c9763e78afa5dfa7527 Author: Ionen Wolkens gentoo org> AuthorDate: Thu Jan 26 12:31:00 2023 + Commit: Ionen Wolkens gentoo org> CommitDate: Thu Jan 26 15:12:10 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa6a670d games-emulation/mgba: stabilize 0.10.1 for amd64, x86 Signed-off-by: Ionen Wolkens gentoo.org> games-emulation/mgba/mgba-0.10.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/games-emulation/mgba/mgba-0.10.1.ebuild b/games-emulation/mgba/mgba-0.10.1.ebuild index e1ddaff59158..90acb66a079a 100644 --- a/games-emulation/mgba/mgba-0.10.1.ebuild +++ b/games-emulation/mgba/mgba-0.10.1.ebuild @@ -11,7 +11,7 @@ if [[ ${PV} == ]] ; then EGIT_REPO_URI="https://github.com/mgba-emu/mgba.git"; else SRC_URI="https://github.com/mgba-emu/mgba/archive/${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" + KEYWORDS="amd64 ~arm64 ~ppc64 x86" fi DESCRIPTION="Game Boy Advance Emulator"
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mgba-jg/
commit: 4c8613702b56a8433f2c32f3605fb6dea2d2cc6e Author: orbea riseup net> AuthorDate: Wed Dec 28 01:17:57 2022 + Commit: Sam James gentoo org> CommitDate: Sun Jan 15 14:16:13 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c861370 games-emulation/mgba-jg: New package, v0.10.1 Signed-off-by: Sam James gentoo.org> games-emulation/mgba-jg/Manifest | 1 + games-emulation/mgba-jg/metadata.xml | 21 + games-emulation/mgba-jg/mgba-jg-0.10.1.ebuild | 45 +++ games-emulation/mgba-jg/mgba-jg-.ebuild | 45 +++ 4 files changed, 112 insertions(+) diff --git a/games-emulation/mgba-jg/Manifest b/games-emulation/mgba-jg/Manifest new file mode 100644 index ..cc60171758b9 --- /dev/null +++ b/games-emulation/mgba-jg/Manifest @@ -0,0 +1 @@ +DIST mgba-0.10.1.tar.bz2 12984463 BLAKE2B 8cdd3ee302ba29febbdd255582b2c071543bbe9e483a302c2e2116444662ace9e8988acead32be2b84361b6145099a1a76c2391a938069e3dddba83e76070842 SHA512 69d7f1a8973159cf6dab21aa669bd29e8344efad1a5ffaa77fc94ad02ce1f3c2f74692bdce896cee394ffcdbecfe7d91c0f51bc89fbb65a16cf44801e26d8412 diff --git a/games-emulation/mgba-jg/metadata.xml b/games-emulation/mgba-jg/metadata.xml new file mode 100644 index ..4ced7d6f9fbf --- /dev/null +++ b/games-emulation/mgba-jg/metadata.xml @@ -0,0 +1,21 @@ + +https://www.gentoo.org/dtd/metadata.dtd'> + + + or...@riseup.net + orbea + + + proxy-ma...@gentoo.org + Proxy Maintainers + + + mGBA is an emulator for running Game Boy Advance games. + It aims to be faster and more accurate than many + existing Game Boy Advance emulators. + + + https://gitlab.com/jgemu/mgba/-/issues + jgemu/mgba + + diff --git a/games-emulation/mgba-jg/mgba-jg-0.10.1.ebuild b/games-emulation/mgba-jg/mgba-jg-0.10.1.ebuild new file mode 100644 index ..0e80a91b3ee1 --- /dev/null +++ b/games-emulation/mgba-jg/mgba-jg-0.10.1.ebuild @@ -0,0 +1,45 @@ +# Copyright 2022 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 Port of mGBA" +HOMEPAGE="https://gitlab.com/jgemu/mgba"; +if [[ "${PV}" == * ]] ; 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" +fi + +LICENSE="BSD-2 MPL-2.0" +SLOT="1" + +DEPEND=" + media-libs/jg:1= +" +RDEPEND=" + ${DEPEND} + games-emulation/jgrf +" +BDEPEND=" + virtual/pkgconfig +" + +src_compile() { + emake -C jollygood CC="$(tc-getCC)" PKG_CONFIG="$(tc-getPKG_CONFIG)" +} + +src_install() { + emake -C jollygood install \ + DESTDIR="${D}" \ + PREFIX="${EPREFIX}"/usr \ + DOCDIR="${EPREFIX}"/usr/share/doc/${PF} \ + LIBDIR="${EPREFIX}/usr/$(get_libdir)" +} diff --git a/games-emulation/mgba-jg/mgba-jg-.ebuild b/games-emulation/mgba-jg/mgba-jg-.ebuild new file mode 100644 index ..0e80a91b3ee1 --- /dev/null +++ b/games-emulation/mgba-jg/mgba-jg-.ebuild @@ -0,0 +1,45 @@ +# Copyright 2022 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 Port of mGBA" +HOMEPAGE="https://gitlab.com/jgemu/mgba"; +if [[ "${PV}" == * ]] ; 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" +fi + +LICENSE="BSD-2 MPL-2.0" +SLOT="1" + +DEPEND=" + media-libs/jg:1= +" +RDEPEND=" + ${DEPEND} + games-emulation/jgrf +" +BDEPEND=" + virtual/pkgconfig +" + +src_compile() { + emake -C jollygood CC="$(tc-getCC)" PKG_CONFIG="$(tc-getPKG_CONFIG)" +} + +src_install() { + emake -C jollygood install \ + DESTDIR="${D}" \ + PREFIX="${EPREFIX}"/usr \ + DOCDIR="${EPREFIX}"/usr/share/doc/${PF} \ + LIBDIR="${EPREFIX}/usr/$(get_libdir)" +}
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mgba/
commit: 45308c25682983317722d1f75142025b2a560355 Author: Ionen Wolkens gentoo org> AuthorDate: Wed Jan 11 10:18:03 2023 + Commit: Ionen Wolkens gentoo org> CommitDate: Wed Jan 11 11:25:30 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45308c25 games-emulation/mgba: add 0.10.1 Signed-off-by: Ionen Wolkens gentoo.org> games-emulation/mgba/Manifest | 1 + games-emulation/mgba/mgba-0.10.1.ebuild | 106 2 files changed, 107 insertions(+) diff --git a/games-emulation/mgba/Manifest b/games-emulation/mgba/Manifest index 07ecb0f2a4b1..9e7fd52ce992 100644 --- a/games-emulation/mgba/Manifest +++ b/games-emulation/mgba/Manifest @@ -1 +1,2 @@ DIST mgba-0.10.0.tar.gz 14302653 BLAKE2B 0ebfa8a3de5db61452f070116fcf2d6312ce96f5d08b1b1e70ba8f7e50235fecff2a0f6a5a32860b7e95e55a6ab5bbf2227d483bad7eb25d6c7e471424bcf0dd SHA512 05939f94bc00906d999b955091e8e8059cc13a5b822048f6e002062c2e74069337d947d2cde2f8c1be96e3353a361743d752811c214fa9da31ed6a4893b4d7e8 +DIST mgba-0.10.1.tar.gz 14308454 BLAKE2B 5e28ac799cd9e5398508a65bec00dc1da9462e19dc18e0194368a8c57fff2b1af7578a595ab1a414741c1f68c795de3d55913302810d95298a4068b385613389 SHA512 bb79d2380a4708b70daf95c9b403427f77254391b1e11d68411384f265a670907e64b842c9978c9be558ffad337b738d9d83988d52890f08aed7e7fc124f19d4 diff --git a/games-emulation/mgba/mgba-0.10.1.ebuild b/games-emulation/mgba/mgba-0.10.1.ebuild new file mode 100644 index ..e1ddaff59158 --- /dev/null +++ b/games-emulation/mgba/mgba-0.10.1.ebuild @@ -0,0 +1,106 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +LUA_COMPAT=( lua5-{3..4} ) +inherit cmake lua-single xdg + +if [[ ${PV} == ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/mgba-emu/mgba.git"; +else + SRC_URI="https://github.com/mgba-emu/mgba/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" +fi + +DESCRIPTION="Game Boy Advance Emulator" +HOMEPAGE="https://mgba.io/"; + +LICENSE="MPL-2.0 BSD LGPL-2.1+ public-domain discord? ( MIT )" +SLOT="0/$(ver_cut 1-2)" +IUSE="debug discord elf ffmpeg gles2 gles3 gui libretro lua +opengl +sdl +sqlite test" +REQUIRED_USE=" + gui? ( || ( gles2 gles3 opengl ) sqlite ) + lua? ( ${LUA_REQUIRED_USE} )" +RESTRICT="!test? ( test )" + +RDEPEND=" + media-libs/libpng:= + sys-libs/zlib:=[minizip] + debug? ( dev-libs/libedit ) + elf? ( dev-libs/elfutils ) + ffmpeg? ( media-video/ffmpeg:= ) + gles2? ( media-libs/libglvnd ) + gles3? ( media-libs/libglvnd ) + lua? ( ${LUA_DEPS} ) + opengl? ( media-libs/libglvnd ) + gui? ( + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtmultimedia:5 + dev-qt/qtnetwork:5 + dev-qt/qtwidgets:5 + ) + sdl? ( media-libs/libsdl2[sound,joystick,gles2?,opengl?,video] ) + sqlite? ( dev-db/sqlite:3 )" +DEPEND=" + ${RDEPEND} + test? ( dev-util/cmocka )" +BDEPEND="lua? ( virtual/pkgconfig )" + +PATCHES=( + "${FILESDIR}"/${PN}-0.10.0-optional-updater.patch +) + +pkg_setup() { + use lua && lua-single_pkg_setup +} + +src_configure() { + local mycmakeargs=( + -DBUILD_CINEMA=$(usex test) + -DBUILD_GL=$(usex opengl) + -DBUILD_GLES2=$(usex gles2) + -DBUILD_GLES3=$(usex gles3) + -DBUILD_LIBRETRO=$(usex libretro) + -DBUILD_QT=$(usex gui) + -DBUILD_SDL=$(usex sdl) # also used for gamepads in QT build + -DBUILD_SUITE=$(usex test) + -DBUILD_UPDATER=OFF + -DENABLE_SCRIPTING=$(usex lua) + -DMARKDOWN=OFF #752048 + -DUSE_DEBUGGERS=$(usex debug) + -DUSE_DISCORD_RPC=$(usex discord) + -DUSE_EDITLINE=$(usex debug) + -DUSE_ELF=$(usex elf) + -DUSE_EPOXY=OFF + -DUSE_FFMPEG=$(usex ffmpeg) + -DUSE_GDB_STUB=$(usex debug) + -DUSE_LIBZIP=OFF + -DUSE_LZMA=ON + -DUSE_MINIZIP=ON + -DUSE_PNG=ON + -DUSE_SQLITE3=$(usex sqlite) + -DUSE_ZLIB=ON + $(usev libretro -DLIBRETRO_LIBDIR="${EPREFIX}"/usr/$(get_libdir)/libretro) + ) + use lua && mycmakeargs+=( -DUSE_LUA=$(ver_cut 1-2 $(lua_get_version)) ) + + cmake_src_configure +} + +src_test() { + # CMakeLists.txt forces SKIP_RPATH=ON when PREFIX=/usr + local -x LD_LIBRARY_PATH=${BUILD_DIR}:${LD_LIBRARY_PATH} + + cmake_src_test +} + +src_install() { + cmake_src_install + + use !test || rm "${ED}"/usr/bin/mgba-cinema || die + + rm -r "${ED}"/usr/share/doc/${PF}/{LICENSE,licenses} || die +}
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mgba/
commit: 18b05b5204bb545b933dfa15f61b4c694adbb124 Author: Ionen Wolkens gentoo org> AuthorDate: Thu Nov 17 12:11:56 2022 + Commit: Ionen Wolkens gentoo org> CommitDate: Thu Nov 17 13:46:40 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18b05b52 games-emulation/mgba: stabilize 0.10.0 for amd64, x86 Signed-off-by: Ionen Wolkens gentoo.org> games-emulation/mgba/mgba-0.10.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/games-emulation/mgba/mgba-0.10.0.ebuild b/games-emulation/mgba/mgba-0.10.0.ebuild index a2fb0f2ce948..706b27959a3e 100644 --- a/games-emulation/mgba/mgba-0.10.0.ebuild +++ b/games-emulation/mgba/mgba-0.10.0.ebuild @@ -11,7 +11,7 @@ if [[ ${PV} == ]] ; then EGIT_REPO_URI="https://github.com/mgba-emu/mgba.git"; else SRC_URI="https://github.com/mgba-emu/mgba/archive/${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" + KEYWORDS="amd64 ~arm64 ~ppc64 x86" fi DESCRIPTION="Game Boy Advance Emulator"
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mgba/
commit: 35caab6dc2cd44a59cbd812d159c024ac364e531 Author: Ionen Wolkens gentoo org> AuthorDate: Wed Oct 12 11:35:31 2022 + Commit: Ionen Wolkens gentoo org> CommitDate: Wed Oct 12 13:43:02 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35caab6d games-emulation/mgba: sync live Signed-off-by: Ionen Wolkens gentoo.org> games-emulation/mgba/mgba-.ebuild | 16 ++-- 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/games-emulation/mgba/mgba-.ebuild b/games-emulation/mgba/mgba-.ebuild index c7121c11ef4a..a2fb0f2ce948 100644 --- a/games-emulation/mgba/mgba-.ebuild +++ b/games-emulation/mgba/mgba-.ebuild @@ -18,11 +18,10 @@ DESCRIPTION="Game Boy Advance Emulator" HOMEPAGE="https://mgba.io/"; LICENSE="MPL-2.0 BSD LGPL-2.1+ public-domain discord? ( MIT )" -SLOT="0/10" -IUSE="debug discord elf ffmpeg gles2 gles3 gui libretro lua opengl +sdl sqlite test" +SLOT="0/$(ver_cut 1-2)" +IUSE="debug discord elf ffmpeg gles2 gles3 gui libretro lua +opengl +sdl +sqlite test" REQUIRED_USE=" - || ( gui sdl ) - gui? ( || ( gles2 gles3 opengl ) ) + gui? ( || ( gles2 gles3 opengl ) sqlite ) lua? ( ${LUA_REQUIRED_USE} )" RESTRICT="!test? ( test )" @@ -43,13 +42,17 @@ RDEPEND=" dev-qt/qtnetwork:5 dev-qt/qtwidgets:5 ) - sdl? ( media-libs/libsdl2[sound,joystick,opengl?,video] ) + sdl? ( media-libs/libsdl2[sound,joystick,gles2?,opengl?,video] ) sqlite? ( dev-db/sqlite:3 )" DEPEND=" ${RDEPEND} test? ( dev-util/cmocka )" BDEPEND="lua? ( virtual/pkgconfig )" +PATCHES=( + "${FILESDIR}"/${PN}-0.10.0-optional-updater.patch +) + pkg_setup() { use lua && lua-single_pkg_setup } @@ -62,8 +65,9 @@ src_configure() { -DBUILD_GLES3=$(usex gles3) -DBUILD_LIBRETRO=$(usex libretro) -DBUILD_QT=$(usex gui) - -DBUILD_SDL=$(usex sdl) + -DBUILD_SDL=$(usex sdl) # also used for gamepads in QT build -DBUILD_SUITE=$(usex test) + -DBUILD_UPDATER=OFF -DENABLE_SCRIPTING=$(usex lua) -DMARKDOWN=OFF #752048 -DUSE_DEBUGGERS=$(usex debug)
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mgba/files/, games-emulation/mgba/
commit: 90cba4bfd9f0be33fb8bf3346aee1d623e2816e2 Author: Ionen Wolkens gentoo org> AuthorDate: Wed Oct 12 11:22:02 2022 + Commit: Ionen Wolkens gentoo org> CommitDate: Wed Oct 12 13:43:02 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90cba4bf games-emulation/mgba: add 0.10.0 ebuild updates: - require sqlite with USE=gui and enable by default (segfaults without) - enable opengl by default for non-desktop profiles, sdl build is not very useful without this or gles2 - check for gles2 on libsdl2 too (gles3 only seem to work with Qt) - patch to disable Qt's updater, not only is it not needed but it has incompatible pointer type issues (broken with clang16) - drop || ( gui sdl ) required use (allows library-only build, albeit no in-tree consumers for this currently) - change subslot to 0/$(ver_cut 1-2) rather than 0/10 (matches SONAME). Signed-off-by: Ionen Wolkens gentoo.org> games-emulation/mgba/Manifest | 1 + .../mgba/files/mgba-0.10.0-optional-updater.patch | 7 ++ games-emulation/mgba/mgba-0.10.0.ebuild| 106 + 3 files changed, 114 insertions(+) diff --git a/games-emulation/mgba/Manifest b/games-emulation/mgba/Manifest index 04860f9d3a06..b7b04e1c2f88 100644 --- a/games-emulation/mgba/Manifest +++ b/games-emulation/mgba/Manifest @@ -1 +1,2 @@ +DIST mgba-0.10.0.tar.gz 14302653 BLAKE2B 0ebfa8a3de5db61452f070116fcf2d6312ce96f5d08b1b1e70ba8f7e50235fecff2a0f6a5a32860b7e95e55a6ab5bbf2227d483bad7eb25d6c7e471424bcf0dd SHA512 05939f94bc00906d999b955091e8e8059cc13a5b822048f6e002062c2e74069337d947d2cde2f8c1be96e3353a361743d752811c214fa9da31ed6a4893b4d7e8 DIST mgba-0.9.3.tar.gz 12763090 BLAKE2B 7d9ff6fc7bdff5d734540b74893a888d400b4bb6e1ce5b3b2a856239db8798ac76b8535dc770330d0451e2568a6d402558eeef27d643c0d5d3454441f45cf09b SHA512 da65b3c7ec32d732163f129c4fd38949ae2da2980beb3257bf6def5e35534a27b6d30309bb3c9a8d651642f99e1a45db7a8577c8dbf5472153d4551167471b3a diff --git a/games-emulation/mgba/files/mgba-0.10.0-optional-updater.patch b/games-emulation/mgba/files/mgba-0.10.0-optional-updater.patch new file mode 100644 index ..5a8f84beaa07 --- /dev/null +++ b/games-emulation/mgba/files/mgba-0.10.0-optional-updater.patch @@ -0,0 +1,7 @@ +--- a/CMakeLists.txt b/CMakeLists.txt +@@ -980,3 +980,3 @@ + if(BUILD_QT AND (WIN32 OR APPLE OR CMAKE_SYSTEM_NAME STREQUAL "Linux")) +- set(BUILD_UPDATER ON) ++ set(BUILD_UPDATER ON CACHE BOOL "") + endif() diff --git a/games-emulation/mgba/mgba-0.10.0.ebuild b/games-emulation/mgba/mgba-0.10.0.ebuild new file mode 100644 index ..a2fb0f2ce948 --- /dev/null +++ b/games-emulation/mgba/mgba-0.10.0.ebuild @@ -0,0 +1,106 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +LUA_COMPAT=( lua5-{3..4} ) +inherit cmake lua-single xdg + +if [[ ${PV} == ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/mgba-emu/mgba.git"; +else + SRC_URI="https://github.com/mgba-emu/mgba/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" +fi + +DESCRIPTION="Game Boy Advance Emulator" +HOMEPAGE="https://mgba.io/"; + +LICENSE="MPL-2.0 BSD LGPL-2.1+ public-domain discord? ( MIT )" +SLOT="0/$(ver_cut 1-2)" +IUSE="debug discord elf ffmpeg gles2 gles3 gui libretro lua +opengl +sdl +sqlite test" +REQUIRED_USE=" + gui? ( || ( gles2 gles3 opengl ) sqlite ) + lua? ( ${LUA_REQUIRED_USE} )" +RESTRICT="!test? ( test )" + +RDEPEND=" + media-libs/libpng:= + sys-libs/zlib:=[minizip] + debug? ( dev-libs/libedit ) + elf? ( dev-libs/elfutils ) + ffmpeg? ( media-video/ffmpeg:= ) + gles2? ( media-libs/libglvnd ) + gles3? ( media-libs/libglvnd ) + lua? ( ${LUA_DEPS} ) + opengl? ( media-libs/libglvnd ) + gui? ( + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtmultimedia:5 + dev-qt/qtnetwork:5 + dev-qt/qtwidgets:5 + ) + sdl? ( media-libs/libsdl2[sound,joystick,gles2?,opengl?,video] ) + sqlite? ( dev-db/sqlite:3 )" +DEPEND=" + ${RDEPEND} + test? ( dev-util/cmocka )" +BDEPEND="lua? ( virtual/pkgconfig )" + +PATCHES=( + "${FILESDIR}"/${PN}-0.10.0-optional-updater.patch +) + +pkg_setup() { + use lua && lua-single_pkg_setup +} + +src_configure() { + local mycmakeargs=( + -DBUILD_CINEMA=$(usex test) + -DBUILD_GL=$(usex opengl) + -DBUILD_GLES2=$(usex gles2) + -DBUILD_GLES3=$(usex gles3) + -DBUILD_LIBRETRO=$(usex libretro) + -DBUILD_QT=$(usex gui) + -DBUILD_SDL=$(usex sdl) # also used for gamepads in QT build + -DBUILD_SUITE=$(usex test) + -DBUILD_UPDATER=OFF + -DENABLE_SCRIPTING=$(usex lua) + -DMARKDOWN=OFF #752048
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mgba/
commit: 5a0aeb73d527c2d2974a6277e7ee8c31d533cb9b Author: Ionen Wolkens gentoo org> AuthorDate: Thu Jul 21 05:07:55 2022 + Commit: Ionen Wolkens gentoo org> CommitDate: Thu Jul 21 05:37:49 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a0aeb73 games-emulation/mgba: drop 0.9.2 Signed-off-by: Ionen Wolkens gentoo.org> games-emulation/mgba/Manifest | 1 - games-emulation/mgba/mgba-0.9.2.ebuild | 128 - 2 files changed, 129 deletions(-) diff --git a/games-emulation/mgba/Manifest b/games-emulation/mgba/Manifest index 66f20622393a..04860f9d3a06 100644 --- a/games-emulation/mgba/Manifest +++ b/games-emulation/mgba/Manifest @@ -1,2 +1 @@ -DIST mgba-0.9.2.tar.gz 12761919 BLAKE2B f0f3ca5f47d38c8018541426a229d52a2ebc9e47dc07fe4b739bde3f7ef2a4d75e6db5ca5f8dfaee01ae9648035f24c9d02556078b0b5eb51aefecfc9305432d SHA512 ea9868c104996c44a2fcfdf9d3f4d6177b853dec478ab7a2dd19a0f127b597a887150200bfbf14de593328217ff5493ca675bfcb4f0b2ee6a5097e0cdf0e2997 DIST mgba-0.9.3.tar.gz 12763090 BLAKE2B 7d9ff6fc7bdff5d734540b74893a888d400b4bb6e1ce5b3b2a856239db8798ac76b8535dc770330d0451e2568a6d402558eeef27d643c0d5d3454441f45cf09b SHA512 da65b3c7ec32d732163f129c4fd38949ae2da2980beb3257bf6def5e35534a27b6d30309bb3c9a8d651642f99e1a45db7a8577c8dbf5472153d4551167471b3a diff --git a/games-emulation/mgba/mgba-0.9.2.ebuild b/games-emulation/mgba/mgba-0.9.2.ebuild deleted file mode 100644 index 971993505d7e.. --- a/games-emulation/mgba/mgba-0.9.2.ebuild +++ /dev/null @@ -1,128 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit cmake desktop xdg - -DESCRIPTION="Game Boy Advance emulator written in C" -HOMEPAGE="https://mgba.io"; -if [[ "${PV}" == ]] ; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/mgba-emu/mgba.git"; -else - MY_PV="${PV/_beta/-b}" - SRC_URI="https://github.com/${PN}-emu/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" - [[ "${PV}" == *_beta* ]] || \ - KEYWORDS="amd64 ~arm64 x86" - S="${WORKDIR}/${PN}-${MY_PV}" -fi -LICENSE="MPL-2.0" -SLOT="0" -IUSE="debug discord elf ffmpeg gles2 gles3 opengl qt5 +sdl sqlite" -REQUIRED_USE="|| ( qt5 sdl ) - qt5? ( opengl )" - -RDEPEND=" - media-libs/libpng:0= - sys-libs/zlib[minizip] - debug? ( dev-libs/libedit ) - elf? ( dev-libs/elfutils ) - ffmpeg? ( media-video/ffmpeg:= ) - opengl? ( media-libs/libglvnd ) - qt5? ( - dev-qt/qtcore:5 - dev-qt/qtgui:5 - dev-qt/qtmultimedia:5 - dev-qt/qtwidgets:5 - opengl? ( dev-qt/qtopengl:5 ) - ) - sdl? ( media-libs/libsdl2[X,sound,joystick,video,opengl?] ) - sqlite? ( dev-db/sqlite:3 ) -" -DEPEND="${RDEPEND} - gles2? ( media-libs/libglvnd ) - gles3? ( media-libs/libglvnd ) -" - -src_prepare() { - xdg_environment_reset - cmake_src_prepare - - # Get rid of any bundled stuff we don't want - local pkg - for pkg in libpng lzma sqlite3 zlib ; do - rm -r src/third-party/${pkg} || die - done -} - -src_configure() { - local mycmakeargs=( - -DCMAKE_SKIP_RPATH=ON - -DBUILD_GL="$(usex opengl)" - -DBUILD_GLES2="$(usex gles2)" - -DBUILD_GLES3="$(usex gles3)" - -DBUILD_PYTHON=OFF - -DBUILD_QT="$(usex qt5)" - -DBUILD_SDL="$(usex sdl)" - -DBUILD_SHARED=ON - # test suite fails to build (>=0.6.0) - -DBUILD_SUITE=OFF - -DBUILD_TEST=OFF - -DM_CORE_GB=ON - -DM_CORE_GBA=ON - -DUSE_DEBUGGERS="$(usex debug)" - -DUSE_DISCORD_RPC="$(usex discord)" - -DUSE_EDITLINE="$(usex debug)" - -DUSE_ELF="$(usex elf)" - -DUSE_EPOXY=OFF - -DUSE_FFMPEG="$(usex ffmpeg)" - -DUSE_GDB_STUB="$(usex debug)" - -DUSE_LIBZIP=OFF - -DUSE_LZMA=OFF - -DUSE_MINIZIP=ON - -DUSE_PNG=ON - -DUSE_SQLITE3="$(usex sqlite)" - -DUSE_ZLIB=ON - ) - cmake_src_configure -} - -src_compile() { - cmake_src_compile -} - -src_install() { - if use qt5 ; then - dobin "${BUILD_DIR}"/qt/${PN}-qt - doman doc/${PN}-qt.6 - domenu res/${PN}-qt.desktop - for size in 16 24 32 48 64 96 128 256 ; do - newicon -s ${size} res/${PN}-${size}.png ${PN}.png - done - fi - if use sdl ; then - doman doc/${PN}.6 - newbin "${BUILD_DIR}"/sdl/${PN} ${PN}-sdl - fi - - dolib.so "${BUILD_DIR}"/lib${PN}.so* -} - -pkg_preinst() { - if use qt5 ; then - xdg_pkg_prei
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mgba/
commit: 37f6bbe0ccc6db489c3a5fe4bf684c4cb1bdd89b Author: Ionen Wolkens gentoo org> AuthorDate: Thu Jul 14 20:08:10 2022 + Commit: Ionen Wolkens gentoo org> CommitDate: Thu Jul 14 21:23:31 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37f6bbe0 games-emulation/mgba: stabilize 0.9.3-r2 for amd64, x86 Signed-off-by: Ionen Wolkens gentoo.org> games-emulation/mgba/mgba-0.9.3-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/games-emulation/mgba/mgba-0.9.3-r2.ebuild b/games-emulation/mgba/mgba-0.9.3-r2.ebuild index 4d806f22f62f..82caf353a7fa 100644 --- a/games-emulation/mgba/mgba-0.9.3-r2.ebuild +++ b/games-emulation/mgba/mgba-0.9.3-r2.ebuild @@ -10,7 +10,7 @@ if [[ ${PV} == ]] ; then EGIT_REPO_URI="https://github.com/mgba-emu/mgba.git"; else SRC_URI="https://github.com/mgba-emu/mgba/archive/${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" + KEYWORDS="amd64 ~arm64 ~ppc64 x86" fi DESCRIPTION="Game Boy Advance Emulator"
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mgba/
commit: 2aacc92d11142e03c96b79e78a3cd4786bc7a16d Author: Ionen Wolkens gentoo org> AuthorDate: Sun Jul 3 05:17:23 2022 + Commit: Ionen Wolkens gentoo org> CommitDate: Sun Jul 3 05:17:23 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2aacc92d games-emulation/mgba: drop 0.9.3-r1 Signed-off-by: Ionen Wolkens gentoo.org> games-emulation/mgba/mgba-0.9.3-r1.ebuild | 132 -- 1 file changed, 132 deletions(-) diff --git a/games-emulation/mgba/mgba-0.9.3-r1.ebuild b/games-emulation/mgba/mgba-0.9.3-r1.ebuild deleted file mode 100644 index 8ac2d817bb04.. --- a/games-emulation/mgba/mgba-0.9.3-r1.ebuild +++ /dev/null @@ -1,132 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake desktop xdg - -DESCRIPTION="Game Boy Advance emulator written in C" -HOMEPAGE="https://mgba.io"; -if [[ "${PV}" == ]] ; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/mgba-emu/mgba.git"; -else - MY_PV="${PV/_beta/-b}" - SRC_URI="https://github.com/${PN}-emu/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" - [[ "${PV}" == *_beta* ]] || \ - KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" - S="${WORKDIR}/${PN}-${MY_PV}" -fi -LICENSE="MPL-2.0" -SLOT="0" -IUSE="debug discord elf ffmpeg gles2 gles3 opengl qt5 +sdl sqlite" -REQUIRED_USE="|| ( qt5 sdl ) - qt5? ( opengl )" - -RDEPEND=" - media-libs/libpng:0= - sys-libs/zlib[minizip] - debug? ( dev-libs/libedit ) - elf? ( dev-libs/elfutils ) - ffmpeg? ( media-video/ffmpeg:= ) - opengl? ( media-libs/libglvnd ) - qt5? ( - dev-qt/qtcore:5 - dev-qt/qtgui:5 - dev-qt/qtmultimedia:5 - dev-qt/qtwidgets:5 - opengl? ( dev-qt/qtopengl:5 ) - ) - sdl? ( media-libs/libsdl2[X,sound,joystick,video,opengl?] ) - sqlite? ( dev-db/sqlite:3 ) -" -DEPEND="${RDEPEND} - gles2? ( media-libs/libglvnd ) - gles3? ( media-libs/libglvnd ) -" - -PATCHES=( - "${FILESDIR}/${P}-ffmpeg5.patch" #834374 -) - -src_prepare() { - xdg_environment_reset - cmake_src_prepare - - # Get rid of any bundled stuff we don't want - local pkg - for pkg in libpng lzma sqlite3 zlib ; do - rm -r src/third-party/${pkg} || die - done -} - -src_configure() { - local mycmakeargs=( - -DCMAKE_SKIP_RPATH=ON - -DBUILD_GL="$(usex opengl)" - -DBUILD_GLES2="$(usex gles2)" - -DBUILD_GLES3="$(usex gles3)" - -DBUILD_PYTHON=OFF - -DBUILD_QT="$(usex qt5)" - -DBUILD_SDL="$(usex sdl)" - -DBUILD_SHARED=ON - # test suite fails to build (>=0.6.0) - -DBUILD_SUITE=OFF - -DBUILD_TEST=OFF - -DM_CORE_GB=ON - -DM_CORE_GBA=ON - -DUSE_DEBUGGERS="$(usex debug)" - -DUSE_DISCORD_RPC="$(usex discord)" - -DUSE_EDITLINE="$(usex debug)" - -DUSE_ELF="$(usex elf)" - -DUSE_EPOXY=OFF - -DUSE_FFMPEG="$(usex ffmpeg)" - -DUSE_GDB_STUB="$(usex debug)" - -DUSE_LIBZIP=OFF - -DUSE_LZMA=OFF - -DUSE_MINIZIP=ON - -DUSE_PNG=ON - -DUSE_SQLITE3="$(usex sqlite)" - -DUSE_ZLIB=ON - ) - cmake_src_configure -} - -src_compile() { - cmake_src_compile -} - -src_install() { - if use qt5 ; then - dobin "${BUILD_DIR}"/qt/${PN}-qt - doman doc/${PN}-qt.6 - domenu res/${PN}-qt.desktop - for size in 16 24 32 48 64 96 128 256 ; do - newicon -s ${size} res/${PN}-${size}.png ${PN}.png - done - fi - if use sdl ; then - doman doc/${PN}.6 - newbin "${BUILD_DIR}"/sdl/${PN} ${PN}-sdl - fi - - dolib.so "${BUILD_DIR}"/lib${PN}.so* -} - -pkg_preinst() { - if use qt5 ; then - xdg_pkg_preinst - fi -} - -pkg_postinst() { - if use qt5 ; then - xdg_pkg_postinst - fi -} - -pkg_postrm() { - if use qt5 ; then - xdg_pkg_postrm - fi -}
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mgba/files/
commit: 176a54440c40e800903fadf352a4ad4c1658658c Author: Ionen Wolkens gentoo org> AuthorDate: Wed Jun 29 08:54:36 2022 + Commit: Ionen Wolkens gentoo org> CommitDate: Wed Jun 29 17:22:36 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=176a5444 games-emulation/mgba: tidy patch and add links Signed-off-by: Ionen Wolkens gentoo.org> games-emulation/mgba/files/mgba-0.9.3-ffmpeg5.patch | 14 +++--- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/games-emulation/mgba/files/mgba-0.9.3-ffmpeg5.patch b/games-emulation/mgba/files/mgba-0.9.3-ffmpeg5.patch index cf4f6f56a2d4..6b8d55c377ea 100644 --- a/games-emulation/mgba/files/mgba-0.9.3-ffmpeg5.patch +++ b/games-emulation/mgba/files/mgba-0.9.3-ffmpeg5.patch @@ -1,15 +1,9 @@ -From cdc753516798882a805db1d2042dbce8313382bf Mon Sep 17 00:00:00 2001 +https://bugs.gentoo.org/834374 + +https://github.com/mgba-emu/mgba/commit/cdc753516798882a805db1d2042dbce8313382bf From: Ryan Tandy Date: Thu, 3 Feb 2022 19:02:52 -0800 Subject: [PATCH] FFmpeg: Support FFmpeg 5.0 - - src/feature/ffmpeg/ffmpeg-decoder.c | 3 ++- - src/feature/ffmpeg/ffmpeg-encoder.c | 25 ++--- - 2 files changed, 16 insertions(+), 12 deletions(-) - -diff --git a/src/feature/ffmpeg/ffmpeg-decoder.c b/src/feature/ffmpeg/ffmpeg-decoder.c -index c3bb6d1c5c..daa47fbf2c 100644 --- a/src/feature/ffmpeg/ffmpeg-decoder.c +++ b/src/feature/ffmpeg/ffmpeg-decoder.c @@ -5,6 +5,7 @@ @@ -29,8 +23,6 @@ index c3bb6d1c5c..daa47fbf2c 100644 struct AVCodecContext* context = NULL; if (type == AVMEDIA_TYPE_VIDEO && decoder->videoStream < 0) { decoder->video = avcodec_alloc_context3(NULL); -diff --git a/src/feature/ffmpeg/ffmpeg-encoder.c b/src/feature/ffmpeg/ffmpeg-encoder.c -index ad76ca57b2..be6bd3af5e 100644 --- a/src/feature/ffmpeg/ffmpeg-encoder.c +++ b/src/feature/ffmpeg/ffmpeg-encoder.c @@ -12,6 +12,9 @@
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mgba/
commit: fa7347842737646e51f9453c00b78f6d260e4f49 Author: Ionen Wolkens gentoo org> AuthorDate: Wed Jun 29 12:34:36 2022 + Commit: Ionen Wolkens gentoo org> CommitDate: Wed Jun 29 17:22:36 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa734784 games-emulation/mgba: re-arrange ebuild non-style changes: - enable tests - IUSE=qt5 -> gui - add IUSE=libretro - update LICENSE to be hopefully complete - disable markdown wrt bug #752048, all this does is automagic convert the installed *.md to html - require IUSE=opengl with gles2/gles3 for now wrt bug #835039, won't be needed next bump - enable lzma, bundled but no real reason to disable (+public-domain) - drop unused qtopengl (uses libglvnd directly) and add qtnetwork - use cmake_src_install, removes need for custom icons loop and installs intended files (including shaders, and headers) - add subslot for libmgba given next version has a soname change, better handle this now than when something will need it (dolphin could potentially use to unbundle, albeit may be unsuitable for current dolphin snapshots) Could likely still use more work for some features and maybe some force unbundling, but leaving alone for now unless there's a need to / user requests. Closes: https://bugs.gentoo.org/752048 Closes: https://bugs.gentoo.org/835039 Signed-off-by: Ionen Wolkens gentoo.org> games-emulation/mgba/metadata.xml | 1 + games-emulation/mgba/mgba-0.9.3-r2.ebuild | 92 +++ games-emulation/mgba/mgba-.ebuild | 142 +++--- 3 files changed, 146 insertions(+), 89 deletions(-) diff --git a/games-emulation/mgba/metadata.xml b/games-emulation/mgba/metadata.xml index e99f6fd576d4..9e784de51af0 100644 --- a/games-emulation/mgba/metadata.xml +++ b/games-emulation/mgba/metadata.xml @@ -10,6 +10,7 @@ Enable the use of elf utils via dev-libs/elfutils Build OpenGL ES 2.x RenderSystem Build OpenGL ES 3.x RenderSystem +Build libretro port mgba-emu/mgba diff --git a/games-emulation/mgba/mgba-0.9.3-r2.ebuild b/games-emulation/mgba/mgba-0.9.3-r2.ebuild new file mode 100644 index ..4d806f22f62f --- /dev/null +++ b/games-emulation/mgba/mgba-0.9.3-r2.ebuild @@ -0,0 +1,92 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake xdg + +if [[ ${PV} == ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/mgba-emu/mgba.git"; +else + SRC_URI="https://github.com/mgba-emu/mgba/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" +fi + +DESCRIPTION="Game Boy Advance Emulator" +HOMEPAGE="https://mgba.io/"; + +LICENSE="MPL-2.0 BSD LGPL-2.1+ public-domain discord? ( MIT )" +SLOT="0/9" +IUSE="debug discord elf ffmpeg gles2 gles3 gui libretro opengl +sdl sqlite test" +# gles2/gles3 opengl require can be lifted in next version (bug #835039) +REQUIRED_USE=" + || ( gui sdl ) + gles2? ( opengl ) + gles3? ( opengl ) + gui? ( || ( gles2 opengl ) )" +RESTRICT="!test? ( test )" + +RDEPEND=" + media-libs/libpng:= + sys-libs/zlib:=[minizip] + debug? ( dev-libs/libedit ) + elf? ( dev-libs/elfutils ) + ffmpeg? ( media-video/ffmpeg:= ) + gles2? ( media-libs/libglvnd ) + gles3? ( media-libs/libglvnd ) + opengl? ( media-libs/libglvnd ) + gui? ( + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtmultimedia:5 + dev-qt/qtnetwork:5 + dev-qt/qtwidgets:5 + ) + sdl? ( media-libs/libsdl2[sound,joystick,opengl?,video] ) + sqlite? ( dev-db/sqlite:3 )" +DEPEND=" + ${RDEPEND} + test? ( dev-util/cmocka )" + +PATCHES=( + "${FILESDIR}"/${P}-ffmpeg5.patch +) + +src_configure() { + local mycmakeargs=( + -DBUILD_CINEMA=$(usex test) + -DBUILD_GL=$(usex opengl) + -DBUILD_GLES2=$(usex gles2) + -DBUILD_GLES3=$(usex gles3) + -DBUILD_LIBRETRO=$(usex libretro) + -DBUILD_QT=$(usex gui) + -DBUILD_SDL=$(usex sdl) + -DBUILD_SUITE=$(usex test) + -DMARKDOWN=OFF #752048 + -DUSE_DEBUGGERS=$(usex debug) + -DUSE_DISCORD_RPC=$(usex discord) + -DUSE_EDITLINE=$(usex debug) + -DUSE_ELF=$(usex elf) + -DUSE_EPOXY=OFF + -DUSE_FFMPEG=$(usex ffmpeg) + -DUSE_GDB_STUB=$(usex debug) + -DUSE_LIBZIP=OFF + -DUSE_LZMA=ON + -DUSE_MINIZIP=ON + -DUSE_PNG=ON + -DUSE_SQLITE3=$(usex sqlite) + -DUSE_ZLIB=ON + $(usev libretro -DLIBRETRO_LIBDIR="${EPREFIX}"/usr/$(get_libdir)/libretro) + ) + + cmake_src_configure +} + +src_install() { + cmake_src_install +
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mgba/
commit: caf161bdc0624344c41f20803dc3659136f89653 Author: Ionen Wolkens gentoo org> AuthorDate: Wed Jun 29 08:23:02 2022 + Commit: Ionen Wolkens gentoo org> CommitDate: Wed Jun 29 17:22:36 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=caf161bd games-emulation/mgba: drop 0.9.3-r0 Signed-off-by: Ionen Wolkens gentoo.org> games-emulation/mgba/mgba-0.9.3.ebuild | 128 - 1 file changed, 128 deletions(-) diff --git a/games-emulation/mgba/mgba-0.9.3.ebuild b/games-emulation/mgba/mgba-0.9.3.ebuild deleted file mode 100644 index bfc1bea7e039.. --- a/games-emulation/mgba/mgba-0.9.3.ebuild +++ /dev/null @@ -1,128 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake desktop xdg - -DESCRIPTION="Game Boy Advance emulator written in C" -HOMEPAGE="https://mgba.io"; -if [[ "${PV}" == ]] ; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/mgba-emu/mgba.git"; -else - MY_PV="${PV/_beta/-b}" - SRC_URI="https://github.com/${PN}-emu/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" - [[ "${PV}" == *_beta* ]] || \ - KEYWORDS="~amd64 ~arm64 ~x86" - S="${WORKDIR}/${PN}-${MY_PV}" -fi -LICENSE="MPL-2.0" -SLOT="0" -IUSE="debug discord elf ffmpeg gles2 gles3 opengl qt5 +sdl sqlite" -REQUIRED_USE="|| ( qt5 sdl ) - qt5? ( opengl )" - -RDEPEND=" - media-libs/libpng:0= - sys-libs/zlib[minizip] - debug? ( dev-libs/libedit ) - elf? ( dev-libs/elfutils ) - ffmpeg? ( media-video/ffmpeg:= ) - opengl? ( media-libs/libglvnd ) - qt5? ( - dev-qt/qtcore:5 - dev-qt/qtgui:5 - dev-qt/qtmultimedia:5 - dev-qt/qtwidgets:5 - opengl? ( dev-qt/qtopengl:5 ) - ) - sdl? ( media-libs/libsdl2[X,sound,joystick,video,opengl?] ) - sqlite? ( dev-db/sqlite:3 ) -" -DEPEND="${RDEPEND} - gles2? ( media-libs/libglvnd ) - gles3? ( media-libs/libglvnd ) -" - -src_prepare() { - xdg_environment_reset - cmake_src_prepare - - # Get rid of any bundled stuff we don't want - local pkg - for pkg in libpng lzma sqlite3 zlib ; do - rm -r src/third-party/${pkg} || die - done -} - -src_configure() { - local mycmakeargs=( - -DCMAKE_SKIP_RPATH=ON - -DBUILD_GL="$(usex opengl)" - -DBUILD_GLES2="$(usex gles2)" - -DBUILD_GLES3="$(usex gles3)" - -DBUILD_PYTHON=OFF - -DBUILD_QT="$(usex qt5)" - -DBUILD_SDL="$(usex sdl)" - -DBUILD_SHARED=ON - # test suite fails to build (>=0.6.0) - -DBUILD_SUITE=OFF - -DBUILD_TEST=OFF - -DM_CORE_GB=ON - -DM_CORE_GBA=ON - -DUSE_DEBUGGERS="$(usex debug)" - -DUSE_DISCORD_RPC="$(usex discord)" - -DUSE_EDITLINE="$(usex debug)" - -DUSE_ELF="$(usex elf)" - -DUSE_EPOXY=OFF - -DUSE_FFMPEG="$(usex ffmpeg)" - -DUSE_GDB_STUB="$(usex debug)" - -DUSE_LIBZIP=OFF - -DUSE_LZMA=OFF - -DUSE_MINIZIP=ON - -DUSE_PNG=ON - -DUSE_SQLITE3="$(usex sqlite)" - -DUSE_ZLIB=ON - ) - cmake_src_configure -} - -src_compile() { - cmake_src_compile -} - -src_install() { - if use qt5 ; then - dobin "${BUILD_DIR}"/qt/${PN}-qt - doman doc/${PN}-qt.6 - domenu res/${PN}-qt.desktop - for size in 16 24 32 48 64 96 128 256 ; do - newicon -s ${size} res/${PN}-${size}.png ${PN}.png - done - fi - if use sdl ; then - doman doc/${PN}.6 - newbin "${BUILD_DIR}"/sdl/${PN} ${PN}-sdl - fi - - dolib.so "${BUILD_DIR}"/lib${PN}.so* -} - -pkg_preinst() { - if use qt5 ; then - xdg_pkg_preinst - fi -} - -pkg_postinst() { - if use qt5 ; then - xdg_pkg_postinst - fi -} - -pkg_postrm() { - if use qt5 ; then - xdg_pkg_postrm - fi -}
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mgba/
commit: a014c2bdd6311a4aad49757bfce7b9cf58a674e6 Author: Ionen Wolkens gentoo org> AuthorDate: Wed Jun 29 13:37:31 2022 + Commit: Ionen Wolkens gentoo org> CommitDate: Wed Jun 29 17:22:36 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a014c2bd games-emulation/mgba: update live for lua scripting support Builds with lua5-1 but tests don't pass with it, so do 5-3+5-4 compat for now (may revisit). Note there is currently upstream build issues with some combinations, IUSE="gui -lua" and IUSE="lua libretro" which won't worry about right now given scripting is work-in-progress upstream. Signed-off-by: Ionen Wolkens gentoo.org> games-emulation/mgba/mgba-.ebuild | 16 +--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/games-emulation/mgba/mgba-.ebuild b/games-emulation/mgba/mgba-.ebuild index 76e7916549ff..c7121c11ef4a 100644 --- a/games-emulation/mgba/mgba-.ebuild +++ b/games-emulation/mgba/mgba-.ebuild @@ -3,7 +3,8 @@ EAPI=8 -inherit cmake xdg +LUA_COMPAT=( lua5-{3..4} ) +inherit cmake lua-single xdg if [[ ${PV} == ]] ; then inherit git-r3 @@ -18,10 +19,11 @@ HOMEPAGE="https://mgba.io/"; LICENSE="MPL-2.0 BSD LGPL-2.1+ public-domain discord? ( MIT )" SLOT="0/10" -IUSE="debug discord elf ffmpeg gles2 gles3 gui libretro opengl +sdl sqlite test" +IUSE="debug discord elf ffmpeg gles2 gles3 gui libretro lua opengl +sdl sqlite test" REQUIRED_USE=" || ( gui sdl ) - gui? ( || ( gles2 gles3 opengl ) )" + gui? ( || ( gles2 gles3 opengl ) ) + lua? ( ${LUA_REQUIRED_USE} )" RESTRICT="!test? ( test )" RDEPEND=" @@ -32,6 +34,7 @@ RDEPEND=" ffmpeg? ( media-video/ffmpeg:= ) gles2? ( media-libs/libglvnd ) gles3? ( media-libs/libglvnd ) + lua? ( ${LUA_DEPS} ) opengl? ( media-libs/libglvnd ) gui? ( dev-qt/qtcore:5 @@ -45,6 +48,11 @@ RDEPEND=" DEPEND=" ${RDEPEND} test? ( dev-util/cmocka )" +BDEPEND="lua? ( virtual/pkgconfig )" + +pkg_setup() { + use lua && lua-single_pkg_setup +} src_configure() { local mycmakeargs=( @@ -56,6 +64,7 @@ src_configure() { -DBUILD_QT=$(usex gui) -DBUILD_SDL=$(usex sdl) -DBUILD_SUITE=$(usex test) + -DENABLE_SCRIPTING=$(usex lua) -DMARKDOWN=OFF #752048 -DUSE_DEBUGGERS=$(usex debug) -DUSE_DISCORD_RPC=$(usex discord) @@ -72,6 +81,7 @@ src_configure() { -DUSE_ZLIB=ON $(usev libretro -DLIBRETRO_LIBDIR="${EPREFIX}"/usr/$(get_libdir)/libretro) ) + use lua && mycmakeargs+=( -DUSE_LUA=$(ver_cut 1-2 $(lua_get_version)) ) cmake_src_configure }
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mgba/
commit: 72d25485d44a890a0c55fbdd90e257f614adb597 Author: Ionen Wolkens gentoo org> AuthorDate: Wed Jun 29 07:59:59 2022 + Commit: Ionen Wolkens gentoo org> CommitDate: Wed Jun 29 08:07:39 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72d25485 games-emulation/mgba: adopt for games@ Signed-off-by: Ionen Wolkens gentoo.org> games-emulation/mgba/metadata.xml | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/games-emulation/mgba/metadata.xml b/games-emulation/mgba/metadata.xml index 4fb52f8c5dec..e99f6fd576d4 100644 --- a/games-emulation/mgba/metadata.xml +++ b/games-emulation/mgba/metadata.xml @@ -1,7 +1,10 @@ https://www.gentoo.org/dtd/metadata.dtd";> - + +ga...@gentoo.org +Gentoo Games Project + Enable Discord RPC support Enable the use of elf utils via dev-libs/elfutils
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mgba/
commit: 8a1ee8cfa08e6ab4c23fbf4ab12348cb6ff4e891 Author: Thomas Bracht Laumann Jespersen laumann xyz> AuthorDate: Wed Jun 8 19:47:38 2022 + Commit: Sam James gentoo org> CommitDate: Thu Jun 16 16:30:32 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a1ee8cf games-emulation/mgba: fix unquoted variable BUILD_DIR Signed-off-by: Thomas Bracht Laumann Jespersen laumann.xyz> Signed-off-by: Sam James gentoo.org> games-emulation/mgba/mgba-0.9.2.ebuild| 8 games-emulation/mgba/mgba-0.9.3-r1.ebuild | 6 +++--- games-emulation/mgba/mgba-0.9.3.ebuild| 8 games-emulation/mgba/mgba-.ebuild | 8 4 files changed, 15 insertions(+), 15 deletions(-) diff --git a/games-emulation/mgba/mgba-0.9.2.ebuild b/games-emulation/mgba/mgba-0.9.2.ebuild index cef008e8c593..971993505d7e 100644 --- a/games-emulation/mgba/mgba-0.9.2.ebuild +++ b/games-emulation/mgba/mgba-0.9.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -94,7 +94,7 @@ src_compile() { src_install() { if use qt5 ; then - dobin ${BUILD_DIR}/qt/${PN}-qt + dobin "${BUILD_DIR}"/qt/${PN}-qt doman doc/${PN}-qt.6 domenu res/${PN}-qt.desktop for size in 16 24 32 48 64 96 128 256 ; do @@ -103,10 +103,10 @@ src_install() { fi if use sdl ; then doman doc/${PN}.6 - newbin ${BUILD_DIR}/sdl/${PN} ${PN}-sdl + newbin "${BUILD_DIR}"/sdl/${PN} ${PN}-sdl fi - dolib.so ${BUILD_DIR}/lib${PN}.so* + dolib.so "${BUILD_DIR}"/lib${PN}.so* } pkg_preinst() { diff --git a/games-emulation/mgba/mgba-0.9.3-r1.ebuild b/games-emulation/mgba/mgba-0.9.3-r1.ebuild index 92f2ac4813da..8ac2d817bb04 100644 --- a/games-emulation/mgba/mgba-0.9.3-r1.ebuild +++ b/games-emulation/mgba/mgba-0.9.3-r1.ebuild @@ -98,7 +98,7 @@ src_compile() { src_install() { if use qt5 ; then - dobin ${BUILD_DIR}/qt/${PN}-qt + dobin "${BUILD_DIR}"/qt/${PN}-qt doman doc/${PN}-qt.6 domenu res/${PN}-qt.desktop for size in 16 24 32 48 64 96 128 256 ; do @@ -107,10 +107,10 @@ src_install() { fi if use sdl ; then doman doc/${PN}.6 - newbin ${BUILD_DIR}/sdl/${PN} ${PN}-sdl + newbin "${BUILD_DIR}"/sdl/${PN} ${PN}-sdl fi - dolib.so ${BUILD_DIR}/lib${PN}.so* + dolib.so "${BUILD_DIR}"/lib${PN}.so* } pkg_preinst() { diff --git a/games-emulation/mgba/mgba-0.9.3.ebuild b/games-emulation/mgba/mgba-0.9.3.ebuild index e9baa50b1056..bfc1bea7e039 100644 --- a/games-emulation/mgba/mgba-0.9.3.ebuild +++ b/games-emulation/mgba/mgba-0.9.3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -94,7 +94,7 @@ src_compile() { src_install() { if use qt5 ; then - dobin ${BUILD_DIR}/qt/${PN}-qt + dobin "${BUILD_DIR}"/qt/${PN}-qt doman doc/${PN}-qt.6 domenu res/${PN}-qt.desktop for size in 16 24 32 48 64 96 128 256 ; do @@ -103,10 +103,10 @@ src_install() { fi if use sdl ; then doman doc/${PN}.6 - newbin ${BUILD_DIR}/sdl/${PN} ${PN}-sdl + newbin "${BUILD_DIR}"/sdl/${PN} ${PN}-sdl fi - dolib.so ${BUILD_DIR}/lib${PN}.so* + dolib.so "${BUILD_DIR}"/lib${PN}.so* } pkg_preinst() { diff --git a/games-emulation/mgba/mgba-.ebuild b/games-emulation/mgba/mgba-.ebuild index e9baa50b1056..bfc1bea7e039 100644 --- a/games-emulation/mgba/mgba-.ebuild +++ b/games-emulation/mgba/mgba-.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -94,7 +94,7 @@ src_compile() { src_install() { if use qt5 ; then - dobin ${BUILD_DIR}/qt/${PN}-qt + dobin "${BUILD_DIR}"/qt/${PN}-qt doman doc/${PN}-qt.6 domenu res/${PN}-qt.desktop for size in 16 24 32 48 64 96 128 256 ; do @@ -103,10 +103,10 @@ src_install() { fi if use sdl ; then doman doc/${PN}.6 - newbin ${BUILD_DIR}/sdl/${PN} ${PN}-sdl + newbin "${BUILD_DIR}"/sdl/${PN} ${PN}-sdl fi - dolib.so ${BUILD_DIR}/lib${PN}.so* + dolib.so "${BUILD_DIR}"/lib${PN}.so* } pkg_preinst() {
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mgba/
commit: 35e111dacfa625477e3b3a5c19745783fe7cb8b0 Author: Jakov Smolić gentoo org> AuthorDate: Wed Jun 8 12:21:24 2022 + Commit: Jakov Smolić gentoo org> CommitDate: Wed Jun 8 12:21:24 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35e111da games-emulation/mgba: Keyword 0.9.3-r1 ppc64, #849794 Signed-off-by: Jakov Smolić gentoo.org> games-emulation/mgba/mgba-0.9.3-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/games-emulation/mgba/mgba-0.9.3-r1.ebuild b/games-emulation/mgba/mgba-0.9.3-r1.ebuild index f2e1ddb6dd3b..92f2ac4813da 100644 --- a/games-emulation/mgba/mgba-0.9.3-r1.ebuild +++ b/games-emulation/mgba/mgba-0.9.3-r1.ebuild @@ -14,7 +14,7 @@ else MY_PV="${PV/_beta/-b}" SRC_URI="https://github.com/${PN}-emu/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" [[ "${PV}" == *_beta* ]] || \ - KEYWORDS="~amd64 ~arm64 ~x86" + KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" S="${WORKDIR}/${PN}-${MY_PV}" fi LICENSE="MPL-2.0"
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mgba/, games-emulation/mgba/files/
commit: 219f791f4599cf5ca3668cbbd9f5c95b20dac98c Author: Lars Wendler gentoo org> AuthorDate: Tue Mar 1 08:01:28 2022 + Commit: Lars Wendler gentoo org> CommitDate: Tue Mar 1 08:01:59 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=219f791f games-emulation/mgba: Revbump to fix compilation against ffmpeg-5 Closes: https://bugs.gentoo.org/834374 Signed-off-by: Lars Wendler gentoo.org> .../mgba/files/mgba-0.9.3-ffmpeg5.patch| 117 ++ games-emulation/mgba/mgba-0.9.3-r1.ebuild | 132 + 2 files changed, 249 insertions(+) diff --git a/games-emulation/mgba/files/mgba-0.9.3-ffmpeg5.patch b/games-emulation/mgba/files/mgba-0.9.3-ffmpeg5.patch new file mode 100644 index ..cf4f6f56a2d4 --- /dev/null +++ b/games-emulation/mgba/files/mgba-0.9.3-ffmpeg5.patch @@ -0,0 +1,117 @@ +From cdc753516798882a805db1d2042dbce8313382bf Mon Sep 17 00:00:00 2001 +From: Ryan Tandy +Date: Thu, 3 Feb 2022 19:02:52 -0800 +Subject: [PATCH] FFmpeg: Support FFmpeg 5.0 + +--- + src/feature/ffmpeg/ffmpeg-decoder.c | 3 ++- + src/feature/ffmpeg/ffmpeg-encoder.c | 25 ++--- + 2 files changed, 16 insertions(+), 12 deletions(-) + +diff --git a/src/feature/ffmpeg/ffmpeg-decoder.c b/src/feature/ffmpeg/ffmpeg-decoder.c +index c3bb6d1c5c..daa47fbf2c 100644 +--- a/src/feature/ffmpeg/ffmpeg-decoder.c b/src/feature/ffmpeg/ffmpeg-decoder.c +@@ -5,6 +5,7 @@ + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + #include "ffmpeg-decoder.h" + ++#include + #include + + void FFmpegDecoderInit(struct FFmpegDecoder* decoder) { +@@ -38,7 +39,7 @@ bool FFmpegDecoderOpen(struct FFmpegDecoder* decoder, const char* infile) { + #else + enum AVMediaType type = decoder->context->streams[i]->codec->codec_type; + #endif +- struct AVCodec* codec; ++ const struct AVCodec* codec; + struct AVCodecContext* context = NULL; + if (type == AVMEDIA_TYPE_VIDEO && decoder->videoStream < 0) { + decoder->video = avcodec_alloc_context3(NULL); +diff --git a/src/feature/ffmpeg/ffmpeg-encoder.c b/src/feature/ffmpeg/ffmpeg-encoder.c +index ad76ca57b2..be6bd3af5e 100644 +--- a/src/feature/ffmpeg/ffmpeg-encoder.c b/src/feature/ffmpeg/ffmpeg-encoder.c +@@ -12,6 +12,9 @@ + + #include + #include ++#if LIBAVCODEC_VERSION_MAJOR >= 58 ++#include ++#endif + + #include + #include +@@ -121,7 +124,7 @@ bool FFmpegEncoderSetAudio(struct FFmpegEncoder* encoder, const char* acodec, un + return true; + } + +- AVCodec* codec = avcodec_find_encoder_by_name(acodec); ++ const AVCodec* codec = avcodec_find_encoder_by_name(acodec); + if (!codec) { + return false; + } +@@ -193,7 +196,7 @@ bool FFmpegEncoderSetVideo(struct FFmpegEncoder* encoder, const char* vcodec, in + return true; + } + +- AVCodec* codec = avcodec_find_encoder_by_name(vcodec); ++ const AVCodec* codec = avcodec_find_encoder_by_name(vcodec); + if (!codec) { + return false; + } +@@ -213,7 +216,7 @@ bool FFmpegEncoderSetVideo(struct FFmpegEncoder* encoder, const char* vcodec, in + if (encoder->pixFormat == AV_PIX_FMT_NONE) { + return false; + } +- if (vbr < 0 && !av_opt_find(&codec->priv_class, "crf", NULL, 0, 0)) { ++ if (vbr < 0 && !av_opt_find((void*) &codec->priv_class, "crf", NULL, 0, 0)) { + return false; + } + encoder->videoCodec = vcodec; +@@ -223,7 +226,7 @@ bool FFmpegEncoderSetVideo(struct FFmpegEncoder* encoder, const char* vcodec, in + } + + bool FFmpegEncoderSetContainer(struct FFmpegEncoder* encoder, const char* container) { +- AVOutputFormat* oformat = av_guess_format(container, 0, 0); ++ const AVOutputFormat* oformat = av_guess_format(container, 0, 0); + if (!oformat) { + return false; + } +@@ -241,9 +244,9 @@ void FFmpegEncoderSetLooping(struct FFmpegEncoder* encoder, bool loop) { + } + + bool FFmpegEncoderVerifyContainer(struct FFmpegEncoder* encoder) { +- AVOutputFormat* oformat = av_guess_format(encoder->containerFormat, 0, 0); +- AVCodec* acodec = avcodec_find_encoder_by_name(encoder->audioCodec); +- AVCodec* vcodec = avcodec_find_encoder_by_name(encoder->videoCodec); ++ const AVOutputFormat* oformat = av_guess_format(encoder->containerFormat, 0, 0); ++ const AVCodec* acodec = avcodec_find_encoder_by_name(encoder->audioCodec); ++ const AVCodec* vcodec = avcodec_find_encoder_by_name(encoder->videoCodec); + if ((encoder->audioCodec && !acodec) || (encoder->videoCodec && !vcodec) || !oformat || (!acodec && !vcodec)) { + return false; + } +@@ -257,8 +260,8 @@ bool FFmpegEncoderVerifyContainer(struct FFmpegEncoder* encoder) { + } + + bool FFmpegEncoderOpen(struct FFmpegEncoder* encoder,
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mgba/
commit: 4692368165f575d6bb1d78474704d69f706a7130 Author: Lars Wendler gentoo org> AuthorDate: Sat Dec 18 19:57:47 2021 + Commit: Lars Wendler gentoo org> CommitDate: Sat Dec 18 19:58:57 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46923681 games-emulation/mgba: Bump to version 0.9.3 Signed-off-by: Lars Wendler gentoo.org> games-emulation/mgba/Manifest | 1 + games-emulation/mgba/mgba-0.9.3.ebuild | 128 + 2 files changed, 129 insertions(+) diff --git a/games-emulation/mgba/Manifest b/games-emulation/mgba/Manifest index 59fb4a11ed5e..259130d0f9b4 100644 --- a/games-emulation/mgba/Manifest +++ b/games-emulation/mgba/Manifest @@ -1,3 +1,4 @@ DIST mgba-0.8.4.tar.gz 12347906 BLAKE2B 7cea3bc3d291df5ac430685d261de1817798d24abbc2ea4d1fbffb55083ba130a80b6baec75513d616523daf28d0a74a53b5a1a657c1420b73caf6c5058093f8 SHA512 fe9c022211d03eb8a5db23901b2f99a5ee75a40f104e5edb2c6fd1a2860a37d9a3ba8d3b724b35ef958840986dd09002c58740a176290b415826e1a345d90390 DIST mgba-0.9.1.tar.gz 12795893 BLAKE2B ec2308721683b8f00ada740f5020bef5eb0ef2fc8fc241dae0d81f92c51c4d91bfa23950370e2f9a4184daa31552d8f03bcccef9abe10bb7657b8bffec529486 SHA512 f818bbcb8d38a2caced9ccb96aa81b392c5f75860af0c16848c9ce2046f17328829cf45a00b211326bfab86c3cac76ae341dc54ab91e1b548085b1d1198a2578 DIST mgba-0.9.2.tar.gz 12761919 BLAKE2B f0f3ca5f47d38c8018541426a229d52a2ebc9e47dc07fe4b739bde3f7ef2a4d75e6db5ca5f8dfaee01ae9648035f24c9d02556078b0b5eb51aefecfc9305432d SHA512 ea9868c104996c44a2fcfdf9d3f4d6177b853dec478ab7a2dd19a0f127b597a887150200bfbf14de593328217ff5493ca675bfcb4f0b2ee6a5097e0cdf0e2997 +DIST mgba-0.9.3.tar.gz 12763090 BLAKE2B 7d9ff6fc7bdff5d734540b74893a888d400b4bb6e1ce5b3b2a856239db8798ac76b8535dc770330d0451e2568a6d402558eeef27d643c0d5d3454441f45cf09b SHA512 da65b3c7ec32d732163f129c4fd38949ae2da2980beb3257bf6def5e35534a27b6d30309bb3c9a8d651642f99e1a45db7a8577c8dbf5472153d4551167471b3a diff --git a/games-emulation/mgba/mgba-0.9.3.ebuild b/games-emulation/mgba/mgba-0.9.3.ebuild new file mode 100644 index ..e9baa50b1056 --- /dev/null +++ b/games-emulation/mgba/mgba-0.9.3.ebuild @@ -0,0 +1,128 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake desktop xdg + +DESCRIPTION="Game Boy Advance emulator written in C" +HOMEPAGE="https://mgba.io"; +if [[ "${PV}" == ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/mgba-emu/mgba.git"; +else + MY_PV="${PV/_beta/-b}" + SRC_URI="https://github.com/${PN}-emu/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" + [[ "${PV}" == *_beta* ]] || \ + KEYWORDS="~amd64 ~arm64 ~x86" + S="${WORKDIR}/${PN}-${MY_PV}" +fi +LICENSE="MPL-2.0" +SLOT="0" +IUSE="debug discord elf ffmpeg gles2 gles3 opengl qt5 +sdl sqlite" +REQUIRED_USE="|| ( qt5 sdl ) + qt5? ( opengl )" + +RDEPEND=" + media-libs/libpng:0= + sys-libs/zlib[minizip] + debug? ( dev-libs/libedit ) + elf? ( dev-libs/elfutils ) + ffmpeg? ( media-video/ffmpeg:= ) + opengl? ( media-libs/libglvnd ) + qt5? ( + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtmultimedia:5 + dev-qt/qtwidgets:5 + opengl? ( dev-qt/qtopengl:5 ) + ) + sdl? ( media-libs/libsdl2[X,sound,joystick,video,opengl?] ) + sqlite? ( dev-db/sqlite:3 ) +" +DEPEND="${RDEPEND} + gles2? ( media-libs/libglvnd ) + gles3? ( media-libs/libglvnd ) +" + +src_prepare() { + xdg_environment_reset + cmake_src_prepare + + # Get rid of any bundled stuff we don't want + local pkg + for pkg in libpng lzma sqlite3 zlib ; do + rm -r src/third-party/${pkg} || die + done +} + +src_configure() { + local mycmakeargs=( + -DCMAKE_SKIP_RPATH=ON + -DBUILD_GL="$(usex opengl)" + -DBUILD_GLES2="$(usex gles2)" + -DBUILD_GLES3="$(usex gles3)" + -DBUILD_PYTHON=OFF + -DBUILD_QT="$(usex qt5)" + -DBUILD_SDL="$(usex sdl)" + -DBUILD_SHARED=ON + # test suite fails to build (>=0.6.0) + -DBUILD_SUITE=OFF + -DBUILD_TEST=OFF + -DM_CORE_GB=ON + -DM_CORE_GBA=ON + -DUSE_DEBUGGERS="$(usex debug)" + -DUSE_DISCORD_RPC="$(usex discord)" + -DUSE_EDITLINE="$(usex debug)" + -DUSE_ELF="$(usex elf)" + -DUSE_EPOXY=OFF + -DUSE_FFMPEG="$(usex ffmpeg)" + -DUSE_GDB_STUB="$(usex debug)" + -DUSE_LIBZIP=OFF + -DUSE_LZMA=OFF + -DUSE_MINIZIP=ON + -DUSE_PNG=ON + -DUSE_SQLITE3="$(usex sqlite)" + -DUSE_ZLIB=ON + ) + cmake_src_configure +} + +src_compile
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mgba/
commit: b245052dc851d54bfd236e8da72f428306721d39 Author: Lars Wendler gentoo org> AuthorDate: Sat Dec 18 19:58:41 2021 + Commit: Lars Wendler gentoo org> CommitDate: Sat Dec 18 19:58:58 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b245052d games-emulation/mgba: Removed old Signed-off-by: Lars Wendler gentoo.org> games-emulation/mgba/Manifest | 2 - games-emulation/mgba/mgba-0.8.4-r1.ebuild | 128 -- games-emulation/mgba/mgba-0.9.1-r1.ebuild | 128 -- 3 files changed, 258 deletions(-) diff --git a/games-emulation/mgba/Manifest b/games-emulation/mgba/Manifest index 259130d0f9b4..66f20622393a 100644 --- a/games-emulation/mgba/Manifest +++ b/games-emulation/mgba/Manifest @@ -1,4 +1,2 @@ -DIST mgba-0.8.4.tar.gz 12347906 BLAKE2B 7cea3bc3d291df5ac430685d261de1817798d24abbc2ea4d1fbffb55083ba130a80b6baec75513d616523daf28d0a74a53b5a1a657c1420b73caf6c5058093f8 SHA512 fe9c022211d03eb8a5db23901b2f99a5ee75a40f104e5edb2c6fd1a2860a37d9a3ba8d3b724b35ef958840986dd09002c58740a176290b415826e1a345d90390 -DIST mgba-0.9.1.tar.gz 12795893 BLAKE2B ec2308721683b8f00ada740f5020bef5eb0ef2fc8fc241dae0d81f92c51c4d91bfa23950370e2f9a4184daa31552d8f03bcccef9abe10bb7657b8bffec529486 SHA512 f818bbcb8d38a2caced9ccb96aa81b392c5f75860af0c16848c9ce2046f17328829cf45a00b211326bfab86c3cac76ae341dc54ab91e1b548085b1d1198a2578 DIST mgba-0.9.2.tar.gz 12761919 BLAKE2B f0f3ca5f47d38c8018541426a229d52a2ebc9e47dc07fe4b739bde3f7ef2a4d75e6db5ca5f8dfaee01ae9648035f24c9d02556078b0b5eb51aefecfc9305432d SHA512 ea9868c104996c44a2fcfdf9d3f4d6177b853dec478ab7a2dd19a0f127b597a887150200bfbf14de593328217ff5493ca675bfcb4f0b2ee6a5097e0cdf0e2997 DIST mgba-0.9.3.tar.gz 12763090 BLAKE2B 7d9ff6fc7bdff5d734540b74893a888d400b4bb6e1ce5b3b2a856239db8798ac76b8535dc770330d0451e2568a6d402558eeef27d643c0d5d3454441f45cf09b SHA512 da65b3c7ec32d732163f129c4fd38949ae2da2980beb3257bf6def5e35534a27b6d30309bb3c9a8d651642f99e1a45db7a8577c8dbf5472153d4551167471b3a diff --git a/games-emulation/mgba/mgba-0.8.4-r1.ebuild b/games-emulation/mgba/mgba-0.8.4-r1.ebuild deleted file mode 100644 index cef008e8c593.. --- a/games-emulation/mgba/mgba-0.8.4-r1.ebuild +++ /dev/null @@ -1,128 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit cmake desktop xdg - -DESCRIPTION="Game Boy Advance emulator written in C" -HOMEPAGE="https://mgba.io"; -if [[ "${PV}" == ]] ; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/mgba-emu/mgba.git"; -else - MY_PV="${PV/_beta/-b}" - SRC_URI="https://github.com/${PN}-emu/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" - [[ "${PV}" == *_beta* ]] || \ - KEYWORDS="amd64 ~arm64 x86" - S="${WORKDIR}/${PN}-${MY_PV}" -fi -LICENSE="MPL-2.0" -SLOT="0" -IUSE="debug discord elf ffmpeg gles2 gles3 opengl qt5 +sdl sqlite" -REQUIRED_USE="|| ( qt5 sdl ) - qt5? ( opengl )" - -RDEPEND=" - media-libs/libpng:0= - sys-libs/zlib[minizip] - debug? ( dev-libs/libedit ) - elf? ( dev-libs/elfutils ) - ffmpeg? ( media-video/ffmpeg:= ) - opengl? ( media-libs/libglvnd ) - qt5? ( - dev-qt/qtcore:5 - dev-qt/qtgui:5 - dev-qt/qtmultimedia:5 - dev-qt/qtwidgets:5 - opengl? ( dev-qt/qtopengl:5 ) - ) - sdl? ( media-libs/libsdl2[X,sound,joystick,video,opengl?] ) - sqlite? ( dev-db/sqlite:3 ) -" -DEPEND="${RDEPEND} - gles2? ( media-libs/libglvnd ) - gles3? ( media-libs/libglvnd ) -" - -src_prepare() { - xdg_environment_reset - cmake_src_prepare - - # Get rid of any bundled stuff we don't want - local pkg - for pkg in libpng lzma sqlite3 zlib ; do - rm -r src/third-party/${pkg} || die - done -} - -src_configure() { - local mycmakeargs=( - -DCMAKE_SKIP_RPATH=ON - -DBUILD_GL="$(usex opengl)" - -DBUILD_GLES2="$(usex gles2)" - -DBUILD_GLES3="$(usex gles3)" - -DBUILD_PYTHON=OFF - -DBUILD_QT="$(usex qt5)" - -DBUILD_SDL="$(usex sdl)" - -DBUILD_SHARED=ON - # test suite fails to build (>=0.6.0) - -DBUILD_SUITE=OFF - -DBUILD_TEST=OFF - -DM_CORE_GB=ON - -DM_CORE_GBA=ON - -DUSE_DEBUGGERS="$(usex debug)" - -DUSE_DISCORD_RPC="$(usex discord)" - -DUSE_EDITLINE="$(usex debug)" - -DUSE_ELF="$(usex elf)" - -DUSE_EPOXY=OFF - -DUSE_FFMPEG="$(usex ffmpeg)" - -DUSE_GDB_STUB="$(usex debug)" - -DUSE_LIBZIP=OFF - -DUSE_LZMA=OFF - -DUSE_MINIZIP=ON - -DUSE_PNG=ON - -DUSE_SQLITE3="$(usex sqlite)" -
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mgba/
commit: 3cebb8a7222cfeed8bd2f4ab4ee27ac0926305f7 Author: Lars Wendler gentoo org> AuthorDate: Sat Dec 18 19:58:15 2021 + Commit: Lars Wendler gentoo org> CommitDate: Sat Dec 18 19:58:58 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3cebb8a7 games-emulation/mgba: Synced live ebuild Signed-off-by: Lars Wendler gentoo.org> games-emulation/mgba/mgba-.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/games-emulation/mgba/mgba-.ebuild b/games-emulation/mgba/mgba-.ebuild index a9e24f62871c..e9baa50b1056 100644 --- a/games-emulation/mgba/mgba-.ebuild +++ b/games-emulation/mgba/mgba-.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 inherit cmake desktop xdg
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mgba/
commit: d1d31f2a9140937fa805d4c18262a93376442d01 Author: Agostino Sarubbo gentoo org> AuthorDate: Thu Sep 23 13:57:48 2021 + Commit: Agostino Sarubbo gentoo org> CommitDate: Thu Sep 23 13:57:48 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1d31f2a games-emulation/mgba: amd64 stable wrt bug #813088 Package-Manager: Portage-3.0.20, Repoman-3.0.3 RepoMan-Options: --include-arches="amd64" Signed-off-by: Agostino Sarubbo gentoo.org> games-emulation/mgba/mgba-0.9.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/games-emulation/mgba/mgba-0.9.2.ebuild b/games-emulation/mgba/mgba-0.9.2.ebuild index 86e9d68e560..cef008e8c59 100644 --- a/games-emulation/mgba/mgba-0.9.2.ebuild +++ b/games-emulation/mgba/mgba-0.9.2.ebuild @@ -14,7 +14,7 @@ else MY_PV="${PV/_beta/-b}" SRC_URI="https://github.com/${PN}-emu/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" [[ "${PV}" == *_beta* ]] || \ - KEYWORDS="~amd64 ~arm64 x86" + KEYWORDS="amd64 ~arm64 x86" S="${WORKDIR}/${PN}-${MY_PV}" fi LICENSE="MPL-2.0"
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mgba/
commit: f9f7033e6cf489f8daf37de655b241f35df96ca7 Author: Agostino Sarubbo gentoo org> AuthorDate: Wed Sep 22 06:58:04 2021 + Commit: Agostino Sarubbo gentoo org> CommitDate: Wed Sep 22 06:58:04 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9f7033e games-emulation/mgba: x86 stable wrt bug #813088 Package-Manager: Portage-3.0.20, Repoman-3.0.3 RepoMan-Options: --include-arches="x86" Signed-off-by: Agostino Sarubbo gentoo.org> games-emulation/mgba/mgba-0.9.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/games-emulation/mgba/mgba-0.9.2.ebuild b/games-emulation/mgba/mgba-0.9.2.ebuild index a9e24f62871..86e9d68e560 100644 --- a/games-emulation/mgba/mgba-0.9.2.ebuild +++ b/games-emulation/mgba/mgba-0.9.2.ebuild @@ -14,7 +14,7 @@ else MY_PV="${PV/_beta/-b}" SRC_URI="https://github.com/${PN}-emu/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" [[ "${PV}" == *_beta* ]] || \ - KEYWORDS="~amd64 ~arm64 ~x86" + KEYWORDS="~amd64 ~arm64 x86" S="${WORKDIR}/${PN}-${MY_PV}" fi LICENSE="MPL-2.0"
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mgba/
commit: 69eff64693fa9dcd9bd1e7cebcb8ecff4c868430 Author: Lars Wendler gentoo org> AuthorDate: Sun Jul 11 17:03:14 2021 + Commit: Lars Wendler gentoo org> CommitDate: Sun Jul 11 17:03:14 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=69eff646 games-emulation/mgba: Bump to version 0.9.2 Signed-off-by: Lars Wendler gentoo.org> games-emulation/mgba/Manifest | 1 + games-emulation/mgba/mgba-0.9.2.ebuild | 128 + 2 files changed, 129 insertions(+) diff --git a/games-emulation/mgba/Manifest b/games-emulation/mgba/Manifest index 5a21d8a5efd..59fb4a11ed5 100644 --- a/games-emulation/mgba/Manifest +++ b/games-emulation/mgba/Manifest @@ -1,2 +1,3 @@ DIST mgba-0.8.4.tar.gz 12347906 BLAKE2B 7cea3bc3d291df5ac430685d261de1817798d24abbc2ea4d1fbffb55083ba130a80b6baec75513d616523daf28d0a74a53b5a1a657c1420b73caf6c5058093f8 SHA512 fe9c022211d03eb8a5db23901b2f99a5ee75a40f104e5edb2c6fd1a2860a37d9a3ba8d3b724b35ef958840986dd09002c58740a176290b415826e1a345d90390 DIST mgba-0.9.1.tar.gz 12795893 BLAKE2B ec2308721683b8f00ada740f5020bef5eb0ef2fc8fc241dae0d81f92c51c4d91bfa23950370e2f9a4184daa31552d8f03bcccef9abe10bb7657b8bffec529486 SHA512 f818bbcb8d38a2caced9ccb96aa81b392c5f75860af0c16848c9ce2046f17328829cf45a00b211326bfab86c3cac76ae341dc54ab91e1b548085b1d1198a2578 +DIST mgba-0.9.2.tar.gz 12761919 BLAKE2B f0f3ca5f47d38c8018541426a229d52a2ebc9e47dc07fe4b739bde3f7ef2a4d75e6db5ca5f8dfaee01ae9648035f24c9d02556078b0b5eb51aefecfc9305432d SHA512 ea9868c104996c44a2fcfdf9d3f4d6177b853dec478ab7a2dd19a0f127b597a887150200bfbf14de593328217ff5493ca675bfcb4f0b2ee6a5097e0cdf0e2997 diff --git a/games-emulation/mgba/mgba-0.9.2.ebuild b/games-emulation/mgba/mgba-0.9.2.ebuild new file mode 100644 index 000..a9e24f62871 --- /dev/null +++ b/games-emulation/mgba/mgba-0.9.2.ebuild @@ -0,0 +1,128 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake desktop xdg + +DESCRIPTION="Game Boy Advance emulator written in C" +HOMEPAGE="https://mgba.io"; +if [[ "${PV}" == ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/mgba-emu/mgba.git"; +else + MY_PV="${PV/_beta/-b}" + SRC_URI="https://github.com/${PN}-emu/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" + [[ "${PV}" == *_beta* ]] || \ + KEYWORDS="~amd64 ~arm64 ~x86" + S="${WORKDIR}/${PN}-${MY_PV}" +fi +LICENSE="MPL-2.0" +SLOT="0" +IUSE="debug discord elf ffmpeg gles2 gles3 opengl qt5 +sdl sqlite" +REQUIRED_USE="|| ( qt5 sdl ) + qt5? ( opengl )" + +RDEPEND=" + media-libs/libpng:0= + sys-libs/zlib[minizip] + debug? ( dev-libs/libedit ) + elf? ( dev-libs/elfutils ) + ffmpeg? ( media-video/ffmpeg:= ) + opengl? ( media-libs/libglvnd ) + qt5? ( + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtmultimedia:5 + dev-qt/qtwidgets:5 + opengl? ( dev-qt/qtopengl:5 ) + ) + sdl? ( media-libs/libsdl2[X,sound,joystick,video,opengl?] ) + sqlite? ( dev-db/sqlite:3 ) +" +DEPEND="${RDEPEND} + gles2? ( media-libs/libglvnd ) + gles3? ( media-libs/libglvnd ) +" + +src_prepare() { + xdg_environment_reset + cmake_src_prepare + + # Get rid of any bundled stuff we don't want + local pkg + for pkg in libpng lzma sqlite3 zlib ; do + rm -r src/third-party/${pkg} || die + done +} + +src_configure() { + local mycmakeargs=( + -DCMAKE_SKIP_RPATH=ON + -DBUILD_GL="$(usex opengl)" + -DBUILD_GLES2="$(usex gles2)" + -DBUILD_GLES3="$(usex gles3)" + -DBUILD_PYTHON=OFF + -DBUILD_QT="$(usex qt5)" + -DBUILD_SDL="$(usex sdl)" + -DBUILD_SHARED=ON + # test suite fails to build (>=0.6.0) + -DBUILD_SUITE=OFF + -DBUILD_TEST=OFF + -DM_CORE_GB=ON + -DM_CORE_GBA=ON + -DUSE_DEBUGGERS="$(usex debug)" + -DUSE_DISCORD_RPC="$(usex discord)" + -DUSE_EDITLINE="$(usex debug)" + -DUSE_ELF="$(usex elf)" + -DUSE_EPOXY=OFF + -DUSE_FFMPEG="$(usex ffmpeg)" + -DUSE_GDB_STUB="$(usex debug)" + -DUSE_LIBZIP=OFF + -DUSE_LZMA=OFF + -DUSE_MINIZIP=ON + -DUSE_PNG=ON + -DUSE_SQLITE3="$(usex sqlite)" + -DUSE_ZLIB=ON + ) + cmake_src_configure +} + +src_compile() { + cmake_src_compile +} + +src_install() { + if use qt5 ; then + dobin ${BUILD_DIR}/qt/${PN}-qt + doman doc/${PN}-qt.6 + domenu res/${PN}-qt.desktop + for size in 16 24 32 48 64 96 128 256 ; do + newicon -s ${size} res/
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mgba/
commit: 765884046360ca0e3780ea59d9a804d57c6a38d5 Author: Lars Wendler gentoo org> AuthorDate: Mon Apr 19 21:17:03 2021 + Commit: Lars Wendler gentoo org> CommitDate: Mon Apr 19 21:18:21 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76588404 games-emulation/mgba: Removed old Signed-off-by: Lars Wendler gentoo.org> games-emulation/mgba/Manifest | 1 - games-emulation/mgba/mgba-0.9.0.ebuild | 127 - 2 files changed, 128 deletions(-) diff --git a/games-emulation/mgba/Manifest b/games-emulation/mgba/Manifest index d0eb62e7482..5a21d8a5efd 100644 --- a/games-emulation/mgba/Manifest +++ b/games-emulation/mgba/Manifest @@ -1,3 +1,2 @@ DIST mgba-0.8.4.tar.gz 12347906 BLAKE2B 7cea3bc3d291df5ac430685d261de1817798d24abbc2ea4d1fbffb55083ba130a80b6baec75513d616523daf28d0a74a53b5a1a657c1420b73caf6c5058093f8 SHA512 fe9c022211d03eb8a5db23901b2f99a5ee75a40f104e5edb2c6fd1a2860a37d9a3ba8d3b724b35ef958840986dd09002c58740a176290b415826e1a345d90390 -DIST mgba-0.9.0.tar.gz 12804761 BLAKE2B 3598fe30f0bb26eaece5e60d1fd2e69026cb230a9fd4d05ccac83817597489e3e637cab125f37a9affa7183b388dc86c6e1fa1cdfb87e369d09d4120e0cd0387 SHA512 a7ea7ebb3c04c3b79293b029de7152cb1581c2e09204a14f9b35af09234ceca32a359c726b5419db6a3573dd4e0f04f3f1546f44056b05d8f66312ca158936f8 DIST mgba-0.9.1.tar.gz 12795893 BLAKE2B ec2308721683b8f00ada740f5020bef5eb0ef2fc8fc241dae0d81f92c51c4d91bfa23950370e2f9a4184daa31552d8f03bcccef9abe10bb7657b8bffec529486 SHA512 f818bbcb8d38a2caced9ccb96aa81b392c5f75860af0c16848c9ce2046f17328829cf45a00b211326bfab86c3cac76ae341dc54ab91e1b548085b1d1198a2578 diff --git a/games-emulation/mgba/mgba-0.9.0.ebuild b/games-emulation/mgba/mgba-0.9.0.ebuild deleted file mode 100644 index 82e8d32e771..000 --- a/games-emulation/mgba/mgba-0.9.0.ebuild +++ /dev/null @@ -1,127 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit cmake desktop xdg - -DESCRIPTION="Game Boy Advance emulator written in C" -HOMEPAGE="https://mgba.io"; -if [[ "${PV}" == ]] ; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/mgba-emu/mgba.git"; -else - MY_PV="${PV/_beta/-b}" - SRC_URI="https://github.com/${PN}-emu/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" - [[ "${PV}" == *_beta* ]] || \ - KEYWORDS="~amd64 ~arm64 ~x86" - S="${WORKDIR}/${PN}-${MY_PV}" -fi -LICENSE="MPL-2.0" -SLOT="0" -IUSE="debug discord elf ffmpeg gles2 gles3 opengl qt5 +sdl sqlite" -REQUIRED_USE="|| ( qt5 sdl ) - qt5? ( opengl )" - -RDEPEND=" - media-libs/libpng:0= - sys-libs/zlib[minizip] - elf? ( dev-libs/elfutils ) - ffmpeg? ( media-video/ffmpeg:= ) - opengl? ( media-libs/libglvnd ) - qt5? ( - dev-qt/qtcore:5 - dev-qt/qtgui:5 - dev-qt/qtmultimedia:5 - dev-qt/qtwidgets:5 - opengl? ( dev-qt/qtopengl:5 ) - ) - sdl? ( media-libs/libsdl2[X,sound,joystick,video,opengl?] ) - sqlite? ( dev-db/sqlite:3 ) -" -DEPEND="${RDEPEND} - gles2? ( media-libs/libglvnd ) - gles3? ( media-libs/libglvnd ) -" - -src_prepare() { - xdg_environment_reset - cmake_src_prepare - - # Get rid of any bundled stuff we don't want - local pkg - for pkg in libpng lzma sqlite3 zlib ; do - rm -r src/third-party/${pkg} || die - done -} - -src_configure() { - local mycmakeargs=( - -DCMAKE_SKIP_RPATH=ON - -DBUILD_GL="$(usex opengl)" - -DBUILD_GLES2="$(usex gles2)" - -DBUILD_GLES3="$(usex gles3)" - -DBUILD_PYTHON=OFF - -DBUILD_QT="$(usex qt5)" - -DBUILD_SDL="$(usex sdl)" - -DBUILD_SHARED=ON - # test suite fails to build (>=0.6.0) - -DBUILD_SUITE=OFF - -DBUILD_TEST=OFF - -DM_CORE_GB=ON - -DM_CORE_GBA=ON - -DUSE_DEBUGGERS="$(usex debug)" - -DUSE_DISCORD_RPC="$(usex discord)" - -DUSE_EDITLINE="$(usex debug)" - -DUSE_ELF="$(usex elf)" - -DUSE_EPOXY=OFF - -DUSE_FFMPEG="$(usex ffmpeg)" - -DUSE_GDB_STUB="$(usex debug)" - -DUSE_LIBZIP=OFF - -DUSE_LZMA=OFF - -DUSE_MINIZIP=ON - -DUSE_PNG=ON - -DUSE_SQLITE3="$(usex sqlite)" - -DUSE_ZLIB=ON - ) - cmake_src_configure -} - -src_compile() { - cmake_src_compile -} - -src_install() { - if use qt5 ; then - dobin ${BUILD_DIR}/qt/${PN}-qt - doman doc/${PN}-qt.6 - domenu res/${PN}-qt.desktop - for size in 16 24 32 48 64 96 128 256 ; do - newicon -s ${size} res/${PN}-${size}.png ${PN}.png -
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mgba/
commit: c18a9fed6c1b20240997b5f655902c0223073552 Author: Lars Wendler gentoo org> AuthorDate: Mon Apr 19 21:16:45 2021 + Commit: Lars Wendler gentoo org> CommitDate: Mon Apr 19 21:18:21 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c18a9fed games-emulation/mgba: USE="debug" requires dev-libs/libedit Closes: https://bugs.gentoo.org/769647 Signed-off-by: Lars Wendler gentoo.org> games-emulation/mgba/{mgba-0.8.4.ebuild => mgba-0.8.4-r1.ebuild} | 1 + games-emulation/mgba/{mgba-0.9.1.ebuild => mgba-0.9.1-r1.ebuild} | 1 + games-emulation/mgba/mgba-.ebuild| 3 ++- 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/games-emulation/mgba/mgba-0.8.4.ebuild b/games-emulation/mgba/mgba-0.8.4-r1.ebuild similarity index 98% rename from games-emulation/mgba/mgba-0.8.4.ebuild rename to games-emulation/mgba/mgba-0.8.4-r1.ebuild index f6889f1582d..cef008e8c59 100644 --- a/games-emulation/mgba/mgba-0.8.4.ebuild +++ b/games-emulation/mgba/mgba-0.8.4-r1.ebuild @@ -26,6 +26,7 @@ REQUIRED_USE="|| ( qt5 sdl ) RDEPEND=" media-libs/libpng:0= sys-libs/zlib[minizip] + debug? ( dev-libs/libedit ) elf? ( dev-libs/elfutils ) ffmpeg? ( media-video/ffmpeg:= ) opengl? ( media-libs/libglvnd ) diff --git a/games-emulation/mgba/mgba-0.9.1.ebuild b/games-emulation/mgba/mgba-0.9.1-r1.ebuild similarity index 98% rename from games-emulation/mgba/mgba-0.9.1.ebuild rename to games-emulation/mgba/mgba-0.9.1-r1.ebuild index 82e8d32e771..a9e24f62871 100644 --- a/games-emulation/mgba/mgba-0.9.1.ebuild +++ b/games-emulation/mgba/mgba-0.9.1-r1.ebuild @@ -26,6 +26,7 @@ REQUIRED_USE="|| ( qt5 sdl ) RDEPEND=" media-libs/libpng:0= sys-libs/zlib[minizip] + debug? ( dev-libs/libedit ) elf? ( dev-libs/elfutils ) ffmpeg? ( media-video/ffmpeg:= ) opengl? ( media-libs/libglvnd ) diff --git a/games-emulation/mgba/mgba-.ebuild b/games-emulation/mgba/mgba-.ebuild index e34b02d2296..a9e24f62871 100644 --- a/games-emulation/mgba/mgba-.ebuild +++ b/games-emulation/mgba/mgba-.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -26,6 +26,7 @@ REQUIRED_USE="|| ( qt5 sdl ) RDEPEND=" media-libs/libpng:0= sys-libs/zlib[minizip] + debug? ( dev-libs/libedit ) elf? ( dev-libs/elfutils ) ffmpeg? ( media-video/ffmpeg:= ) opengl? ( media-libs/libglvnd )
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mgba/
commit: dcbfe13f56eaa1384ca9974e961356c6caa74e86 Author: Lars Wendler gentoo org> AuthorDate: Mon Apr 19 11:04:39 2021 + Commit: Lars Wendler gentoo org> CommitDate: Mon Apr 19 11:05:56 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dcbfe13f games-emulation/mgba: Bump to version 0.9.1 Signed-off-by: Lars Wendler gentoo.org> games-emulation/mgba/Manifest | 1 + games-emulation/mgba/mgba-0.9.1.ebuild | 127 + 2 files changed, 128 insertions(+) diff --git a/games-emulation/mgba/Manifest b/games-emulation/mgba/Manifest index 97adbd7055d..d0eb62e7482 100644 --- a/games-emulation/mgba/Manifest +++ b/games-emulation/mgba/Manifest @@ -1,2 +1,3 @@ DIST mgba-0.8.4.tar.gz 12347906 BLAKE2B 7cea3bc3d291df5ac430685d261de1817798d24abbc2ea4d1fbffb55083ba130a80b6baec75513d616523daf28d0a74a53b5a1a657c1420b73caf6c5058093f8 SHA512 fe9c022211d03eb8a5db23901b2f99a5ee75a40f104e5edb2c6fd1a2860a37d9a3ba8d3b724b35ef958840986dd09002c58740a176290b415826e1a345d90390 DIST mgba-0.9.0.tar.gz 12804761 BLAKE2B 3598fe30f0bb26eaece5e60d1fd2e69026cb230a9fd4d05ccac83817597489e3e637cab125f37a9affa7183b388dc86c6e1fa1cdfb87e369d09d4120e0cd0387 SHA512 a7ea7ebb3c04c3b79293b029de7152cb1581c2e09204a14f9b35af09234ceca32a359c726b5419db6a3573dd4e0f04f3f1546f44056b05d8f66312ca158936f8 +DIST mgba-0.9.1.tar.gz 12795893 BLAKE2B ec2308721683b8f00ada740f5020bef5eb0ef2fc8fc241dae0d81f92c51c4d91bfa23950370e2f9a4184daa31552d8f03bcccef9abe10bb7657b8bffec529486 SHA512 f818bbcb8d38a2caced9ccb96aa81b392c5f75860af0c16848c9ce2046f17328829cf45a00b211326bfab86c3cac76ae341dc54ab91e1b548085b1d1198a2578 diff --git a/games-emulation/mgba/mgba-0.9.1.ebuild b/games-emulation/mgba/mgba-0.9.1.ebuild new file mode 100644 index 000..82e8d32e771 --- /dev/null +++ b/games-emulation/mgba/mgba-0.9.1.ebuild @@ -0,0 +1,127 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake desktop xdg + +DESCRIPTION="Game Boy Advance emulator written in C" +HOMEPAGE="https://mgba.io"; +if [[ "${PV}" == ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/mgba-emu/mgba.git"; +else + MY_PV="${PV/_beta/-b}" + SRC_URI="https://github.com/${PN}-emu/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" + [[ "${PV}" == *_beta* ]] || \ + KEYWORDS="~amd64 ~arm64 ~x86" + S="${WORKDIR}/${PN}-${MY_PV}" +fi +LICENSE="MPL-2.0" +SLOT="0" +IUSE="debug discord elf ffmpeg gles2 gles3 opengl qt5 +sdl sqlite" +REQUIRED_USE="|| ( qt5 sdl ) + qt5? ( opengl )" + +RDEPEND=" + media-libs/libpng:0= + sys-libs/zlib[minizip] + elf? ( dev-libs/elfutils ) + ffmpeg? ( media-video/ffmpeg:= ) + opengl? ( media-libs/libglvnd ) + qt5? ( + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtmultimedia:5 + dev-qt/qtwidgets:5 + opengl? ( dev-qt/qtopengl:5 ) + ) + sdl? ( media-libs/libsdl2[X,sound,joystick,video,opengl?] ) + sqlite? ( dev-db/sqlite:3 ) +" +DEPEND="${RDEPEND} + gles2? ( media-libs/libglvnd ) + gles3? ( media-libs/libglvnd ) +" + +src_prepare() { + xdg_environment_reset + cmake_src_prepare + + # Get rid of any bundled stuff we don't want + local pkg + for pkg in libpng lzma sqlite3 zlib ; do + rm -r src/third-party/${pkg} || die + done +} + +src_configure() { + local mycmakeargs=( + -DCMAKE_SKIP_RPATH=ON + -DBUILD_GL="$(usex opengl)" + -DBUILD_GLES2="$(usex gles2)" + -DBUILD_GLES3="$(usex gles3)" + -DBUILD_PYTHON=OFF + -DBUILD_QT="$(usex qt5)" + -DBUILD_SDL="$(usex sdl)" + -DBUILD_SHARED=ON + # test suite fails to build (>=0.6.0) + -DBUILD_SUITE=OFF + -DBUILD_TEST=OFF + -DM_CORE_GB=ON + -DM_CORE_GBA=ON + -DUSE_DEBUGGERS="$(usex debug)" + -DUSE_DISCORD_RPC="$(usex discord)" + -DUSE_EDITLINE="$(usex debug)" + -DUSE_ELF="$(usex elf)" + -DUSE_EPOXY=OFF + -DUSE_FFMPEG="$(usex ffmpeg)" + -DUSE_GDB_STUB="$(usex debug)" + -DUSE_LIBZIP=OFF + -DUSE_LZMA=OFF + -DUSE_MINIZIP=ON + -DUSE_PNG=ON + -DUSE_SQLITE3="$(usex sqlite)" + -DUSE_ZLIB=ON + ) + cmake_src_configure +} + +src_compile() { + cmake_src_compile +} + +src_install() { + if use qt5 ; then + dobin ${BUILD_DIR}/qt/${PN}-qt + doman doc/${PN}-qt.6 + domenu res/${PN}-qt.desktop + for size in 16 24 32 48 64 96 128 256 ; do + newicon -s ${size} res/${PN}-${size}.png ${PN}.png +
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mgba/
commit: 4507735cc34355d29c0c78b563c1df7b1c5e9b2c Author: Lars Wendler gentoo org> AuthorDate: Mon Mar 29 07:58:05 2021 + Commit: Lars Wendler gentoo org> CommitDate: Mon Mar 29 07:58:19 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4507735c games-emulation/mgba: Removed old Signed-off-by: Lars Wendler gentoo.org> games-emulation/mgba/Manifest | 2 - games-emulation/mgba/mgba-0.7.3.ebuild | 119 --- games-emulation/mgba/mgba-0.8.3.ebuild | 126 - 3 files changed, 247 deletions(-) diff --git a/games-emulation/mgba/Manifest b/games-emulation/mgba/Manifest index 4a0dd13b79b..97adbd7055d 100644 --- a/games-emulation/mgba/Manifest +++ b/games-emulation/mgba/Manifest @@ -1,4 +1,2 @@ -DIST mgba-0.7.3.tar.gz 11228977 BLAKE2B 2b70bb97470558e6c10391b782f0f80e0466b2f16df07971ed378801d359157692ce56c61f4432640ed679d43dc2445a1ea45b3402c1b488fb534213d8594271 SHA512 131f850699f17a7496f7428b85b50f38b99acec4c87d5d28ba4e3af94f095a1b6d177ea731838b2971362b46c52accef9cbec98433ecfaccc080371092c7d789 -DIST mgba-0.8.3.tar.gz 12013512 BLAKE2B 750c1bcb5cfe30e6e0965a16dbdb91b4dbf9f6b1068b7a9c343932c9b7b08c2b6aef4f7f4f38ee5d4e3ebb73d0f55222c78654be777858f36bd452b5f732e76c SHA512 8154cec08f9ab4fc7cedc7988ed8ee320ad07e2958b4fa0620801398081aa4808b61dbafd2e7c4b9ff0edfbb761e013fd7117206e81478a6c09ef91e2a5a DIST mgba-0.8.4.tar.gz 12347906 BLAKE2B 7cea3bc3d291df5ac430685d261de1817798d24abbc2ea4d1fbffb55083ba130a80b6baec75513d616523daf28d0a74a53b5a1a657c1420b73caf6c5058093f8 SHA512 fe9c022211d03eb8a5db23901b2f99a5ee75a40f104e5edb2c6fd1a2860a37d9a3ba8d3b724b35ef958840986dd09002c58740a176290b415826e1a345d90390 DIST mgba-0.9.0.tar.gz 12804761 BLAKE2B 3598fe30f0bb26eaece5e60d1fd2e69026cb230a9fd4d05ccac83817597489e3e637cab125f37a9affa7183b388dc86c6e1fa1cdfb87e369d09d4120e0cd0387 SHA512 a7ea7ebb3c04c3b79293b029de7152cb1581c2e09204a14f9b35af09234ceca32a359c726b5419db6a3573dd4e0f04f3f1546f44056b05d8f66312ca158936f8 diff --git a/games-emulation/mgba/mgba-0.7.3.ebuild b/games-emulation/mgba/mgba-0.7.3.ebuild deleted file mode 100644 index bf269f2432f..000 --- a/games-emulation/mgba/mgba-0.7.3.ebuild +++ /dev/null @@ -1,119 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit cmake desktop xdg - -DESCRIPTION="Game Boy Advance emulator written in C" -HOMEPAGE="https://mgba.io"; -if [[ "${PV}" == ]] ; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/mgba-emu/mgba.git"; -else - SRC_URI="https://github.com/${PN}-emu/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="amd64 x86" -fi -LICENSE="MPL-2.0" -SLOT="0" -IUSE="debug elf ffmpeg imagemagick opengl qt5 +sdl sqlite" -REQUIRED_USE="|| ( qt5 sdl ) - qt5? ( opengl )" - -RDEPEND=" - media-libs/libpng:0= - sys-libs/zlib[minizip] - elf? ( dev-libs/elfutils ) - ffmpeg? ( media-video/ffmpeg:= ) - imagemagick? ( media-gfx/imagemagick:= ) - opengl? ( virtual/opengl ) - qt5? ( - dev-qt/qtcore:5 - dev-qt/qtgui:5 - dev-qt/qtmultimedia:5 - dev-qt/qtwidgets:5 - opengl? ( dev-qt/qtopengl:5 ) - ) - sdl? ( media-libs/libsdl2[X,sound,joystick,video,opengl?] ) - sqlite? ( dev-db/sqlite:3 ) -" -DEPEND="${RDEPEND}" - -src_prepare() { - xdg_environment_reset - cmake_src_prepare - - # Get rid of any bundled stuff we don't want - for pkg in libpng lzma sqlite3 zlib ; do - rm -r src/third-party/${pkg} || die - done -} - -src_configure() { - local mycmakeargs=( - -DCMAKE_SKIP_RPATH=ON - -DBUILD_GL="$(usex opengl)" - -DBUILD_PYTHON=OFF - -DBUILD_QT="$(usex qt5)" - -DBUILD_SDL="$(usex sdl)" - -DBUILD_SHARED=ON - # test suite fails to build (>=0.6.0) - -DBUILD_SUITE=OFF - -DBUILD_TEST=OFF - -DM_CORE_GB=ON - -DM_CORE_GBA=ON - -DUSE_DEBUGGERS="$(usex debug)" - -DUSE_EDITLINE="$(usex debug)" - -DUSE_ELF="$(usex elf)" - -DUSE_EPOXY=OFF - -DUSE_FFMPEG="$(usex ffmpeg)" - -DUSE_GDB_STUB="$(usex debug)" - -DUSE_LIBZIP=OFF - -DUSE_LZMA=OFF - -DUSE_MAGICK="$(usex imagemagick)" - -DUSE_MINIZIP=ON - -DUSE_PNG=ON - -DUSE_SQLITE3="$(usex sqlite)" - -DUSE_ZLIB=ON - ) - cmake_src_configure -} - -src_compile() { - cmake_src_compile -} - -src_install() { - if use qt5 ; then - dobin ../${P}_build/qt/${PN}-qt - doman doc/${PN}-qt.6 - domenu res/${PN}-qt.desktop - for size in 16 24 3
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mgba/
commit: 2949f5473cc9600ca59d97a9aff4ba0102795bdf Author: Lars Wendler gentoo org> AuthorDate: Mon Mar 29 07:56:39 2021 + Commit: Lars Wendler gentoo org> CommitDate: Mon Mar 29 07:58:18 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2949f547 games-emulation/mgba: Bump to version 0.9.0 Signed-off-by: Lars Wendler gentoo.org> games-emulation/mgba/Manifest | 1 + games-emulation/mgba/mgba-0.9.0.ebuild | 127 + 2 files changed, 128 insertions(+) diff --git a/games-emulation/mgba/Manifest b/games-emulation/mgba/Manifest index fa524dd0ce2..4a0dd13b79b 100644 --- a/games-emulation/mgba/Manifest +++ b/games-emulation/mgba/Manifest @@ -1,3 +1,4 @@ DIST mgba-0.7.3.tar.gz 11228977 BLAKE2B 2b70bb97470558e6c10391b782f0f80e0466b2f16df07971ed378801d359157692ce56c61f4432640ed679d43dc2445a1ea45b3402c1b488fb534213d8594271 SHA512 131f850699f17a7496f7428b85b50f38b99acec4c87d5d28ba4e3af94f095a1b6d177ea731838b2971362b46c52accef9cbec98433ecfaccc080371092c7d789 DIST mgba-0.8.3.tar.gz 12013512 BLAKE2B 750c1bcb5cfe30e6e0965a16dbdb91b4dbf9f6b1068b7a9c343932c9b7b08c2b6aef4f7f4f38ee5d4e3ebb73d0f55222c78654be777858f36bd452b5f732e76c SHA512 8154cec08f9ab4fc7cedc7988ed8ee320ad07e2958b4fa0620801398081aa4808b61dbafd2e7c4b9ff0edfbb761e013fd7117206e81478a6c09ef91e2a5a DIST mgba-0.8.4.tar.gz 12347906 BLAKE2B 7cea3bc3d291df5ac430685d261de1817798d24abbc2ea4d1fbffb55083ba130a80b6baec75513d616523daf28d0a74a53b5a1a657c1420b73caf6c5058093f8 SHA512 fe9c022211d03eb8a5db23901b2f99a5ee75a40f104e5edb2c6fd1a2860a37d9a3ba8d3b724b35ef958840986dd09002c58740a176290b415826e1a345d90390 +DIST mgba-0.9.0.tar.gz 12804761 BLAKE2B 3598fe30f0bb26eaece5e60d1fd2e69026cb230a9fd4d05ccac83817597489e3e637cab125f37a9affa7183b388dc86c6e1fa1cdfb87e369d09d4120e0cd0387 SHA512 a7ea7ebb3c04c3b79293b029de7152cb1581c2e09204a14f9b35af09234ceca32a359c726b5419db6a3573dd4e0f04f3f1546f44056b05d8f66312ca158936f8 diff --git a/games-emulation/mgba/mgba-0.9.0.ebuild b/games-emulation/mgba/mgba-0.9.0.ebuild new file mode 100644 index 000..82e8d32e771 --- /dev/null +++ b/games-emulation/mgba/mgba-0.9.0.ebuild @@ -0,0 +1,127 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake desktop xdg + +DESCRIPTION="Game Boy Advance emulator written in C" +HOMEPAGE="https://mgba.io"; +if [[ "${PV}" == ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/mgba-emu/mgba.git"; +else + MY_PV="${PV/_beta/-b}" + SRC_URI="https://github.com/${PN}-emu/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" + [[ "${PV}" == *_beta* ]] || \ + KEYWORDS="~amd64 ~arm64 ~x86" + S="${WORKDIR}/${PN}-${MY_PV}" +fi +LICENSE="MPL-2.0" +SLOT="0" +IUSE="debug discord elf ffmpeg gles2 gles3 opengl qt5 +sdl sqlite" +REQUIRED_USE="|| ( qt5 sdl ) + qt5? ( opengl )" + +RDEPEND=" + media-libs/libpng:0= + sys-libs/zlib[minizip] + elf? ( dev-libs/elfutils ) + ffmpeg? ( media-video/ffmpeg:= ) + opengl? ( media-libs/libglvnd ) + qt5? ( + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtmultimedia:5 + dev-qt/qtwidgets:5 + opengl? ( dev-qt/qtopengl:5 ) + ) + sdl? ( media-libs/libsdl2[X,sound,joystick,video,opengl?] ) + sqlite? ( dev-db/sqlite:3 ) +" +DEPEND="${RDEPEND} + gles2? ( media-libs/libglvnd ) + gles3? ( media-libs/libglvnd ) +" + +src_prepare() { + xdg_environment_reset + cmake_src_prepare + + # Get rid of any bundled stuff we don't want + local pkg + for pkg in libpng lzma sqlite3 zlib ; do + rm -r src/third-party/${pkg} || die + done +} + +src_configure() { + local mycmakeargs=( + -DCMAKE_SKIP_RPATH=ON + -DBUILD_GL="$(usex opengl)" + -DBUILD_GLES2="$(usex gles2)" + -DBUILD_GLES3="$(usex gles3)" + -DBUILD_PYTHON=OFF + -DBUILD_QT="$(usex qt5)" + -DBUILD_SDL="$(usex sdl)" + -DBUILD_SHARED=ON + # test suite fails to build (>=0.6.0) + -DBUILD_SUITE=OFF + -DBUILD_TEST=OFF + -DM_CORE_GB=ON + -DM_CORE_GBA=ON + -DUSE_DEBUGGERS="$(usex debug)" + -DUSE_DISCORD_RPC="$(usex discord)" + -DUSE_EDITLINE="$(usex debug)" + -DUSE_ELF="$(usex elf)" + -DUSE_EPOXY=OFF + -DUSE_FFMPEG="$(usex ffmpeg)" + -DUSE_GDB_STUB="$(usex debug)" + -DUSE_LIBZIP=OFF + -DUSE_LZMA=OFF + -DUSE_MINIZIP=ON + -DUSE_PNG=ON + -DUSE_SQLITE3="$(usex sqlite)" + -DUSE_ZLIB=ON + ) + cmake_src_configure +} + +src_compile() { + cmake_src_compile +} + +src
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mgba/
commit: 8fa6dcde3356c503fc3081d567b4494516f0dc19 Author: Lars Wendler gentoo org> AuthorDate: Mon Mar 29 07:57:23 2021 + Commit: Lars Wendler gentoo org> CommitDate: Mon Mar 29 07:58:18 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8fa6dcde games-emulation/mgba: Version 0.8.4 stable for amd64 and x86 Signed-off-by: Lars Wendler gentoo.org> games-emulation/mgba/mgba-0.8.4.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/games-emulation/mgba/mgba-0.8.4.ebuild b/games-emulation/mgba/mgba-0.8.4.ebuild index e34b02d2296..f6889f1582d 100644 --- a/games-emulation/mgba/mgba-0.8.4.ebuild +++ b/games-emulation/mgba/mgba-0.8.4.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -14,7 +14,7 @@ else MY_PV="${PV/_beta/-b}" SRC_URI="https://github.com/${PN}-emu/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" [[ "${PV}" == *_beta* ]] || \ - KEYWORDS="~amd64 ~arm64 ~x86" + KEYWORDS="amd64 ~arm64 x86" S="${WORKDIR}/${PN}-${MY_PV}" fi LICENSE="MPL-2.0"
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mgba/
commit: 8f5e71a8dd2195f4edb2d5507db28f674b2b81d4 Author: Lars Wendler gentoo org> AuthorDate: Fri Oct 30 08:27:42 2020 + Commit: Lars Wendler gentoo org> CommitDate: Fri Oct 30 08:27:56 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f5e71a8 games-emulation/mgba: Removed old Package-Manager: Portage-3.0.8, Repoman-3.0.2 Signed-off-by: Lars Wendler gentoo.org> games-emulation/mgba/Manifest | 1 - games-emulation/mgba/mgba-0.8.2.ebuild | 121 - 2 files changed, 122 deletions(-) diff --git a/games-emulation/mgba/Manifest b/games-emulation/mgba/Manifest index 5f2f034fe6d..fa524dd0ce2 100644 --- a/games-emulation/mgba/Manifest +++ b/games-emulation/mgba/Manifest @@ -1,4 +1,3 @@ DIST mgba-0.7.3.tar.gz 11228977 BLAKE2B 2b70bb97470558e6c10391b782f0f80e0466b2f16df07971ed378801d359157692ce56c61f4432640ed679d43dc2445a1ea45b3402c1b488fb534213d8594271 SHA512 131f850699f17a7496f7428b85b50f38b99acec4c87d5d28ba4e3af94f095a1b6d177ea731838b2971362b46c52accef9cbec98433ecfaccc080371092c7d789 -DIST mgba-0.8.2.tar.gz 12014352 BLAKE2B 5a22d186b2732ba66698ac3fe47cd6ce841ca36ba856e5344948cf14a73aa9368658d94f0e6fb4fd78ae0a454c6d534182ecce221b3b24d62dde511c0aaa02a2 SHA512 181abab9e94964e2027cb039ded6128af1364e1442c418b8703263c9e0c5befeb7aca4d925fb44f3e25e8711a2cc22b198ea00483c42aea3b1c7ba077223d426 DIST mgba-0.8.3.tar.gz 12013512 BLAKE2B 750c1bcb5cfe30e6e0965a16dbdb91b4dbf9f6b1068b7a9c343932c9b7b08c2b6aef4f7f4f38ee5d4e3ebb73d0f55222c78654be777858f36bd452b5f732e76c SHA512 8154cec08f9ab4fc7cedc7988ed8ee320ad07e2958b4fa0620801398081aa4808b61dbafd2e7c4b9ff0edfbb761e013fd7117206e81478a6c09ef91e2a5a DIST mgba-0.8.4.tar.gz 12347906 BLAKE2B 7cea3bc3d291df5ac430685d261de1817798d24abbc2ea4d1fbffb55083ba130a80b6baec75513d616523daf28d0a74a53b5a1a657c1420b73caf6c5058093f8 SHA512 fe9c022211d03eb8a5db23901b2f99a5ee75a40f104e5edb2c6fd1a2860a37d9a3ba8d3b724b35ef958840986dd09002c58740a176290b415826e1a345d90390 diff --git a/games-emulation/mgba/mgba-0.8.2.ebuild b/games-emulation/mgba/mgba-0.8.2.ebuild deleted file mode 100644 index b94cca7aa9c..000 --- a/games-emulation/mgba/mgba-0.8.2.ebuild +++ /dev/null @@ -1,121 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit cmake desktop xdg - -DESCRIPTION="Game Boy Advance emulator written in C" -HOMEPAGE="https://mgba.io"; -if [[ "${PV}" == ]] ; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/mgba-emu/mgba.git"; -else - MY_PV="${PV/_beta/-b}" - SRC_URI="https://github.com/${PN}-emu/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" - [[ "${PV}" == *_beta* ]] || \ - KEYWORDS="~amd64 ~arm64 ~x86" - S="${WORKDIR}/${PN}-${MY_PV}" -fi -LICENSE="MPL-2.0" -SLOT="0" -IUSE="debug discord elf ffmpeg opengl qt5 +sdl sqlite" -REQUIRED_USE="|| ( qt5 sdl ) - qt5? ( opengl )" - -RDEPEND=" - media-libs/libpng:0= - sys-libs/zlib[minizip] - elf? ( dev-libs/elfutils ) - ffmpeg? ( media-video/ffmpeg:= ) - opengl? ( virtual/opengl ) - qt5? ( - dev-qt/qtcore:5 - dev-qt/qtgui:5 - dev-qt/qtmultimedia:5 - dev-qt/qtwidgets:5 - opengl? ( dev-qt/qtopengl:5 ) - ) - sdl? ( media-libs/libsdl2[X,sound,joystick,video,opengl?] ) - sqlite? ( dev-db/sqlite:3 ) -" -DEPEND="${RDEPEND}" - -src_prepare() { - xdg_environment_reset - cmake_src_prepare - - # Get rid of any bundled stuff we don't want - for pkg in libpng lzma sqlite3 zlib ; do - rm -r src/third-party/${pkg} || die - done -} - -src_configure() { - local mycmakeargs=( - -DCMAKE_SKIP_RPATH=ON - -DBUILD_GL="$(usex opengl)" - -DBUILD_PYTHON=OFF - -DBUILD_QT="$(usex qt5)" - -DBUILD_SDL="$(usex sdl)" - -DBUILD_SHARED=ON - # test suite fails to build (>=0.6.0) - -DBUILD_SUITE=OFF - -DBUILD_TEST=OFF - -DM_CORE_GB=ON - -DM_CORE_GBA=ON - -DUSE_DEBUGGERS="$(usex debug)" - -DUSE_DISCORD_RPC="$(usex discord)" - -DUSE_EDITLINE="$(usex debug)" - -DUSE_ELF="$(usex elf)" - -DUSE_EPOXY=OFF - -DUSE_FFMPEG="$(usex ffmpeg)" - -DUSE_GDB_STUB="$(usex debug)" - -DUSE_LIBZIP=OFF - -DUSE_LZMA=OFF - -DUSE_MINIZIP=ON - -DUSE_PNG=ON - -DUSE_SQLITE3="$(usex sqlite)" - -DUSE_ZLIB=ON - ) - cmake_src_configure -} - -src_compile() { - cmake_src_compile -} - -src_install() { - if use qt5 ; then - dobin ../${P}_build/qt/${PN}-qt - doman doc/${PN}-qt.6 - domenu res/${PN}-qt.desktop
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mgba/
commit: 996ef637ec317e8bf52302bdd2cd54481c04b558 Author: Lars Wendler gentoo org> AuthorDate: Fri Oct 30 08:25:20 2020 + Commit: Lars Wendler gentoo org> CommitDate: Fri Oct 30 08:27:54 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=996ef637 games-emulation/mgba: Bump to version 0.8.4 Package-Manager: Portage-3.0.8, Repoman-3.0.2 Signed-off-by: Lars Wendler gentoo.org> games-emulation/mgba/Manifest | 1 + games-emulation/mgba/mgba-0.8.4.ebuild | 127 + 2 files changed, 128 insertions(+) diff --git a/games-emulation/mgba/Manifest b/games-emulation/mgba/Manifest index f53b99e2045..5f2f034fe6d 100644 --- a/games-emulation/mgba/Manifest +++ b/games-emulation/mgba/Manifest @@ -1,3 +1,4 @@ DIST mgba-0.7.3.tar.gz 11228977 BLAKE2B 2b70bb97470558e6c10391b782f0f80e0466b2f16df07971ed378801d359157692ce56c61f4432640ed679d43dc2445a1ea45b3402c1b488fb534213d8594271 SHA512 131f850699f17a7496f7428b85b50f38b99acec4c87d5d28ba4e3af94f095a1b6d177ea731838b2971362b46c52accef9cbec98433ecfaccc080371092c7d789 DIST mgba-0.8.2.tar.gz 12014352 BLAKE2B 5a22d186b2732ba66698ac3fe47cd6ce841ca36ba856e5344948cf14a73aa9368658d94f0e6fb4fd78ae0a454c6d534182ecce221b3b24d62dde511c0aaa02a2 SHA512 181abab9e94964e2027cb039ded6128af1364e1442c418b8703263c9e0c5befeb7aca4d925fb44f3e25e8711a2cc22b198ea00483c42aea3b1c7ba077223d426 DIST mgba-0.8.3.tar.gz 12013512 BLAKE2B 750c1bcb5cfe30e6e0965a16dbdb91b4dbf9f6b1068b7a9c343932c9b7b08c2b6aef4f7f4f38ee5d4e3ebb73d0f55222c78654be777858f36bd452b5f732e76c SHA512 8154cec08f9ab4fc7cedc7988ed8ee320ad07e2958b4fa0620801398081aa4808b61dbafd2e7c4b9ff0edfbb761e013fd7117206e81478a6c09ef91e2a5a +DIST mgba-0.8.4.tar.gz 12347906 BLAKE2B 7cea3bc3d291df5ac430685d261de1817798d24abbc2ea4d1fbffb55083ba130a80b6baec75513d616523daf28d0a74a53b5a1a657c1420b73caf6c5058093f8 SHA512 fe9c022211d03eb8a5db23901b2f99a5ee75a40f104e5edb2c6fd1a2860a37d9a3ba8d3b724b35ef958840986dd09002c58740a176290b415826e1a345d90390 diff --git a/games-emulation/mgba/mgba-0.8.4.ebuild b/games-emulation/mgba/mgba-0.8.4.ebuild new file mode 100644 index 000..e34b02d2296 --- /dev/null +++ b/games-emulation/mgba/mgba-0.8.4.ebuild @@ -0,0 +1,127 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake desktop xdg + +DESCRIPTION="Game Boy Advance emulator written in C" +HOMEPAGE="https://mgba.io"; +if [[ "${PV}" == ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/mgba-emu/mgba.git"; +else + MY_PV="${PV/_beta/-b}" + SRC_URI="https://github.com/${PN}-emu/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" + [[ "${PV}" == *_beta* ]] || \ + KEYWORDS="~amd64 ~arm64 ~x86" + S="${WORKDIR}/${PN}-${MY_PV}" +fi +LICENSE="MPL-2.0" +SLOT="0" +IUSE="debug discord elf ffmpeg gles2 gles3 opengl qt5 +sdl sqlite" +REQUIRED_USE="|| ( qt5 sdl ) + qt5? ( opengl )" + +RDEPEND=" + media-libs/libpng:0= + sys-libs/zlib[minizip] + elf? ( dev-libs/elfutils ) + ffmpeg? ( media-video/ffmpeg:= ) + opengl? ( media-libs/libglvnd ) + qt5? ( + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtmultimedia:5 + dev-qt/qtwidgets:5 + opengl? ( dev-qt/qtopengl:5 ) + ) + sdl? ( media-libs/libsdl2[X,sound,joystick,video,opengl?] ) + sqlite? ( dev-db/sqlite:3 ) +" +DEPEND="${RDEPEND} + gles2? ( media-libs/libglvnd ) + gles3? ( media-libs/libglvnd ) +" + +src_prepare() { + xdg_environment_reset + cmake_src_prepare + + # Get rid of any bundled stuff we don't want + local pkg + for pkg in libpng lzma sqlite3 zlib ; do + rm -r src/third-party/${pkg} || die + done +} + +src_configure() { + local mycmakeargs=( + -DCMAKE_SKIP_RPATH=ON + -DBUILD_GL="$(usex opengl)" + -DBUILD_GLES2="$(usex gles2)" + -DBUILD_GLES3="$(usex gles3)" + -DBUILD_PYTHON=OFF + -DBUILD_QT="$(usex qt5)" + -DBUILD_SDL="$(usex sdl)" + -DBUILD_SHARED=ON + # test suite fails to build (>=0.6.0) + -DBUILD_SUITE=OFF + -DBUILD_TEST=OFF + -DM_CORE_GB=ON + -DM_CORE_GBA=ON + -DUSE_DEBUGGERS="$(usex debug)" + -DUSE_DISCORD_RPC="$(usex discord)" + -DUSE_EDITLINE="$(usex debug)" + -DUSE_ELF="$(usex elf)" + -DUSE_EPOXY=OFF + -DUSE_FFMPEG="$(usex ffmpeg)" + -DUSE_GDB_STUB="$(usex debug)" + -DUSE_LIBZIP=OFF + -DUSE_LZMA=OFF + -DUSE_MINIZIP=ON + -DUSE_PNG=ON + -DUSE_SQLITE3="$(usex sqlite)" + -DUSE_ZLIB=ON + ) + cmake_src_configure +} + +src_c
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mgba/
commit: 784ae9a3c81ec25fc5fb5f291c325bd09ea02319 Author: Lars Wendler gentoo org> AuthorDate: Fri Oct 30 08:26:19 2020 + Commit: Lars Wendler gentoo org> CommitDate: Fri Oct 30 08:27:55 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=784ae9a3 games-emulation/mgba: Synced live ebuild Package-Manager: Portage-3.0.8, Repoman-3.0.2 Signed-off-by: Lars Wendler gentoo.org> games-emulation/mgba/mgba-.ebuild | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/games-emulation/mgba/mgba-.ebuild b/games-emulation/mgba/mgba-.ebuild index d1d5df90464..e34b02d2296 100644 --- a/games-emulation/mgba/mgba-.ebuild +++ b/games-emulation/mgba/mgba-.ebuild @@ -49,6 +49,7 @@ src_prepare() { cmake_src_prepare # Get rid of any bundled stuff we don't want + local pkg for pkg in libpng lzma sqlite3 zlib ; do rm -r src/third-party/${pkg} || die done @@ -92,7 +93,7 @@ src_compile() { src_install() { if use qt5 ; then - dobin ../${P}_build/qt/${PN}-qt + dobin ${BUILD_DIR}/qt/${PN}-qt doman doc/${PN}-qt.6 domenu res/${PN}-qt.desktop for size in 16 24 32 48 64 96 128 256 ; do @@ -101,10 +102,10 @@ src_install() { fi if use sdl ; then doman doc/${PN}.6 - newbin ../${P}_build/sdl/${PN} ${PN}-sdl + newbin ${BUILD_DIR}/sdl/${PN} ${PN}-sdl fi - dolib.so ../${P}_build/lib${PN}.so* + dolib.so ${BUILD_DIR}/lib${PN}.so* } pkg_preinst() {
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mgba/
commit: 8e0592dac97dfb1c7cc794e02a81d499e0fa205b Author: Lars Wendler gentoo org> AuthorDate: Tue Aug 4 14:47:19 2020 + Commit: Lars Wendler gentoo org> CommitDate: Tue Aug 4 14:47:56 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e0592da games-emulation/mgba: Added "gles2" and "gles3" USE flags Bug: https://bugs.gentoo.org/735918 Package-Manager: Portage-3.0.1, Repoman-2.3.23 Signed-off-by: Lars Wendler gentoo.org> games-emulation/mgba/metadata.xml | 2 ++ games-emulation/mgba/mgba-0.8.3.ebuild | 11 --- games-emulation/mgba/mgba-.ebuild | 11 --- 3 files changed, 18 insertions(+), 6 deletions(-) diff --git a/games-emulation/mgba/metadata.xml b/games-emulation/mgba/metadata.xml index d65ffa04f67..3a30f098b0d 100644 --- a/games-emulation/mgba/metadata.xml +++ b/games-emulation/mgba/metadata.xml @@ -8,6 +8,8 @@ Enable Discord RPC support Enable the use of elf utils via dev-libs/elfutils +Build OpenGL ES 2.x RenderSystem +Build OpenGL ES 3.x RenderSystem mgba-emu/mgba diff --git a/games-emulation/mgba/mgba-0.8.3.ebuild b/games-emulation/mgba/mgba-0.8.3.ebuild index b94cca7aa9c..d1d5df90464 100644 --- a/games-emulation/mgba/mgba-0.8.3.ebuild +++ b/games-emulation/mgba/mgba-0.8.3.ebuild @@ -19,7 +19,7 @@ else fi LICENSE="MPL-2.0" SLOT="0" -IUSE="debug discord elf ffmpeg opengl qt5 +sdl sqlite" +IUSE="debug discord elf ffmpeg gles2 gles3 opengl qt5 +sdl sqlite" REQUIRED_USE="|| ( qt5 sdl ) qt5? ( opengl )" @@ -28,7 +28,7 @@ RDEPEND=" sys-libs/zlib[minizip] elf? ( dev-libs/elfutils ) ffmpeg? ( media-video/ffmpeg:= ) - opengl? ( virtual/opengl ) + opengl? ( media-libs/libglvnd ) qt5? ( dev-qt/qtcore:5 dev-qt/qtgui:5 @@ -39,7 +39,10 @@ RDEPEND=" sdl? ( media-libs/libsdl2[X,sound,joystick,video,opengl?] ) sqlite? ( dev-db/sqlite:3 ) " -DEPEND="${RDEPEND}" +DEPEND="${RDEPEND} + gles2? ( media-libs/libglvnd ) + gles3? ( media-libs/libglvnd ) +" src_prepare() { xdg_environment_reset @@ -55,6 +58,8 @@ src_configure() { local mycmakeargs=( -DCMAKE_SKIP_RPATH=ON -DBUILD_GL="$(usex opengl)" + -DBUILD_GLES2="$(usex gles2)" + -DBUILD_GLES3="$(usex gles3)" -DBUILD_PYTHON=OFF -DBUILD_QT="$(usex qt5)" -DBUILD_SDL="$(usex sdl)" diff --git a/games-emulation/mgba/mgba-.ebuild b/games-emulation/mgba/mgba-.ebuild index b94cca7aa9c..d1d5df90464 100644 --- a/games-emulation/mgba/mgba-.ebuild +++ b/games-emulation/mgba/mgba-.ebuild @@ -19,7 +19,7 @@ else fi LICENSE="MPL-2.0" SLOT="0" -IUSE="debug discord elf ffmpeg opengl qt5 +sdl sqlite" +IUSE="debug discord elf ffmpeg gles2 gles3 opengl qt5 +sdl sqlite" REQUIRED_USE="|| ( qt5 sdl ) qt5? ( opengl )" @@ -28,7 +28,7 @@ RDEPEND=" sys-libs/zlib[minizip] elf? ( dev-libs/elfutils ) ffmpeg? ( media-video/ffmpeg:= ) - opengl? ( virtual/opengl ) + opengl? ( media-libs/libglvnd ) qt5? ( dev-qt/qtcore:5 dev-qt/qtgui:5 @@ -39,7 +39,10 @@ RDEPEND=" sdl? ( media-libs/libsdl2[X,sound,joystick,video,opengl?] ) sqlite? ( dev-db/sqlite:3 ) " -DEPEND="${RDEPEND}" +DEPEND="${RDEPEND} + gles2? ( media-libs/libglvnd ) + gles3? ( media-libs/libglvnd ) +" src_prepare() { xdg_environment_reset @@ -55,6 +58,8 @@ src_configure() { local mycmakeargs=( -DCMAKE_SKIP_RPATH=ON -DBUILD_GL="$(usex opengl)" + -DBUILD_GLES2="$(usex gles2)" + -DBUILD_GLES3="$(usex gles3)" -DBUILD_PYTHON=OFF -DBUILD_QT="$(usex qt5)" -DBUILD_SDL="$(usex sdl)"
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mgba/
commit: b50633babae057ec303cdfdad21e2022a61607db Author: Lars Wendler gentoo org> AuthorDate: Tue Aug 4 13:40:50 2020 + Commit: Lars Wendler gentoo org> CommitDate: Tue Aug 4 13:41:00 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b50633ba games-emulation/mgba: Removed old Package-Manager: Portage-3.0.1, Repoman-2.3.23 Signed-off-by: Lars Wendler gentoo.org> games-emulation/mgba/Manifest | 1 - games-emulation/mgba/mgba-0.8.1.ebuild | 121 - 2 files changed, 122 deletions(-) diff --git a/games-emulation/mgba/Manifest b/games-emulation/mgba/Manifest index d44c7eccd9f..f53b99e2045 100644 --- a/games-emulation/mgba/Manifest +++ b/games-emulation/mgba/Manifest @@ -1,4 +1,3 @@ DIST mgba-0.7.3.tar.gz 11228977 BLAKE2B 2b70bb97470558e6c10391b782f0f80e0466b2f16df07971ed378801d359157692ce56c61f4432640ed679d43dc2445a1ea45b3402c1b488fb534213d8594271 SHA512 131f850699f17a7496f7428b85b50f38b99acec4c87d5d28ba4e3af94f095a1b6d177ea731838b2971362b46c52accef9cbec98433ecfaccc080371092c7d789 -DIST mgba-0.8.1.tar.gz 11893993 BLAKE2B 0b5db35927111a23defaf33ea67b00613c01302940db8bfe6c21aab4ec39bdb089ddbd6238ca7ccd35010724b058f78cee3ca3cbc6d7fbe0047f25a152b208fa SHA512 7873bde6a74e8a1509a3b5bba602da1c747ca1eff72adcf11f7b2572298d94766570fea0b920cb28c8b63a7d8237a15876b9feb9169edbf331b2d72f340734e2 DIST mgba-0.8.2.tar.gz 12014352 BLAKE2B 5a22d186b2732ba66698ac3fe47cd6ce841ca36ba856e5344948cf14a73aa9368658d94f0e6fb4fd78ae0a454c6d534182ecce221b3b24d62dde511c0aaa02a2 SHA512 181abab9e94964e2027cb039ded6128af1364e1442c418b8703263c9e0c5befeb7aca4d925fb44f3e25e8711a2cc22b198ea00483c42aea3b1c7ba077223d426 DIST mgba-0.8.3.tar.gz 12013512 BLAKE2B 750c1bcb5cfe30e6e0965a16dbdb91b4dbf9f6b1068b7a9c343932c9b7b08c2b6aef4f7f4f38ee5d4e3ebb73d0f55222c78654be777858f36bd452b5f732e76c SHA512 8154cec08f9ab4fc7cedc7988ed8ee320ad07e2958b4fa0620801398081aa4808b61dbafd2e7c4b9ff0edfbb761e013fd7117206e81478a6c09ef91e2a5a diff --git a/games-emulation/mgba/mgba-0.8.1.ebuild b/games-emulation/mgba/mgba-0.8.1.ebuild deleted file mode 100644 index be2689f439b..000 --- a/games-emulation/mgba/mgba-0.8.1.ebuild +++ /dev/null @@ -1,121 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit cmake desktop xdg - -DESCRIPTION="Game Boy Advance emulator written in C" -HOMEPAGE="https://mgba.io"; -if [[ "${PV}" == ]] ; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/mgba-emu/mgba.git"; -else - MY_PV="${PV/_beta/-b}" - SRC_URI="https://github.com/${PN}-emu/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" - [[ "${PV}" == *_beta* ]] || \ - KEYWORDS="~amd64 ~x86" - S="${WORKDIR}/${PN}-${MY_PV}" -fi -LICENSE="MPL-2.0" -SLOT="0" -IUSE="debug discord elf ffmpeg opengl qt5 +sdl sqlite" -REQUIRED_USE="|| ( qt5 sdl ) - qt5? ( opengl )" - -RDEPEND=" - media-libs/libpng:0= - sys-libs/zlib[minizip] - elf? ( dev-libs/elfutils ) - ffmpeg? ( media-video/ffmpeg:= ) - opengl? ( virtual/opengl ) - qt5? ( - dev-qt/qtcore:5 - dev-qt/qtgui:5 - dev-qt/qtmultimedia:5 - dev-qt/qtwidgets:5 - opengl? ( dev-qt/qtopengl:5 ) - ) - sdl? ( media-libs/libsdl2[X,sound,joystick,video,opengl?] ) - sqlite? ( dev-db/sqlite:3 ) -" -DEPEND="${RDEPEND}" - -src_prepare() { - xdg_environment_reset - cmake_src_prepare - - # Get rid of any bundled stuff we don't want - for pkg in libpng lzma sqlite3 zlib ; do - rm -r src/third-party/${pkg} || die - done -} - -src_configure() { - local mycmakeargs=( - -DCMAKE_SKIP_RPATH=ON - -DBUILD_GL="$(usex opengl)" - -DBUILD_PYTHON=OFF - -DBUILD_QT="$(usex qt5)" - -DBUILD_SDL="$(usex sdl)" - -DBUILD_SHARED=ON - # test suite fails to build (>=0.6.0) - -DBUILD_SUITE=OFF - -DBUILD_TEST=OFF - -DM_CORE_GB=ON - -DM_CORE_GBA=ON - -DUSE_DEBUGGERS="$(usex debug)" - -DUSE_DISCORD_RPC="$(usex discord)" - -DUSE_EDITLINE="$(usex debug)" - -DUSE_ELF="$(usex elf)" - -DUSE_EPOXY=OFF - -DUSE_FFMPEG="$(usex ffmpeg)" - -DUSE_GDB_STUB="$(usex debug)" - -DUSE_LIBZIP=OFF - -DUSE_LZMA=OFF - -DUSE_MINIZIP=ON - -DUSE_PNG=ON - -DUSE_SQLITE3="$(usex sqlite)" - -DUSE_ZLIB=ON - ) - cmake_src_configure -} - -src_compile() { - cmake_src_compile -} - -src_install() { - if use qt5 ; then - dobin ../${P}_build/qt/${PN}-qt - doman doc/${PN}-qt.6 - domenu res/${PN}-qt.desktop -
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mgba/
commit: 4128e8397bcb0e53bd612f8c362ae5ee9706b799 Author: Lars Wendler gentoo org> AuthorDate: Tue Aug 4 13:39:27 2020 + Commit: Lars Wendler gentoo org> CommitDate: Tue Aug 4 13:40:58 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4128e839 games-emulation/mgba: Bump to version 0.8.3 Package-Manager: Portage-3.0.1, Repoman-2.3.23 Signed-off-by: Lars Wendler gentoo.org> games-emulation/mgba/Manifest | 1 + games-emulation/mgba/mgba-0.8.3.ebuild | 121 + 2 files changed, 122 insertions(+) diff --git a/games-emulation/mgba/Manifest b/games-emulation/mgba/Manifest index 1bcfa94c2fe..d44c7eccd9f 100644 --- a/games-emulation/mgba/Manifest +++ b/games-emulation/mgba/Manifest @@ -1,3 +1,4 @@ DIST mgba-0.7.3.tar.gz 11228977 BLAKE2B 2b70bb97470558e6c10391b782f0f80e0466b2f16df07971ed378801d359157692ce56c61f4432640ed679d43dc2445a1ea45b3402c1b488fb534213d8594271 SHA512 131f850699f17a7496f7428b85b50f38b99acec4c87d5d28ba4e3af94f095a1b6d177ea731838b2971362b46c52accef9cbec98433ecfaccc080371092c7d789 DIST mgba-0.8.1.tar.gz 11893993 BLAKE2B 0b5db35927111a23defaf33ea67b00613c01302940db8bfe6c21aab4ec39bdb089ddbd6238ca7ccd35010724b058f78cee3ca3cbc6d7fbe0047f25a152b208fa SHA512 7873bde6a74e8a1509a3b5bba602da1c747ca1eff72adcf11f7b2572298d94766570fea0b920cb28c8b63a7d8237a15876b9feb9169edbf331b2d72f340734e2 DIST mgba-0.8.2.tar.gz 12014352 BLAKE2B 5a22d186b2732ba66698ac3fe47cd6ce841ca36ba856e5344948cf14a73aa9368658d94f0e6fb4fd78ae0a454c6d534182ecce221b3b24d62dde511c0aaa02a2 SHA512 181abab9e94964e2027cb039ded6128af1364e1442c418b8703263c9e0c5befeb7aca4d925fb44f3e25e8711a2cc22b198ea00483c42aea3b1c7ba077223d426 +DIST mgba-0.8.3.tar.gz 12013512 BLAKE2B 750c1bcb5cfe30e6e0965a16dbdb91b4dbf9f6b1068b7a9c343932c9b7b08c2b6aef4f7f4f38ee5d4e3ebb73d0f55222c78654be777858f36bd452b5f732e76c SHA512 8154cec08f9ab4fc7cedc7988ed8ee320ad07e2958b4fa0620801398081aa4808b61dbafd2e7c4b9ff0edfbb761e013fd7117206e81478a6c09ef91e2a5a diff --git a/games-emulation/mgba/mgba-0.8.3.ebuild b/games-emulation/mgba/mgba-0.8.3.ebuild new file mode 100644 index 000..b94cca7aa9c --- /dev/null +++ b/games-emulation/mgba/mgba-0.8.3.ebuild @@ -0,0 +1,121 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake desktop xdg + +DESCRIPTION="Game Boy Advance emulator written in C" +HOMEPAGE="https://mgba.io"; +if [[ "${PV}" == ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/mgba-emu/mgba.git"; +else + MY_PV="${PV/_beta/-b}" + SRC_URI="https://github.com/${PN}-emu/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" + [[ "${PV}" == *_beta* ]] || \ + KEYWORDS="~amd64 ~arm64 ~x86" + S="${WORKDIR}/${PN}-${MY_PV}" +fi +LICENSE="MPL-2.0" +SLOT="0" +IUSE="debug discord elf ffmpeg opengl qt5 +sdl sqlite" +REQUIRED_USE="|| ( qt5 sdl ) + qt5? ( opengl )" + +RDEPEND=" + media-libs/libpng:0= + sys-libs/zlib[minizip] + elf? ( dev-libs/elfutils ) + ffmpeg? ( media-video/ffmpeg:= ) + opengl? ( virtual/opengl ) + qt5? ( + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtmultimedia:5 + dev-qt/qtwidgets:5 + opengl? ( dev-qt/qtopengl:5 ) + ) + sdl? ( media-libs/libsdl2[X,sound,joystick,video,opengl?] ) + sqlite? ( dev-db/sqlite:3 ) +" +DEPEND="${RDEPEND}" + +src_prepare() { + xdg_environment_reset + cmake_src_prepare + + # Get rid of any bundled stuff we don't want + for pkg in libpng lzma sqlite3 zlib ; do + rm -r src/third-party/${pkg} || die + done +} + +src_configure() { + local mycmakeargs=( + -DCMAKE_SKIP_RPATH=ON + -DBUILD_GL="$(usex opengl)" + -DBUILD_PYTHON=OFF + -DBUILD_QT="$(usex qt5)" + -DBUILD_SDL="$(usex sdl)" + -DBUILD_SHARED=ON + # test suite fails to build (>=0.6.0) + -DBUILD_SUITE=OFF + -DBUILD_TEST=OFF + -DM_CORE_GB=ON + -DM_CORE_GBA=ON + -DUSE_DEBUGGERS="$(usex debug)" + -DUSE_DISCORD_RPC="$(usex discord)" + -DUSE_EDITLINE="$(usex debug)" + -DUSE_ELF="$(usex elf)" + -DUSE_EPOXY=OFF + -DUSE_FFMPEG="$(usex ffmpeg)" + -DUSE_GDB_STUB="$(usex debug)" + -DUSE_LIBZIP=OFF + -DUSE_LZMA=OFF + -DUSE_MINIZIP=ON + -DUSE_PNG=ON + -DUSE_SQLITE3="$(usex sqlite)" + -DUSE_ZLIB=ON + ) + cmake_src_configure +} + +src_compile() { + cmake_src_compile +} + +src_install() { + if use qt5 ; then + dobin ../${P}_build/qt/${PN}-qt + doman doc/${PN}-qt.6 + domenu res/${PN}-qt.
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mgba/
commit: a2067a227ffa2fc9440dc5b0e61c6057a6aff8a2 Author: Lars Wendler gentoo org> AuthorDate: Tue Aug 4 13:40:10 2020 + Commit: Lars Wendler gentoo org> CommitDate: Tue Aug 4 13:40:59 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a2067a22 games-emulation/mgba: Synced live ebuild Package-Manager: Portage-3.0.1, Repoman-2.3.23 Signed-off-by: Lars Wendler gentoo.org> games-emulation/mgba/mgba-.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/games-emulation/mgba/mgba-.ebuild b/games-emulation/mgba/mgba-.ebuild index be2689f439b..b94cca7aa9c 100644 --- a/games-emulation/mgba/mgba-.ebuild +++ b/games-emulation/mgba/mgba-.ebuild @@ -14,7 +14,7 @@ else MY_PV="${PV/_beta/-b}" SRC_URI="https://github.com/${PN}-emu/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" [[ "${PV}" == *_beta* ]] || \ - KEYWORDS="~amd64 ~x86" + KEYWORDS="~amd64 ~arm64 ~x86" S="${WORKDIR}/${PN}-${MY_PV}" fi LICENSE="MPL-2.0"
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mgba/
commit: 18f44c139bc973e1f7041c290c459ae239b26726 Author: Sam James gentoo org> AuthorDate: Tue Jul 21 22:27:36 2020 + Commit: Sam James gentoo org> CommitDate: Tue Jul 21 22:27:46 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18f44c13 games-emulation/mgba: arm64 keyworded (bug #730442) Package-Manager: Portage-3.0.0, Repoman-2.3.23 Signed-off-by: Sam James gentoo.org> games-emulation/mgba/mgba-0.8.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/games-emulation/mgba/mgba-0.8.2.ebuild b/games-emulation/mgba/mgba-0.8.2.ebuild index be2689f439b..b94cca7aa9c 100644 --- a/games-emulation/mgba/mgba-0.8.2.ebuild +++ b/games-emulation/mgba/mgba-0.8.2.ebuild @@ -14,7 +14,7 @@ else MY_PV="${PV/_beta/-b}" SRC_URI="https://github.com/${PN}-emu/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" [[ "${PV}" == *_beta* ]] || \ - KEYWORDS="~amd64 ~x86" + KEYWORDS="~amd64 ~arm64 ~x86" S="${WORKDIR}/${PN}-${MY_PV}" fi LICENSE="MPL-2.0"
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mgba/files/
commit: d2380bd822a1e3747bc403fff10900ddfb2c44dd Author: Michael Mair-Keimberger gmail com> AuthorDate: Tue Jun 16 18:21:08 2020 + Commit: Aaron Bauman gentoo org> CommitDate: Wed Jun 17 17:49:47 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2380bd8 games-emulation/mgba: remove unused patch(es) Package-Manager: Portage-2.3.100, Repoman-2.3.22 Signed-off-by: Michael Mair-Keimberger gmail.com> Closes: https://github.com/gentoo/gentoo/pull/16277 Signed-off-by: Aaron Bauman gentoo.org> games-emulation/mgba/files/mgba-0.8.0-no_sdl.patch | 50 -- 1 file changed, 50 deletions(-) diff --git a/games-emulation/mgba/files/mgba-0.8.0-no_sdl.patch b/games-emulation/mgba/files/mgba-0.8.0-no_sdl.patch deleted file mode 100644 index d89828976cd..000 --- a/games-emulation/mgba/files/mgba-0.8.0-no_sdl.patch +++ /dev/null @@ -1,50 +0,0 @@ -From aa3403401bfb7259795313603929586bee91ce1b Mon Sep 17 00:00:00 2001 -From: Vicki Pfau -Date: Fri, 31 Jan 2020 18:09:58 -0800 -Subject: [PATCH] Qt: Fix non-SDL build (fixes #1656) - - CHANGES | 3 +++ - src/platform/qt/InputController.cpp | 12 - 2 files changed, 15 insertions(+) - -diff --git a/CHANGES b/CHANGES -index 7aac48d6..6418b059 100644 a/CHANGES -+++ b/CHANGES -@@ -1,3 +1,6 @@ -+Misc: -+ - Qt: Fix non-SDL build (fixes mgba.io/i/1656) -+ - 0.8.0: (2020-01-21) - Features: - - Improved logging configuration -diff --git a/src/platform/qt/InputController.cpp b/src/platform/qt/InputController.cpp -index 77ee0704..c6a598ce 100644 a/src/platform/qt/InputController.cpp -+++ b/src/platform/qt/InputController.cpp -@@ -271,9 +271,21 @@ void InputController::setPreferredGamepad(uint32_t type, int index) { - if (!m_config) { - return; - } -+#ifdef BUILD_SDL - char name[34] = {0}; -+#if SDL_VERSION_ATLEAST(2, 0, 0) - SDL_JoystickGetGUIDString(SDL_JoystickGetGUID(SDL_JoystickListGetPointer(&s_sdlEvents.joysticks, index)->joystick), name, sizeof(name)); -+#else -+ const char* name = SDL_JoystickName(SDL_JoystickIndex(SDL_JoystickListGetPointer(&s_sdlEvents.joysticks, index)->joystick)); -+ if (!name) { -+ return; -+ } -+#endif - mInputSetPreferredDevice(m_config->input(), "gba", type, m_playerId, name); -+#else -+ UNUSED(type); -+ UNUSED(index); -+#endif - } - - mRumble* InputController::rumble() { --- -2.25.0 -
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mgba/
commit: fa71e9a6832a1e4b5dc4022a9f33e243d0d5c4ba Author: Lars Wendler gentoo org> AuthorDate: Mon Jun 15 12:00:38 2020 + Commit: Lars Wendler gentoo org> CommitDate: Mon Jun 15 12:00:38 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa71e9a6 games-emulation/mgba: Removed old Package-Manager: Portage-2.3.101, Repoman-2.3.22 Signed-off-by: Lars Wendler gentoo.org> games-emulation/mgba/Manifest | 1 - games-emulation/mgba/mgba-0.8.0.ebuild | 125 - 2 files changed, 126 deletions(-) diff --git a/games-emulation/mgba/Manifest b/games-emulation/mgba/Manifest index 92699aeb089..1bcfa94c2fe 100644 --- a/games-emulation/mgba/Manifest +++ b/games-emulation/mgba/Manifest @@ -1,4 +1,3 @@ DIST mgba-0.7.3.tar.gz 11228977 BLAKE2B 2b70bb97470558e6c10391b782f0f80e0466b2f16df07971ed378801d359157692ce56c61f4432640ed679d43dc2445a1ea45b3402c1b488fb534213d8594271 SHA512 131f850699f17a7496f7428b85b50f38b99acec4c87d5d28ba4e3af94f095a1b6d177ea731838b2971362b46c52accef9cbec98433ecfaccc080371092c7d789 -DIST mgba-0.8.0.tar.gz 11797469 BLAKE2B ddf1e7fe291c3bab0391a916e2e34b1adc280d6eb40ac730a5b6fe754f947061709103c480658f1fe90f9677a5cc7334200e6b16bc73d22bb178c93e8ef51de8 SHA512 47a267f7998535bbbe1fafb6e2a4d708bdafe9601f7bd50f16f37d79d78a991d49d360a2a571fc6b09ddd21450244a8c0bc37aa08d5e38b4896c25cc6f615bb2 DIST mgba-0.8.1.tar.gz 11893993 BLAKE2B 0b5db35927111a23defaf33ea67b00613c01302940db8bfe6c21aab4ec39bdb089ddbd6238ca7ccd35010724b058f78cee3ca3cbc6d7fbe0047f25a152b208fa SHA512 7873bde6a74e8a1509a3b5bba602da1c747ca1eff72adcf11f7b2572298d94766570fea0b920cb28c8b63a7d8237a15876b9feb9169edbf331b2d72f340734e2 DIST mgba-0.8.2.tar.gz 12014352 BLAKE2B 5a22d186b2732ba66698ac3fe47cd6ce841ca36ba856e5344948cf14a73aa9368658d94f0e6fb4fd78ae0a454c6d534182ecce221b3b24d62dde511c0aaa02a2 SHA512 181abab9e94964e2027cb039ded6128af1364e1442c418b8703263c9e0c5befeb7aca4d925fb44f3e25e8711a2cc22b198ea00483c42aea3b1c7ba077223d426 diff --git a/games-emulation/mgba/mgba-0.8.0.ebuild b/games-emulation/mgba/mgba-0.8.0.ebuild deleted file mode 100644 index c8853a7ffd1..000 --- a/games-emulation/mgba/mgba-0.8.0.ebuild +++ /dev/null @@ -1,125 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit cmake desktop xdg - -DESCRIPTION="Game Boy Advance emulator written in C" -HOMEPAGE="https://mgba.io"; -if [[ "${PV}" == ]] ; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/mgba-emu/mgba.git"; -else - MY_PV="${PV/_beta/-b}" - SRC_URI="https://github.com/${PN}-emu/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" - [[ "${PV}" == *_beta* ]] || \ - KEYWORDS="~amd64 ~x86" - S="${WORKDIR}/${PN}-${MY_PV}" -fi -LICENSE="MPL-2.0" -SLOT="0" -IUSE="debug discord elf ffmpeg opengl qt5 +sdl sqlite" -REQUIRED_USE="|| ( qt5 sdl ) - qt5? ( opengl )" - -RDEPEND=" - media-libs/libpng:0= - sys-libs/zlib[minizip] - elf? ( dev-libs/elfutils ) - ffmpeg? ( media-video/ffmpeg:= ) - opengl? ( virtual/opengl ) - qt5? ( - dev-qt/qtcore:5 - dev-qt/qtgui:5 - dev-qt/qtmultimedia:5 - dev-qt/qtwidgets:5 - opengl? ( dev-qt/qtopengl:5 ) - ) - sdl? ( media-libs/libsdl2[X,sound,joystick,video,opengl?] ) - sqlite? ( dev-db/sqlite:3 ) -" -DEPEND="${RDEPEND}" - -PATCHES=( - "${FILESDIR}/${P}-no_sdl.patch" #707578 -) - -src_prepare() { - xdg_environment_reset - cmake_src_prepare - - # Get rid of any bundled stuff we don't want - for pkg in libpng lzma sqlite3 zlib ; do - rm -r src/third-party/${pkg} || die - done -} - -src_configure() { - local mycmakeargs=( - -DCMAKE_SKIP_RPATH=ON - -DBUILD_GL="$(usex opengl)" - -DBUILD_PYTHON=OFF - -DBUILD_QT="$(usex qt5)" - -DBUILD_SDL="$(usex sdl)" - -DBUILD_SHARED=ON - # test suite fails to build (>=0.6.0) - -DBUILD_SUITE=OFF - -DBUILD_TEST=OFF - -DM_CORE_GB=ON - -DM_CORE_GBA=ON - -DUSE_DEBUGGERS="$(usex debug)" - -DUSE_DISCORD_RPC="$(usex discord)" - -DUSE_EDITLINE="$(usex debug)" - -DUSE_ELF="$(usex elf)" - -DUSE_EPOXY=OFF - -DUSE_FFMPEG="$(usex ffmpeg)" - -DUSE_GDB_STUB="$(usex debug)" - -DUSE_LIBZIP=OFF - -DUSE_LZMA=OFF - -DUSE_MINIZIP=ON - -DUSE_PNG=ON - -DUSE_SQLITE3="$(usex sqlite)" - -DUSE_ZLIB=ON - ) - cmake_src_configure -} - -src_compile() { - cmake_src_compile -} - -src_install() { - if use qt5 ; then - dobin ../${P}_build/qt/${PN}-qt - doman
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mgba/
commit: 1493a9675a87d0d6862f23966838a0693369fecb Author: Lars Wendler gentoo org> AuthorDate: Mon Jun 15 11:59:57 2020 + Commit: Lars Wendler gentoo org> CommitDate: Mon Jun 15 11:59:57 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1493a967 games-emulation/mgba: Bump to version 0.8.2 Package-Manager: Portage-2.3.101, Repoman-2.3.22 Signed-off-by: Lars Wendler gentoo.org> games-emulation/mgba/Manifest | 1 + games-emulation/mgba/mgba-0.8.2.ebuild | 121 + 2 files changed, 122 insertions(+) diff --git a/games-emulation/mgba/Manifest b/games-emulation/mgba/Manifest index 6375536e59d..92699aeb089 100644 --- a/games-emulation/mgba/Manifest +++ b/games-emulation/mgba/Manifest @@ -1,3 +1,4 @@ DIST mgba-0.7.3.tar.gz 11228977 BLAKE2B 2b70bb97470558e6c10391b782f0f80e0466b2f16df07971ed378801d359157692ce56c61f4432640ed679d43dc2445a1ea45b3402c1b488fb534213d8594271 SHA512 131f850699f17a7496f7428b85b50f38b99acec4c87d5d28ba4e3af94f095a1b6d177ea731838b2971362b46c52accef9cbec98433ecfaccc080371092c7d789 DIST mgba-0.8.0.tar.gz 11797469 BLAKE2B ddf1e7fe291c3bab0391a916e2e34b1adc280d6eb40ac730a5b6fe754f947061709103c480658f1fe90f9677a5cc7334200e6b16bc73d22bb178c93e8ef51de8 SHA512 47a267f7998535bbbe1fafb6e2a4d708bdafe9601f7bd50f16f37d79d78a991d49d360a2a571fc6b09ddd21450244a8c0bc37aa08d5e38b4896c25cc6f615bb2 DIST mgba-0.8.1.tar.gz 11893993 BLAKE2B 0b5db35927111a23defaf33ea67b00613c01302940db8bfe6c21aab4ec39bdb089ddbd6238ca7ccd35010724b058f78cee3ca3cbc6d7fbe0047f25a152b208fa SHA512 7873bde6a74e8a1509a3b5bba602da1c747ca1eff72adcf11f7b2572298d94766570fea0b920cb28c8b63a7d8237a15876b9feb9169edbf331b2d72f340734e2 +DIST mgba-0.8.2.tar.gz 12014352 BLAKE2B 5a22d186b2732ba66698ac3fe47cd6ce841ca36ba856e5344948cf14a73aa9368658d94f0e6fb4fd78ae0a454c6d534182ecce221b3b24d62dde511c0aaa02a2 SHA512 181abab9e94964e2027cb039ded6128af1364e1442c418b8703263c9e0c5befeb7aca4d925fb44f3e25e8711a2cc22b198ea00483c42aea3b1c7ba077223d426 diff --git a/games-emulation/mgba/mgba-0.8.2.ebuild b/games-emulation/mgba/mgba-0.8.2.ebuild new file mode 100644 index 000..be2689f439b --- /dev/null +++ b/games-emulation/mgba/mgba-0.8.2.ebuild @@ -0,0 +1,121 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake desktop xdg + +DESCRIPTION="Game Boy Advance emulator written in C" +HOMEPAGE="https://mgba.io"; +if [[ "${PV}" == ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/mgba-emu/mgba.git"; +else + MY_PV="${PV/_beta/-b}" + SRC_URI="https://github.com/${PN}-emu/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" + [[ "${PV}" == *_beta* ]] || \ + KEYWORDS="~amd64 ~x86" + S="${WORKDIR}/${PN}-${MY_PV}" +fi +LICENSE="MPL-2.0" +SLOT="0" +IUSE="debug discord elf ffmpeg opengl qt5 +sdl sqlite" +REQUIRED_USE="|| ( qt5 sdl ) + qt5? ( opengl )" + +RDEPEND=" + media-libs/libpng:0= + sys-libs/zlib[minizip] + elf? ( dev-libs/elfutils ) + ffmpeg? ( media-video/ffmpeg:= ) + opengl? ( virtual/opengl ) + qt5? ( + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtmultimedia:5 + dev-qt/qtwidgets:5 + opengl? ( dev-qt/qtopengl:5 ) + ) + sdl? ( media-libs/libsdl2[X,sound,joystick,video,opengl?] ) + sqlite? ( dev-db/sqlite:3 ) +" +DEPEND="${RDEPEND}" + +src_prepare() { + xdg_environment_reset + cmake_src_prepare + + # Get rid of any bundled stuff we don't want + for pkg in libpng lzma sqlite3 zlib ; do + rm -r src/third-party/${pkg} || die + done +} + +src_configure() { + local mycmakeargs=( + -DCMAKE_SKIP_RPATH=ON + -DBUILD_GL="$(usex opengl)" + -DBUILD_PYTHON=OFF + -DBUILD_QT="$(usex qt5)" + -DBUILD_SDL="$(usex sdl)" + -DBUILD_SHARED=ON + # test suite fails to build (>=0.6.0) + -DBUILD_SUITE=OFF + -DBUILD_TEST=OFF + -DM_CORE_GB=ON + -DM_CORE_GBA=ON + -DUSE_DEBUGGERS="$(usex debug)" + -DUSE_DISCORD_RPC="$(usex discord)" + -DUSE_EDITLINE="$(usex debug)" + -DUSE_ELF="$(usex elf)" + -DUSE_EPOXY=OFF + -DUSE_FFMPEG="$(usex ffmpeg)" + -DUSE_GDB_STUB="$(usex debug)" + -DUSE_LIBZIP=OFF + -DUSE_LZMA=OFF + -DUSE_MINIZIP=ON + -DUSE_PNG=ON + -DUSE_SQLITE3="$(usex sqlite)" + -DUSE_ZLIB=ON + ) + cmake_src_configure +} + +src_compile() { + cmake_src_compile +} + +src_install() { + if use qt5 ; then + dobin ../${P}_build/qt/${PN}-qt + doman doc/${PN}-qt.6 + domenu res/${PN}-qt.deskt
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mgba/
commit: 7bdbc15db645ea29e89786726702c32132f2d7bf Author: Mikle Kolyada gentoo org> AuthorDate: Sat Apr 25 20:11:42 2020 + Commit: Mikle Kolyada gentoo org> CommitDate: Sat Apr 25 20:12:05 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7bdbc15d games-emulation/mgba: migrate from libav Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Mikle Kolyada gentoo.org> games-emulation/mgba/mgba-0.7.3.ebuild | 7 ++- games-emulation/mgba/mgba-0.8.0.ebuild | 7 ++- games-emulation/mgba/mgba-0.8.1.ebuild | 7 ++- games-emulation/mgba/mgba-.ebuild | 7 ++- 4 files changed, 8 insertions(+), 20 deletions(-) diff --git a/games-emulation/mgba/mgba-0.7.3.ebuild b/games-emulation/mgba/mgba-0.7.3.ebuild index 9f37db30463..bf269f2432f 100644 --- a/games-emulation/mgba/mgba-0.7.3.ebuild +++ b/games-emulation/mgba/mgba-0.7.3.ebuild @@ -16,7 +16,7 @@ else fi LICENSE="MPL-2.0" SLOT="0" -IUSE="debug elf ffmpeg imagemagick libav opengl qt5 +sdl sqlite" +IUSE="debug elf ffmpeg imagemagick opengl qt5 +sdl sqlite" REQUIRED_USE="|| ( qt5 sdl ) qt5? ( opengl )" @@ -24,10 +24,7 @@ RDEPEND=" media-libs/libpng:0= sys-libs/zlib[minizip] elf? ( dev-libs/elfutils ) - ffmpeg? ( - libav? ( media-video/libav:= ) - !libav? ( media-video/ffmpeg:= ) - ) + ffmpeg? ( media-video/ffmpeg:= ) imagemagick? ( media-gfx/imagemagick:= ) opengl? ( virtual/opengl ) qt5? ( diff --git a/games-emulation/mgba/mgba-0.8.0.ebuild b/games-emulation/mgba/mgba-0.8.0.ebuild index 15a46f8a700..c8853a7ffd1 100644 --- a/games-emulation/mgba/mgba-0.8.0.ebuild +++ b/games-emulation/mgba/mgba-0.8.0.ebuild @@ -19,7 +19,7 @@ else fi LICENSE="MPL-2.0" SLOT="0" -IUSE="debug discord elf ffmpeg libav opengl qt5 +sdl sqlite" +IUSE="debug discord elf ffmpeg opengl qt5 +sdl sqlite" REQUIRED_USE="|| ( qt5 sdl ) qt5? ( opengl )" @@ -27,10 +27,7 @@ RDEPEND=" media-libs/libpng:0= sys-libs/zlib[minizip] elf? ( dev-libs/elfutils ) - ffmpeg? ( - libav? ( media-video/libav:= ) - !libav? ( media-video/ffmpeg:= ) - ) + ffmpeg? ( media-video/ffmpeg:= ) opengl? ( virtual/opengl ) qt5? ( dev-qt/qtcore:5 diff --git a/games-emulation/mgba/mgba-0.8.1.ebuild b/games-emulation/mgba/mgba-0.8.1.ebuild index 1200fa57ed4..be2689f439b 100644 --- a/games-emulation/mgba/mgba-0.8.1.ebuild +++ b/games-emulation/mgba/mgba-0.8.1.ebuild @@ -19,7 +19,7 @@ else fi LICENSE="MPL-2.0" SLOT="0" -IUSE="debug discord elf ffmpeg libav opengl qt5 +sdl sqlite" +IUSE="debug discord elf ffmpeg opengl qt5 +sdl sqlite" REQUIRED_USE="|| ( qt5 sdl ) qt5? ( opengl )" @@ -27,10 +27,7 @@ RDEPEND=" media-libs/libpng:0= sys-libs/zlib[minizip] elf? ( dev-libs/elfutils ) - ffmpeg? ( - libav? ( media-video/libav:= ) - !libav? ( media-video/ffmpeg:= ) - ) + ffmpeg? ( media-video/ffmpeg:= ) opengl? ( virtual/opengl ) qt5? ( dev-qt/qtcore:5 diff --git a/games-emulation/mgba/mgba-.ebuild b/games-emulation/mgba/mgba-.ebuild index 1200fa57ed4..be2689f439b 100644 --- a/games-emulation/mgba/mgba-.ebuild +++ b/games-emulation/mgba/mgba-.ebuild @@ -19,7 +19,7 @@ else fi LICENSE="MPL-2.0" SLOT="0" -IUSE="debug discord elf ffmpeg libav opengl qt5 +sdl sqlite" +IUSE="debug discord elf ffmpeg opengl qt5 +sdl sqlite" REQUIRED_USE="|| ( qt5 sdl ) qt5? ( opengl )" @@ -27,10 +27,7 @@ RDEPEND=" media-libs/libpng:0= sys-libs/zlib[minizip] elf? ( dev-libs/elfutils ) - ffmpeg? ( - libav? ( media-video/libav:= ) - !libav? ( media-video/ffmpeg:= ) - ) + ffmpeg? ( media-video/ffmpeg:= ) opengl? ( virtual/opengl ) qt5? ( dev-qt/qtcore:5
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mgba/
commit: c7a01d73ac9f6591a578cfc08264637de4511fe7 Author: Lars Wendler gentoo org> AuthorDate: Mon Feb 17 09:58:47 2020 + Commit: Lars Wendler gentoo org> CommitDate: Mon Feb 17 10:12:35 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7a01d73 games-emulation/mgba: Version 0.7.3 stable for amd64 and x86 Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Lars Wendler gentoo.org> games-emulation/mgba/mgba-0.7.3.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/games-emulation/mgba/mgba-0.7.3.ebuild b/games-emulation/mgba/mgba-0.7.3.ebuild index 759399b0d4b..9f37db30463 100644 --- a/games-emulation/mgba/mgba-0.7.3.ebuild +++ b/games-emulation/mgba/mgba-0.7.3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -12,7 +12,7 @@ if [[ "${PV}" == ]] ; then EGIT_REPO_URI="https://github.com/mgba-emu/mgba.git"; else SRC_URI="https://github.com/${PN}-emu/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~x86" + KEYWORDS="amd64 x86" fi LICENSE="MPL-2.0" SLOT="0"
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mgba/
commit: f0d7c30313c2610b3651bf19494391d87401acb3 Author: Lars Wendler gentoo org> AuthorDate: Mon Feb 17 09:57:45 2020 + Commit: Lars Wendler gentoo org> CommitDate: Mon Feb 17 10:12:34 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0d7c303 games-emulation/mgba: Bump to version 0.8.1 Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Lars Wendler gentoo.org> games-emulation/mgba/Manifest | 1 + games-emulation/mgba/mgba-0.8.1.ebuild | 124 + 2 files changed, 125 insertions(+) diff --git a/games-emulation/mgba/Manifest b/games-emulation/mgba/Manifest index 49360de49a2..4907d35f3dd 100644 --- a/games-emulation/mgba/Manifest +++ b/games-emulation/mgba/Manifest @@ -1,3 +1,4 @@ DIST mgba-0.6.3.tar.gz 7442154 BLAKE2B 2b46cf36174ef0a186b1bc71784820e6ddd7754a7cae695a95dcdae96efff58af70dd14faa2f1f6194a23450943d82aed2394f7bf2821ed91bf558eef6ae9c4d SHA512 d646af7869dbcf8df671a75ecfd8c270950c013b826b23b94bacae43a77243786f198725e1b9bf17827d1ffcf6a8eef70091d53ea878bfb2450472485f42f233 DIST mgba-0.7.3.tar.gz 11228977 BLAKE2B 2b70bb97470558e6c10391b782f0f80e0466b2f16df07971ed378801d359157692ce56c61f4432640ed679d43dc2445a1ea45b3402c1b488fb534213d8594271 SHA512 131f850699f17a7496f7428b85b50f38b99acec4c87d5d28ba4e3af94f095a1b6d177ea731838b2971362b46c52accef9cbec98433ecfaccc080371092c7d789 DIST mgba-0.8.0.tar.gz 11797469 BLAKE2B ddf1e7fe291c3bab0391a916e2e34b1adc280d6eb40ac730a5b6fe754f947061709103c480658f1fe90f9677a5cc7334200e6b16bc73d22bb178c93e8ef51de8 SHA512 47a267f7998535bbbe1fafb6e2a4d708bdafe9601f7bd50f16f37d79d78a991d49d360a2a571fc6b09ddd21450244a8c0bc37aa08d5e38b4896c25cc6f615bb2 +DIST mgba-0.8.1.tar.gz 11893993 BLAKE2B 0b5db35927111a23defaf33ea67b00613c01302940db8bfe6c21aab4ec39bdb089ddbd6238ca7ccd35010724b058f78cee3ca3cbc6d7fbe0047f25a152b208fa SHA512 7873bde6a74e8a1509a3b5bba602da1c747ca1eff72adcf11f7b2572298d94766570fea0b920cb28c8b63a7d8237a15876b9feb9169edbf331b2d72f340734e2 diff --git a/games-emulation/mgba/mgba-0.8.1.ebuild b/games-emulation/mgba/mgba-0.8.1.ebuild new file mode 100644 index 000..1200fa57ed4 --- /dev/null +++ b/games-emulation/mgba/mgba-0.8.1.ebuild @@ -0,0 +1,124 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake desktop xdg + +DESCRIPTION="Game Boy Advance emulator written in C" +HOMEPAGE="https://mgba.io"; +if [[ "${PV}" == ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/mgba-emu/mgba.git"; +else + MY_PV="${PV/_beta/-b}" + SRC_URI="https://github.com/${PN}-emu/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" + [[ "${PV}" == *_beta* ]] || \ + KEYWORDS="~amd64 ~x86" + S="${WORKDIR}/${PN}-${MY_PV}" +fi +LICENSE="MPL-2.0" +SLOT="0" +IUSE="debug discord elf ffmpeg libav opengl qt5 +sdl sqlite" +REQUIRED_USE="|| ( qt5 sdl ) + qt5? ( opengl )" + +RDEPEND=" + media-libs/libpng:0= + sys-libs/zlib[minizip] + elf? ( dev-libs/elfutils ) + ffmpeg? ( + libav? ( media-video/libav:= ) + !libav? ( media-video/ffmpeg:= ) + ) + opengl? ( virtual/opengl ) + qt5? ( + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtmultimedia:5 + dev-qt/qtwidgets:5 + opengl? ( dev-qt/qtopengl:5 ) + ) + sdl? ( media-libs/libsdl2[X,sound,joystick,video,opengl?] ) + sqlite? ( dev-db/sqlite:3 ) +" +DEPEND="${RDEPEND}" + +src_prepare() { + xdg_environment_reset + cmake_src_prepare + + # Get rid of any bundled stuff we don't want + for pkg in libpng lzma sqlite3 zlib ; do + rm -r src/third-party/${pkg} || die + done +} + +src_configure() { + local mycmakeargs=( + -DCMAKE_SKIP_RPATH=ON + -DBUILD_GL="$(usex opengl)" + -DBUILD_PYTHON=OFF + -DBUILD_QT="$(usex qt5)" + -DBUILD_SDL="$(usex sdl)" + -DBUILD_SHARED=ON + # test suite fails to build (>=0.6.0) + -DBUILD_SUITE=OFF + -DBUILD_TEST=OFF + -DM_CORE_GB=ON + -DM_CORE_GBA=ON + -DUSE_DEBUGGERS="$(usex debug)" + -DUSE_DISCORD_RPC="$(usex discord)" + -DUSE_EDITLINE="$(usex debug)" + -DUSE_ELF="$(usex elf)" + -DUSE_EPOXY=OFF + -DUSE_FFMPEG="$(usex ffmpeg)" + -DUSE_GDB_STUB="$(usex debug)" + -DUSE_LIBZIP=OFF + -DUSE_LZMA=OFF + -DUSE_MINIZIP=ON + -DUSE_PNG=ON + -DUSE_SQLITE3="$(usex sqlite)" + -DUSE_ZLIB=ON + ) + cmake_src_configure +} + +src_compile() { + cmake_src_compile +} + +src_install() { + if use qt5 ; then + dobin ../${P}_build/qt/
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mgba/, games-emulation/mgba/files/
commit: 6dfe840af64340674835fdf4f346812ef51d9bea Author: Lars Wendler gentoo org> AuthorDate: Mon Feb 17 09:59:26 2020 + Commit: Lars Wendler gentoo org> CommitDate: Mon Feb 17 10:12:35 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6dfe840a games-emulation/mgba: Removed old Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Lars Wendler gentoo.org> games-emulation/mgba/Manifest | 1 - games-emulation/mgba/files/mgba-0.6.3-qt511.patch | 34 -- games-emulation/mgba/mgba-0.6.3.ebuild| 122 -- 3 files changed, 157 deletions(-) diff --git a/games-emulation/mgba/Manifest b/games-emulation/mgba/Manifest index 4907d35f3dd..6375536e59d 100644 --- a/games-emulation/mgba/Manifest +++ b/games-emulation/mgba/Manifest @@ -1,4 +1,3 @@ -DIST mgba-0.6.3.tar.gz 7442154 BLAKE2B 2b46cf36174ef0a186b1bc71784820e6ddd7754a7cae695a95dcdae96efff58af70dd14faa2f1f6194a23450943d82aed2394f7bf2821ed91bf558eef6ae9c4d SHA512 d646af7869dbcf8df671a75ecfd8c270950c013b826b23b94bacae43a77243786f198725e1b9bf17827d1ffcf6a8eef70091d53ea878bfb2450472485f42f233 DIST mgba-0.7.3.tar.gz 11228977 BLAKE2B 2b70bb97470558e6c10391b782f0f80e0466b2f16df07971ed378801d359157692ce56c61f4432640ed679d43dc2445a1ea45b3402c1b488fb534213d8594271 SHA512 131f850699f17a7496f7428b85b50f38b99acec4c87d5d28ba4e3af94f095a1b6d177ea731838b2971362b46c52accef9cbec98433ecfaccc080371092c7d789 DIST mgba-0.8.0.tar.gz 11797469 BLAKE2B ddf1e7fe291c3bab0391a916e2e34b1adc280d6eb40ac730a5b6fe754f947061709103c480658f1fe90f9677a5cc7334200e6b16bc73d22bb178c93e8ef51de8 SHA512 47a267f7998535bbbe1fafb6e2a4d708bdafe9601f7bd50f16f37d79d78a991d49d360a2a571fc6b09ddd21450244a8c0bc37aa08d5e38b4896c25cc6f615bb2 DIST mgba-0.8.1.tar.gz 11893993 BLAKE2B 0b5db35927111a23defaf33ea67b00613c01302940db8bfe6c21aab4ec39bdb089ddbd6238ca7ccd35010724b058f78cee3ca3cbc6d7fbe0047f25a152b208fa SHA512 7873bde6a74e8a1509a3b5bba602da1c747ca1eff72adcf11f7b2572298d94766570fea0b920cb28c8b63a7d8237a15876b9feb9169edbf331b2d72f340734e2 diff --git a/games-emulation/mgba/files/mgba-0.6.3-qt511.patch b/games-emulation/mgba/files/mgba-0.6.3-qt511.patch deleted file mode 100644 index 05368f6e30e..000 --- a/games-emulation/mgba/files/mgba-0.6.3-qt511.patch +++ /dev/null @@ -1,34 +0,0 @@ -From a2b8c4ae807ae92103e14961fd34377b28cbe219 Mon Sep 17 00:00:00 2001 -From: Vicki Pfau -Date: Fri, 25 May 2018 18:04:16 -0700 -Subject: [PATCH] Qt: Fix build with Qt 5.11 - - src/platform/qt/LoadSaveState.cpp | 1 + - src/platform/qt/Window.h | 1 + - 2 files changed, 2 insertions(+) - -diff --git a/src/platform/qt/LoadSaveState.cpp b/src/platform/qt/LoadSaveState.cpp -index a381c3d22..41ddb842e 100644 a/src/platform/qt/LoadSaveState.cpp -+++ b/src/platform/qt/LoadSaveState.cpp -@@ -10,6 +10,7 @@ - #include "GamepadButtonEvent.h" - #include "VFileDevice.h" - -+#include - #include - #include - #include -diff --git a/src/platform/qt/Window.h b/src/platform/qt/Window.h -index c009c7ffa..8ee63907d 100644 a/src/platform/qt/Window.h -+++ b/src/platform/qt/Window.h -@@ -6,6 +6,7 @@ - #ifndef QGBA_WINDOW - #define QGBA_WINDOW - -+#include - #include - #include - #include diff --git a/games-emulation/mgba/mgba-0.6.3.ebuild b/games-emulation/mgba/mgba-0.6.3.ebuild deleted file mode 100644 index fa5245675b2..000 --- a/games-emulation/mgba/mgba-0.6.3.ebuild +++ /dev/null @@ -1,122 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit cmake-utils gnome2-utils xdg-utils - -DESCRIPTION="Game Boy Advance emulator written in C" -HOMEPAGE="https://mgba.io"; -SRC_URI="https://github.com/${PN}-emu/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MPL-2.0" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="debug ffmpeg imagemagick libav opengl qt5 +sdl" -REQUIRED_USE="|| ( qt5 sdl ) - qt5? ( opengl )" - -RDEPEND=" - dev-db/sqlite:3 - media-libs/libpng:0= - sys-libs/zlib[minizip] - ffmpeg? ( - libav? ( media-video/libav:= ) - !libav? ( media-video/ffmpeg:= ) - ) - imagemagick? ( media-gfx/imagemagick:= ) - opengl? ( virtual/opengl ) - qt5? ( - dev-qt/qtcore:5 - dev-qt/qtgui:5 - dev-qt/qtmultimedia:5 - dev-qt/qtwidgets:5 - opengl? ( dev-qt/qtopengl:5 ) - ) - sdl? ( media-libs/libsdl2[X,sound,joystick,video,opengl?] ) -" -DEPEND="${RDEPEND}" - -PATCHES=( - "${FILESDIR}/${P}-qt511.patch" -) - -src_prepare() { - cmake-utils_src_prepare - - # Get rid of any bundled stuff we don't want - for pkg in libpng lzma sqlite3 zlib ; do - rm -r src/third-party/${pkg} || die - done -} - -src_configure() { - local mycmakeargs=( - -DCMAKE_SKIP_RPATH=ON - -DBUILD_GL="$(usex o
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mgba/files/, games-emulation/mgba/
commit: 8136abfbeda3d5b792d2b8a388c466a1da4f7ad0 Author: Lars Wendler gentoo org> AuthorDate: Sat Feb 1 03:03:56 2020 + Commit: Lars Wendler gentoo org> CommitDate: Sat Feb 1 03:11:01 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8136abfb games-emulation/mgba: Fixed build with USE="qt -sdl" Thanks-to: Esteve Varela Colominas gmail.com> Closes: https://bugs.gentoo.org/707578 Package-Manager: Portage-2.3.86, Repoman-2.3.20 Signed-off-by: Lars Wendler gentoo.org> games-emulation/mgba/files/mgba-0.8.0-no_sdl.patch | 50 ++ games-emulation/mgba/mgba-0.8.0.ebuild | 4 ++ 2 files changed, 54 insertions(+) diff --git a/games-emulation/mgba/files/mgba-0.8.0-no_sdl.patch b/games-emulation/mgba/files/mgba-0.8.0-no_sdl.patch new file mode 100644 index 000..d89828976cd --- /dev/null +++ b/games-emulation/mgba/files/mgba-0.8.0-no_sdl.patch @@ -0,0 +1,50 @@ +From aa3403401bfb7259795313603929586bee91ce1b Mon Sep 17 00:00:00 2001 +From: Vicki Pfau +Date: Fri, 31 Jan 2020 18:09:58 -0800 +Subject: [PATCH] Qt: Fix non-SDL build (fixes #1656) + +--- + CHANGES | 3 +++ + src/platform/qt/InputController.cpp | 12 + 2 files changed, 15 insertions(+) + +diff --git a/CHANGES b/CHANGES +index 7aac48d6..6418b059 100644 +--- a/CHANGES b/CHANGES +@@ -1,3 +1,6 @@ ++Misc: ++ - Qt: Fix non-SDL build (fixes mgba.io/i/1656) ++ + 0.8.0: (2020-01-21) + Features: + - Improved logging configuration +diff --git a/src/platform/qt/InputController.cpp b/src/platform/qt/InputController.cpp +index 77ee0704..c6a598ce 100644 +--- a/src/platform/qt/InputController.cpp b/src/platform/qt/InputController.cpp +@@ -271,9 +271,21 @@ void InputController::setPreferredGamepad(uint32_t type, int index) { + if (!m_config) { + return; + } ++#ifdef BUILD_SDL + char name[34] = {0}; ++#if SDL_VERSION_ATLEAST(2, 0, 0) + SDL_JoystickGetGUIDString(SDL_JoystickGetGUID(SDL_JoystickListGetPointer(&s_sdlEvents.joysticks, index)->joystick), name, sizeof(name)); ++#else ++ const char* name = SDL_JoystickName(SDL_JoystickIndex(SDL_JoystickListGetPointer(&s_sdlEvents.joysticks, index)->joystick)); ++ if (!name) { ++ return; ++ } ++#endif + mInputSetPreferredDevice(m_config->input(), "gba", type, m_playerId, name); ++#else ++ UNUSED(type); ++ UNUSED(index); ++#endif + } + + mRumble* InputController::rumble() { +-- +2.25.0 + diff --git a/games-emulation/mgba/mgba-0.8.0.ebuild b/games-emulation/mgba/mgba-0.8.0.ebuild index 3543aa68ebf..cc49129ae05 100644 --- a/games-emulation/mgba/mgba-0.8.0.ebuild +++ b/games-emulation/mgba/mgba-0.8.0.ebuild @@ -44,6 +44,10 @@ RDEPEND=" " DEPEND="${RDEPEND}" +PATCHES=( + "${FILESDIR}/${P}-no_sdl.patch" #707578 +) + src_prepare() { xdg_environment_reset cmake_src_prepare
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mgba/
commit: e34e279d5d5dee9ab8661490a2ab6b881be0d9e7 Author: Lars Wendler gentoo org> AuthorDate: Sat Feb 1 03:08:53 2020 + Commit: Lars Wendler gentoo org> CommitDate: Sat Feb 1 03:11:01 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e34e279d games-emulation/mgba: Added "discord" USE flag Thanks-to: Esteve Varela Colominas gmail.com> Closes: https://bugs.gentoo.org/707576 Package-Manager: Portage-2.3.86, Repoman-2.3.20 Signed-off-by: Lars Wendler gentoo.org> games-emulation/mgba/metadata.xml | 1 + games-emulation/mgba/mgba-0.8.0.ebuild | 3 ++- games-emulation/mgba/mgba-.ebuild | 3 ++- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/games-emulation/mgba/metadata.xml b/games-emulation/mgba/metadata.xml index ef2909f744e..d65ffa04f67 100644 --- a/games-emulation/mgba/metadata.xml +++ b/games-emulation/mgba/metadata.xml @@ -6,6 +6,7 @@ Lars Wendler +Enable Discord RPC support Enable the use of elf utils via dev-libs/elfutils diff --git a/games-emulation/mgba/mgba-0.8.0.ebuild b/games-emulation/mgba/mgba-0.8.0.ebuild index cc49129ae05..15a46f8a700 100644 --- a/games-emulation/mgba/mgba-0.8.0.ebuild +++ b/games-emulation/mgba/mgba-0.8.0.ebuild @@ -19,7 +19,7 @@ else fi LICENSE="MPL-2.0" SLOT="0" -IUSE="debug elf ffmpeg libav opengl qt5 +sdl sqlite" +IUSE="debug discord elf ffmpeg libav opengl qt5 +sdl sqlite" REQUIRED_USE="|| ( qt5 sdl ) qt5? ( opengl )" @@ -72,6 +72,7 @@ src_configure() { -DM_CORE_GB=ON -DM_CORE_GBA=ON -DUSE_DEBUGGERS="$(usex debug)" + -DUSE_DISCORD_RPC="$(usex discord)" -DUSE_EDITLINE="$(usex debug)" -DUSE_ELF="$(usex elf)" -DUSE_EPOXY=OFF diff --git a/games-emulation/mgba/mgba-.ebuild b/games-emulation/mgba/mgba-.ebuild index 3543aa68ebf..1200fa57ed4 100644 --- a/games-emulation/mgba/mgba-.ebuild +++ b/games-emulation/mgba/mgba-.ebuild @@ -19,7 +19,7 @@ else fi LICENSE="MPL-2.0" SLOT="0" -IUSE="debug elf ffmpeg libav opengl qt5 +sdl sqlite" +IUSE="debug discord elf ffmpeg libav opengl qt5 +sdl sqlite" REQUIRED_USE="|| ( qt5 sdl ) qt5? ( opengl )" @@ -68,6 +68,7 @@ src_configure() { -DM_CORE_GB=ON -DM_CORE_GBA=ON -DUSE_DEBUGGERS="$(usex debug)" + -DUSE_DISCORD_RPC="$(usex discord)" -DUSE_EDITLINE="$(usex debug)" -DUSE_ELF="$(usex elf)" -DUSE_EPOXY=OFF
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mgba/
commit: 070443680170053d86b5ac97e19aaff55e20d668 Author: Lars Wendler gentoo org> AuthorDate: Mon Jan 27 12:31:32 2020 + Commit: Lars Wendler gentoo org> CommitDate: Mon Jan 27 12:31:49 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07044368 games-emulation/mgba: Synced live ebuild Package-Manager: Portage-2.3.85, Repoman-2.3.20 Signed-off-by: Lars Wendler gentoo.org> games-emulation/mgba/mgba-.ebuild | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/games-emulation/mgba/mgba-.ebuild b/games-emulation/mgba/mgba-.ebuild index 035f986d302..3543aa68ebf 100644 --- a/games-emulation/mgba/mgba-.ebuild +++ b/games-emulation/mgba/mgba-.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -19,7 +19,7 @@ else fi LICENSE="MPL-2.0" SLOT="0" -IUSE="debug elf ffmpeg imagemagick libav opengl qt5 +sdl sqlite" +IUSE="debug elf ffmpeg libav opengl qt5 +sdl sqlite" REQUIRED_USE="|| ( qt5 sdl ) qt5? ( opengl )" @@ -31,7 +31,6 @@ RDEPEND=" libav? ( media-video/libav:= ) !libav? ( media-video/ffmpeg:= ) ) - imagemagick? ( media-gfx/imagemagick:= ) opengl? ( virtual/opengl ) qt5? ( dev-qt/qtcore:5 @@ -76,7 +75,6 @@ src_configure() { -DUSE_GDB_STUB="$(usex debug)" -DUSE_LIBZIP=OFF -DUSE_LZMA=OFF - -DUSE_MAGICK="$(usex imagemagick)" -DUSE_MINIZIP=ON -DUSE_PNG=ON -DUSE_SQLITE3="$(usex sqlite)"
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mgba/
commit: e32ae64a19a08f5002e3eb7f2541c0195ed07496 Author: Lars Wendler gentoo org> AuthorDate: Mon Jan 27 12:30:11 2020 + Commit: Lars Wendler gentoo org> CommitDate: Mon Jan 27 12:31:48 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e32ae64a games-emulation/mgba: Bump to version 0.8.0. Removed old Package-Manager: Portage-2.3.85, Repoman-2.3.20 Signed-off-by: Lars Wendler gentoo.org> games-emulation/mgba/Manifest | 2 +- games-emulation/mgba/{mgba-0.8_beta1.ebuild => mgba-0.8.0.ebuild} | 6 ++ 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/games-emulation/mgba/Manifest b/games-emulation/mgba/Manifest index 1483d924a02..49360de49a2 100644 --- a/games-emulation/mgba/Manifest +++ b/games-emulation/mgba/Manifest @@ -1,3 +1,3 @@ DIST mgba-0.6.3.tar.gz 7442154 BLAKE2B 2b46cf36174ef0a186b1bc71784820e6ddd7754a7cae695a95dcdae96efff58af70dd14faa2f1f6194a23450943d82aed2394f7bf2821ed91bf558eef6ae9c4d SHA512 d646af7869dbcf8df671a75ecfd8c270950c013b826b23b94bacae43a77243786f198725e1b9bf17827d1ffcf6a8eef70091d53ea878bfb2450472485f42f233 DIST mgba-0.7.3.tar.gz 11228977 BLAKE2B 2b70bb97470558e6c10391b782f0f80e0466b2f16df07971ed378801d359157692ce56c61f4432640ed679d43dc2445a1ea45b3402c1b488fb534213d8594271 SHA512 131f850699f17a7496f7428b85b50f38b99acec4c87d5d28ba4e3af94f095a1b6d177ea731838b2971362b46c52accef9cbec98433ecfaccc080371092c7d789 -DIST mgba-0.8_beta1.tar.gz 11709751 BLAKE2B 5e09bc3de69b5c41a2cfe39fc302f3fc9d9f2d381b0ca72b24b8d3c82d21a7d900d7b6a78a1ea17a456d4cfe3be6bcfce3a46efcfbb43ee4e0e581eca68f9c71 SHA512 1a69b9826f72260fc56c3615951fda33b617898b9e459142f9d6ac3c1c07a2d668eb91e6776047665f999a013619887b55e0491a95b6708f71ab63bfbe02728a +DIST mgba-0.8.0.tar.gz 11797469 BLAKE2B ddf1e7fe291c3bab0391a916e2e34b1adc280d6eb40ac730a5b6fe754f947061709103c480658f1fe90f9677a5cc7334200e6b16bc73d22bb178c93e8ef51de8 SHA512 47a267f7998535bbbe1fafb6e2a4d708bdafe9601f7bd50f16f37d79d78a991d49d360a2a571fc6b09ddd21450244a8c0bc37aa08d5e38b4896c25cc6f615bb2 diff --git a/games-emulation/mgba/mgba-0.8_beta1.ebuild b/games-emulation/mgba/mgba-0.8.0.ebuild similarity index 92% rename from games-emulation/mgba/mgba-0.8_beta1.ebuild rename to games-emulation/mgba/mgba-0.8.0.ebuild index 035f986d302..3543aa68ebf 100644 --- a/games-emulation/mgba/mgba-0.8_beta1.ebuild +++ b/games-emulation/mgba/mgba-0.8.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -19,7 +19,7 @@ else fi LICENSE="MPL-2.0" SLOT="0" -IUSE="debug elf ffmpeg imagemagick libav opengl qt5 +sdl sqlite" +IUSE="debug elf ffmpeg libav opengl qt5 +sdl sqlite" REQUIRED_USE="|| ( qt5 sdl ) qt5? ( opengl )" @@ -31,7 +31,6 @@ RDEPEND=" libav? ( media-video/libav:= ) !libav? ( media-video/ffmpeg:= ) ) - imagemagick? ( media-gfx/imagemagick:= ) opengl? ( virtual/opengl ) qt5? ( dev-qt/qtcore:5 @@ -76,7 +75,6 @@ src_configure() { -DUSE_GDB_STUB="$(usex debug)" -DUSE_LIBZIP=OFF -DUSE_LZMA=OFF - -DUSE_MAGICK="$(usex imagemagick)" -DUSE_MINIZIP=ON -DUSE_PNG=ON -DUSE_SQLITE3="$(usex sqlite)"
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mgba/
commit: b0e3073cd933246ac6eb24428bc988d051cc8769 Author: Lars Wendler gentoo org> AuthorDate: Tue Dec 10 09:08:56 2019 + Commit: Lars Wendler gentoo org> CommitDate: Tue Dec 10 09:10:23 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0e3073c games-emulation/mgba: Bump to version 0.8_beta1 Package-Manager: Portage-2.3.81, Repoman-2.3.20 Signed-off-by: Lars Wendler gentoo.org> games-emulation/mgba/Manifest | 1 + games-emulation/mgba/mgba-0.8_beta1.ebuild | 125 + 2 files changed, 126 insertions(+) diff --git a/games-emulation/mgba/Manifest b/games-emulation/mgba/Manifest index fce7a0cb25a..4b4ab535b39 100644 --- a/games-emulation/mgba/Manifest +++ b/games-emulation/mgba/Manifest @@ -1,3 +1,4 @@ DIST mgba-0.6.3.tar.gz 7442154 BLAKE2B 2b46cf36174ef0a186b1bc71784820e6ddd7754a7cae695a95dcdae96efff58af70dd14faa2f1f6194a23450943d82aed2394f7bf2821ed91bf558eef6ae9c4d SHA512 d646af7869dbcf8df671a75ecfd8c270950c013b826b23b94bacae43a77243786f198725e1b9bf17827d1ffcf6a8eef70091d53ea878bfb2450472485f42f233 DIST mgba-0.7.2.tar.gz 11255680 BLAKE2B 8d94edbc8ce6426d9f70dbab70f3e99cb18714db1646e07b5e8cde246379ea6ee761b035cdfa946e718ce869084bf957dc39309dc6b20fe400722633e4cb7f13 SHA512 e63519299358ef73939d07012cd6880478d4e5b1e6161c42bcbe36e5207af3dcbe4c147fd1a94432ddbe5fbdf5d2c9755d90984ea800bf9d9860d7f806f996cd DIST mgba-0.7.3.tar.gz 11228977 BLAKE2B 2b70bb97470558e6c10391b782f0f80e0466b2f16df07971ed378801d359157692ce56c61f4432640ed679d43dc2445a1ea45b3402c1b488fb534213d8594271 SHA512 131f850699f17a7496f7428b85b50f38b99acec4c87d5d28ba4e3af94f095a1b6d177ea731838b2971362b46c52accef9cbec98433ecfaccc080371092c7d789 +DIST mgba-0.8_beta1.tar.gz 11709751 BLAKE2B 5e09bc3de69b5c41a2cfe39fc302f3fc9d9f2d381b0ca72b24b8d3c82d21a7d900d7b6a78a1ea17a456d4cfe3be6bcfce3a46efcfbb43ee4e0e581eca68f9c71 SHA512 1a69b9826f72260fc56c3615951fda33b617898b9e459142f9d6ac3c1c07a2d668eb91e6776047665f999a013619887b55e0491a95b6708f71ab63bfbe02728a diff --git a/games-emulation/mgba/mgba-0.8_beta1.ebuild b/games-emulation/mgba/mgba-0.8_beta1.ebuild new file mode 100644 index 000..014fe2c0a7c --- /dev/null +++ b/games-emulation/mgba/mgba-0.8_beta1.ebuild @@ -0,0 +1,125 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake-utils desktop xdg + +DESCRIPTION="Game Boy Advance emulator written in C" +HOMEPAGE="https://mgba.io"; +if [[ "${PV}" == ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/mgba-emu/mgba.git"; +else + MY_PV="${PV/_beta/-b}" + SRC_URI="https://github.com/${PN}-emu/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" + [[ "${PV}" == *_beta* ]] || \ + KEYWORDS="~amd64 ~x86" + S="${WORKDIR}/${PN}-${MY_PV}" +fi +LICENSE="MPL-2.0" +SLOT="0" +IUSE="debug elf ffmpeg imagemagick libav opengl qt5 +sdl sqlite" +REQUIRED_USE="|| ( qt5 sdl ) + qt5? ( opengl )" + +RDEPEND=" + media-libs/libpng:0= + sys-libs/zlib[minizip] + elf? ( dev-libs/elfutils ) + ffmpeg? ( + libav? ( media-video/libav:= ) + !libav? ( media-video/ffmpeg:= ) + ) + imagemagick? ( media-gfx/imagemagick:= ) + opengl? ( virtual/opengl ) + qt5? ( + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtmultimedia:5 + dev-qt/qtwidgets:5 + opengl? ( dev-qt/qtopengl:5 ) + ) + sdl? ( media-libs/libsdl2[X,sound,joystick,video,opengl?] ) + sqlite? ( dev-db/sqlite:3 ) +" +DEPEND="${RDEPEND}" + +src_prepare() { + xdg_environment_reset + cmake-utils_src_prepare + + # Get rid of any bundled stuff we don't want + for pkg in libpng lzma sqlite3 zlib ; do + rm -r src/third-party/${pkg} || die + done +} + +src_configure() { + local mycmakeargs=( + -DCMAKE_SKIP_RPATH=ON + -DBUILD_GL="$(usex opengl)" + -DBUILD_PYTHON=OFF + -DBUILD_QT="$(usex qt5)" + -DBUILD_SDL="$(usex sdl)" + -DBUILD_SHARED=ON + # test suite fails to build (>=0.6.0) + -DBUILD_SUITE=OFF + -DBUILD_TEST=OFF + -DM_CORE_GB=ON + -DM_CORE_GBA=ON + -DUSE_DEBUGGERS="$(usex debug)" + -DUSE_EDITLINE="$(usex debug)" + -DUSE_ELF="$(usex elf)" + -DUSE_EPOXY=OFF + -DUSE_FFMPEG="$(usex ffmpeg)" + -DUSE_GDB_STUB="$(usex debug)" + -DUSE_LIBZIP=OFF + -DUSE_LZMA=OFF + -DUSE_MAGICK="$(usex imagemagick)" + -DUSE_MINIZIP=ON + -DUSE_PNG=ON + -DUSE_SQLITE3="$(usex sqlite)" + -DUSE_ZLIB=ON + ) + cmake-utils_src_configure +} + +src_compile() { + cmake-utils
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mgba/
commit: 4d0317b9a8ec30239505d2d402e556702dff6970 Author: Lars Wendler gentoo org> AuthorDate: Tue Dec 10 09:10:06 2019 + Commit: Lars Wendler gentoo org> CommitDate: Tue Dec 10 09:10:24 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d0317b9 games-emulation/mgba: Removed old Package-Manager: Portage-2.3.81, Repoman-2.3.20 Signed-off-by: Lars Wendler gentoo.org> games-emulation/mgba/Manifest | 1 - games-emulation/mgba/mgba-0.7.2.ebuild | 118 - 2 files changed, 119 deletions(-) diff --git a/games-emulation/mgba/Manifest b/games-emulation/mgba/Manifest index 4b4ab535b39..1483d924a02 100644 --- a/games-emulation/mgba/Manifest +++ b/games-emulation/mgba/Manifest @@ -1,4 +1,3 @@ DIST mgba-0.6.3.tar.gz 7442154 BLAKE2B 2b46cf36174ef0a186b1bc71784820e6ddd7754a7cae695a95dcdae96efff58af70dd14faa2f1f6194a23450943d82aed2394f7bf2821ed91bf558eef6ae9c4d SHA512 d646af7869dbcf8df671a75ecfd8c270950c013b826b23b94bacae43a77243786f198725e1b9bf17827d1ffcf6a8eef70091d53ea878bfb2450472485f42f233 -DIST mgba-0.7.2.tar.gz 11255680 BLAKE2B 8d94edbc8ce6426d9f70dbab70f3e99cb18714db1646e07b5e8cde246379ea6ee761b035cdfa946e718ce869084bf957dc39309dc6b20fe400722633e4cb7f13 SHA512 e63519299358ef73939d07012cd6880478d4e5b1e6161c42bcbe36e5207af3dcbe4c147fd1a94432ddbe5fbdf5d2c9755d90984ea800bf9d9860d7f806f996cd DIST mgba-0.7.3.tar.gz 11228977 BLAKE2B 2b70bb97470558e6c10391b782f0f80e0466b2f16df07971ed378801d359157692ce56c61f4432640ed679d43dc2445a1ea45b3402c1b488fb534213d8594271 SHA512 131f850699f17a7496f7428b85b50f38b99acec4c87d5d28ba4e3af94f095a1b6d177ea731838b2971362b46c52accef9cbec98433ecfaccc080371092c7d789 DIST mgba-0.8_beta1.tar.gz 11709751 BLAKE2B 5e09bc3de69b5c41a2cfe39fc302f3fc9d9f2d381b0ca72b24b8d3c82d21a7d900d7b6a78a1ea17a456d4cfe3be6bcfce3a46efcfbb43ee4e0e581eca68f9c71 SHA512 1a69b9826f72260fc56c3615951fda33b617898b9e459142f9d6ac3c1c07a2d668eb91e6776047665f999a013619887b55e0491a95b6708f71ab63bfbe02728a diff --git a/games-emulation/mgba/mgba-0.7.2.ebuild b/games-emulation/mgba/mgba-0.7.2.ebuild deleted file mode 100644 index c5f2c50a592..000 --- a/games-emulation/mgba/mgba-0.7.2.ebuild +++ /dev/null @@ -1,118 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit cmake-utils desktop xdg - -DESCRIPTION="Game Boy Advance emulator written in C" -HOMEPAGE="https://mgba.io"; -SRC_URI="https://github.com/${PN}-emu/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MPL-2.0" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="debug elf ffmpeg imagemagick libav opengl qt5 +sdl sqlite" -REQUIRED_USE="|| ( qt5 sdl ) - qt5? ( opengl )" - -RDEPEND=" - media-libs/libpng:0= - sys-libs/zlib[minizip] - elf? ( dev-libs/elfutils ) - ffmpeg? ( - libav? ( media-video/libav:= ) - !libav? ( media-video/ffmpeg:= ) - ) - imagemagick? ( media-gfx/imagemagick:= ) - opengl? ( virtual/opengl ) - qt5? ( - dev-qt/qtcore:5 - dev-qt/qtgui:5 - dev-qt/qtmultimedia:5 - dev-qt/qtwidgets:5 - opengl? ( dev-qt/qtopengl:5 ) - ) - sdl? ( media-libs/libsdl2[X,sound,joystick,video,opengl?] ) - sqlite? ( dev-db/sqlite:3 ) -" -DEPEND="${RDEPEND}" - -src_prepare() { - xdg_environment_reset - cmake-utils_src_prepare - - # Get rid of any bundled stuff we don't want - for pkg in libpng lzma sqlite3 zlib ; do - rm -r src/third-party/${pkg} || die - done -} - -src_configure() { - local mycmakeargs=( - -DCMAKE_SKIP_RPATH=ON - -DBUILD_GL="$(usex opengl)" - -DBUILD_PYTHON=OFF - -DBUILD_QT="$(usex qt5)" - -DBUILD_SDL="$(usex sdl)" - -DBUILD_SHARED=ON - # test suite fails to build (>=0.6.0) - -DBUILD_SUITE=OFF - -DBUILD_TEST=OFF - -DM_CORE_GB=ON - -DM_CORE_GBA=ON - -DUSE_DEBUGGERS="$(usex debug)" - -DUSE_EDITLINE="$(usex debug)" - -DUSE_ELF="$(usex elf)" - -DUSE_EPOXY=OFF - -DUSE_FFMPEG="$(usex ffmpeg)" - -DUSE_GDB_STUB="$(usex debug)" - -DUSE_LIBZIP=OFF - -DUSE_LZMA=OFF - -DUSE_MAGICK="$(usex imagemagick)" - -DUSE_MINIZIP=ON - -DUSE_PNG=ON - -DUSE_SQLITE3="$(usex sqlite)" - -DUSE_ZLIB=ON - ) - cmake-utils_src_configure -} - -src_compile() { - cmake-utils_src_compile -} - -src_install() { - if use qt5 ; then - dobin ../${P}_build/qt/${PN}-qt - doman doc/${PN}-qt.6 - domenu res/${PN}-qt.desktop - for size in 16 24 32 48 64 96 128 256 ; do - newi
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mgba/
commit: 2b52f441661f85eafd9245084d51c4424acdfe55 Author: Lars Wendler gentoo org> AuthorDate: Tue Dec 10 09:09:39 2019 + Commit: Lars Wendler gentoo org> CommitDate: Tue Dec 10 09:10:23 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b52f441 games-emulation/mgba: Synced live ebuild Package-Manager: Portage-2.3.81, Repoman-2.3.20 Signed-off-by: Lars Wendler gentoo.org> games-emulation/mgba/mgba-.ebuild | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/games-emulation/mgba/mgba-.ebuild b/games-emulation/mgba/mgba-.ebuild index 013c485228b..014fe2c0a7c 100644 --- a/games-emulation/mgba/mgba-.ebuild +++ b/games-emulation/mgba/mgba-.ebuild @@ -11,8 +11,11 @@ if [[ "${PV}" == ]] ; then inherit git-r3 EGIT_REPO_URI="https://github.com/mgba-emu/mgba.git"; else - SRC_URI="https://github.com/${PN}-emu/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + MY_PV="${PV/_beta/-b}" + SRC_URI="https://github.com/${PN}-emu/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" + [[ "${PV}" == *_beta* ]] || \ KEYWORDS="~amd64 ~x86" + S="${WORKDIR}/${PN}-${MY_PV}" fi LICENSE="MPL-2.0" SLOT="0"
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mgba/
commit: 6be83b271c6f44e0c59a608e19a41f9c70f86e0f Author: Lars Wendler gentoo org> AuthorDate: Wed Sep 25 22:33:06 2019 + Commit: Lars Wendler gentoo org> CommitDate: Wed Sep 25 22:38:35 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6be83b27 games-emulation/mgba: Removed old Package-Manager: Portage-2.3.76, Repoman-2.3.17 Signed-off-by: Lars Wendler gentoo.org> games-emulation/mgba/Manifest | 1 - games-emulation/mgba/mgba-0.7.1.ebuild | 118 - 2 files changed, 119 deletions(-) diff --git a/games-emulation/mgba/Manifest b/games-emulation/mgba/Manifest index 3dd1cdb9c5a..fce7a0cb25a 100644 --- a/games-emulation/mgba/Manifest +++ b/games-emulation/mgba/Manifest @@ -1,4 +1,3 @@ DIST mgba-0.6.3.tar.gz 7442154 BLAKE2B 2b46cf36174ef0a186b1bc71784820e6ddd7754a7cae695a95dcdae96efff58af70dd14faa2f1f6194a23450943d82aed2394f7bf2821ed91bf558eef6ae9c4d SHA512 d646af7869dbcf8df671a75ecfd8c270950c013b826b23b94bacae43a77243786f198725e1b9bf17827d1ffcf6a8eef70091d53ea878bfb2450472485f42f233 -DIST mgba-0.7.1.tar.gz 11054044 BLAKE2B 910d6ddfbbe1680b07cee519ff27814401093a9a157bea516e55a4881561b5d67992af6274b2a4e431ace879cfce04d58eb9eae243b26c50d94f1ab3ec591cb7 SHA512 91aa66a9140e250ccd6f4790c2ed4977248bccda3b499bd48c61b01aedbdd93e947f5505dee7c30b21beb39723fc321cdbdb6953df8292a193e0fbb9161a8ae5 DIST mgba-0.7.2.tar.gz 11255680 BLAKE2B 8d94edbc8ce6426d9f70dbab70f3e99cb18714db1646e07b5e8cde246379ea6ee761b035cdfa946e718ce869084bf957dc39309dc6b20fe400722633e4cb7f13 SHA512 e63519299358ef73939d07012cd6880478d4e5b1e6161c42bcbe36e5207af3dcbe4c147fd1a94432ddbe5fbdf5d2c9755d90984ea800bf9d9860d7f806f996cd DIST mgba-0.7.3.tar.gz 11228977 BLAKE2B 2b70bb97470558e6c10391b782f0f80e0466b2f16df07971ed378801d359157692ce56c61f4432640ed679d43dc2445a1ea45b3402c1b488fb534213d8594271 SHA512 131f850699f17a7496f7428b85b50f38b99acec4c87d5d28ba4e3af94f095a1b6d177ea731838b2971362b46c52accef9cbec98433ecfaccc080371092c7d789 diff --git a/games-emulation/mgba/mgba-0.7.1.ebuild b/games-emulation/mgba/mgba-0.7.1.ebuild deleted file mode 100644 index c5f2c50a592..000 --- a/games-emulation/mgba/mgba-0.7.1.ebuild +++ /dev/null @@ -1,118 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit cmake-utils desktop xdg - -DESCRIPTION="Game Boy Advance emulator written in C" -HOMEPAGE="https://mgba.io"; -SRC_URI="https://github.com/${PN}-emu/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MPL-2.0" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="debug elf ffmpeg imagemagick libav opengl qt5 +sdl sqlite" -REQUIRED_USE="|| ( qt5 sdl ) - qt5? ( opengl )" - -RDEPEND=" - media-libs/libpng:0= - sys-libs/zlib[minizip] - elf? ( dev-libs/elfutils ) - ffmpeg? ( - libav? ( media-video/libav:= ) - !libav? ( media-video/ffmpeg:= ) - ) - imagemagick? ( media-gfx/imagemagick:= ) - opengl? ( virtual/opengl ) - qt5? ( - dev-qt/qtcore:5 - dev-qt/qtgui:5 - dev-qt/qtmultimedia:5 - dev-qt/qtwidgets:5 - opengl? ( dev-qt/qtopengl:5 ) - ) - sdl? ( media-libs/libsdl2[X,sound,joystick,video,opengl?] ) - sqlite? ( dev-db/sqlite:3 ) -" -DEPEND="${RDEPEND}" - -src_prepare() { - xdg_environment_reset - cmake-utils_src_prepare - - # Get rid of any bundled stuff we don't want - for pkg in libpng lzma sqlite3 zlib ; do - rm -r src/third-party/${pkg} || die - done -} - -src_configure() { - local mycmakeargs=( - -DCMAKE_SKIP_RPATH=ON - -DBUILD_GL="$(usex opengl)" - -DBUILD_PYTHON=OFF - -DBUILD_QT="$(usex qt5)" - -DBUILD_SDL="$(usex sdl)" - -DBUILD_SHARED=ON - # test suite fails to build (>=0.6.0) - -DBUILD_SUITE=OFF - -DBUILD_TEST=OFF - -DM_CORE_GB=ON - -DM_CORE_GBA=ON - -DUSE_DEBUGGERS="$(usex debug)" - -DUSE_EDITLINE="$(usex debug)" - -DUSE_ELF="$(usex elf)" - -DUSE_EPOXY=OFF - -DUSE_FFMPEG="$(usex ffmpeg)" - -DUSE_GDB_STUB="$(usex debug)" - -DUSE_LIBZIP=OFF - -DUSE_LZMA=OFF - -DUSE_MAGICK="$(usex imagemagick)" - -DUSE_MINIZIP=ON - -DUSE_PNG=ON - -DUSE_SQLITE3="$(usex sqlite)" - -DUSE_ZLIB=ON - ) - cmake-utils_src_configure -} - -src_compile() { - cmake-utils_src_compile -} - -src_install() { - if use qt5 ; then - dobin ../${P}_build/qt/${PN}-qt - doman doc/${PN}-qt.6 - domenu res/${PN}-qt.desktop - for size in 16 24 32 48 64 96 128 256 ; do - newicon
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mgba/
commit: 443061928e3332ba428e51d2b09c7f1525972b7f Author: Lars Wendler gentoo org> AuthorDate: Wed Sep 25 22:31:53 2019 + Commit: Lars Wendler gentoo org> CommitDate: Wed Sep 25 22:38:34 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44306192 games-emulation/mgba: Bump to version 0.7.3 Package-Manager: Portage-2.3.76, Repoman-2.3.17 Signed-off-by: Lars Wendler gentoo.org> games-emulation/mgba/Manifest | 1 + games-emulation/mgba/mgba-0.7.3.ebuild | 122 + 2 files changed, 123 insertions(+) diff --git a/games-emulation/mgba/Manifest b/games-emulation/mgba/Manifest index 36f54c69e0a..3dd1cdb9c5a 100644 --- a/games-emulation/mgba/Manifest +++ b/games-emulation/mgba/Manifest @@ -1,3 +1,4 @@ DIST mgba-0.6.3.tar.gz 7442154 BLAKE2B 2b46cf36174ef0a186b1bc71784820e6ddd7754a7cae695a95dcdae96efff58af70dd14faa2f1f6194a23450943d82aed2394f7bf2821ed91bf558eef6ae9c4d SHA512 d646af7869dbcf8df671a75ecfd8c270950c013b826b23b94bacae43a77243786f198725e1b9bf17827d1ffcf6a8eef70091d53ea878bfb2450472485f42f233 DIST mgba-0.7.1.tar.gz 11054044 BLAKE2B 910d6ddfbbe1680b07cee519ff27814401093a9a157bea516e55a4881561b5d67992af6274b2a4e431ace879cfce04d58eb9eae243b26c50d94f1ab3ec591cb7 SHA512 91aa66a9140e250ccd6f4790c2ed4977248bccda3b499bd48c61b01aedbdd93e947f5505dee7c30b21beb39723fc321cdbdb6953df8292a193e0fbb9161a8ae5 DIST mgba-0.7.2.tar.gz 11255680 BLAKE2B 8d94edbc8ce6426d9f70dbab70f3e99cb18714db1646e07b5e8cde246379ea6ee761b035cdfa946e718ce869084bf957dc39309dc6b20fe400722633e4cb7f13 SHA512 e63519299358ef73939d07012cd6880478d4e5b1e6161c42bcbe36e5207af3dcbe4c147fd1a94432ddbe5fbdf5d2c9755d90984ea800bf9d9860d7f806f996cd +DIST mgba-0.7.3.tar.gz 11228977 BLAKE2B 2b70bb97470558e6c10391b782f0f80e0466b2f16df07971ed378801d359157692ce56c61f4432640ed679d43dc2445a1ea45b3402c1b488fb534213d8594271 SHA512 131f850699f17a7496f7428b85b50f38b99acec4c87d5d28ba4e3af94f095a1b6d177ea731838b2971362b46c52accef9cbec98433ecfaccc080371092c7d789 diff --git a/games-emulation/mgba/mgba-0.7.3.ebuild b/games-emulation/mgba/mgba-0.7.3.ebuild new file mode 100644 index 000..013c485228b --- /dev/null +++ b/games-emulation/mgba/mgba-0.7.3.ebuild @@ -0,0 +1,122 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake-utils desktop xdg + +DESCRIPTION="Game Boy Advance emulator written in C" +HOMEPAGE="https://mgba.io"; +if [[ "${PV}" == ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/mgba-emu/mgba.git"; +else + SRC_URI="https://github.com/${PN}-emu/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi +LICENSE="MPL-2.0" +SLOT="0" +IUSE="debug elf ffmpeg imagemagick libav opengl qt5 +sdl sqlite" +REQUIRED_USE="|| ( qt5 sdl ) + qt5? ( opengl )" + +RDEPEND=" + media-libs/libpng:0= + sys-libs/zlib[minizip] + elf? ( dev-libs/elfutils ) + ffmpeg? ( + libav? ( media-video/libav:= ) + !libav? ( media-video/ffmpeg:= ) + ) + imagemagick? ( media-gfx/imagemagick:= ) + opengl? ( virtual/opengl ) + qt5? ( + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtmultimedia:5 + dev-qt/qtwidgets:5 + opengl? ( dev-qt/qtopengl:5 ) + ) + sdl? ( media-libs/libsdl2[X,sound,joystick,video,opengl?] ) + sqlite? ( dev-db/sqlite:3 ) +" +DEPEND="${RDEPEND}" + +src_prepare() { + xdg_environment_reset + cmake-utils_src_prepare + + # Get rid of any bundled stuff we don't want + for pkg in libpng lzma sqlite3 zlib ; do + rm -r src/third-party/${pkg} || die + done +} + +src_configure() { + local mycmakeargs=( + -DCMAKE_SKIP_RPATH=ON + -DBUILD_GL="$(usex opengl)" + -DBUILD_PYTHON=OFF + -DBUILD_QT="$(usex qt5)" + -DBUILD_SDL="$(usex sdl)" + -DBUILD_SHARED=ON + # test suite fails to build (>=0.6.0) + -DBUILD_SUITE=OFF + -DBUILD_TEST=OFF + -DM_CORE_GB=ON + -DM_CORE_GBA=ON + -DUSE_DEBUGGERS="$(usex debug)" + -DUSE_EDITLINE="$(usex debug)" + -DUSE_ELF="$(usex elf)" + -DUSE_EPOXY=OFF + -DUSE_FFMPEG="$(usex ffmpeg)" + -DUSE_GDB_STUB="$(usex debug)" + -DUSE_LIBZIP=OFF + -DUSE_LZMA=OFF + -DUSE_MAGICK="$(usex imagemagick)" + -DUSE_MINIZIP=ON + -DUSE_PNG=ON + -DUSE_SQLITE3="$(usex sqlite)" + -DUSE_ZLIB=ON + ) + cmake-utils_src_configure +} + +src_compile() { + cmake-utils_src_compile +} + +src_install() { + if use qt5 ; then + dobin ../${P}_build/qt/${PN}-qt + doman doc
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mgba/
commit: 9113391d082d017a52184f7b9d27674317118392 Author: Lars Wendler gentoo org> AuthorDate: Sun Jun 2 22:59:02 2019 + Commit: Lars Wendler gentoo org> CommitDate: Sun Jun 2 22:59:48 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9113391d games-emulation/mgba: Bump to version 0.7.2 Package-Manager: Portage-2.3.67, Repoman-2.3.13 Signed-off-by: Lars Wendler gentoo.org> games-emulation/mgba/Manifest | 1 + games-emulation/mgba/mgba-0.7.2.ebuild | 118 + 2 files changed, 119 insertions(+) diff --git a/games-emulation/mgba/Manifest b/games-emulation/mgba/Manifest index e4a3366b947..48b70181460 100644 --- a/games-emulation/mgba/Manifest +++ b/games-emulation/mgba/Manifest @@ -1,3 +1,4 @@ DIST mgba-0.6.3.tar.gz 7442154 BLAKE2B 2b46cf36174ef0a186b1bc71784820e6ddd7754a7cae695a95dcdae96efff58af70dd14faa2f1f6194a23450943d82aed2394f7bf2821ed91bf558eef6ae9c4d SHA512 d646af7869dbcf8df671a75ecfd8c270950c013b826b23b94bacae43a77243786f198725e1b9bf17827d1ffcf6a8eef70091d53ea878bfb2450472485f42f233 DIST mgba-0.7.0.tar.gz 10767992 BLAKE2B 75ffd02443f95eba2f82a0f6d2171263bfc7fa3c2c57d246e852964ed52a9cd3c6fc08d39ad349fd6b9cef189feb25d1d9efdcc4b000d07a96d0cf4cbd5cb34f SHA512 68eac18f6e411c60ef6c6dded0f2b293cb4831c4c6f15c4cf3bb7f8dc6a5de65000d7d904ff5bec52aef8714fae3a77d7ed7b43cbccba528cc05b56546802010 DIST mgba-0.7.1.tar.gz 11054044 BLAKE2B 910d6ddfbbe1680b07cee519ff27814401093a9a157bea516e55a4881561b5d67992af6274b2a4e431ace879cfce04d58eb9eae243b26c50d94f1ab3ec591cb7 SHA512 91aa66a9140e250ccd6f4790c2ed4977248bccda3b499bd48c61b01aedbdd93e947f5505dee7c30b21beb39723fc321cdbdb6953df8292a193e0fbb9161a8ae5 +DIST mgba-0.7.2.tar.gz 11255680 BLAKE2B 8d94edbc8ce6426d9f70dbab70f3e99cb18714db1646e07b5e8cde246379ea6ee761b035cdfa946e718ce869084bf957dc39309dc6b20fe400722633e4cb7f13 SHA512 e63519299358ef73939d07012cd6880478d4e5b1e6161c42bcbe36e5207af3dcbe4c147fd1a94432ddbe5fbdf5d2c9755d90984ea800bf9d9860d7f806f996cd diff --git a/games-emulation/mgba/mgba-0.7.2.ebuild b/games-emulation/mgba/mgba-0.7.2.ebuild new file mode 100644 index 000..c5f2c50a592 --- /dev/null +++ b/games-emulation/mgba/mgba-0.7.2.ebuild @@ -0,0 +1,118 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake-utils desktop xdg + +DESCRIPTION="Game Boy Advance emulator written in C" +HOMEPAGE="https://mgba.io"; +SRC_URI="https://github.com/${PN}-emu/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MPL-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="debug elf ffmpeg imagemagick libav opengl qt5 +sdl sqlite" +REQUIRED_USE="|| ( qt5 sdl ) + qt5? ( opengl )" + +RDEPEND=" + media-libs/libpng:0= + sys-libs/zlib[minizip] + elf? ( dev-libs/elfutils ) + ffmpeg? ( + libav? ( media-video/libav:= ) + !libav? ( media-video/ffmpeg:= ) + ) + imagemagick? ( media-gfx/imagemagick:= ) + opengl? ( virtual/opengl ) + qt5? ( + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtmultimedia:5 + dev-qt/qtwidgets:5 + opengl? ( dev-qt/qtopengl:5 ) + ) + sdl? ( media-libs/libsdl2[X,sound,joystick,video,opengl?] ) + sqlite? ( dev-db/sqlite:3 ) +" +DEPEND="${RDEPEND}" + +src_prepare() { + xdg_environment_reset + cmake-utils_src_prepare + + # Get rid of any bundled stuff we don't want + for pkg in libpng lzma sqlite3 zlib ; do + rm -r src/third-party/${pkg} || die + done +} + +src_configure() { + local mycmakeargs=( + -DCMAKE_SKIP_RPATH=ON + -DBUILD_GL="$(usex opengl)" + -DBUILD_PYTHON=OFF + -DBUILD_QT="$(usex qt5)" + -DBUILD_SDL="$(usex sdl)" + -DBUILD_SHARED=ON + # test suite fails to build (>=0.6.0) + -DBUILD_SUITE=OFF + -DBUILD_TEST=OFF + -DM_CORE_GB=ON + -DM_CORE_GBA=ON + -DUSE_DEBUGGERS="$(usex debug)" + -DUSE_EDITLINE="$(usex debug)" + -DUSE_ELF="$(usex elf)" + -DUSE_EPOXY=OFF + -DUSE_FFMPEG="$(usex ffmpeg)" + -DUSE_GDB_STUB="$(usex debug)" + -DUSE_LIBZIP=OFF + -DUSE_LZMA=OFF + -DUSE_MAGICK="$(usex imagemagick)" + -DUSE_MINIZIP=ON + -DUSE_PNG=ON + -DUSE_SQLITE3="$(usex sqlite)" + -DUSE_ZLIB=ON + ) + cmake-utils_src_configure +} + +src_compile() { + cmake-utils_src_compile +} + +src_install() { + if use qt5 ; then + dobin ../${P}_build/qt/${PN}-qt + doman doc/${PN}-qt.6 + domenu res/${PN}-qt.desktop + for size in 16 24 32 48 64 96 128 256 ; do + n
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mgba/
commit: e2e96eba5b03c00db22db0b007d2c3ee774a69f2 Author: Lars Wendler gentoo org> AuthorDate: Sun Jun 2 22:59:32 2019 + Commit: Lars Wendler gentoo org> CommitDate: Sun Jun 2 22:59:49 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2e96eba games-emulation/mgba: Removed old. Package-Manager: Portage-2.3.67, Repoman-2.3.13 Signed-off-by: Lars Wendler gentoo.org> games-emulation/mgba/Manifest | 1 - games-emulation/mgba/mgba-0.7.0.ebuild | 119 - 2 files changed, 120 deletions(-) diff --git a/games-emulation/mgba/Manifest b/games-emulation/mgba/Manifest index 48b70181460..36f54c69e0a 100644 --- a/games-emulation/mgba/Manifest +++ b/games-emulation/mgba/Manifest @@ -1,4 +1,3 @@ DIST mgba-0.6.3.tar.gz 7442154 BLAKE2B 2b46cf36174ef0a186b1bc71784820e6ddd7754a7cae695a95dcdae96efff58af70dd14faa2f1f6194a23450943d82aed2394f7bf2821ed91bf558eef6ae9c4d SHA512 d646af7869dbcf8df671a75ecfd8c270950c013b826b23b94bacae43a77243786f198725e1b9bf17827d1ffcf6a8eef70091d53ea878bfb2450472485f42f233 -DIST mgba-0.7.0.tar.gz 10767992 BLAKE2B 75ffd02443f95eba2f82a0f6d2171263bfc7fa3c2c57d246e852964ed52a9cd3c6fc08d39ad349fd6b9cef189feb25d1d9efdcc4b000d07a96d0cf4cbd5cb34f SHA512 68eac18f6e411c60ef6c6dded0f2b293cb4831c4c6f15c4cf3bb7f8dc6a5de65000d7d904ff5bec52aef8714fae3a77d7ed7b43cbccba528cc05b56546802010 DIST mgba-0.7.1.tar.gz 11054044 BLAKE2B 910d6ddfbbe1680b07cee519ff27814401093a9a157bea516e55a4881561b5d67992af6274b2a4e431ace879cfce04d58eb9eae243b26c50d94f1ab3ec591cb7 SHA512 91aa66a9140e250ccd6f4790c2ed4977248bccda3b499bd48c61b01aedbdd93e947f5505dee7c30b21beb39723fc321cdbdb6953df8292a193e0fbb9161a8ae5 DIST mgba-0.7.2.tar.gz 11255680 BLAKE2B 8d94edbc8ce6426d9f70dbab70f3e99cb18714db1646e07b5e8cde246379ea6ee761b035cdfa946e718ce869084bf957dc39309dc6b20fe400722633e4cb7f13 SHA512 e63519299358ef73939d07012cd6880478d4e5b1e6161c42bcbe36e5207af3dcbe4c147fd1a94432ddbe5fbdf5d2c9755d90984ea800bf9d9860d7f806f996cd diff --git a/games-emulation/mgba/mgba-0.7.0.ebuild b/games-emulation/mgba/mgba-0.7.0.ebuild deleted file mode 100644 index 2c61ea8ae6a..000 --- a/games-emulation/mgba/mgba-0.7.0.ebuild +++ /dev/null @@ -1,119 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit cmake-utils gnome2-utils xdg-utils - -DESCRIPTION="Game Boy Advance emulator written in C" -HOMEPAGE="https://mgba.io"; -SRC_URI="https://github.com/${PN}-emu/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MPL-2.0" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="debug elf ffmpeg imagemagick libav opengl qt5 +sdl sqlite" -REQUIRED_USE="|| ( qt5 sdl ) - qt5? ( opengl )" - -RDEPEND=" - media-libs/libpng:0= - sys-libs/zlib[minizip] - elf? ( dev-libs/elfutils ) - ffmpeg? ( - libav? ( media-video/libav:= ) - !libav? ( media-video/ffmpeg:= ) - ) - imagemagick? ( media-gfx/imagemagick:= ) - opengl? ( virtual/opengl ) - qt5? ( - dev-qt/qtcore:5 - dev-qt/qtgui:5 - dev-qt/qtmultimedia:5 - dev-qt/qtwidgets:5 - opengl? ( dev-qt/qtopengl:5 ) - ) - sdl? ( media-libs/libsdl2[X,sound,joystick,video,opengl?] ) - sqlite? ( dev-db/sqlite:3 ) -" -DEPEND="${RDEPEND}" - -src_prepare() { - cmake-utils_src_prepare - - # Get rid of any bundled stuff we don't want - for pkg in libpng lzma sqlite3 zlib ; do - rm -r src/third-party/${pkg} || die - done -} - -src_configure() { - local mycmakeargs=( - -DCMAKE_SKIP_RPATH=ON - -DBUILD_GL="$(usex opengl)" - -DBUILD_PYTHON=OFF - -DBUILD_QT="$(usex qt5)" - -DBUILD_SDL="$(usex sdl)" - -DBUILD_SHARED=ON - # test suite fails to build (>=0.6.0) - -DBUILD_SUITE=OFF - -DBUILD_TEST=OFF - -DM_CORE_GB=ON - -DM_CORE_GBA=ON - -DUSE_DEBUGGERS="$(usex debug)" - -DUSE_EDITLINE="$(usex debug)" - -DUSE_ELF="$(usex elf)" - -DUSE_EPOXY=OFF - -DUSE_FFMPEG="$(usex ffmpeg)" - -DUSE_GDB_STUB="$(usex debug)" - -DUSE_LIBZIP=OFF - -DUSE_LZMA=OFF - -DUSE_MAGICK="$(usex imagemagick)" - -DUSE_MINIZIP=ON - -DUSE_PNG=ON - -DUSE_SQLITE3="$(usex sqlite)" - -DUSE_ZLIB=ON - ) - cmake-utils_src_configure -} - -src_compile() { - cmake-utils_src_compile -} - -src_install() { - if use qt5 ; then - dobin ../${P}_build/qt/${PN}-qt - doman doc/${PN}-qt.6 - domenu res/${PN}-qt.desktop - for size in 16 24 32 48 64 96 128 256; do - newicon -s ${size} res/${PN