1 |
commit: 8d0b75ac78693052f0babda45b7afecc8861e62c |
2 |
Author: James Le Cuirot <chewi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Dec 27 13:14:05 2021 +0000 |
4 |
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Dec 27 13:14:05 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d0b75ac |
7 |
|
8 |
media-libs/libopenmpt: Version bump to 0.6.0 |
9 |
|
10 |
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org> |
11 |
|
12 |
media-libs/libopenmpt/Manifest | 1 + |
13 |
media-libs/libopenmpt/libopenmpt-0.6.0.ebuild | 61 +++++++++++++++++++++++++++ |
14 |
2 files changed, 62 insertions(+) |
15 |
|
16 |
diff --git a/media-libs/libopenmpt/Manifest b/media-libs/libopenmpt/Manifest |
17 |
index 197a8eaf9e90..28104baf1634 100644 |
18 |
--- a/media-libs/libopenmpt/Manifest |
19 |
+++ b/media-libs/libopenmpt/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST libopenmpt-0.5.14+release.autotools.tar.gz 1446898 BLAKE2B ab6ff8db2e19d859fecca882aea3e569b58d96d5055ec0dd42494a7eb38fefa9c8b88f4700d354de71346c71c6d9a96327db1c2b7b48e227928dcba0ce7347d6 SHA512 8897549c18afb57c5bf54f4dd8a1d80983829bca958052d76cda1315ef4a37f4201575817b7cedfe17a44ee79051a52aa35b26a51b554091e92c9d2dcf5924a3 |
22 |
+DIST libopenmpt-0.6.0+release.autotools.tar.gz 1506911 BLAKE2B 44cf8c5f725d2b11409d23e293dca0c151cad17c029da7f70a22366e75baa1b49b763f67d617d84a142efd3933b90344ccca5d881e5c724e2cfe0210170593dc SHA512 8da6cf1f2dbf683c32f45cbf884784360cced5e21f9862c96a1a679bd90b36be9a7cc59accbf82271a804722986cb81e75915f6564aeaaa248ed3e967dfdfb1a |
23 |
|
24 |
diff --git a/media-libs/libopenmpt/libopenmpt-0.6.0.ebuild b/media-libs/libopenmpt/libopenmpt-0.6.0.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..ecc623d23085 |
27 |
--- /dev/null |
28 |
+++ b/media-libs/libopenmpt/libopenmpt-0.6.0.ebuild |
29 |
@@ -0,0 +1,61 @@ |
30 |
+# Copyright 1999-2021 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+inherit multilib-minimal |
36 |
+ |
37 |
+MY_P="libopenmpt-${PV}+release.autotools" |
38 |
+DESCRIPTION="Library to decode tracked music files (modules)" |
39 |
+HOMEPAGE="https://lib.openmpt.org/libopenmpt/" |
40 |
+SRC_URI="https://lib.openmpt.org/files/libopenmpt/src/${MY_P}.tar.gz" |
41 |
+LICENSE="BSD" |
42 |
+SLOT="0" |
43 |
+KEYWORDS="~amd64 ~arm ~riscv ~x86" |
44 |
+IUSE="examples mp3 ogg static-libs test vorbis zlib" |
45 |
+RESTRICT="!test? ( test )" |
46 |
+ |
47 |
+RDEPEND=" |
48 |
+ mp3? ( media-sound/mpg123[${MULTILIB_USEDEP}] ) |
49 |
+ ogg? ( media-libs/libogg[${MULTILIB_USEDEP}] ) |
50 |
+ vorbis? ( media-libs/libvorbis[${MULTILIB_USEDEP}] ) |
51 |
+ zlib? ( sys-libs/zlib[${MULTILIB_USEDEP}] ) |
52 |
+" |
53 |
+ |
54 |
+DEPEND="${RDEPEND}" |
55 |
+BDEPEND="virtual/pkgconfig" |
56 |
+ |
57 |
+S="${WORKDIR}/${MY_P}" |
58 |
+ECONF_SOURCE="${S}" |
59 |
+ |
60 |
+multilib_src_configure() { |
61 |
+ # A lot of these optional dependencies relate to openmpt123, which |
62 |
+ # we package separately, so we disable them here. |
63 |
+ econf \ |
64 |
+ $(use_enable static-libs static) \ |
65 |
+ --disable-openmpt123 \ |
66 |
+ --disable-examples \ |
67 |
+ $(use_enable test tests) \ |
68 |
+ --disable-doxygen-doc \ |
69 |
+ $(use_with zlib) \ |
70 |
+ $(use_with mp3 mpg123) \ |
71 |
+ $(use_with ogg) \ |
72 |
+ $(use_with vorbis) \ |
73 |
+ $(use_with vorbis vorbisfile) \ |
74 |
+ --without-pulseaudio \ |
75 |
+ --without-portaudio \ |
76 |
+ --without-portaudiocpp \ |
77 |
+ --without-sdl2 \ |
78 |
+ --without-sndfile \ |
79 |
+ --without-flac |
80 |
+} |
81 |
+ |
82 |
+multilib_src_install_all() { |
83 |
+ rm -f \ |
84 |
+ "${ED}"/usr/*/*.la \ |
85 |
+ "${ED}"/usr/share/doc/${P}/LICENSE || die |
86 |
+ |
87 |
+ if ! use examples; then |
88 |
+ rm -r "${ED}"/usr/share/doc/${P}/examples || die |
89 |
+ fi |
90 |
+} |