From 69f111e6b3ba0313a687ca44d502204d2ac156c6 Mon Sep 17 00:00:00 2001 From: Gerben Jan Dijkman Date: Thu, 29 Sep 2022 12:20:16 +0200 Subject: [PATCH] Added --- media-plugins/gst-plugins-hls/Manifest.html | 234 +++++++++++++++ ...ugins-bad-1.18.4-use-system-libs-hls.patch | 278 ++++++++++++++++++ .../gst-plugins-hls-1.20.2.ebuild | 36 +++ .../gst-plugins-hls-1.20.3.ebuild | 36 +++ 4 files changed, 584 insertions(+) create mode 100644 media-plugins/gst-plugins-hls/Manifest.html create mode 100644 media-plugins/gst-plugins-hls/files/gst-plugins-bad-1.18.4-use-system-libs-hls.patch create mode 100644 media-plugins/gst-plugins-hls/gst-plugins-hls-1.20.2.ebuild create mode 100644 media-plugins/gst-plugins-hls/gst-plugins-hls-1.20.3.ebuild diff --git a/media-plugins/gst-plugins-hls/Manifest.html b/media-plugins/gst-plugins-hls/Manifest.html new file mode 100644 index 0000000..667ce56 --- /dev/null +++ b/media-plugins/gst-plugins-hls/Manifest.html @@ -0,0 +1,234 @@ + + + +Manifest « gst-plugins-hls « media-plugins - repo/gentoo.git - Official Gentoo ebuild repository + + + + + + + + + + + + + +
+ + +
+ +
+
+
+
+ + + + +
+summaryrefslogtreecommitdiff
+ + + +
+
+
blob: fdff776ab51a7f8a4058dad65f338a369711b7c6 (plain) + + +
1
+2
+
DIST gst-plugins-bad-1.20.2.tar.xz 6216208 BLAKE2B bbbe77a1255991a2f96696996fb0c99f14f6d63fef455feb1ce90ae518bb9f80fd61bcfb223c20407b8d6240faaa93478495f8e9fda16fab36a311d167e88e25 SHA512 3f98973dc07ead745418e0a30f9f6b5c8d328e3d126f54d92c10ab5da04271768a5c5dffc36ea24ccf8fb516b1e3733be9fb18dc0db419dea4d37d17018f8a70
+DIST gst-plugins-bad-1.20.3.tar.xz 6222824 BLAKE2B 01aae59adbe76b8e50a49fb8bb8037e6f3aa93cbc2b658aab05ebbf30f8d1aef98c1981712caa39e3c9d08f1e0c9d76f2f874f7d2fdd994b3a0735b2809eafdf SHA512 cfcf126eabff550455decd7054a269b73489708c10a6b6090dddb5fde29bfba07ed330c339927ff170e025fa3a08d2ffb822322dc3798679366207a54132c71b
+
+
+
+
+
+
+
+ + + + + + + + + diff --git a/media-plugins/gst-plugins-hls/files/gst-plugins-bad-1.18.4-use-system-libs-hls.patch b/media-plugins/gst-plugins-hls/files/gst-plugins-bad-1.18.4-use-system-libs-hls.patch new file mode 100644 index 0000000..40eb203 --- /dev/null +++ b/media-plugins/gst-plugins-hls/files/gst-plugins-bad-1.18.4-use-system-libs-hls.patch @@ -0,0 +1,278 @@ + + + +gst-plugins-bad-1.18.4-use-system-libs-hls.patch « files « gst-plugins-hls « media-plugins - repo/gentoo.git - Official Gentoo ebuild repository + + + + + + + + + + + + + +
+ + +
+ +
+
+
+
+ + + + +
+summaryrefslogtreecommitdiff
+ + + +
+
+
blob: f1c1b7fb5fcc70e25f5b5256527aaebbd9acc8f5 (plain) + + +
1
+2
+3
+4
+5
+6
+7
+8
+9
+10
+11
+12
+13
+14
+15
+16
+17
+18
+19
+20
+21
+22
+23
+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.2.ebuild b/media-plugins/gst-plugins-hls/gst-plugins-hls-1.20.2.ebuild new file mode 100644 index 0000000..a8e1721 --- /dev/null +++ b/media-plugins/gst-plugins-hls/gst-plugins-hls-1.20.2.ebuild @@ -0,0 +1,36 @@ +# 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 ~arm ~arm64" + +RDEPEND=" + dev-libs/nettle:0=[${MULTILIB_USEDEP}] +" +DEPEND="${RDEPEND}" + +PATCHES=( + "${FILESDIR}"/gst-plugins-bad-1.18.4-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 +} diff --git a/media-plugins/gst-plugins-hls/gst-plugins-hls-1.20.3.ebuild b/media-plugins/gst-plugins-hls/gst-plugins-hls-1.20.3.ebuild new file mode 100644 index 0000000..a8e1721 --- /dev/null +++ b/media-plugins/gst-plugins-hls/gst-plugins-hls-1.20.3.ebuild @@ -0,0 +1,36 @@ +# 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 ~arm ~arm64" + +RDEPEND=" + dev-libs/nettle:0=[${MULTILIB_USEDEP}] +" +DEPEND="${RDEPEND}" + +PATCHES=( + "${FILESDIR}"/gst-plugins-bad-1.18.4-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 +}