diff options
author | Sam James <sam@gentoo.org> | 2023-05-23 14:35:15 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-05-30 19:04:06 +0100 |
commit | f5067cd5c9e150ebe8cf6343c4950fcf27584471 (patch) | |
tree | 216f4740d65c8309f8c2d1a1ff2625908345b708 | |
parent | media-plugins/gst-plugins-ofa: add 1.22.3 (diff) | |
download | gentoo-f5067cd5c9e150ebe8cf6343c4950fcf27584471.tar.gz gentoo-f5067cd5c9e150ebe8cf6343c4950fcf27584471.tar.bz2 gentoo-f5067cd5c9e150ebe8cf6343c4950fcf27584471.zip |
media-plugins/gst-plugins-opus: add 1.22.3
Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r-- | media-plugins/gst-plugins-opus/Manifest | 2 | ||||
-rw-r--r-- | media-plugins/gst-plugins-opus/gst-plugins-opus-1.22.3.ebuild | 54 |
2 files changed, 56 insertions, 0 deletions
diff --git a/media-plugins/gst-plugins-opus/Manifest b/media-plugins/gst-plugins-opus/Manifest index 4717e5a1beb7..14efe1fb9749 100644 --- a/media-plugins/gst-plugins-opus/Manifest +++ b/media-plugins/gst-plugins-opus/Manifest @@ -1,6 +1,8 @@ DIST gst-plugins-bad-1.20.3.tar.xz 6222824 BLAKE2B 01aae59adbe76b8e50a49fb8bb8037e6f3aa93cbc2b658aab05ebbf30f8d1aef98c1981712caa39e3c9d08f1e0c9d76f2f874f7d2fdd994b3a0735b2809eafdf SHA512 cfcf126eabff550455decd7054a269b73489708c10a6b6090dddb5fde29bfba07ed330c339927ff170e025fa3a08d2ffb822322dc3798679366207a54132c71b DIST gst-plugins-bad-1.20.4.tar.xz 6229992 BLAKE2B 2cd276cec9991e2ca7367a43024d7aee43adaa185a4a06ec08d1e736e72333f7f38cb54257120b9a313feb1fdc285a50d456b4c1fb33627d83acfcd3ece20687 SHA512 31b28d4a1bbecf021a90f2aa49dd344ccea12533b65f3bf3a8426ca2175469fff7b7f8e08af7d3d22c18db2fe48b9d5fbea2b325d296aee04b019cebef1eaec4 DIST gst-plugins-bad-1.20.5.tar.xz 6237720 BLAKE2B bf379da420d1f7f148cf51373f6f2d0800685487c8bdb7a768e79e0a2e4f1721053922be9321958b4ce318de12ea390de4cd89c345329ac41dd0425815e0e7f6 SHA512 4b4603d755d17a0fa072d771521bdcbf554fc9abdc8105b9d9189062e5725ae2989f430e1de77363a69d8c969ecbf15e73e9c478fabe8efac83b2d9b1b0a4a0a +DIST gst-plugins-bad-1.22.3.tar.xz 5523924 BLAKE2B 8015098ac2d19546de58cebdbe29fd7fbb2c7f076bf775564d7b862ed99a59968a2f751ff1137534d178fea5cf1c2022e53e4159ca2e5d3bf71c9fa4663be4f5 SHA512 1512e26111174ea4a9da26203a635e7ec7673ea5b6ca8dae8aaa8a20ffae36c9b68904d669344a8efc31f751093a00e22d2a1f1affcdd037f162493441c77628 DIST gst-plugins-base-1.20.3.tar.xz 3299976 BLAKE2B b397867561df763d5e762069c6ad20298857d4a30727a18a60e8df9a53658e52f6a189c3426d0f51a16e7cee1834b402470ecb0284aca65ecaa0300dc79d0c8a SHA512 258294291cb9b406c17dfe4e5c1ca9061580d0789293355c9b43d558630d360097b6867287edf1688f3edaf50b5900cdd177c1429c122a0415c56da8b0f21ed1 DIST gst-plugins-base-1.20.4.tar.xz 3307224 BLAKE2B f6e9bd3366a4a8213c1447433f13a8e432d749df250216fed37453ac291c35340114edf8113fb790d9c947793ac97185e44dd5f130be1cfc699800214e87dd87 SHA512 4a5d8ce8b2a530065e65842f7a0c7b6b63744e584baff0e795863d9967beb43c086a1d5f551702a9f1ac20e0ed4ce9bc4cf4e811a949c459c258ae5eee1426c9 DIST gst-plugins-base-1.20.5.tar.xz 3312340 BLAKE2B 299ecef5ee872a3ed9904faede8fa81eb25fd78912a66106787c5f0c64c25880ed606593276cb08717a2b4637a70c1815956bafb0139747ea6f2cef7abbefb76 SHA512 63710fd44b26c026d8c6a572df369593809adbe5484ae12774208efb3d335e9b79c512a324464a4b76607a7503b4b89fca7f10bbb07843b7c69d559fb760b550 +DIST gst-plugins-base-1.22.3.tar.xz 2353512 BLAKE2B 77b6b09b2a295a6f68b19c3e5ed2a1d96452806e6236d7e0da4a61b6a51eb93311fa6bfb89dcf7b9efbc4acd3cb5999d9b4d08a9e60de3544b3ecb22015a1540 SHA512 dbfca6114ce0c5b234b533c89fdfa957499ecb25bbb5156e2ee54610be42969b2cae9e74a8250eb8b07484c9767f8f1d00e88d6d04c5da5429d62d08c9fd2472 diff --git a/media-plugins/gst-plugins-opus/gst-plugins-opus-1.22.3.ebuild b/media-plugins/gst-plugins-opus/gst-plugins-opus-1.22.3.ebuild new file mode 100644 index 000000000000..2f6f27468c27 --- /dev/null +++ b/media-plugins/gst-plugins-opus/gst-plugins-opus-1.22.3.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +GST_ORG_MODULE=gst-plugins-base + +inherit gstreamer-meson + +DESCRIPTION="Opus audio parser plugin for GStreamer" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" + +COMMON_DEPEND=">=media-libs/opus-1.1:=[${MULTILIB_USEDEP}]" + +RDEPEND="${COMMON_DEPEND} + !media-plugins/gst-plugins-opusparse + >=media-libs/gst-plugins-base-${PV}:${SLOT}[${MULTILIB_USEDEP},ogg] +" +DEPEND="${COMMON_DEPEND}" + +src_prepare() { + default + gstreamer_system_package audio_dep:gstreamer-audio + gstreamer_system_package pbutils_dep:gstreamer-pbutils + gstreamer_system_package tag_dep:gstreamer-tag +} + +# Everything below is for building opusparse from gst-plugins-bad. Once it moves into -base, all below can be removed +SRC_URI+=" https://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-${PV}.tar.${GST_TARBALL_SUFFIX}" + +in_bdir() { + pushd "${BUILD_DIR}" || die + "$@" + popd || die +} + +src_configure() { + S="${WORKDIR}/gst-plugins-base-${PV}" multilib_foreach_abi gstreamer_multilib_src_configure + S="${WORKDIR}/gst-plugins-bad-${PV}" multilib_foreach_abi gstreamer_multilib_src_configure +} + +src_compile() { + S="${WORKDIR}/gst-plugins-base-${PV}" multilib_foreach_abi in_bdir gstreamer_multilib_src_compile + S="${WORKDIR}/gst-plugins-bad-${PV}" multilib_foreach_abi in_bdir gstreamer_multilib_src_compile +} + +multilib_src_test() { + S="${WORKDIR}/gst-plugins-base-${PV}" multilib_foreach_abi in_bdir gstreamer_multilib_src_test + S="${WORKDIR}/gst-plugins-bad-${PV}" multilib_foreach_abi in_bdir gstreamer_multilib_src_test +} + +src_install() { + S="${WORKDIR}/gst-plugins-base-${PV}" multilib_foreach_abi in_bdir gstreamer_multilib_src_install + S="${WORKDIR}/gst-plugins-bad-${PV}" multilib_foreach_abi in_bdir gstreamer_multilib_src_install +} |