media-libs/libopenmpt: Version bump to 0.7.2

Signed-off-by: James Le Cuirot <chewi@gentoo.org>
This commit is contained in:
James Le Cuirot
2023-07-12 22:07:18 +01:00
parent 2aa4540fa6
commit 2d0ec852eb
2 changed files with 62 additions and 0 deletions
+1
View File
@@ -1,3 +1,4 @@
DIST libopenmpt-0.6.10+release.autotools.tar.gz 1559701 BLAKE2B 0a9cbb45babb9adf4196bae93e118d55898801a6333982058c1320bda24980ce561768f8bb885736d357f33b13af18bfc525edab89ce0329169345a8a6a745a6 SHA512 ffa5f02be36dd8667660aff20b33ac2781fb960bbc815e3246f8e31273eb85702ed51ed04e72a1086bb5a51916dfa7d7db981c55dea52eaaa9e07e00ec170351
DIST libopenmpt-0.6.6+release.autotools.tar.gz 1554516 BLAKE2B 21e2fc4252431235608a52d3a321e26eae5d45f2328ff3e3604d84c537d72e07d72346c504901b000af04dfc52b1dd91c79f576be4331ea8685e534a174b61cd SHA512 b634c556f13dc51d1008f4216936a9b7cab25a6fb0d5218da0b692ec848de21905ed1981223ac9ecdebea9ce6c5376e91ff92e1655dd0be491fce0114e3230bf
DIST libopenmpt-0.7.1+release.autotools.tar.gz 1650178 BLAKE2B 5bc9ad5640e842d7320df59c76cae7619a36dab72a5b084a65ab0b99f00d48ce1aaca4c7344a9e14eab05bd3f05c8f60a93bce68e99cd5f93344453dee90d29f SHA512 65468341b24d80f8bf0e9cf32d43b3ca3ced0323836373ae3c794b6df5b23d7e9c230ec37dd00777e22038d340adb56b20b83815e048fae22117ead0b4044bba
DIST libopenmpt-0.7.2+release.autotools.tar.gz 1651153 BLAKE2B 170066149d443f465caa74cc308e00394dea8925753466be72a57a2e3625befaf18e3c6e9acb17f2a98068c53487093726a5a7e2a49b4efc093dd85a9073e197 SHA512 5a92641679c72694d29b2bfe46f50ad31c964426f43213b67561f67a21c5683a13a61b0810fced3c46c071f40857a2c564a68947334792e94830cbe66dc5716d
@@ -0,0 +1,61 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit multilib-minimal
MY_P="libopenmpt-${PV}+release.autotools"
DESCRIPTION="Library to decode 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 ~arm64 ~ppc ~ppc64 ~riscv ~x86"
IUSE="examples mp3 ogg static-libs test vorbis zlib"
RESTRICT="!test? ( test )"
RDEPEND="
mp3? ( media-sound/mpg123[${MULTILIB_USEDEP}] )
ogg? ( media-libs/libogg[${MULTILIB_USEDEP}] )
vorbis? ( media-libs/libvorbis[${MULTILIB_USEDEP}] )
zlib? ( sys-libs/zlib[${MULTILIB_USEDEP}] )
"
DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig"
S="${WORKDIR}/${MY_P}"
ECONF_SOURCE="${S}"
multilib_src_configure() {
# A lot of these optional dependencies relate to openmpt123, which
# we package separately, so we disable them here.
econf \
$(use_enable static-libs static) \
--disable-openmpt123 \
--disable-examples \
$(use_enable test tests) \
--disable-doxygen-doc \
$(use_with zlib) \
$(use_with mp3 mpg123) \
$(use_with ogg) \
$(use_with vorbis) \
$(use_with vorbis vorbisfile) \
--without-pulseaudio \
--without-portaudio \
--without-portaudiocpp \
--without-sdl2 \
--without-sndfile \
--without-flac
}
multilib_src_install_all() {
rm -f \
"${ED}"/usr/*/*.la \
"${ED}"/usr/share/doc/${P}/LICENSE || die
if ! use examples; then
rm -r "${ED}"/usr/share/doc/${P}/examples || die
fi
}