commit: cf4b23037e669087aa60947c4e6c4aee00e2c212
Author: James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 24 13:22:31 2026 +0000
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Sat Jan 24 13:23:10 2026 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf4b2303
media-libs/libopenmpt: Version bump to 0.8.4
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>
media-libs/libopenmpt/Manifest | 1 +
media-libs/libopenmpt/libopenmpt-0.8.4.ebuild | 66 +++++++++++++++++++++++++++
2 files changed, 67 insertions(+)
diff --git a/media-libs/libopenmpt/Manifest b/media-libs/libopenmpt/Manifest
index b994011c6594..f9b06cc6c85a 100644
--- a/media-libs/libopenmpt/Manifest
+++ b/media-libs/libopenmpt/Manifest
@@ -1,2 +1,3 @@
DIST libopenmpt-0.7.13+release.autotools.tar.gz 1681351 BLAKE2B
d75df89e85531e85974bd532773e8ed16440211448790779191a61a629dde33ef7280bcc1c82e6ac6aeb313f7f568bc7a2abe707772801f52c271977b88eff8e
SHA512
04e63c635dd6c63c2ce79db4eff971f10e4d14a12c7f143fc317a4b5f5188cd8cbf84fc5121057c2beff3a3e6b9b48767c02b9eb5c569accab3e6ff7322a9690
DIST libopenmpt-0.8.3+release.autotools.tar.gz 1759774 BLAKE2B
0f5ef96ccc727f6ca487d03981292b8e5f88f3bb05287250b4d9bd35b66eba43baa77f399880f929252a9cec2431e817bf938a4e74c1c927a45c9f4ca4bd04f3
SHA512
0b18a9b67674e300f4915f52ef902a9bb184b96a0d93efbc2058ec9526dc97039e0da53d9605e7fda97c46734529813008c2110e2cb4822e04e411444ff21db9
+DIST libopenmpt-0.8.4+release.autotools.tar.gz 1765663 BLAKE2B
0e7fa957e9e9ce16d478dee079cc368f320f268020f454380e9e0c968820669dcaeb05012d5fe857762132a01dd950fa637208d9e2a611f140434630164bbb89
SHA512
23abe582996431a9129b7119e89bfda62d5f69427aa192081574e5fc4f491a63dccce3343b104cf005a402c4484cea4642e7856c156a19d41504e4f854d72af9
diff --git a/media-libs/libopenmpt/libopenmpt-0.8.4.ebuild
b/media-libs/libopenmpt/libopenmpt-0.8.4.ebuild
new file mode 100644
index 000000000000..565b75c37987
--- /dev/null
+++ b/media-libs/libopenmpt/libopenmpt-0.8.4.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit libtool 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"
+S="${WORKDIR}/${MY_P}"
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~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? ( virtual/zlib:=[${MULTILIB_USEDEP}] )
+"
+
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+ECONF_SOURCE="${S}"
+
+src_prepare() {
+ default
+ elibtoolize
+}
+
+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 \
+ "${ED}"/usr/*/*.la \
+ "${ED}"/usr/share/doc/${PF}/LICENSE || die
+
+ if ! use examples; then
+ rm -r "${ED}"/usr/share/doc/${PF}/examples || die
+ fi
+}