diff options
Diffstat (limited to 'media-libs/gstreamer')
-rw-r--r-- | media-libs/gstreamer/Manifest | 4 | ||||
-rw-r--r-- | media-libs/gstreamer/gstreamer-1.20.6.ebuild | 72 | ||||
-rw-r--r-- | media-libs/gstreamer/gstreamer-1.22.3.ebuild | 73 |
3 files changed, 149 insertions, 0 deletions
diff --git a/media-libs/gstreamer/Manifest b/media-libs/gstreamer/Manifest index fdcf49c6e1e5..b106786394dc 100644 --- a/media-libs/gstreamer/Manifest +++ b/media-libs/gstreamer/Manifest @@ -2,7 +2,11 @@ AUX gstreamer-1.20.5-tests-race.patch 10870 BLAKE2B 42f92d42259690af57f9ef5781ee DIST gstreamer-1.20.3.tar.xz 2681088 BLAKE2B 423669ff2224cc5d9b979a1353eb1dbcaea5dacca374e83630abf23574f813cbecf5144cdd3209f638aeb50e6764004c3d8020db7f11b21726a9f4b56b513d10 SHA512 e93f9fbf2d7a839dcbe2030ed16dd53eb250741db7c2f1cea396c23e4fabf9a0caff6be4babf7c10aec4b56dc8319a970b1b0bfa6eea2e36aed3e6e1265d9278 DIST gstreamer-1.20.4.tar.xz 2686324 BLAKE2B b54da03f93f0062df0ada5534f3eff8a37e4b41f404b4bdd466bb6371e3db61a40741d723392bcc7cf7f46cded26c5d8ca625748670ac98daec136b0fb76a810 SHA512 33ba08e67b21a3e2e5dc5caeeae66e561b9d64ae863331a209e711f60a652ba38635e8bb963336e73b9afd5cf38e17139fbf933ca621d040f0d6e22a18ba7ad8 DIST gstreamer-1.20.5.tar.xz 2690968 BLAKE2B cca6385b1fcc10928ad19e587ebb6ce202097f4a33d79555c969d3906dacc7e5074fc8f42a0566e40aa333502764ad0b491d610c05ef1921ad370bf5f5883afd SHA512 90c5f5865877170bb0dc570e61c22c27dea5adae2d9c304227da266b5b5b2eccd98ed21943f14bb5dfe169f4e020b8ac457a5d540363dfe2547180f34a3c7b29 +DIST gstreamer-1.20.6.tar.xz 2699648 BLAKE2B e475a7ef419d1b3588bf37f3d5fadbe4ca307b6915496d8da9535a9586f24ddacd338e54001ce30c666786493b28c2841c8a7fc8a36e5a678d846eeccc3979dc SHA512 eefd2932feb6c6c50eb69dd4831f4e4fe63c7f852050ddce0f447b0b54df2e2e5f81b6c1fefe295e2c771f2accef62aaef6aef3bda8395a1b75c84b9916d7795 +DIST gstreamer-1.22.3.tar.xz 1785496 BLAKE2B 6de024992b38c66a0c5906cffae8df8ca85bc3d7554d323643ed0642a0e561cbf24a363d8acd2e9e540c5fecb07e4e59028cfb70d135c7e23e59c3dc004ccb73 SHA512 b316496f114acd687529cf71645fb75b8a4ac6baf01d9659e8ef8b22771b6c5ea8c5087a31ca633464ebd46656684ab382a15c2c11872ce5d218e726f4e56d09 EBUILD gstreamer-1.20.3.ebuild 1949 BLAKE2B 73213ed7e5924a16d9d1d5d9951d8c0a71cf179ca5f7b2d8893a3a4138c4eac3a2f2167b9c377d488e22b1aa80b8f8b6be00c048551b10bbfc96288c127a263e SHA512 02d21992b7d175eb6fe38553d266e7388a62776d773eda8238441b24c5fd43dbe2a1d8b350b18f9248052a99e2e2ffc6a19fa1b5fbff09da2f90444a20ba163c EBUILD gstreamer-1.20.4.ebuild 1949 BLAKE2B 73213ed7e5924a16d9d1d5d9951d8c0a71cf179ca5f7b2d8893a3a4138c4eac3a2f2167b9c377d488e22b1aa80b8f8b6be00c048551b10bbfc96288c127a263e SHA512 02d21992b7d175eb6fe38553d266e7388a62776d773eda8238441b24c5fd43dbe2a1d8b350b18f9248052a99e2e2ffc6a19fa1b5fbff09da2f90444a20ba163c EBUILD gstreamer-1.20.5.ebuild 1992 BLAKE2B 495064133991b0b3c66a29d9d65b8292b201e2dc6aaaaf4424d5e571c5dd7b32b4bc46079750eadf4bc97fee9e156708484073a10ca6c93ba989e094026a21f0 SHA512 78ce5068feb6bec2dfa6ec443854c299806e99b82abbb69219816e15dca0e1464dd0f04bfec467dbb917adece2772f79acbfe7bcf428bd9aaa3a9c20b89bdc48 +EBUILD gstreamer-1.20.6.ebuild 1942 BLAKE2B 972b120be7f9318526b6b54fb78ff932548fdacda2a7898cfccb3f95c0e0a44475e091e7e3abb10cb983e8a02c5938b21185654cb28184213dd91f41c89b9443 SHA512 afbd0add5863b6055f3868ac22e72a62b1451c30f08d7740c768bbba74fe647e4cb30346bf70f1b79934a1639f164ee117247248a2f0f932fc6f3e761ba278ee +EBUILD gstreamer-1.22.3.ebuild 2009 BLAKE2B aecb61f66f6df53f8b83552f0cc7ad344c75a9f08fd4da1907ac5bc91ce1053164a3f20164fed7e36e8f02cd43728c81159c1b92d94458eed1fdcaf3769d2e8e SHA512 8f78a1f6ade1e1a183b81d250e9db094026359dc9f513d78eaf5aeb9983d50a85e0882ecdf0cfc68393347219e4d32d6e928d10d0131febdb56deaca665c629f MISC metadata.xml 587 BLAKE2B 6fbb8876aa30451f9ed4851b8da1698371f1d546fa13674ef87acae0a73f85770e17a5cec2232fabae28fc7cd28e76fdc177b9d016ea35f20094b40aef6a25c2 SHA512 d28f3793ddc86087854b04a2330e158f521761a45192ee32ac947f9affb400443205a3c0911864474738e2494626ba4fea66dac6549934fd5cdb32af6fe2ad4c diff --git a/media-libs/gstreamer/gstreamer-1.20.6.ebuild b/media-libs/gstreamer/gstreamer-1.20.6.ebuild new file mode 100644 index 000000000000..3e5d7da09467 --- /dev/null +++ b/media-libs/gstreamer/gstreamer-1.20.6.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit gstreamer-meson pax-utils + +DESCRIPTION="Open source multimedia framework" +HOMEPAGE="https://gstreamer.freedesktop.org/" +SRC_URI="https://${PN}.freedesktop.org/src/${PN}/${P}.tar.xz" + +LICENSE="LGPL-2+" +SLOT="1.0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="+caps +introspection +orc unwind" + +RDEPEND=" + >=dev-libs/glib-2.56.0:2[${MULTILIB_USEDEP}] + caps? ( sys-libs/libcap[${MULTILIB_USEDEP}] ) + introspection? ( >=dev-libs/gobject-introspection-1.31.1:= ) + unwind? ( + >=sys-libs/libunwind-1.2_rc1[${MULTILIB_USEDEP}] + dev-libs/elfutils[${MULTILIB_USEDEP}] + ) + !<media-libs/gst-plugins-bad-1.13.1:1.0 +" +DEPEND="${RDEPEND}" +BDEPEND=" + dev-util/glib-utils + sys-devel/bison + sys-devel/flex +" + +DOCS=( AUTHORS ChangeLog NEWS MAINTAINERS README.md RELEASE ) + +multilib_src_configure() { + local emesonargs=( + -Dbenchmarks=disabled + -Dexamples=disabled + -Dcheck=enabled + $(meson_feature unwind libunwind) + $(meson_feature unwind libdw) + ) + + if use caps ; then + emesonargs+=( -Dptp-helper-permissions=capabilities ) + else + emesonargs+=( + -Dptp-helper-permissions=setuid-root + -Dptp-helper-setuid-user=nobody + -Dptp-helper-setuid-group=nobody + ) + fi + + gstreamer_multilib_src_configure +} + +multilib_src_install() { + # can't do "default", we want to install docs in multilib_src_install_all + DESTDIR="${D}" eninja install + + # Needed for orc-using gst plugins on hardened/PaX systems, bug #421579 + use orc && pax-mark -m "${ED}/usr/$(get_libdir)/gstreamer-${SLOT}/gst-plugin-scanner" +} + +multilib_src_install_all() { + einstalldocs + find "${ED}" -name '*.la' -delete || die + + # Needed for orc-using gst plugins on hardened/PaX systems, bug #421579 + use orc && pax-mark -m "${ED}/usr/bin/gst-launch-${SLOT}" +} diff --git a/media-libs/gstreamer/gstreamer-1.22.3.ebuild b/media-libs/gstreamer/gstreamer-1.22.3.ebuild new file mode 100644 index 000000000000..5feb391a8112 --- /dev/null +++ b/media-libs/gstreamer/gstreamer-1.22.3.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit gstreamer-meson pax-utils + +DESCRIPTION="Open source multimedia framework" +HOMEPAGE="https://gstreamer.freedesktop.org/" +SRC_URI="https://${PN}.freedesktop.org/src/${PN}/${P}.tar.xz" + +LICENSE="LGPL-2+" +SLOT="1.0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="+caps +introspection +orc unwind" + +# gstreamer-1.22.x requires 2.62, but 2.64 is strongly recommended +RDEPEND=" + >=dev-libs/glib-2.64.0:2[${MULTILIB_USEDEP}] + caps? ( sys-libs/libcap[${MULTILIB_USEDEP}] ) + introspection? ( >=dev-libs/gobject-introspection-1.31.1:= ) + unwind? ( + >=sys-libs/libunwind-1.2_rc1[${MULTILIB_USEDEP}] + dev-libs/elfutils[${MULTILIB_USEDEP}] + ) + !<media-libs/gst-plugins-bad-1.13.1:1.0 +" +DEPEND="${RDEPEND}" +BDEPEND=" + dev-util/glib-utils + sys-devel/bison + sys-devel/flex +" + +DOCS=( AUTHORS ChangeLog NEWS MAINTAINERS README.md RELEASE ) + +multilib_src_configure() { + local emesonargs=( + -Dbenchmarks=disabled + -Dexamples=disabled + -Dcheck=enabled + $(meson_feature unwind libunwind) + $(meson_feature unwind libdw) + ) + + if use caps ; then + emesonargs+=( -Dptp-helper-permissions=capabilities ) + else + emesonargs+=( + -Dptp-helper-permissions=setuid-root + -Dptp-helper-setuid-user=nobody + -Dptp-helper-setuid-group=nobody + ) + fi + + gstreamer_multilib_src_configure +} + +multilib_src_install() { + # can't do "default", we want to install docs in multilib_src_install_all + DESTDIR="${D}" eninja install + + # Needed for orc-using gst plugins on hardened/PaX systems, bug #421579 + use orc && pax-mark -m "${ED}/usr/$(get_libdir)/gstreamer-${SLOT}/gst-plugin-scanner" +} + +multilib_src_install_all() { + einstalldocs + find "${ED}" -name '*.la' -delete || die + + # Needed for orc-using gst plugins on hardened/PaX systems, bug #421579 + use orc && pax-mark -m "${ED}/usr/bin/gst-launch-${SLOT}" +} |