diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-01-05 14:04:26 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-01-05 14:04:26 +0000 |
commit | 8fd9d385e5bc3c01115ec2ddcb2227607eb90861 (patch) | |
tree | aba1e6ef6b95e94172c009394cd1fcbc383e7d6e /media-plugins | |
parent | 1ddcee0bd115d2f843f82061cb0d1741bf90151d (diff) |
gentoo auto-resync : 05:01:2024 - 14:04:25
Diffstat (limited to 'media-plugins')
-rw-r--r-- | media-plugins/Manifest.gz | bin | 42586 -> 42750 bytes | |||
-rw-r--r-- | media-plugins/gst-plugins-mpg123/Manifest | 3 | ||||
-rw-r--r-- | media-plugins/gst-plugins-mpg123/gst-plugins-mpg123-1.20.6-r1.ebuild | 15 | ||||
-rw-r--r-- | media-plugins/gst-plugins-mpg123/gst-plugins-mpg123-1.22.3-r2.ebuild (renamed from media-plugins/gst-plugins-mpg123/gst-plugins-mpg123-1.22.3-r1.ebuild) | 2 | ||||
-rw-r--r-- | media-plugins/mpg123-output-plugins/Manifest | 3 | ||||
-rw-r--r-- | media-plugins/mpg123-output-plugins/metadata.xml | 18 | ||||
-rw-r--r-- | media-plugins/mpg123-output-plugins/mpg123-output-plugins-1.32.3.ebuild | 106 |
7 files changed, 145 insertions, 2 deletions
diff --git a/media-plugins/Manifest.gz b/media-plugins/Manifest.gz Binary files differindex 4cfc9ca3b053..6e6bd19ab118 100644 --- a/media-plugins/Manifest.gz +++ b/media-plugins/Manifest.gz diff --git a/media-plugins/gst-plugins-mpg123/Manifest b/media-plugins/gst-plugins-mpg123/Manifest index 5c3f790fc944..6967957e1a23 100644 --- a/media-plugins/gst-plugins-mpg123/Manifest +++ b/media-plugins/gst-plugins-mpg123/Manifest @@ -2,7 +2,8 @@ DIST gst-plugins-good-1.20.5.tar.xz 3439904 BLAKE2B 682f8577ad048d5db5a3517fa2d3 DIST gst-plugins-good-1.20.6.tar.xz 3438312 BLAKE2B dcb948a6ec357fe5bac3c5bcdf395dcec05634421d8bea125c89a4d47362a848890d451379b714f754094d763f68311a26b519ff503298aed3d04e6655c8588a SHA512 ee2463aa339baa2b8e52bba200c919871c4ce459b18ac74f998429ef55a41b34afdd2ba28b00810a5e508233ad79e6286d6b08c4755a29d0a2628ccf50bcedbf DIST gst-plugins-good-1.22.3.tar.xz 2826224 BLAKE2B 5e1c19442ca25e81312f34c91c5154022b253b2223dcea8fb8f0351dc4d465663323aa69b534c1bd47b68ace9d33722923ffedef6b8e663beac37b2d8cf23877 SHA512 915352911f0ee2b1b15ff83514c6ca7e1ca8c2f122eac0c4c47539e8dcc2233a6f8478e083555af8b254d9a541923aa74e106a404b56fb8a732ea53421c3d6ca EBUILD gst-plugins-mpg123-1.20.5.ebuild 384 BLAKE2B 3f3fe741f906850be1e42f11e8be32410e7c215227b01d6e5b0420110b9132a2494fd907dcce7394674ab104d9c1615f14fd2e9ca277c4e521d8c01410cbb76d SHA512 fe50bf93afc4b3d0b0524f8abf177db7b57e9cdc27513d3b3c2f2a8bed6dc5e06c8719e8f403314fd01ab161c5b1657c195e33fe79823acab56c3ec64778dba8 +EBUILD gst-plugins-mpg123-1.20.6-r1.ebuild 395 BLAKE2B 3b6e608e37d938a2a4ff00567180d8363b50c36037fe6597b39e730763e69132dab97c1d06478ea7dbc7ff183e92457c69567c949bf6428914f8029829631c21 SHA512 2db7b7e4c84813452677a2d265b15796b8621fd946135e8fed6e9449e2ad1bb9d0111571c1c06b4d61646b79cadafa3e01fa94b164fadca39abb127936adec94 EBUILD gst-plugins-mpg123-1.20.6.ebuild 384 BLAKE2B 3f3fe741f906850be1e42f11e8be32410e7c215227b01d6e5b0420110b9132a2494fd907dcce7394674ab104d9c1615f14fd2e9ca277c4e521d8c01410cbb76d SHA512 fe50bf93afc4b3d0b0524f8abf177db7b57e9cdc27513d3b3c2f2a8bed6dc5e06c8719e8f403314fd01ab161c5b1657c195e33fe79823acab56c3ec64778dba8 -EBUILD gst-plugins-mpg123-1.22.3-r1.ebuild 392 BLAKE2B 78d31b8761130cc112e0431d965eb4c7b61489812938d331c9d9af4e7fa9eede59de92adb011446230200dda24f05bcd89b10dc238737f27239d859afdd2032d SHA512 4ced89bd8d64c4700f69abedad165cd77c4e8111c0938b23f43cdd09ca24885863239a3883d2866417b5a6712985cca9dcb0465195a82d4739a2f05e340e5d30 +EBUILD gst-plugins-mpg123-1.22.3-r2.ebuild 395 BLAKE2B ce54d596c57d388d28a8dc6a4cfa0b56789bafdcfafed212a6e8d18a7335d00a5f616e9df01637e7356fdb48e41dbf37359f1568b28e8098d3f0c3d16ff8f1dc SHA512 32796403ffd34af1e01b7fa0d97d63f02eb31b62bb10bc93ae79425945ee710136b3051343641b6d279139c48e34602207ee6202f78dabaee1a1e632cc9f03e0 EBUILD gst-plugins-mpg123-1.22.3.ebuild 390 BLAKE2B db74d5d3627cd11d1b2b47cc6afc8098179553099ec65451c88babce4290e3c9ab691fbf2cbee0e6046bce89adea41b524b9684f38601d5182620f56ec0b2446 SHA512 d2830aed8845806db16be3c0eb793ea9e0dca98d8ec8841567e90656263a62f1b08d0cf3fbae711a097c54a23d2b4b4e4cd2ab1c7c99ffcd97dca4e2e71b977c MISC metadata.xml 263 BLAKE2B dd46173106e3b1509b54acb2e1688a98d89f8f1fe255db2f2db9fc82021410df1139ebb7fe913acf44e64bb8ca4b00e8f71801b92f0adf3d4110f4a7f9226900 SHA512 53d4401737d15aac01f0b0cf65fb159908ccf3611604b38c28baaf5a5f4a290931a6cbfd735421dadd8f1114367cf2d79bf3f4b5473ba958bd46e0c1ee666454 diff --git a/media-plugins/gst-plugins-mpg123/gst-plugins-mpg123-1.20.6-r1.ebuild b/media-plugins/gst-plugins-mpg123/gst-plugins-mpg123-1.20.6-r1.ebuild new file mode 100644 index 000000000000..a3b466f06b79 --- /dev/null +++ b/media-plugins/gst-plugins-mpg123/gst-plugins-mpg123-1.20.6-r1.ebuild @@ -0,0 +1,15 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +GST_ORG_MODULE=gst-plugins-good + +inherit gstreamer-meson + +DESCRIPTION="MP3 decoder plugin for GStreamer" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" + +RDEPEND=" + >=media-sound/mpg123-base-1.23[${MULTILIB_USEDEP}] +" +DEPEND="${RDEPEND}" diff --git a/media-plugins/gst-plugins-mpg123/gst-plugins-mpg123-1.22.3-r1.ebuild b/media-plugins/gst-plugins-mpg123/gst-plugins-mpg123-1.22.3-r2.ebuild index 49eff0531eb1..047a41b5be5b 100644 --- a/media-plugins/gst-plugins-mpg123/gst-plugins-mpg123-1.22.3-r1.ebuild +++ b/media-plugins/gst-plugins-mpg123/gst-plugins-mpg123-1.22.3-r2.ebuild @@ -10,6 +10,6 @@ DESCRIPTION="MP3 decoder plugin for GStreamer" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" RDEPEND=" - >=media-libs/libmpg123-1.23[${MULTILIB_USEDEP}] + >=media-sound/mpg123-base-1.23[${MULTILIB_USEDEP}] " DEPEND="${RDEPEND}" diff --git a/media-plugins/mpg123-output-plugins/Manifest b/media-plugins/mpg123-output-plugins/Manifest new file mode 100644 index 000000000000..0e0c7324112d --- /dev/null +++ b/media-plugins/mpg123-output-plugins/Manifest @@ -0,0 +1,3 @@ +DIST mpg123-1.32.3.tar.bz2 1111054 BLAKE2B 67f889403c2bb639d675ec5ebea5a19c4b7174971d62bdd8d940ad659e6b0c06dada38422fc9d71b878917aa89e305ec48c8faa78d65d507cd6a0c9a79951359 SHA512 946c1073b6eebfd65333ec543df1caeea25864479e9c8e153fb53d8b636cc756d8d81947f7b5cbedbbfb1ea664d3fb27562ed36e7726d95e80591bd2ad622afc +EBUILD mpg123-output-plugins-1.32.3.ebuild 2959 BLAKE2B a820ff9003852af1a2d85ebda88e7283e6587222eaf12f61713238d411f86353879b4f13406001af56e3dfa91f8b869090a74e151203b06a30eb1bc1adf59b01 SHA512 6a7fdac0aa3d33e996719c120587d2387a75b626de1554658c3a505e078afa3c31a91e187dcf3b5a5f55f244477e39bbf990e5d47234db1294af686f240f0a90 +MISC metadata.xml 579 BLAKE2B e61622166d7240119fcdb5f79d5b228b5fef1086e818a3c5dce16d70f290b621a8c48efff36ff93d60cb63014e4d33db8401a902cdcc26d2779464788e735cb5 SHA512 f546df9ffe7d486a0f9450f86d531a48227820c597cb60216c61f589478fb312c1c1026deb90929feeb4b6804443ead310dbf1fdc3d1739a13220155c5523707 diff --git a/media-plugins/mpg123-output-plugins/metadata.xml b/media-plugins/mpg123-output-plugins/metadata.xml new file mode 100644 index 000000000000..d86d05aa1cec --- /dev/null +++ b/media-plugins/mpg123-output-plugins/metadata.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>sound@gentoo.org</email> + <name>Gentoo Sound project</name> + </maintainer> + <upstream> + <maintainer> + <email>thomas-forum@orgis.org</email> + <name>Thomas Orgis</name> + </maintainer> + <remote-id type="sourceforge">mpg123</remote-id> + </upstream> + <use> + <flag name="int-quality">Use rounding instead of fast truncation for integer output, where possible</flag> + </use> +</pkgmetadata> diff --git a/media-plugins/mpg123-output-plugins/mpg123-output-plugins-1.32.3.ebuild b/media-plugins/mpg123-output-plugins/mpg123-output-plugins-1.32.3.ebuild new file mode 100644 index 000000000000..f47d273c12f9 --- /dev/null +++ b/media-plugins/mpg123-output-plugins/mpg123-output-plugins-1.32.3.ebuild @@ -0,0 +1,106 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MY_PN="mpg123" +MY_P="${MY_PN}-${PV}" +inherit flag-o-matic libtool toolchain-funcs + +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="mirror://sourceforge/${MY_PN}/${MY_P}.tar.bz2" + +S="${WORKDIR}/${MY_P}" + +LICENSE="GPL-2 LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" +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=" + !<media-sound/mpg123-1.32.3-r100 + !media-libs/libmpg123 + dev-libs/libltdl:0 + alsa? ( media-libs/alsa-lib ) + jack? ( virtual/jack ) + nas? ( media-libs/nas ) + portaudio? ( media-libs/portaudio ) + pulseaudio? ( media-libs/libpulse ) + sdl? ( media-libs/libsdl2 )" +DEPEND="${RDEPEND}" +BDEPEND=" + sys-devel/libtool + virtual/pkgconfig +" + +DOCS=( AUTHORS ChangeLog NEWS NEWS.libmpg123 README ) + +src_prepare() { + default + elibtoolize # for Darwin bundles + + # Rerun autotools with patched configure.ac + #eautoreconf +} + +src_configure() { + local _audio= + 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 + + append-lfs-flags + + local flag + for flag in coreaudio pulseaudio jack alsa oss sdl portaudio nas ; do + if use ${flag}; then + _audio+=" ${flag/pulseaudio/pulse}" + fi + done + + 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="${_audio}" + --with-cpu=${_cpu} + --enable-network + $(use_enable ipv6) + --enable-int-quality=$(usex int-quality) + --disable-components --enable-libout123-modules + ) + + ECONF_SOURCE="${S}" econf "${myconf[@]}" +} + +src_install() { + emake DESTDIR="${D}" install + + einstalldocs + find "${ED}" -type f -name '*.la' -delete || die + + # mpg123-1.32.3 cannot disable dummy output module so it is built again + # TODO: remove this with >=1.32.4 release + rm "${ED}"/usr/$(get_libdir)/mpg123/output_dummy.so || die +} |