summaryrefslogtreecommitdiff
path: root/media-sound/mpg123
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound/mpg123')
-rw-r--r--media-sound/mpg123/Manifest6
-rw-r--r--media-sound/mpg123/mpg123-1.28.1-r1.ebuild (renamed from media-sound/mpg123/mpg123-1.28.0-r1.ebuild)5
-rw-r--r--media-sound/mpg123/mpg123-1.28.1.ebuild105
-rw-r--r--media-sound/mpg123/mpg123-1.28.2-r1.ebuild (renamed from media-sound/mpg123/mpg123-1.28.2.ebuild)5
4 files changed, 10 insertions, 111 deletions
diff --git a/media-sound/mpg123/Manifest b/media-sound/mpg123/Manifest
index 8fcfc7b0f88f..a0f51fdb17a7 100644
--- a/media-sound/mpg123/Manifest
+++ b/media-sound/mpg123/Manifest
@@ -1,7 +1,5 @@
-DIST mpg123-1.28.0.tar.bz2 1063321 BLAKE2B a4fa37ac9c3aca867ac4f18eea9c2d39ed80c7e86908b2f5399da8ae82c2e4b57c1a041f17427702da14af9902051ce4de5a85497f7236963ae390ef8715327a SHA512 4e333ee4f3bbebcfff280cf286265e969a8da93b9043d03c0189e22cd40918b07bf12181bd06141d4479c78bc0d0ed472e0d3bb61b2fdb96fe9f7cd48f9a6b77
DIST mpg123-1.28.1.tar.bz2 1066558 BLAKE2B 4516ed6cafda21aaaf132266b91ae235ca0b911a79c4514c0588c030f4f5f2f3923153729f1fc3354cb5fa982ca8dc27ba6cb58fa884da379a8913c8119e8bd2 SHA512 af1fb96878a7b57f62f06445e9b888cbecc569a91fe118459c71415f62287f9d9de9b0d0663522cb181e1a21692d64d0a810d8aebfa6e085eb76926d7a2186f9
DIST mpg123-1.28.2.tar.bz2 1065867 BLAKE2B 2fc585598e49334b608c2a8487b40b599dc1a57afc53249975a339dbc381b968cc099d4274fb74872d3c4c54d1a6ee1858c4b00c78feb93809c823cc56398661 SHA512 45ac11c5997d13f80917e135a40d2fb4448703dad56271dfe8ce7c8dea339cbac7727ec121779040bd7a07fc4ea79086860ea4a8ec879eda3bdcbf7d57348cda
-EBUILD mpg123-1.28.0-r1.ebuild 2762 BLAKE2B d04be49750a688f21f4696b5649f5330b0832a09375475537072675473bb59d8a3a424b5c3e68141d8f21815e3ed019b3d1048b6a8d2aa005ca6511fe2a9bde3 SHA512 b9b74309aed772b7bb4984786c7c0635b6d5dec56033a1fc176549be55b7b36d24abbc21d3e69dca8417a99da56b23d36000489fa2e6951f266af21103342114
-EBUILD mpg123-1.28.1.ebuild 2764 BLAKE2B 0dee554c649ed8ee7dbe5d2b3dc421d2f25ce1ccc2f1877cb4d625d09ac705e5d8ad9133267dbec60ea27f3cf5211ee6ac6579de1ddc9a034357b6f38c02fbbb SHA512 775a08a816b372686fd28c88f3a209f4c284812cc36a7de7a0cc41caad41a1889173e699f44c2efc85b7bf186ac4e4a94221ec732c0145f5c21814cc0c03903a
-EBUILD mpg123-1.28.2.ebuild 2776 BLAKE2B d09dcde88f40d214cadd6f63d6a91b338cb70dbf0da902cc329e3d313cf2095a55af1d9db727b6988b224756cf1e8781ebdc32db34ec1fafd85c30d2b2ce5cb4 SHA512 4ba2f8ceab3d4ed97e245091ded513985535fc7e11cdb040585fbd8d0916a22fd7b5b4a2d4bc27ed89b1ffbae81835e18da4afb649c47400282be43df21bb5b2
+EBUILD mpg123-1.28.1-r1.ebuild 2985 BLAKE2B f8336768a984ea5833a8367c5117634c8cb2df08a26dd15347198ccbc8a6ddb7af7823d2159aad3840a2c0a0f0c38a917ace673985c98bdcede043defde6066a SHA512 349beec6a8e9d9c7a2f4762760da91fc4683d956098cf7bb9b230aab601eeb1754f428fbcb141e2cb66f0c834651ad2b6ca64ceecee9b2200f8f449b6912306f
+EBUILD mpg123-1.28.2-r1.ebuild 2999 BLAKE2B 49a074e953c393d80541c36a02e2ca1340937b4d844650177316b76662a2b4a47c775ff119f32ad0c65605f1daf554c6e46c985bbf83070961064479c9fea15e SHA512 359623d74681fd7401f131d63094219cb2a1e42fa2fa1a27692c48c432e1929809c5b10f9b9a6d3a97983de05ae4410f176368d39e9c269a10eac264d81447ee
MISC metadata.xml 525 BLAKE2B 8604e161c32fb1f812a3f90d0489983289dc1db8ffc3dd259ea2cc2d8bbbf14a99448619f881c88f25188434efc903d399498126aceba9aa14e21094aa23dfa7 SHA512 06621f91056d0eb4131385dd430c15839c943d6560c59b711508064a8141020b795d0f7193f884365092332c4b3464dd0cd493e921519c9eab8b7ea4d9ce03b7
diff --git a/media-sound/mpg123/mpg123-1.28.0-r1.ebuild b/media-sound/mpg123/mpg123-1.28.1-r1.ebuild
index b43f88f17c22..4afe46cf0ce9 100644
--- a/media-sound/mpg123/mpg123-1.28.0-r1.ebuild
+++ b/media-sound/mpg123/mpg123-1.28.1-r1.ebuild
@@ -15,6 +15,9 @@ KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 sparc x86 ~amd64-li
IUSE="cpu_flags_x86_3dnow cpu_flags_x86_3dnowext cpu_flags_ppc_altivec alsa coreaudio int-quality ipv6 jack cpu_flags_x86_mmx nas oss portaudio pulseaudio sdl cpu_flags_x86_sse"
# No MULTILIB_USEDEP here since we only build libmpg123 for non native ABIs.
+# Note: build system prefers libsdl2 > libsdl. We could in theory add both
+# but it's tricky when it comes to handling switching between them properly.
+# We'd need a USE flag for both sdl1 and sdl2 and to make them clash.
RDEPEND="
dev-libs/libltdl:0
alsa? ( media-libs/alsa-lib )
@@ -22,7 +25,7 @@ RDEPEND="
nas? ( media-libs/nas )
portaudio? ( media-libs/portaudio )
pulseaudio? ( media-sound/pulseaudio )
- sdl? ( media-libs/libsdl )"
+ sdl? ( media-libs/libsdl2 )"
DEPEND="${RDEPEND}"
BDEPEND="
sys-devel/libtool
diff --git a/media-sound/mpg123/mpg123-1.28.1.ebuild b/media-sound/mpg123/mpg123-1.28.1.ebuild
deleted file mode 100644
index d3055ae70760..000000000000
--- a/media-sound/mpg123/mpg123-1.28.1.ebuild
+++ /dev/null
@@ -1,105 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit flag-o-matic toolchain-funcs libtool multilib-minimal
-
-DESCRIPTION="a realtime MPEG 1.0/2.0/2.5 audio player for layers 1, 2 and 3"
-HOMEPAGE="https://www.mpg123.org/"
-SRC_URI="https://www.mpg123.org/download/${P}.tar.bz2"
-
-LICENSE="GPL-2 LGPL-2.1"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x86-solaris"
-IUSE="cpu_flags_x86_3dnow cpu_flags_x86_3dnowext cpu_flags_ppc_altivec alsa coreaudio int-quality ipv6 jack cpu_flags_x86_mmx nas oss portaudio pulseaudio sdl cpu_flags_x86_sse"
-
-# No MULTILIB_USEDEP here since we only build libmpg123 for non native ABIs.
-RDEPEND="
- dev-libs/libltdl:0
- alsa? ( media-libs/alsa-lib )
- jack? ( virtual/jack )
- nas? ( media-libs/nas )
- portaudio? ( media-libs/portaudio )
- pulseaudio? ( media-sound/pulseaudio )
- sdl? ( media-libs/libsdl )"
-DEPEND="${RDEPEND}"
-BDEPEND="
- sys-devel/libtool
- virtual/pkgconfig
-"
-IDEPEND="app-eselect/eselect-mpg123"
-
-DOCS=( AUTHORS ChangeLog NEWS NEWS.libmpg123 README )
-
-src_prepare() {
- default
- elibtoolize # for Darwin bundles
-}
-
-multilib_src_configure() {
- local _audio=dummy
- local _output=dummy
- local _cpu=generic_fpu
-
- # Build fails without -D_GNU_SOURCE like this:
- # error: ‘struct hostent’ has no member named ‘h_addr’
- append-cflags -D_GNU_SOURCE
-
- if $(multilib_is_native_abi) ; then
- local flag
- for flag in nas portaudio sdl oss jack alsa pulseaudio coreaudio; do
- if use ${flag}; then
- _audio+=" ${flag/pulseaudio/pulse}"
- _output=${flag/pulseaudio/pulse}
- fi
- done
- fi
-
- use cpu_flags_ppc_altivec && _cpu=altivec
-
- if [[ $(tc-arch) == amd64 || ${ARCH} == x64-* ]]; then
- use cpu_flags_x86_sse && _cpu=x86-64
- elif use x86 && gcc-specs-pie ; then
- # Don't use any mmx, 3dnow, sse and 3dnowext
- # bug #164504
- _cpu=generic_fpu
- else
- use cpu_flags_x86_mmx && _cpu=mmx
- use cpu_flags_x86_3dnow && _cpu=3dnow
- use cpu_flags_x86_sse && _cpu=x86
- use cpu_flags_x86_3dnowext && _cpu=x86
- fi
-
- local myconf=(
- --with-optimization=0
- --with-audio="${_audio}"
- --with-default-audio=${_output}
- --with-cpu=${_cpu}
- --enable-network
- $(use_enable ipv6)
- --enable-int-quality=$(usex int-quality)
- )
-
- multilib_is_native_abi || myconf+=( --disable-modules )
-
- ECONF_SOURCE="${S}" econf "${myconf[@]}"
-
- if ! $(multilib_is_native_abi) ; then
- sed -i -e 's:src doc:src/libmpg123:' Makefile || die
- fi
-}
-
-multilib_src_install_all() {
- einstalldocs
- mv "${ED}"/usr/bin/mpg123{,-mpg123}
- find "${ED}" -type f -name '*.la' -delete || die
-}
-
-pkg_postinst() {
- eselect mpg123 update ifunset
-}
-
-pkg_postrm() {
- eselect mpg123 update ifunset
-}
diff --git a/media-sound/mpg123/mpg123-1.28.2.ebuild b/media-sound/mpg123/mpg123-1.28.2-r1.ebuild
index e4b097ab4197..29a2b1f3de75 100644
--- a/media-sound/mpg123/mpg123-1.28.2.ebuild
+++ b/media-sound/mpg123/mpg123-1.28.2-r1.ebuild
@@ -15,6 +15,9 @@ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc
IUSE="cpu_flags_x86_3dnow cpu_flags_x86_3dnowext cpu_flags_ppc_altivec alsa coreaudio int-quality ipv6 jack cpu_flags_x86_mmx nas oss portaudio pulseaudio sdl cpu_flags_x86_sse"
# No MULTILIB_USEDEP here since we only build libmpg123 for non native ABIs.
+# Note: build system prefers libsdl2 > libsdl. We could in theory add both
+# but it's tricky when it comes to handling switching between them properly.
+# We'd need a USE flag for both sdl1 and sdl2 and to make them clash.
RDEPEND="
dev-libs/libltdl:0
alsa? ( media-libs/alsa-lib )
@@ -22,7 +25,7 @@ RDEPEND="
nas? ( media-libs/nas )
portaudio? ( media-libs/portaudio )
pulseaudio? ( media-sound/pulseaudio )
- sdl? ( media-libs/libsdl )"
+ sdl? ( media-libs/libsdl2 )"
DEPEND="${RDEPEND}"
BDEPEND="
sys-devel/libtool