1 |
commit: 3b3ff85e7d4f171c8e6193d328af22fbc3400726 |
2 |
Author: Haelwenn (lanodan) Monnier <contact <AT> hacktivis <DOT> me> |
3 |
AuthorDate: Sun Jan 29 10:51:41 2023 +0000 |
4 |
Commit: Haelwenn Monnier <contact <AT> hacktivis <DOT> me> |
5 |
CommitDate: Sun Jan 29 10:51:49 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3b3ff85e |
7 |
|
8 |
games-engines/easyrpg-player: new package, add 0.7.0 |
9 |
|
10 |
Signed-off-by: Haelwenn (lanodan) Monnier <contact <AT> hacktivis.me> |
11 |
|
12 |
games-engines/easyrpg-player/Manifest | 1 + |
13 |
.../easyrpg-player/easyrpg-player-0.7.0.ebuild | 76 ++++++++++++++++++++++ |
14 |
2 files changed, 77 insertions(+) |
15 |
|
16 |
diff --git a/games-engines/easyrpg-player/Manifest b/games-engines/easyrpg-player/Manifest |
17 |
new file mode 100644 |
18 |
index 000000000..679941559 |
19 |
--- /dev/null |
20 |
+++ b/games-engines/easyrpg-player/Manifest |
21 |
@@ -0,0 +1 @@ |
22 |
+DIST easyrpg-player-0.7.0.tar.gz 6426198 BLAKE2B fc08962cab0842a53535472fbf348d3c46fb71108b14655cb98d7f04a3a0f441fae644ab109e34733f55ce834d524fbd424ea30e80585e5e4e7f69b15041fe63 SHA512 6c2a5cedbd2022517f2cfb2e3bebc9773addb93cbf3e897fb57f31baf94c644bf4437ceff5be578b3a564e8a5f72c448dd0391bc418658d517ca755cab5ec97f |
23 |
|
24 |
diff --git a/games-engines/easyrpg-player/easyrpg-player-0.7.0.ebuild b/games-engines/easyrpg-player/easyrpg-player-0.7.0.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000..a7b0d4c60 |
27 |
--- /dev/null |
28 |
+++ b/games-engines/easyrpg-player/easyrpg-player-0.7.0.ebuild |
29 |
@@ -0,0 +1,76 @@ |
30 |
+# Copyright 2023 Haelwenn (lanodan) Monnier <contact@×××××××××.me> |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+inherit cmake xdg-utils |
36 |
+ |
37 |
+DESCRIPTION="RPG Maker 2000/2003 and EasyRPG games interpreter" |
38 |
+HOMEPAGE="https://easyrpg.org/player/" |
39 |
+SRC_URI="https://github.com/EasyRPG/Player/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" |
40 |
+S="${WORKDIR}/Player-${PV}/" |
41 |
+LICENSE="MIT" |
42 |
+SLOT="0" |
43 |
+KEYWORDS="~amd64" |
44 |
+IUSE="doc fluidsynth wildmidi" |
45 |
+ |
46 |
+DEPEND=" |
47 |
+ >=dev-games/liblcf-${PV} |
48 |
+ >=media-libs/libsdl2-2.0.5 |
49 |
+ media-libs/libpng:= |
50 |
+ x11-libs/pixman |
51 |
+ dev-libs/libfmt:= |
52 |
+ media-libs/freetype:= |
53 |
+ media-libs/harfbuzz:= |
54 |
+ media-libs/alsa-lib |
55 |
+ |
56 |
+ media-libs/speexdsp |
57 |
+ |
58 |
+ media-sound/mpg123 |
59 |
+ media-libs/libsndfile |
60 |
+ media-libs/libvorbis |
61 |
+ media-libs/opus |
62 |
+ wildmidi? ( media-sound/wildmidi ) |
63 |
+ fluidsynth? ( media-sound/fluidsynth ) |
64 |
+ media-libs/libxmp |
65 |
+ |
66 |
+ dev-ruby/asciidoctor |
67 |
+ |
68 |
+ doc? ( app-doc/doxygen ) |
69 |
+" |
70 |
+RDEPEND="${DEPEND}" |
71 |
+ |
72 |
+src_configure() { |
73 |
+ local mycmakeargs=( |
74 |
+ -DPLAYER_WITH_FLUIDLITE=OFF |
75 |
+ # Avoid vendoring, uses libsndfile instead |
76 |
+ -DPLAYER_ENABLE_DRWAV=OFF |
77 |
+ |
78 |
+ # Use the first default choice |
79 |
+ -DPLAYER_WITH_SPEEXDSP=ON |
80 |
+ -DPLAYER_WITH_SAMPLERATE=OFF |
81 |
+ |
82 |
+ -DPLAYER_WITH_MPG123=ON |
83 |
+ -DPLAYER_WITH_LIBSNDFILE=ON |
84 |
+ -DPLAYER_WITH_OGGVORBIS=ON |
85 |
+ -DPLAYER_WITH_OPUS=ON |
86 |
+ -DPLAYER_WITH_WILDMIDI=$(usex wildmidi) |
87 |
+ -DPLAYER_WITH_FLUIDSYNTH=$(usex fluidsynth) |
88 |
+ # Serves as fallback when FluidSynth isn't found |
89 |
+ -DPLAYER_WITH_FLUIDLITE=OFF |
90 |
+ |
91 |
+ # Avoid vendoring, uses wildmidi or fluidsynth instead |
92 |
+ -DPLAYER_ENABLE_FMMIDI=OFF |
93 |
+ |
94 |
+ -DPLAYER_WITH_XMP=ON |
95 |
+ ) |
96 |
+ |
97 |
+ cmake_src_configure |
98 |
+} |
99 |
+ |
100 |
+src_test() { |
101 |
+ cmake_build check |
102 |
+} |
103 |
+ |
104 |
+pkg_postrm() { xdg_mimeinfo_database_update; } |
105 |
+pkg_postinst() { xdg_mimeinfo_database_update; } |