Gentoo Archives: gentoo-commits

From: James Le Cuirot <chewi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/zmusic/
Date: Sun, 01 Nov 2020 22:03:55
Message-Id: 1604268100.fb351619780cd717b03567145b5f94afc7f966ce.chewi@gentoo
1 commit: fb351619780cd717b03567145b5f94afc7f966ce
2 Author: William Breathitt Gray <vilhelm.gray <AT> gmail <DOT> com>
3 AuthorDate: Sat Oct 31 14:51:13 2020 +0000
4 Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
5 CommitDate: Sun Nov 1 22:01:40 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb351619
7
8 media-libs/zmusic: version bump to 1.1.4
9
10 Closes: https://bugs.gentoo.org/740752
11 Closes: https://bugs.gentoo.org/752033
12 Signed-off-by: William Breathitt Gray <vilhelm.gray <AT> gmail.com>
13 Closes: https://github.com/gentoo/gentoo/pull/18091
14 Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>
15
16 media-libs/zmusic/Manifest | 1 +
17 media-libs/zmusic/zmusic-1.1.4.ebuild | 51 +++++++++++++++++++++++++++++++++++
18 2 files changed, 52 insertions(+)
19
20 diff --git a/media-libs/zmusic/Manifest b/media-libs/zmusic/Manifest
21 index b9b106f7302..207edb31e31 100644
22 --- a/media-libs/zmusic/Manifest
23 +++ b/media-libs/zmusic/Manifest
24 @@ -1 +1,2 @@
25 DIST zmusic-1.1.2.tar.gz 1528782 BLAKE2B 0d6896b6aaa290fbc88ac9da3e0a3a34265d93e906ef9aa5039e96a1e39c626f843667c04601bfbfd055e53c30bc843ce3d127e89e14ea56b0112a355ed1ee75 SHA512 97fbedd08b7d0ae84c10b87c615e166b0f14a50173df5081baaa9656d2ce161d413c4568e3985122befe30f36dce4fbad049bf5df3cccb3f2a5147a7bd0d2886
26 +DIST zmusic-1.1.4.tar.gz 1809045 BLAKE2B aae64fa8b10b44d79ce4738527e613e65c65a8e367dc998f966938ccc10b9689a58decb702c1ca943ed3371092b69ed91dbe4645b707626ac525d29d750334d5 SHA512 5188fb095897769514c4a4698fabb5640e7ca86fe0665d4bfe6649a940b00ac02d87decda626be8a848ba6db0a468cc985d74d0fda2d3da8657fee079e0bde73
27
28 diff --git a/media-libs/zmusic/zmusic-1.1.4.ebuild b/media-libs/zmusic/zmusic-1.1.4.ebuild
29 new file mode 100644
30 index 00000000000..221e294349f
31 --- /dev/null
32 +++ b/media-libs/zmusic/zmusic-1.1.4.ebuild
33 @@ -0,0 +1,51 @@
34 +# Copyright 1999-2020 Gentoo Authors
35 +# Distributed under the terms of the GNU General Public License v2
36 +
37 +EAPI=7
38 +
39 +inherit cmake
40 +
41 +MY_PN="ZMusic"
42 +DESCRIPTION="GZDoom's music system as a standalone library"
43 +HOMEPAGE="https://github.com/coelckers/ZMusic"
44 +SRC_URI="https://github.com/coelckers/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
45 +
46 +LICENSE="BSD DUMB-0.9.3 GPL-3 LGPL-2.1+ LGPL-3 MIT"
47 +SLOT="0"
48 +KEYWORDS="~amd64 ~arm ~x86"
49 +IUSE="alsa fluidsynth mpg123 +sndfile"
50 +
51 +DEPEND="
52 + sys-libs/zlib
53 + alsa? ( media-libs/alsa-lib )
54 + fluidsynth? ( media-sound/fluidsynth:= )
55 + mpg123? ( media-sound/mpg123 )
56 + sndfile? ( media-libs/libsndfile )"
57 +RDEPEND="${DEPEND}"
58 +
59 +S="${WORKDIR}/${MY_PN}-${PV}"
60 +
61 +src_prepare() {
62 + rm -rf licenses || die
63 + cmake_src_prepare
64 +}
65 +
66 +src_configure() {
67 + local mycmakeargs=(
68 + -DFORCE_INTERNAL_ZLIB=OFF
69 + -DFORCE_INTERNAL_GME=ON
70 + -DDYN_FLUIDSYNTH=OFF
71 + -DDYN_SNDFILE=OFF
72 + -DDYN_MPG123=OFF
73 + -DCMAKE_DISABLE_FIND_PACKAGE_ALSA="$(usex !alsa)"
74 + -DCMAKE_DISABLE_FIND_PACKAGE_FluidSynth="$(usex !fluidsynth)"
75 + -DCMAKE_DISABLE_FIND_PACKAGE_MPG123="$(usex !mpg123)"
76 + -DCMAKE_DISABLE_FIND_PACKAGE_SndFile="$(usex !sndfile)"
77 + -DBUILD_SHARED_LIBS=ON
78 + )
79 + cmake_src_configure
80 +}
81 +
82 +src_install() {
83 + cmake_src_install
84 +}