1 |
commit: dcda6420ba627d3c5b0a11fa7069fea26656ad2b |
2 |
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jan 13 06:08:58 2022 +0000 |
4 |
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jan 13 08:06:19 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dcda6420 |
7 |
|
8 |
games-emulation/desmume: add 0.9.11_p20211119 |
9 |
|
10 |
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org> |
11 |
|
12 |
games-emulation/desmume/Manifest | 1 + |
13 |
.../desmume/desmume-0.9.11_p20211119.ebuild | 56 ++++++++++++++++++++++ |
14 |
2 files changed, 57 insertions(+) |
15 |
|
16 |
diff --git a/games-emulation/desmume/Manifest b/games-emulation/desmume/Manifest |
17 |
index 38969d5886fb..924917bf4ae5 100644 |
18 |
--- a/games-emulation/desmume/Manifest |
19 |
+++ b/games-emulation/desmume/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST desmume-0.9.11_p20210409.tar.gz 13157043 BLAKE2B f8e582005555357cb632478ba8d2730e51a5cb8dbbee05d4af138df19a015ced6cff721fb53f87224774aed8287f91a01da5600f5548189fd0e264e5b3037fd8 SHA512 1897b3b35c7e997876ff53a36849a39b85bd49c737dab61f68c376e3cb294486f9edded98924275e8ee91e5b008e9d3814987edaab7306217c17dbc094f69348 |
22 |
+DIST desmume-0.9.11_p20211119.tar.gz 13266678 BLAKE2B 0af12f9fd7f3448d4f18a61ec65f1a64926f402827bd9eb8af4a06766390dc626940c327e2bb0ff17d4d62eefe1171c4a836e98dbbbc34bf5d4e9e6d886189a0 SHA512 53553771b51741c2c553e47befec1eb90bdaa3c9ff239bdb301054dbaf5c483c768dac440fece797c9756f3c1490ad61da59b3b5728328b7f23aaa5e1de40625 |
23 |
|
24 |
diff --git a/games-emulation/desmume/desmume-0.9.11_p20211119.ebuild b/games-emulation/desmume/desmume-0.9.11_p20211119.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..053083d697f1 |
27 |
--- /dev/null |
28 |
+++ b/games-emulation/desmume/desmume-0.9.11_p20211119.ebuild |
29 |
@@ -0,0 +1,56 @@ |
30 |
+# Copyright 1999-2022 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+inherit meson xdg |
36 |
+ |
37 |
+DESMUME_COMMIT="b4080b2cae2f8e2700e318b97e369915e8995796" |
38 |
+ |
39 |
+DESCRIPTION="Nintendo DS emulator" |
40 |
+HOMEPAGE="https://desmume.org/" |
41 |
+SRC_URI="https://github.com/TASVideos/desmume/archive/${DESMUME_COMMIT}.tar.gz -> ${P}.tar.gz" |
42 |
+S="${WORKDIR}/${PN}-${DESMUME_COMMIT}" |
43 |
+ |
44 |
+LICENSE="GPL-2" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="~amd64 ~x86" |
47 |
+IUSE="gdb +gui openal wifi" |
48 |
+ |
49 |
+RDEPEND=" |
50 |
+ dev-libs/glib:2 |
51 |
+ media-libs/libsdl2[X,opengl,sound,video] |
52 |
+ media-libs/libsoundtouch:= |
53 |
+ net-libs/libpcap |
54 |
+ sys-libs/zlib:= |
55 |
+ virtual/opengl |
56 |
+ x11-libs/agg |
57 |
+ x11-libs/libX11 |
58 |
+ gui? ( |
59 |
+ x11-libs/cairo |
60 |
+ x11-libs/gdk-pixbuf:2 |
61 |
+ x11-libs/gtk+:3 |
62 |
+ ) |
63 |
+ openal? ( media-libs/openal ) |
64 |
+ !openal? ( media-libs/alsa-lib )" |
65 |
+DEPEND=" |
66 |
+ ${RDEPEND} |
67 |
+ x11-base/xorg-proto" |
68 |
+ |
69 |
+PATCHES=( |
70 |
+ "${FILESDIR}"/${PN}-0.9.11_p20210409-fix-gtk-cliopts.patch |
71 |
+ "${FILESDIR}"/${PN}-0.9.11_p20210409-openal-automagic.patch |
72 |
+) |
73 |
+ |
74 |
+DOCS=( ${PN}/{AUTHORS,ChangeLog,README,README.LIN,doc/.} ) |
75 |
+ |
76 |
+src_configure() { |
77 |
+ local EMESON_SOURCE=${S}/${PN}/src/frontend/posix |
78 |
+ local emesonargs=( |
79 |
+ $(meson_use gdb gdb-stub) |
80 |
+ $(meson_use gui frontend-gtk) |
81 |
+ $(meson_use openal) |
82 |
+ $(meson_use wifi) |
83 |
+ ) |
84 |
+ meson_src_configure |
85 |
+} |