diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-09-16 09:32:48 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-09-16 09:32:48 +0100 |
commit | 9ee6d97c2883d42f204a533a8bc1f4562df778fb (patch) | |
tree | b690ddc0ca30f1472887edbb0b8313629bfcbbb2 /media-libs/zmusic | |
parent | b17a3ef12038de50228bade1f05502c74e135321 (diff) |
gentoo resync : 16.09.2020
Diffstat (limited to 'media-libs/zmusic')
-rw-r--r-- | media-libs/zmusic/Manifest | 3 | ||||
-rw-r--r-- | media-libs/zmusic/metadata.xml | 16 | ||||
-rw-r--r-- | media-libs/zmusic/zmusic-1.1.2.ebuild | 51 |
3 files changed, 70 insertions, 0 deletions
diff --git a/media-libs/zmusic/Manifest b/media-libs/zmusic/Manifest new file mode 100644 index 000000000000..11663e12b389 --- /dev/null +++ b/media-libs/zmusic/Manifest @@ -0,0 +1,3 @@ +DIST zmusic-1.1.2.tar.gz 1528782 BLAKE2B 0d6896b6aaa290fbc88ac9da3e0a3a34265d93e906ef9aa5039e96a1e39c626f843667c04601bfbfd055e53c30bc843ce3d127e89e14ea56b0112a355ed1ee75 SHA512 97fbedd08b7d0ae84c10b87c615e166b0f14a50173df5081baaa9656d2ce161d413c4568e3985122befe30f36dce4fbad049bf5df3cccb3f2a5147a7bd0d2886 +EBUILD zmusic-1.1.2.ebuild 1217 BLAKE2B cf7b4f239ec92f4b30de6e6da808a4af75ceb670de9a1b7d79e7e9427c3dc0a65d399df1e99621e101ae7958a751a83261789773c8f262ea55bca19a6b4fdcfb SHA512 404258e03424192993d44c5dc9793f0f0a6e78f2f274557099dc0c93c0a91dcd4a36d9b8ec8724cd189f36747eaeb630cfb61cac96dc730150492a0d4e56875f +MISC metadata.xml 610 BLAKE2B 34110c522d52e8bc9c2e46f5d819a6a985d32bb262587d8d7246b94a280443a89c5af0a53d166b7b1c67eeb352648ad95d90499909de05896cba938f3ca378ce SHA512 ec25e4d0ae839793d8def2a4a319887d334749b8e61d133c2e0e512003dbb4a9bacc0b45a12d4a093d7ef7fcffed63f2c0c4b98273eef46aef346365a3f976f4 diff --git a/media-libs/zmusic/metadata.xml b/media-libs/zmusic/metadata.xml new file mode 100644 index 000000000000..32e30ae67be6 --- /dev/null +++ b/media-libs/zmusic/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>games@gentoo.org</email> + <name>Gentoo Games Project</name> + </maintainer> + <use> + <flag name="fluidsynth">Enable support for MIDI via <pkg>media-sound/fluidsynth</pkg></flag> + <flag name="mpg123">Enable support for MPEG audio playback via <pkg>media-sound/mpg123</pkg></flag> + </use> + <upstream> + <bugs-to>https://github.com/coelckers/ZMusic/issues</bugs-to> + <remote-id type="github">coelckers/ZMusic</remote-id> + </upstream> +</pkgmetadata> diff --git a/media-libs/zmusic/zmusic-1.1.2.ebuild b/media-libs/zmusic/zmusic-1.1.2.ebuild new file mode 100644 index 000000000000..95bb2cf5c6f6 --- /dev/null +++ b/media-libs/zmusic/zmusic-1.1.2.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake + +MY_PN="ZMusic" +DESCRIPTION="GZDoom's music system as a standalone library" +HOMEPAGE="https://github.com/coelckers/ZMusic" +SRC_URI="https://github.com/coelckers/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD DUMB-0.9.3 GPL-3 LGPL-2.1+ LGPL-3 MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="alsa fluidsynth mpg123 sndfile" + +DEPEND=" + sys-libs/zlib + alsa? ( media-libs/alsa-lib ) + fluidsynth? ( media-sound/fluidsynth:= ) + mpg123? ( media-sound/mpg123 ) + sndfile? ( media-libs/libsndfile )" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${MY_PN}-${PV}" + +src_prepare() { + rm -rf licenses || die + cmake_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DFORCE_INTERNAL_ZLIB=OFF + -DFORCE_INTERNAL_GME=ON + -DDYN_FLUIDSYNTH=OFF + -DDYN_SNDFILE=OFF + -DDYN_MPG123=OFF + -DCMAKE_DISABLE_FIND_PACKAGE_ALSA="$(usex !alsa)" + -DCMAKE_DISABLE_FIND_PACKAGE_FluidSynth="$(usex !fluidsynth)" + -DCMAKE_DISABLE_FIND_PACKAGE_MPG123="$(usex !mpg123)" + -DCMAKE_DISABLE_FIND_PACKAGE_SndFile="$(usex !sndfile)" + -DBUILD_SHARED_LIBS=ON + ) + cmake_src_configure +} + +src_install() { + cmake_src_install +} |