1 |
commit: cc419635e82f708fa6c189ea40a31a2bd2ad5c06 |
2 |
Author: Samuel Bauer <samuel.bauer <AT> yahoo <DOT> fr> |
3 |
AuthorDate: Wed Apr 28 21:40:14 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Apr 28 21:40:14 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=cc419635 |
7 |
|
8 |
games-emulation/mupen64plus-qt: new ebuild https://bugs.gentoo.org/562444 |
9 |
|
10 |
Signed-off-by: Samuel Bauer <samuel.bauer <AT> yahoo.fr> |
11 |
|
12 |
games-emulation/mupen64plus-qt/metadata.xml | 8 ++++ |
13 |
.../mupen64plus-qt/mupen64plus-qt-1.14.ebuild | 45 ++++++++++++++++++++++ |
14 |
.../mupen64plus-qt/mupen64plus-qt-9999.ebuild | 45 ++++++++++++++++++++++ |
15 |
3 files changed, 98 insertions(+) |
16 |
|
17 |
diff --git a/games-emulation/mupen64plus-qt/metadata.xml b/games-emulation/mupen64plus-qt/metadata.xml |
18 |
new file mode 100644 |
19 |
index 000000000..ffffe4022 |
20 |
--- /dev/null |
21 |
+++ b/games-emulation/mupen64plus-qt/metadata.xml |
22 |
@@ -0,0 +1,8 @@ |
23 |
+<?xml version="1.0" encoding="UTF-8"?> |
24 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
25 |
+<pkgmetadata> |
26 |
+<maintainer type="person"> |
27 |
+ <name>mazes-80</name> |
28 |
+ <email>mazes-80@××××.org</email> |
29 |
+</maintainer> |
30 |
+</pkgmetadata> |
31 |
|
32 |
diff --git a/games-emulation/mupen64plus-qt/mupen64plus-qt-1.14.ebuild b/games-emulation/mupen64plus-qt/mupen64plus-qt-1.14.ebuild |
33 |
new file mode 100644 |
34 |
index 000000000..f1f885f7c |
35 |
--- /dev/null |
36 |
+++ b/games-emulation/mupen64plus-qt/mupen64plus-qt-1.14.ebuild |
37 |
@@ -0,0 +1,45 @@ |
38 |
+# Copyright 2020 Gentoo Authors |
39 |
+# Distributed under the terms of the GNU General Public License v2 |
40 |
+ |
41 |
+EAPI=7 |
42 |
+ |
43 |
+inherit desktop qmake-utils |
44 |
+ |
45 |
+DESCRIPTION="A basic launcher for Mupen64Plus" |
46 |
+HOMEPAGE="https://github.com/dh4/mupen64plus-qt" |
47 |
+SRC_URI="https://github.com/dh4/${PN}/archive/${PV}.tar.gz" |
48 |
+ |
49 |
+LICENSE="BSD" |
50 |
+SLOT="0" |
51 |
+KEYWORDS="~amd64 ~x86" |
52 |
+ |
53 |
+RDEPEND=" |
54 |
+ dev-qt/qtcore:5 |
55 |
+ dev-qt/qtnetwork:5 |
56 |
+ dev-qt/qtxml:5 |
57 |
+ dev-qt/qtsql:5 |
58 |
+ dev-qt/qtwidgets:5 |
59 |
+ dev-libs/quazip |
60 |
+" |
61 |
+DEPEND=">=games-emulation/mupen64plus-core-2.5 |
62 |
+ ${RDEPEND}" |
63 |
+ |
64 |
+src_prepare() { |
65 |
+ sed -i -e '/MatchWildcard/{s/Wildcard/RegExp/; s/"\*"/".*"/}' src/dialogs/settingsdialog.cpp || die |
66 |
+ sed -i -e '/include.*quazip5/s/quazip5/QuaZip-Qt5-1.1\/quazip/' \ |
67 |
+ src/emulation/emulatorhandler.cpp src/common.cpp || die |
68 |
+ sed -i -e 's/lquazip5/lquazip1-qt5/' mupen64plus-qt.pro || die |
69 |
+ default |
70 |
+} |
71 |
+ |
72 |
+src_configure() { |
73 |
+ eqmake5 |
74 |
+} |
75 |
+ |
76 |
+src_install() { |
77 |
+ dobin ${PN} |
78 |
+ dodoc README.md |
79 |
+ doman resources/${PN}.6 |
80 |
+ domenu resources/${PN}.desktop |
81 |
+ newicon resources/images/mupen64plus.png ${PN}.png |
82 |
+} |
83 |
|
84 |
diff --git a/games-emulation/mupen64plus-qt/mupen64plus-qt-9999.ebuild b/games-emulation/mupen64plus-qt/mupen64plus-qt-9999.ebuild |
85 |
new file mode 100644 |
86 |
index 000000000..93dd2d71b |
87 |
--- /dev/null |
88 |
+++ b/games-emulation/mupen64plus-qt/mupen64plus-qt-9999.ebuild |
89 |
@@ -0,0 +1,45 @@ |
90 |
+# Copyright 2018-2021 Gentoo Authors |
91 |
+# Distributed under the terms of the GNU General Public License v2 |
92 |
+ |
93 |
+EAPI=7 |
94 |
+ |
95 |
+inherit desktop git-r3 qmake-utils |
96 |
+ |
97 |
+DESCRIPTION="A basic launcher for Mupen64Plus" |
98 |
+HOMEPAGE="https://github.com/dh4/mupen64plus-qt" |
99 |
+EGIT_REPO_URI="https://github.com/dh4/mupen64plus-qt" |
100 |
+ |
101 |
+LICENSE="BSD" |
102 |
+SLOT="0" |
103 |
+KEYWORDS="" |
104 |
+ |
105 |
+RDEPEND=" |
106 |
+ dev-qt/qtcore:5 |
107 |
+ dev-qt/qtnetwork:5 |
108 |
+ dev-qt/qtxml:5 |
109 |
+ dev-qt/qtsql:5 |
110 |
+ dev-qt/qtwidgets:5 |
111 |
+ dev-libs/quazip |
112 |
+" |
113 |
+DEPEND=">=games-emulation/mupen64plus-core-2.5 |
114 |
+ ${RDEPEND}" |
115 |
+ |
116 |
+src_prepare() { |
117 |
+ sed -i -e '/MatchWildcard/{s/Wildcard/RegExp/; s/"\*"/".*"/}' src/dialogs/settingsdialog.cpp || die |
118 |
+ sed -i -e '/include.*quazip5/s/quazip5/QuaZip-Qt5-1.1\/quazip/' \ |
119 |
+ src/emulation/emulatorhandler.cpp src/common.cpp || die |
120 |
+ sed -i -e 's/lquazip5/lquazip1-qt5/' mupen64plus-qt.pro || die |
121 |
+ default |
122 |
+} |
123 |
+ |
124 |
+src_configure() { |
125 |
+ eqmake5 |
126 |
+} |
127 |
+ |
128 |
+src_install() { |
129 |
+ dobin ${PN} |
130 |
+ dodoc README.md |
131 |
+ doman resources/${PN}.6 |
132 |
+ domenu resources/${PN}.desktop |
133 |
+ newicon resources/images/mupen64plus.png ${PN}.png |
134 |
+} |