commit: 2d0ec852ebc8b8fbab4bdaf3fdbd65663efd05e0 Author: James Le Cuirot <chewi <AT> gentoo <DOT> org> AuthorDate: Wed Jul 12 21:05:57 2023 +0000 Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org> CommitDate: Wed Jul 12 21:07:18 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d0ec852
media-libs/libopenmpt: Version bump to 0.7.2 Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org> media-libs/libopenmpt/Manifest | 1 + media-libs/libopenmpt/libopenmpt-0.7.2.ebuild | 61 +++++++++++++++++++++++++++ 2 files changed, 62 insertions(+) diff --git a/media-libs/libopenmpt/Manifest b/media-libs/libopenmpt/Manifest index b47d1874dabb..c745331582c2 100644 --- a/media-libs/libopenmpt/Manifest +++ b/media-libs/libopenmpt/Manifest @@ -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 diff --git a/media-libs/libopenmpt/libopenmpt-0.7.2.ebuild b/media-libs/libopenmpt/libopenmpt-0.7.2.ebuild new file mode 100644 index 000000000000..e5e9549227c0 --- /dev/null +++ b/media-libs/libopenmpt/libopenmpt-0.7.2.ebuild @@ -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 +}