diff options
author | Haelwenn (lanodan) Monnier <contact@hacktivis.me> | 2023-01-29 11:51:41 +0100 |
---|---|---|
committer | Haelwenn (lanodan) Monnier <contact@hacktivis.me> | 2023-01-29 11:51:49 +0100 |
commit | 3b3ff85e7d4f171c8e6193d328af22fbc3400726 (patch) | |
tree | c6d416bee1c289c994691e92b0a35c4ca0cd4374 /games-engines | |
parent | dev-games/liblcf: new package, add 0.7.0 (diff) | |
download | guru-3b3ff85e7d4f171c8e6193d328af22fbc3400726.tar.gz guru-3b3ff85e7d4f171c8e6193d328af22fbc3400726.tar.bz2 guru-3b3ff85e7d4f171c8e6193d328af22fbc3400726.zip |
games-engines/easyrpg-player: new package, add 0.7.0
Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Diffstat (limited to 'games-engines')
-rw-r--r-- | games-engines/easyrpg-player/Manifest | 1 | ||||
-rw-r--r-- | games-engines/easyrpg-player/easyrpg-player-0.7.0.ebuild | 76 |
2 files changed, 77 insertions, 0 deletions
diff --git a/games-engines/easyrpg-player/Manifest b/games-engines/easyrpg-player/Manifest new file mode 100644 index 000000000..679941559 --- /dev/null +++ b/games-engines/easyrpg-player/Manifest @@ -0,0 +1 @@ +DIST easyrpg-player-0.7.0.tar.gz 6426198 BLAKE2B fc08962cab0842a53535472fbf348d3c46fb71108b14655cb98d7f04a3a0f441fae644ab109e34733f55ce834d524fbd424ea30e80585e5e4e7f69b15041fe63 SHA512 6c2a5cedbd2022517f2cfb2e3bebc9773addb93cbf3e897fb57f31baf94c644bf4437ceff5be578b3a564e8a5f72c448dd0391bc418658d517ca755cab5ec97f diff --git a/games-engines/easyrpg-player/easyrpg-player-0.7.0.ebuild b/games-engines/easyrpg-player/easyrpg-player-0.7.0.ebuild new file mode 100644 index 000000000..a7b0d4c60 --- /dev/null +++ b/games-engines/easyrpg-player/easyrpg-player-0.7.0.ebuild @@ -0,0 +1,76 @@ +# Copyright 2023 Haelwenn (lanodan) Monnier <contact@hacktivis.me> +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake xdg-utils + +DESCRIPTION="RPG Maker 2000/2003 and EasyRPG games interpreter" +HOMEPAGE="https://easyrpg.org/player/" +SRC_URI="https://github.com/EasyRPG/Player/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/Player-${PV}/" +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="doc fluidsynth wildmidi" + +DEPEND=" + >=dev-games/liblcf-${PV} + >=media-libs/libsdl2-2.0.5 + media-libs/libpng:= + x11-libs/pixman + dev-libs/libfmt:= + media-libs/freetype:= + media-libs/harfbuzz:= + media-libs/alsa-lib + + media-libs/speexdsp + + media-sound/mpg123 + media-libs/libsndfile + media-libs/libvorbis + media-libs/opus + wildmidi? ( media-sound/wildmidi ) + fluidsynth? ( media-sound/fluidsynth ) + media-libs/libxmp + + dev-ruby/asciidoctor + + doc? ( app-doc/doxygen ) +" +RDEPEND="${DEPEND}" + +src_configure() { + local mycmakeargs=( + -DPLAYER_WITH_FLUIDLITE=OFF + # Avoid vendoring, uses libsndfile instead + -DPLAYER_ENABLE_DRWAV=OFF + + # Use the first default choice + -DPLAYER_WITH_SPEEXDSP=ON + -DPLAYER_WITH_SAMPLERATE=OFF + + -DPLAYER_WITH_MPG123=ON + -DPLAYER_WITH_LIBSNDFILE=ON + -DPLAYER_WITH_OGGVORBIS=ON + -DPLAYER_WITH_OPUS=ON + -DPLAYER_WITH_WILDMIDI=$(usex wildmidi) + -DPLAYER_WITH_FLUIDSYNTH=$(usex fluidsynth) + # Serves as fallback when FluidSynth isn't found + -DPLAYER_WITH_FLUIDLITE=OFF + + # Avoid vendoring, uses wildmidi or fluidsynth instead + -DPLAYER_ENABLE_FMMIDI=OFF + + -DPLAYER_WITH_XMP=ON + ) + + cmake_src_configure +} + +src_test() { + cmake_build check +} + +pkg_postrm() { xdg_mimeinfo_database_update; } +pkg_postinst() { xdg_mimeinfo_database_update; } |