1 |
commit: b85c9fc44e30d8abd63cb0787861a06236311307 |
2 |
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Nov 4 01:16:47 2022 +0000 |
4 |
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Nov 4 01:16:47 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b85c9fc4 |
7 |
|
8 |
games-emulation/melonds: sync live |
9 |
|
10 |
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org> |
11 |
|
12 |
games-emulation/melonds/melonds-9999.ebuild | 25 ++++++++++++++----------- |
13 |
1 file changed, 14 insertions(+), 11 deletions(-) |
14 |
|
15 |
diff --git a/games-emulation/melonds/melonds-9999.ebuild b/games-emulation/melonds/melonds-9999.ebuild |
16 |
index b3dda3e20a91..c5383c9da154 100644 |
17 |
--- a/games-emulation/melonds/melonds-9999.ebuild |
18 |
+++ b/games-emulation/melonds/melonds-9999.ebuild |
19 |
@@ -9,27 +9,28 @@ MY_P="${MY_PN}-${PV}" |
20 |
inherit cmake flag-o-matic readme.gentoo-r1 toolchain-funcs xdg |
21 |
|
22 |
DESCRIPTION="Nintendo DS emulator, sorta" |
23 |
-HOMEPAGE=" |
24 |
- http://melonds.kuribo64.net |
25 |
- https://github.com/Arisotura/melonDS |
26 |
-" |
27 |
+HOMEPAGE="http://melonds.kuribo64.net |
28 |
+ https://github.com/Arisotura/melonDS" |
29 |
|
30 |
-if [[ "${PV}" == *9999* ]]; then |
31 |
+if [[ ${PV} == *9999* ]] ; then |
32 |
inherit git-r3 |
33 |
EGIT_REPO_URI="https://github.com/Arisotura/${MY_PN}.git" |
34 |
else |
35 |
- SRC_URI="https://github.com/Arisotura/${MY_PN}/archive/${PV}.tar.gz -> ${MY_P}.tar.gz" |
36 |
+ SRC_URI="https://github.com/Arisotura/${MY_PN}/archive/${PV}.tar.gz |
37 |
+ -> ${MY_P}.tar.gz" |
38 |
+ S="${WORKDIR}"/${MY_P} |
39 |
KEYWORDS="~amd64" |
40 |
- S="${WORKDIR}/${MY_P}" |
41 |
fi |
42 |
|
43 |
IUSE="+jit +opengl" |
44 |
LICENSE="BSD-2 GPL-2 GPL-3 Unlicense" |
45 |
SLOT="0" |
46 |
|
47 |
-DEPEND=" |
48 |
+# MelonDS bundles libteakra with many changes, |
49 |
+# for now we have to block dev-libs/teakra |
50 |
+RDEPEND=" |
51 |
+ !dev-libs/teakra |
52 |
app-arch/libarchive |
53 |
- dev-libs/teakra |
54 |
dev-qt/qtcore:5 |
55 |
dev-qt/qtgui:5 |
56 |
dev-qt/qtnetwork:5 |
57 |
@@ -39,7 +40,7 @@ DEPEND=" |
58 |
net-libs/libslirp |
59 |
opengl? ( media-libs/libepoxy ) |
60 |
" |
61 |
-RDEPEND="${DEPEND}" |
62 |
+DEPEND="${RDEPEND}" |
63 |
|
64 |
# used for JIT recompiler |
65 |
QA_EXECSTACK="usr/bin/melonDS" |
66 |
@@ -74,8 +75,10 @@ src_compile() { |
67 |
} |
68 |
|
69 |
src_install() { |
70 |
- cmake_src_install |
71 |
readme.gentoo_create_doc |
72 |
+ cmake_src_install |
73 |
+ |
74 |
+ dolib.so "${BUILD_DIR}"/src/teakra/src/libteakra.so |
75 |
} |
76 |
|
77 |
pkg_postinst() { |