summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2022-01-13 01:08:58 -0500
committerIonen Wolkens <ionen@gentoo.org>2022-01-13 03:06:19 -0500
commitdcda6420ba627d3c5b0a11fa7069fea26656ad2b (patch)
treeb187f2c4ebd2ce62cf865546ca2995065559fb55 /games-emulation
parentgames-emulation/fceux: add 2.6.0 (diff)
downloadgentoo-dcda6420ba627d3c5b0a11fa7069fea26656ad2b.tar.gz
gentoo-dcda6420ba627d3c5b0a11fa7069fea26656ad2b.tar.bz2
gentoo-dcda6420ba627d3c5b0a11fa7069fea26656ad2b.zip
games-emulation/desmume: add 0.9.11_p20211119
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'games-emulation')
-rw-r--r--games-emulation/desmume/Manifest1
-rw-r--r--games-emulation/desmume/desmume-0.9.11_p20211119.ebuild56
2 files changed, 57 insertions, 0 deletions
diff --git a/games-emulation/desmume/Manifest b/games-emulation/desmume/Manifest
index 38969d5886fb..924917bf4ae5 100644
--- a/games-emulation/desmume/Manifest
+++ b/games-emulation/desmume/Manifest
@@ -1 +1,2 @@
DIST desmume-0.9.11_p20210409.tar.gz 13157043 BLAKE2B f8e582005555357cb632478ba8d2730e51a5cb8dbbee05d4af138df19a015ced6cff721fb53f87224774aed8287f91a01da5600f5548189fd0e264e5b3037fd8 SHA512 1897b3b35c7e997876ff53a36849a39b85bd49c737dab61f68c376e3cb294486f9edded98924275e8ee91e5b008e9d3814987edaab7306217c17dbc094f69348
+DIST desmume-0.9.11_p20211119.tar.gz 13266678 BLAKE2B 0af12f9fd7f3448d4f18a61ec65f1a64926f402827bd9eb8af4a06766390dc626940c327e2bb0ff17d4d62eefe1171c4a836e98dbbbc34bf5d4e9e6d886189a0 SHA512 53553771b51741c2c553e47befec1eb90bdaa3c9ff239bdb301054dbaf5c483c768dac440fece797c9756f3c1490ad61da59b3b5728328b7f23aaa5e1de40625
diff --git a/games-emulation/desmume/desmume-0.9.11_p20211119.ebuild b/games-emulation/desmume/desmume-0.9.11_p20211119.ebuild
new file mode 100644
index 000000000000..053083d697f1
--- /dev/null
+++ b/games-emulation/desmume/desmume-0.9.11_p20211119.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit meson xdg
+
+DESMUME_COMMIT="b4080b2cae2f8e2700e318b97e369915e8995796"
+
+DESCRIPTION="Nintendo DS emulator"
+HOMEPAGE="https://desmume.org/"
+SRC_URI="https://github.com/TASVideos/desmume/archive/${DESMUME_COMMIT}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${PN}-${DESMUME_COMMIT}"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="gdb +gui openal wifi"
+
+RDEPEND="
+ dev-libs/glib:2
+ media-libs/libsdl2[X,opengl,sound,video]
+ media-libs/libsoundtouch:=
+ net-libs/libpcap
+ sys-libs/zlib:=
+ virtual/opengl
+ x11-libs/agg
+ x11-libs/libX11
+ gui? (
+ x11-libs/cairo
+ x11-libs/gdk-pixbuf:2
+ x11-libs/gtk+:3
+ )
+ openal? ( media-libs/openal )
+ !openal? ( media-libs/alsa-lib )"
+DEPEND="
+ ${RDEPEND}
+ x11-base/xorg-proto"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.9.11_p20210409-fix-gtk-cliopts.patch
+ "${FILESDIR}"/${PN}-0.9.11_p20210409-openal-automagic.patch
+)
+
+DOCS=( ${PN}/{AUTHORS,ChangeLog,README,README.LIN,doc/.} )
+
+src_configure() {
+ local EMESON_SOURCE=${S}/${PN}/src/frontend/posix
+ local emesonargs=(
+ $(meson_use gdb gdb-stub)
+ $(meson_use gui frontend-gtk)
+ $(meson_use openal)
+ $(meson_use wifi)
+ )
+ meson_src_configure
+}