summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2022-06-21 20:15:59 -0400
committerIonen Wolkens <ionen@gentoo.org>2022-06-21 20:15:59 -0400
commit26384f5caf3ac5bbbf8f5eb8ebc1c2c7bf1472b9 (patch)
tree5c704b384da159c8401085ed62d4489279a849a9 /games-emulation/desmume
parentdev-util/gitlab-runner: add patch for arm64 (diff)
downloadgentoo-26384f5caf3ac5bbbf8f5eb8ebc1c2c7bf1472b9.tar.gz
gentoo-26384f5caf3ac5bbbf8f5eb8ebc1c2c7bf1472b9.tar.bz2
gentoo-26384f5caf3ac5bbbf8f5eb8ebc1c2c7bf1472b9.zip
games-emulation/desmume: add 0.9.13
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'games-emulation/desmume')
-rw-r--r--games-emulation/desmume/Manifest1
-rw-r--r--games-emulation/desmume/desmume-0.9.13.ebuild55
2 files changed, 56 insertions, 0 deletions
diff --git a/games-emulation/desmume/Manifest b/games-emulation/desmume/Manifest
index 1552b4c0f524..9bbd673f7971 100644
--- a/games-emulation/desmume/Manifest
+++ b/games-emulation/desmume/Manifest
@@ -1 +1,2 @@
DIST desmume-0.9.11_p20211119.tar.gz 13266678 BLAKE2B 0af12f9fd7f3448d4f18a61ec65f1a64926f402827bd9eb8af4a06766390dc626940c327e2bb0ff17d4d62eefe1171c4a836e98dbbbc34bf5d4e9e6d886189a0 SHA512 53553771b51741c2c553e47befec1eb90bdaa3c9ff239bdb301054dbaf5c483c768dac440fece797c9756f3c1490ad61da59b3b5728328b7f23aaa5e1de40625
+DIST desmume-0.9.13.tar.xz 10437780 BLAKE2B d5ca5ec66aceff3d5aa5adf338a44cced4d30104f288172f4438a88402f9af0c161d1f0cd0401d184fa66ebbde684d4cd206179a7f6377d27e4dd9ae3d3e7bcd SHA512 b756c5a5d79479e38c6135e4dcff3bdbaf78a4860699320305c81056bd6e7b8ba4db3c3d3879e2ac226b095783357b9f579c0486cafbbbdcee8456e1469efd9e
diff --git a/games-emulation/desmume/desmume-0.9.13.ebuild b/games-emulation/desmume/desmume-0.9.13.ebuild
new file mode 100644
index 000000000000..f4edfb4b5a3e
--- /dev/null
+++ b/games-emulation/desmume/desmume-0.9.13.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit meson xdg
+
+DESCRIPTION="Nintendo DS emulator"
+HOMEPAGE="https://desmume.org/"
+SRC_URI="https://github.com/TASEmulators/desmume/releases/download/release_$(ver_rs 1- _)/${P}.tar.xz"
+
+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:=
+ x11-libs/agg
+ x11-libs/libX11
+ gui? (
+ media-libs/libglvnd[X]
+ 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
+}