mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
media-sound/openmpt123: Drop old 0.5.14
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST libopenmpt-0.5.14+release.autotools.tar.gz 1446898 BLAKE2B ab6ff8db2e19d859fecca882aea3e569b58d96d5055ec0dd42494a7eb38fefa9c8b88f4700d354de71346c71c6d9a96327db1c2b7b48e227928dcba0ce7347d6 SHA512 8897549c18afb57c5bf54f4dd8a1d80983829bca958052d76cda1315ef4a37f4201575817b7cedfe17a44ee79051a52aa35b26a51b554091e92c9d2dcf5924a3
|
||||
DIST libopenmpt-0.6.1+release.autotools.tar.gz 1511280 BLAKE2B 222e71f0cc1343ff76c9ffc295664c52db74906b20a9c7cdd7d7e7d05a4795a2cda1d0de265f0e1b2dabc1bfb6757342046117222b5d035f633ae9da7e7d2301 SHA512 b43124746fc7c8bdbcfcf24c5cff1cd8330cab664fd1641ac7a35416ed25bb80c74f31db74085c13f4beb9774c17c12a4486c8c5e976f3fbb70a27c236c0f4fb
|
||||
|
||||
@@ -1,73 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit multilib
|
||||
|
||||
MY_P="libopenmpt-${PV}+release.autotools"
|
||||
DESCRIPTION="libopenmpt-based command line player for tracked music files (modules)"
|
||||
HOMEPAGE="https://lib.openmpt.org/libopenmpt/"
|
||||
SRC_URI="https://lib.openmpt.org/files/libopenmpt/src/${MY_P}.tar.gz"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~riscv ~x86"
|
||||
IUSE="flac portaudio pulseaudio sdl sndfile"
|
||||
|
||||
RDEPEND="
|
||||
~media-libs/libopenmpt-${PV}
|
||||
flac? ( media-libs/flac )
|
||||
pulseaudio? ( media-sound/pulseaudio )
|
||||
sdl? ( >=media-libs/libsdl2-2.0.4 )
|
||||
sndfile? ( media-libs/libsndfile )
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# Normally libopenmpt is built alongside openmpt123. Avoid the
|
||||
# internal dependency and link it externally.
|
||||
rm -r libopenmpt/ || die
|
||||
sed -i \
|
||||
-e "s:libopenmpt/libopenmpt\.pc::g" \
|
||||
configure || die
|
||||
sed -i \
|
||||
-e "/_${PN}_DEPENDENCIES/s:libopenmpt\.la::g" \
|
||||
-e "/_${PN}_LDADD/s:libopenmpt\.la:-lopenmpt:g" \
|
||||
Makefile.in || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# A lot of these optional dependencies relate to libopenmpt, which
|
||||
# we package separately, so we disable them here.
|
||||
econf \
|
||||
--disable-static \
|
||||
--enable-openmpt123 \
|
||||
--disable-examples \
|
||||
--disable-tests \
|
||||
--disable-doxygen-doc \
|
||||
--without-zlib \
|
||||
--without-mpg123 \
|
||||
--without-ogg \
|
||||
--without-vorbis \
|
||||
--without-vorbisfile \
|
||||
$(use_with pulseaudio) \
|
||||
$(use_with portaudio) \
|
||||
--without-portaudiocpp \
|
||||
$(use_with sdl sdl2) \
|
||||
$(use_with sndfile) \
|
||||
$(use_with flac)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake "bin/${PN}$(get_exeext)"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin "bin/${PN}$(get_exeext)"
|
||||
}
|
||||
Reference in New Issue
Block a user