summaryrefslogtreecommitdiff
path: root/media-plugins/live
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2025-02-21 00:15:53 +0000
committerV3n3RiX <venerix@koprulu.sector>2025-02-21 00:15:53 +0000
commitdb653baf275126269bb89ea0d2bdb8e50497a94c (patch)
tree9d1ee94cfa7312384acd366d3dd8f629660b3f18 /media-plugins/live
parent1534d50aaf24272ec425fa439389ef7e1f7bf174 (diff)
gentoo auto-resync : 21:02:2025 - 00:15:53
Diffstat (limited to 'media-plugins/live')
-rw-r--r--media-plugins/live/Manifest6
-rw-r--r--media-plugins/live/live-2024.10.31.ebuild76
-rw-r--r--media-plugins/live/live-2025.01.17.ebuild76
-rw-r--r--media-plugins/live/metadata.xml4
4 files changed, 161 insertions, 1 deletions
diff --git a/media-plugins/live/Manifest b/media-plugins/live/Manifest
index 65cb25d1fe5a..4f0a425d3357 100644
--- a/media-plugins/live/Manifest
+++ b/media-plugins/live/Manifest
@@ -1,4 +1,8 @@
AUX config.gentoo-so-r3 539 BLAKE2B e80c461f69a991641100d3966d1d100dc7fe8c15e3edc358bcd8ebd17a3f8c4d00a5557c9983f51a251a4602dcc378138df736f13665f5d5140081e047df0f5b SHA512 3f7d4a860b45ff6769fe1f29e694dfb897ab5b7c50f3d0d896425d300be6277df850cdb67cf311a0671ba747339b32f65d44a95b020940b3d1ac5764d873f20f
DIST live.2021.08.24.tar.gz 683337 BLAKE2B fabc24498cc5b23b43f11303598b770a84036d0f835a04284bc9fc4f2525d39f4e846e8eb16f724136f9b0caad20cb3dc55b14218fc0ec764822fa22a018642d SHA512 f776e43a9b0792fd41e43f3c06e48f5d766c405d6af4ed5ddac108723f222c844ec5dbe29701b62dff760fbed777935ffc9149080b45d7a7b4c655a7f1fe6dae
+DIST live.2024.10.31.tar.gz 696459 BLAKE2B 627f7ed37d5873f7464958e6a82068b132d1dc151686ee373ad92600db77af6d728c5e7cd299288f6ba00da48a4397afaff7184888746daac973b7af871c059e SHA512 88325e4b87f1ed8de16af08489a1b856e0526c627d5f590ed7060d8899a91ec9d9947a5fb0c4714a3acb5f5f37a2eb5c63f59739a75dcbea70a79263f7eb56aa
+DIST live.2025.01.17.tar.gz 696558 BLAKE2B a5a4b217c0b0d7b6cde8875a99f252d8f603c12095fe883d0290570eac8aa6788e8ab2730e68a1258f7a5a04d756622f686d95fb3ccf1e6f24c52a7fdd760e51 SHA512 e24427633dca4222d64606ef7a0723034c3c378745654b8adb39aef67da98e0f6ef2391e08270cb971f6f577d5a3b09060f38611f94193f143ddc58217ad5ab9
EBUILD live-2021.08.24.ebuild 3082 BLAKE2B b81825191f912f07b62d495082c8ebb5e4a4833b5456f59478dc12a1773750710ecf94332a35678a2574063176ed84f07d81f7f93eece9819cad7598fd1becc2 SHA512 a7b368d098da74dea1c42c0c2723ebb5ef5392cb255d5a249984dff5bd61348993a7538fc18d45dabe4bd3d5fc7c6540df4dcc2673b7612ad8f48e9be49f41c2
-MISC metadata.xml 312 BLAKE2B a6959cb71eb2e8d857d33d2064b407be9bfbffe00aa9eb52afaf598fe92276f4834197fefb59643e41352738eb29bd23d50b3a416a59cc5acf2f494e12b82739 SHA512 a505a3c36f38d19005ed4d93b1fe9a1774050825c0651380368bfd8230ee96334ed0763d8dd81b47cfb4ad3e51258bf9affb2c12a7710845583da60124470698
+EBUILD live-2024.10.31.ebuild 2372 BLAKE2B 1b17545a22fb403a762191cc7e3d873fdda5c703dd5519a2796141b3d67087791684f26f3df52ea4e2677bda0fdae10eee7f69106e600e538262c02e5b40edaf SHA512 89558c5d8feb69e39b2b727c7fee741b598223724f93f5b1d1e1df193dc92cd8cdb198e33e177726704a50d848e8d9ee3786096d86fc0baef2e071047039e45f
+EBUILD live-2025.01.17.ebuild 2372 BLAKE2B 651d11d501590d8b0f5f5046349f8efc78561ee5d976586ae36875b4eec082243de8d7558a7293d9230b8c3579441cb0c5656b229ecaa56fc004876096fdcf74 SHA512 418fb90455f4ca89ca718f034769beda5b0cce428608eb6660400f51253ba0fdac008b1103bb961abb6f0671d8c44f5271b4f6c5cc6e30ee19e89ae704b05baf
+MISC metadata.xml 449 BLAKE2B 1659f9c48e406b89faafb765b9e34291abe862c848adf7fbe9ff1fff5aab13632b948499dfc728fb5cf564c92752b13eb0491ba8801295f51f8add6a76daaaac SHA512 558a72c4ff024c4b3350cd20b6e909cb32a450fb92c12f1b2a2adda8d2e5ed8acd0aeabb5b5bc81d021cebfabc2e92689bbf1f37e55caf3da494731c3e410f55
diff --git a/media-plugins/live/live-2024.10.31.ebuild b/media-plugins/live/live-2024.10.31.ebuild
new file mode 100644
index 000000000000..ed46f09d712e
--- /dev/null
+++ b/media-plugins/live/live-2024.10.31.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit flag-o-matic toolchain-funcs
+
+DESCRIPTION="Libraries for standards-based RTP/RTCP/RTSP multimedia streaming"
+HOMEPAGE="http://www.live555.com/"
+# bug #719336
+SRC_URI="
+ http://www.live555.com/liveMedia/public/${P/-/.}.tar.gz
+ https://download.videolan.org/contrib/live555/${P/-/.}.tar.gz
+"
+S="${WORKDIR}/live"
+
+LICENSE="LGPL-2.1"
+# follow versioning in config.linux-with-shared-libraries
+# SLOT="0/${libliveMedia_VERSION_CURRENT}.${libBasicUsageEnvironment_VERSION_CURRENT}.${libUsageEnvironment_VERSION_CURRENT}.${libgroupsock_VERSION_CURRENT}"
+SLOT="0/115.3.5.32"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
+
+IUSE="ssl tools"
+
+# no tests
+RESTRICT="test"
+
+DEPEND="ssl? ( dev-libs/openssl:= )"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+ # sanity check subslot to kick would be drive by bumpers
+ local detected_abi
+ detected_abi="$(awk -F'=' '$1 ~ ".*_VERSION_CURRENT" {printf("%s.",$2)}' config.linux-with-shared-libraries)"
+ detected_abi="${detected_abi%.}"
+ if [[ "${SLOT}" != "0/${detected_abi}" ]]; then
+ die "SLOT ${SLOT} doesn't match upstream specified ABI ${detected_abi}."
+ fi
+
+ # This ebuild uses its own build system
+ # We don't want to call ./configure or anything here.
+ # The only thing we can do is honour the user's SSL preference.
+ if ! use ssl ; then
+ einfo "Disabling SSL support"
+ append-cppflags -DNO_OPENSSL=1
+ sed -i -e 's|-lssl -lcrypto||' config.linux-with-shared-libraries || die
+ fi
+
+ if ! use tools ; then
+ einfo "Disabling tools"
+ # Remove testprogs build+install
+ # http://www.live555.com/liveMedia/#testProgs
+ sed -i -e '/subdirs/ { s/testProgs// } ' genMakefiles || die
+ sed -i -e '/TESTPROGS_DIR/d' Makefile.tail || die
+ fi
+
+ # Bug 718912
+ tc-export CC CXX
+
+ # ODR violations bug #940324
+ filter-lto
+
+ # BasicTaskScheduler.cpp:191:40: error: ‘struct std::atomic_flag’ has no member named ‘test’
+ append-cxxflags -std=c++20
+
+ # And defer to the scripts that upstream provide.
+ ./genMakefiles linux-with-shared-libraries || die
+}
+
+src_install() {
+ # Makefiles don't create directories before installing in them
+ mkdir -p "${ED}/usr/$(get_libdir)" || die
+ emake PREFIX="${ED}/usr" LIBDIR="${ED}/usr/$(get_libdir)" install
+
+ einstalldocs
+}
diff --git a/media-plugins/live/live-2025.01.17.ebuild b/media-plugins/live/live-2025.01.17.ebuild
new file mode 100644
index 000000000000..15f137b735c3
--- /dev/null
+++ b/media-plugins/live/live-2025.01.17.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit flag-o-matic toolchain-funcs
+
+DESCRIPTION="Libraries for standards-based RTP/RTCP/RTSP multimedia streaming"
+HOMEPAGE="http://www.live555.com/"
+# bug #719336
+SRC_URI="
+ http://www.live555.com/liveMedia/public/${P/-/.}.tar.gz
+ https://download.videolan.org/contrib/live555/${P/-/.}.tar.gz
+"
+S="${WORKDIR}/live"
+
+LICENSE="LGPL-2.1"
+# follow versioning in config.linux-with-shared-libraries
+# SLOT="0/${libliveMedia_VERSION_CURRENT}.${libBasicUsageEnvironment_VERSION_CURRENT}.${libUsageEnvironment_VERSION_CURRENT}.${libgroupsock_VERSION_CURRENT}"
+SLOT="0/116.3.5.32"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
+
+IUSE="ssl tools"
+
+# no tests
+RESTRICT="test"
+
+DEPEND="ssl? ( dev-libs/openssl:= )"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+ # sanity check subslot to kick would be drive by bumpers
+ local detected_abi
+ detected_abi="$(awk -F'=' '$1 ~ ".*_VERSION_CURRENT" {printf("%s.",$2)}' config.linux-with-shared-libraries)"
+ detected_abi="${detected_abi%.}"
+ if [[ "${SLOT}" != "0/${detected_abi}" ]]; then
+ die "SLOT ${SLOT} doesn't match upstream specified ABI ${detected_abi}."
+ fi
+
+ # This ebuild uses its own build system
+ # We don't want to call ./configure or anything here.
+ # The only thing we can do is honour the user's SSL preference.
+ if ! use ssl ; then
+ einfo "Disabling SSL support"
+ append-cppflags -DNO_OPENSSL=1
+ sed -i -e 's|-lssl -lcrypto||' config.linux-with-shared-libraries || die
+ fi
+
+ if ! use tools ; then
+ einfo "Disabling tools"
+ # Remove testprogs build+install
+ # http://www.live555.com/liveMedia/#testProgs
+ sed -i -e '/subdirs/ { s/testProgs// } ' genMakefiles || die
+ sed -i -e '/TESTPROGS_DIR/d' Makefile.tail || die
+ fi
+
+ # Bug 718912
+ tc-export CC CXX
+
+ # ODR violations bug #940324
+ filter-lto
+
+ # BasicTaskScheduler.cpp:191:40: error: ‘struct std::atomic_flag’ has no member named ‘test’
+ append-cxxflags -std=c++20
+
+ # And defer to the scripts that upstream provide.
+ ./genMakefiles linux-with-shared-libraries || die
+}
+
+src_install() {
+ # Makefiles don't create directories before installing in them
+ mkdir -p "${ED}/usr/$(get_libdir)" || die
+ emake PREFIX="${ED}/usr" LIBDIR="${ED}/usr/$(get_libdir)" install
+
+ einstalldocs
+}
diff --git a/media-plugins/live/metadata.xml b/media-plugins/live/metadata.xml
index 603498f3ab21..383a02461b94 100644
--- a/media-plugins/live/metadata.xml
+++ b/media-plugins/live/metadata.xml
@@ -4,7 +4,11 @@
<maintainer type="project">
<email>media-video@gentoo.org</email>
</maintainer>
+<use>
+ <flag name="tools">Build test tools</flag>
+</use>
<upstream>
+ <changelog>http://www.live555.com/liveMedia/public/changelog.txt</changelog>
<remote-id type="cpe">cpe:/a:live555:streaming_media</remote-id>
</upstream>
</pkgmetadata>