diff options
Diffstat (limited to 'media-plugins/gst-plugins-hls')
3 files changed, 62 insertions, 0 deletions
diff --git a/media-plugins/gst-plugins-hls/Manifest b/media-plugins/gst-plugins-hls/Manifest index 410a851ca65d..0c764d67765f 100644 --- a/media-plugins/gst-plugins-hls/Manifest +++ b/media-plugins/gst-plugins-hls/Manifest @@ -1,2 +1,3 @@ DIST gst-plugins-bad-1.16.3.tar.xz 4900188 BLAKE2B 7d8280a434adb1cb65b065dcdabdb37aad000802c011bb27779c109978d8b75aa4e2fa47043dde95464bb0c34a0d7466dc1f6216f29f0f4911f7a6fe1fb04b25 SHA512 378d8813ba2fd61ea2cab512d5c1fa81e0a4ac4f4ca756547d9b8742e56024c1bc5d6cd332798de66ecfe2b69485c860e181a6c2090398b0e2ad8c4b3fe95d04 DIST gst-plugins-bad-1.18.4.tar.xz 5640292 BLAKE2B 5385abe635a35f61c6780e6cfa1189835877b8c0a12145de6890708a097fc453b1abfb14a3497cae4e6961f71fc2c6e01759fe19386cd30a64c4069704ddf77a SHA512 02123e054419f5ce6ca2ebe0bdf23572269ea4120bf463b4d672efbe5d9e5d417d4d711cc80094be974c4569f754d8b2ad93f59b827e3b018d450582834cb125 +DIST gst-plugins-bad-1.20.0.tar.xz 6203880 BLAKE2B 3c2bcbd5e3af56497415ac9e32b91bf0f9ed0668d6992c8d14b2b56c86be2178ea93409e505d438b56fe87bf75a4c96554fd3cbf9ea5b204b2a520fccb6894fe SHA512 d79fedba96517c25d2ba3925405933671fa05e350b8e133277a7c1d509e08a49ceeb50c016e23e798667fa0b09783105914f06538bdcaae969fdba8ac385a51b diff --git a/media-plugins/gst-plugins-hls/files/gst-plugins-bad-1.20.0-use-system-libs-hls.patch b/media-plugins/gst-plugins-hls/files/gst-plugins-bad-1.20.0-use-system-libs-hls.patch new file mode 100644 index 000000000000..f1c1b7fb5fcc --- /dev/null +++ b/media-plugins/gst-plugins-hls/files/gst-plugins-bad-1.20.0-use-system-libs-hls.patch @@ -0,0 +1,24 @@ +commit 761c367338adbd004f763c404e6e5d2aed90ecd7 +Author: Igor V. Kovalenko <igor.v.kovalenko@gmail.com> +Date: Sat Jul 3 19:10:06 2021 +0300 + + Patch gst-plugins-bad 1.18.4 to build hls plugin using installed libs + + Header gst/adaptivedemux/gstadaptivedemux.h is not installed by gst-plugins-bad, + fix include_directories to find it in gst-libs/gst/adaptivedemux via libsinc. + + Signed-off-by: Igor V. Kovalenko <igor.v.kovalenko@gmail.com> + +diff --git a/ext/hls/meson.build b/ext/hls/meson.build +index 3ef45ee03..98205e4b8 100644 +--- a/ext/hls/meson.build ++++ b/ext/hls/meson.build +@@ -55,7 +55,7 @@ gsthls = library('gsthls', + hls_sources, + c_args : gst_plugins_bad_args + hls_cargs, + link_args : noseh_link_args, +- include_directories : [configinc], ++ include_directories : [configinc, libsinc], + dependencies : [gstpbutils_dep, gsttag_dep, gstvideo_dep, + gstadaptivedemux_dep, gsturidownloader_dep, + hls_crypto_dep, gio_dep, libm], diff --git a/media-plugins/gst-plugins-hls/gst-plugins-hls-1.20.0.ebuild b/media-plugins/gst-plugins-hls/gst-plugins-hls-1.20.0.ebuild new file mode 100644 index 000000000000..10c367bfc2c3 --- /dev/null +++ b/media-plugins/gst-plugins-hls/gst-plugins-hls-1.20.0.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +GST_ORG_MODULE=gst-plugins-bad + +inherit gstreamer-meson + +DESCRIPTION="HTTP live streaming plugin for GStreamer" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=" + dev-libs/nettle:0=[${MULTILIB_USEDEP}] +" +DEPEND="${RDEPEND}" + +PATCHES=( + "${FILESDIR}"/gst-plugins-bad-${PV}-use-system-libs-hls.patch +) + +src_prepare() { + default + gstreamer_system_library gstadaptivedemux_dep:gstadaptivedemux + gstreamer_system_package pbutils_dep:gstreamer-pbutils + gstreamer_system_package tag_dep:gstreamer-tag + gstreamer_system_package video_dep:gstreamer-video + gstreamer_system_library gsturidownloader_dep:gsturidownloader +} + +multilib_src_configure() { + local emesonargs=( + -Dhls-crypto=nettle + ) + + gstreamer_multilib_src_configure +} |