public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Pacho Ramos" <pacho@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-emulation/vbam/
Date: Sun, 16 Jun 2024 09:37:04 +0000 (UTC)	[thread overview]
Message-ID: <1718530319.4fe20ba10f43be2938c934c8922fb536420049f6.pacho@gentoo> (raw)

commit:     4fe20ba10f43be2938c934c8922fb536420049f6
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 16 09:31:59 2024 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Sun Jun 16 09:31:59 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4fe20ba1

games-emulation/vbam: add 2.1.9

Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>

 games-emulation/vbam/Manifest          |   1 +
 games-emulation/vbam/vbam-2.1.9.ebuild | 115 +++++++++++++++++++++++++++++++++
 2 files changed, 116 insertions(+)

diff --git a/games-emulation/vbam/Manifest b/games-emulation/vbam/Manifest
index 7002ed329ec3..9e943d8af8db 100644
--- a/games-emulation/vbam/Manifest
+++ b/games-emulation/vbam/Manifest
@@ -1,2 +1,3 @@
 DIST vbam-2.1.5.tar.gz 4779351 BLAKE2B ef27185e0af1ad07016834f89689b9d81f59b9dc15ea7ea22d2fc72e0c3b86aeb2f23b4cab846f64d40cab35f0ea5510381530e9e8d7889c12949f5630272237 SHA512 5a85ac22ee8d2515d458503ecb5a40d62a490d4704bc966d1511e25b7530191e4e5e523505eada0c1203e45bb28433bc1e8a896d986de2b88998703f5a1c26a7
 DIST vbam-2.1.7.tar.gz 4804929 BLAKE2B 1c2bdec1cd5621e0bd8ad49bce209074bcdf5f6728c975f4ed073f8a92c7100d3f6bde30c9bda9fef3489e96f7b96835a662c044e12ec489eb9fbfd6020e7ffa SHA512 3aab71c6843beb3446f30318580ca6df890560d85498d0112666a7e65fecec3d7c8d13a02bb561917d46019ecd39713e189748ae39353dee39c04d49ff82ce88
+DIST vbam-2.1.9.tar.gz 3641821 BLAKE2B 83f303741636f0c32d24c58fdd1b93c483ad82da17764ff3a7f1283f649f540452658693bd27febac3a8afc5871ffee6d8fff2e00f62fc23a211602244b64318 SHA512 de3d9256e18eec7cad785871d002fd6defa148cfe80001c4ff00c8dd04ffec53a721bd280a590c7ef5213a82125f190966c7769250a6aa660c477707ba5539d6

diff --git a/games-emulation/vbam/vbam-2.1.9.ebuild b/games-emulation/vbam/vbam-2.1.9.ebuild
new file mode 100644
index 000000000000..ab5f40c41f2f
--- /dev/null
+++ b/games-emulation/vbam/vbam-2.1.9.ebuild
@@ -0,0 +1,115 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+WX_GTK_VER="3.2-gtk3"
+inherit flag-o-matic wxwidgets xdg cmake
+
+if [[ ${PV} == 9999 ]]; then
+	EGIT_REPO_URI="https://github.com/visualboyadvance-m/visualboyadvance-m.git"
+	inherit git-r3
+else
+	SRC_URI="https://github.com/visualboyadvance-m/visualboyadvance-m/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+	KEYWORDS="~amd64 ~x86"
+	S="${WORKDIR}/visualboyadvance-m-${PV}"
+fi
+
+DESCRIPTION="Game Boy, GBC, and GBA emulator forked from VisualBoyAdvance"
+HOMEPAGE="https://github.com/visualboyadvance-m/visualboyadvance-m"
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="ffmpeg link lirc nls +sdl wxwidgets"
+
+REQUIRED_USE="
+	ffmpeg? ( wxwidgets )
+	|| ( sdl wxwidgets )
+"
+
+RDEPEND="
+	>=media-libs/libpng-1.4:=
+	media-libs/libsdl2[joystick]
+	sys-libs/zlib:=
+	virtual/glu
+	virtual/opengl
+	link? ( >=media-libs/libsfml-2.0:= )
+	lirc? ( app-misc/lirc )
+	nls? ( virtual/libintl )
+	wxwidgets? (
+		ffmpeg? ( media-video/ffmpeg:= )
+		media-libs/openal
+		x11-libs/wxGTK:${WX_GTK_VER}[X,opengl]
+	)
+"
+DEPEND="
+	${RDEPEND}
+"
+BDEPEND="
+	app-arch/zip
+	virtual/pkgconfig
+	wxwidgets? ( virtual/imagemagick-tools )
+	amd64? ( || ( dev-lang/nasm dev-lang/yasm ) )
+	x86? ( || ( dev-lang/nasm dev-lang/yasm ) )
+	nls? ( sys-devel/gettext )
+"
+
+src_prepare() {
+	cmake_src_prepare
+	sed -i 's/ -mtune=generic//g' CMakeLists.txt || die
+}
+
+src_configure() {
+	# -Werror=odr
+	# https://bugs.gentoo.org/926080
+	# https://github.com/visualboyadvance-m/visualboyadvance-m/issues/1260
+	filter-lto
+
+	use wxwidgets && setup-wxwidgets
+
+	local mycmakeargs=(
+		-DENABLE_FFMPEG=$(usex ffmpeg)
+		-DENABLE_LINK=$(usex link)
+		-DENABLE_LIRC=$(usex lirc)
+		-DENABLE_NLS=$(usex nls)
+		-DENABLE_SDL=$(usex sdl)
+		-DENABLE_WX=$(usex wxwidgets)
+		-DENABLE_ASM_CORE=$(usex x86)
+		-DENABLE_ASM_SCALERS=$(usex x86)
+		-DCMAKE_SKIP_RPATH=ON
+		-DENABLE_LTO=OFF
+		-DENABLE_ONLINEUPDATES=OFF
+		-DDISABLE_MACOS_PACKAGE_MANAGERS=ON
+	)
+
+	cmake_src_configure
+}
+
+src_install() {
+	cmake_src_install
+
+	if use sdl ; then
+		dodoc doc/ReadMe.SDL.txt
+		doman src/debian/vbam.6
+	fi
+
+	use wxwidgets && doman src/debian/visualboyadvance-m.6
+}
+
+pkg_preinst() {
+	if use wxwidgets ; then
+		xdg_pkg_preinst
+	fi
+}
+
+pkg_postinst() {
+	if use wxwidgets ; then
+		xdg_pkg_postinst
+	fi
+}
+
+pkg_postrm() {
+	if use wxwidgets ; then
+		xdg_pkg_postrm
+	fi
+}


             reply	other threads:[~2024-06-16  9:37 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-16  9:37 Pacho Ramos [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-06-16  9:37 [gentoo-commits] repo/gentoo:master commit in: games-emulation/vbam/ Pacho Ramos
2024-04-18 16:56 Pacho Ramos
2024-03-22  5:33 Sam James
2023-11-24 12:59 Pacho Ramos
2023-01-20  3:54 Sam James
2020-11-07 22:48 James Le Cuirot
2020-07-25 20:26 James Le Cuirot
2020-06-05 23:12 Andreas Sturmlechner
2019-12-06 11:08 Lars Wendler
2019-12-06 11:08 Lars Wendler
2018-08-29 21:22 James Le Cuirot
2018-03-18  4:48 Tim Harder
2018-01-21 10:20 David Seifert
2018-01-20 19:54 David Seifert
2018-01-13 22:17 David Seifert
2017-12-30 21:41 David Seifert
2017-12-16 10:31 Tobias Klausmann
2016-12-27  5:43 Lars Wendler
2016-12-11 18:10 David Seifert
2016-12-11 13:49 David Seifert
2016-12-06  9:13 Pacho Ramos
2016-08-26  5:17 Tim Harder
2016-08-26  5:17 Tim Harder
2016-04-03  3:08 Michael Sterrett
2016-01-01  7:21 Michael Sterrett
2015-12-11 10:06 Agostino Sarubbo
2015-11-10 16:57 Michael Sterrett
2015-08-29 20:26 Tim Harder
2015-08-29 20:26 Tim Harder

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1718530319.4fe20ba10f43be2938c934c8922fb536420049f6.pacho@gentoo \
    --to=pacho@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox