From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-plugins/live/
Date: Thu, 20 Feb 2025 19:33:20 +0000 (UTC) [thread overview]
Message-ID: <1740079941.f90b71c68cc7d43bc080fc1e7e050f8546c66e19.sam@gentoo> (raw)
commit: f90b71c68cc7d43bc080fc1e7e050f8546c66e19
Author: Alfred Wingate <parona <AT> protonmail <DOT> com>
AuthorDate: Mon Feb 17 06:26:10 2025 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Feb 20 19:32:21 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f90b71c6
media-plugins/live: add 2025.01.17
Drop support for macos prefix, reverse dependencies mplayer and vlc
don't have keywords for it either and Im unsure if this even works.
Bug: https://bugs.gentoo.org/719336
Bug: https://bugs.gentoo.org/940324
Closes: https://bugs.gentoo.org/829884
Signed-off-by: Alfred Wingate <parona <AT> protonmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>
media-plugins/live/Manifest | 1 +
media-plugins/live/live-2025.01.17.ebuild | 76 +++++++++++++++++++++++++++++++
media-plugins/live/metadata.xml | 3 ++
3 files changed, 80 insertions(+)
diff --git a/media-plugins/live/Manifest b/media-plugins/live/Manifest
index d2222f35eb26..50432de3f02a 100644
--- a/media-plugins/live/Manifest
+++ b/media-plugins/live/Manifest
@@ -1 +1,2 @@
DIST live.2021.08.24.tar.gz 683337 BLAKE2B fabc24498cc5b23b43f11303598b770a84036d0f835a04284bc9fc4f2525d39f4e846e8eb16f724136f9b0caad20cb3dc55b14218fc0ec764822fa22a018642d SHA512 f776e43a9b0792fd41e43f3c06e48f5d766c405d6af4ed5ddac108723f222c844ec5dbe29701b62dff760fbed777935ffc9149080b45d7a7b4c655a7f1fe6dae
+DIST live.2025.01.17.tar.gz 696558 BLAKE2B a5a4b217c0b0d7b6cde8875a99f252d8f603c12095fe883d0290570eac8aa6788e8ab2730e68a1258f7a5a04d756622f686d95fb3ccf1e6f24c52a7fdd760e51 SHA512 e24427633dca4222d64606ef7a0723034c3c378745654b8adb39aef67da98e0f6ef2391e08270cb971f6f577d5a3b09060f38611f94193f143ddc58217ad5ab9
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..77f0f8a9b2cb 100644
--- a/media-plugins/live/metadata.xml
+++ b/media-plugins/live/metadata.xml
@@ -4,6 +4,9 @@
<maintainer type="project">
<email>media-video@gentoo.org</email>
</maintainer>
+<use>
+ <flag name="tools">Build test tools</flag>
+</use>
<upstream>
<remote-id type="cpe">cpe:/a:live555:streaming_media</remote-id>
</upstream>
next reply other threads:[~2025-02-20 19:33 UTC|newest]
Thread overview: 103+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-20 19:33 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-06-01 4:13 [gentoo-commits] repo/gentoo:master commit in: media-plugins/live/ Sam James
2025-06-01 3:54 Sam James
2025-06-01 3:54 Sam James
2025-06-01 3:54 Sam James
2025-06-01 3:54 Sam James
2025-06-01 3:54 Sam James
2025-06-01 3:54 Sam James
2025-04-26 17:21 Arthur Zamarin
2025-04-26 12:41 Arthur Zamarin
2025-04-26 5:50 Sam James
2025-02-20 19:33 Sam James
2025-02-20 19:33 Sam James
2022-12-03 6:08 WANG Xuerui
2021-12-17 12:00 Sam James
2021-12-17 12:00 Sam James
2021-12-17 9:20 Jakov Smolić
2021-12-17 9:20 Jakov Smolić
2021-12-17 8:01 Arthur Zamarin
2021-12-17 7:33 Arthur Zamarin
2021-10-17 16:08 John Helmert III
2021-08-26 21:54 John Helmert III
2021-08-25 4:23 Agostino Sarubbo
2021-08-21 8:44 Marek Szuba
2021-08-11 11:19 Agostino Sarubbo
2021-08-11 11:18 Agostino Sarubbo
2021-08-11 0:05 Sam James
2021-08-11 0:04 Sam James
2021-06-12 18:43 John Helmert III
2021-05-01 10:02 Mikle Kolyada
2021-04-19 20:54 Sam James
2021-04-13 0:26 Sam James
2021-01-06 14:27 Fabian Groffen
2020-10-13 9:26 Agostino Sarubbo
2020-10-09 8:41 Agostino Sarubbo
2020-10-09 8:36 Agostino Sarubbo
2020-10-09 8:35 Agostino Sarubbo
2020-10-08 19:41 Sam James
2020-10-08 18:53 Sam James
2020-07-09 12:37 Sam James
2020-06-19 15:27 Thomas Deutschmann
2020-06-19 15:27 Thomas Deutschmann
2020-06-19 15:27 Thomas Deutschmann
2020-06-19 15:27 Thomas Deutschmann
2020-06-19 15:27 Thomas Deutschmann
2020-05-14 22:09 Thomas Deutschmann
2020-04-23 6:29 Agostino Sarubbo
2020-04-23 6:26 Agostino Sarubbo
2020-04-23 6:24 Agostino Sarubbo
2020-04-23 6:21 Agostino Sarubbo
2020-04-23 6:20 Agostino Sarubbo
2020-04-20 17:05 Sergei Trofimovich
2020-04-19 11:17 Mart Raudsepp
2020-03-31 8:39 Joonas Niilola
2018-07-20 15:27 Alexis Ballier
2018-06-18 19:06 Andreas Sturmlechner
2018-04-26 8:31 Mikle Kolyada
2018-04-02 21:32 Sergei Trofimovich
2018-03-05 14:52 Tobias Klausmann
2018-02-25 18:21 Thomas Deutschmann
2018-02-24 8:55 Sergei Trofimovich
2018-02-24 7:20 Jason Zaman
2018-02-23 23:17 Sergei Trofimovich
2018-02-09 11:39 Alexis Ballier
2017-10-08 11:46 Alexis Ballier
2017-07-21 9:03 Alexis Ballier
2017-07-08 9:20 Alexis Ballier
2017-05-30 10:56 Alexis Ballier
2017-05-30 7:00 Alexis Ballier
2017-04-27 10:08 Alexis Ballier
2017-04-19 6:52 Jeroen Roovers
2017-04-11 4:42 Alexis Ballier
2017-03-15 7:40 Michael Weber
2017-03-03 19:02 Markus Meier
2017-03-02 10:30 Agostino Sarubbo
2017-03-01 13:43 Tobias Klausmann
2017-01-28 20:13 Alexis Ballier
2016-12-17 12:28 Alexis Ballier
2016-10-25 11:08 Alexis Ballier
2016-10-25 11:08 Alexis Ballier
2016-09-23 10:50 Alexis Ballier
2016-09-14 16:52 Alexis Ballier
2016-09-06 14:17 Alexis Ballier
2016-08-27 18:30 Alexis Ballier
2016-07-22 15:20 Alexis Ballier
2016-06-30 8:30 Alexis Ballier
2016-06-30 8:30 Alexis Ballier
2016-05-24 7:56 Alexis Ballier
2016-04-05 11:20 Alexis Ballier
2016-03-22 11:20 Alexis Ballier
2016-03-05 12:04 Alexis Ballier
2016-02-09 8:45 Alexis Ballier
2016-02-09 8:45 Alexis Ballier
2016-02-09 8:45 Alexis Ballier
2016-01-30 15:56 Alexis Ballier
2016-01-28 18:25 Alexis Ballier
2016-01-23 13:18 Alexis Ballier
2016-01-19 11:35 Alexis Ballier
2015-12-28 7:39 Alexis Ballier
2015-11-14 11:34 Alexis Ballier
2015-11-07 19:08 Alexis Ballier
2015-10-20 14:13 Alexis Ballier
2015-09-04 16:34 Alexis Ballier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1740079941.f90b71c68cc7d43bc080fc1e7e050f8546c66e19.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox