summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrahmajit das <listout@protonmail.com>2023-01-14 15:34:53 +0000
committerSam James <sam@gentoo.org>2023-01-14 15:49:22 +0000
commit3f78eb47e40d758ba47633f72cf7b0b6c6a8a3ac (patch)
tree5f456fb593fa39c7e57ed75fc721c2109d16876e /media-plugins/gst-plugins-opus
parentmedia-plugins/gst-plugins-openh264: add 1.20.5 (diff)
downloadgentoo-3f78eb47e40d758ba47633f72cf7b0b6c6a8a3ac.tar.gz
gentoo-3f78eb47e40d758ba47633f72cf7b0b6c6a8a3ac.tar.bz2
gentoo-3f78eb47e40d758ba47633f72cf7b0b6c6a8a3ac.zip
media-plugins/gst-plugins-opus: add 1.20.5
Signed-off-by: Sam James <sam@gentoo.org> Signed-off-by: brahmajit das <listout@protonmail.com>
Diffstat (limited to 'media-plugins/gst-plugins-opus')
-rw-r--r--media-plugins/gst-plugins-opus/Manifest2
-rw-r--r--media-plugins/gst-plugins-opus/gst-plugins-opus-1.20.5.ebuild54
2 files changed, 56 insertions, 0 deletions
diff --git a/media-plugins/gst-plugins-opus/Manifest b/media-plugins/gst-plugins-opus/Manifest
index ac6d09332e0a..4717e5a1beb7 100644
--- a/media-plugins/gst-plugins-opus/Manifest
+++ b/media-plugins/gst-plugins-opus/Manifest
@@ -1,4 +1,6 @@
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-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
diff --git a/media-plugins/gst-plugins-opus/gst-plugins-opus-1.20.5.ebuild b/media-plugins/gst-plugins-opus/gst-plugins-opus-1.20.5.ebuild
new file mode 100644
index 000000000000..2f6f27468c27
--- /dev/null
+++ b/media-plugins/gst-plugins-opus/gst-plugins-opus-1.20.5.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
+}