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-sound/openmpt123/
Date: Sun, 06 Feb 2022 11:15:30
Message-Id: 1644146091.d5bb18693c607f1afde0a842e320ae76b7249744.chewi@gentoo
1 commit: d5bb18693c607f1afde0a842e320ae76b7249744
2 Author: James Le Cuirot <chewi <AT> gentoo <DOT> org>
3 AuthorDate: Sun Feb 6 11:12:48 2022 +0000
4 Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 6 11:14:51 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5bb1869
7
8 media-sound/openmpt123: Drop old 0.5.14
9
10 Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>
11
12 media-sound/openmpt123/Manifest | 1 -
13 media-sound/openmpt123/openmpt123-0.5.14.ebuild | 73 -------------------------
14 2 files changed, 74 deletions(-)
15
16 diff --git a/media-sound/openmpt123/Manifest b/media-sound/openmpt123/Manifest
17 index c28de6017f0f..b872be404f83 100644
18 --- a/media-sound/openmpt123/Manifest
19 +++ b/media-sound/openmpt123/Manifest
20 @@ -1,2 +1 @@
21 -DIST libopenmpt-0.5.14+release.autotools.tar.gz 1446898 BLAKE2B ab6ff8db2e19d859fecca882aea3e569b58d96d5055ec0dd42494a7eb38fefa9c8b88f4700d354de71346c71c6d9a96327db1c2b7b48e227928dcba0ce7347d6 SHA512 8897549c18afb57c5bf54f4dd8a1d80983829bca958052d76cda1315ef4a37f4201575817b7cedfe17a44ee79051a52aa35b26a51b554091e92c9d2dcf5924a3
22 DIST libopenmpt-0.6.1+release.autotools.tar.gz 1511280 BLAKE2B 222e71f0cc1343ff76c9ffc295664c52db74906b20a9c7cdd7d7e7d05a4795a2cda1d0de265f0e1b2dabc1bfb6757342046117222b5d035f633ae9da7e7d2301 SHA512 b43124746fc7c8bdbcfcf24c5cff1cd8330cab664fd1641ac7a35416ed25bb80c74f31db74085c13f4beb9774c17c12a4486c8c5e976f3fbb70a27c236c0f4fb
23
24 diff --git a/media-sound/openmpt123/openmpt123-0.5.14.ebuild b/media-sound/openmpt123/openmpt123-0.5.14.ebuild
25 deleted file mode 100644
26 index 82cbe36ce684..000000000000
27 --- a/media-sound/openmpt123/openmpt123-0.5.14.ebuild
28 +++ /dev/null
29 @@ -1,73 +0,0 @@
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
36 -
37 -MY_P="libopenmpt-${PV}+release.autotools"
38 -DESCRIPTION="libopenmpt-based command line player for 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="flac portaudio pulseaudio sdl sndfile"
45 -
46 -RDEPEND="
47 - ~media-libs/libopenmpt-${PV}
48 - flac? ( media-libs/flac )
49 - pulseaudio? ( media-sound/pulseaudio )
50 - sdl? ( >=media-libs/libsdl2-2.0.4 )
51 - sndfile? ( media-libs/libsndfile )
52 -"
53 -
54 -DEPEND="${RDEPEND}"
55 -BDEPEND="virtual/pkgconfig"
56 -
57 -S="${WORKDIR}/${MY_P}"
58 -
59 -src_prepare() {
60 - default
61 -
62 - # Normally libopenmpt is built alongside openmpt123. Avoid the
63 - # internal dependency and link it externally.
64 - rm -r libopenmpt/ || die
65 - sed -i \
66 - -e "s:libopenmpt/libopenmpt\.pc::g" \
67 - configure || die
68 - sed -i \
69 - -e "/_${PN}_DEPENDENCIES/s:libopenmpt\.la::g" \
70 - -e "/_${PN}_LDADD/s:libopenmpt\.la:-lopenmpt:g" \
71 - Makefile.in || die
72 -}
73 -
74 -src_configure() {
75 - # A lot of these optional dependencies relate to libopenmpt, which
76 - # we package separately, so we disable them here.
77 - econf \
78 - --disable-static \
79 - --enable-openmpt123 \
80 - --disable-examples \
81 - --disable-tests \
82 - --disable-doxygen-doc \
83 - --without-zlib \
84 - --without-mpg123 \
85 - --without-ogg \
86 - --without-vorbis \
87 - --without-vorbisfile \
88 - $(use_with pulseaudio) \
89 - $(use_with portaudio) \
90 - --without-portaudiocpp \
91 - $(use_with sdl sdl2) \
92 - $(use_with sndfile) \
93 - $(use_with flac)
94 -}
95 -
96 -src_compile() {
97 - emake "bin/${PN}$(get_exeext)"
98 -}
99 -
100 -src_install() {
101 - dobin "bin/${PN}$(get_exeext)"
102 -}