From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id ABCFE1582EF for ; Thu, 20 Feb 2025 19:33:23 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 8DA003430B0 for ; Thu, 20 Feb 2025 19:33:23 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 44E7E1102A2; Thu, 20 Feb 2025 19:33:22 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 3F2211102A2 for ; Thu, 20 Feb 2025 19:33:22 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E90ED3430B0 for ; Thu, 20 Feb 2025 19:33:21 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4FF871236 for ; Thu, 20 Feb 2025 19:33:20 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1740079941.f90b71c68cc7d43bc080fc1e7e050f8546c66e19.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-plugins/live/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-plugins/live/Manifest media-plugins/live/live-2025.01.17.ebuild media-plugins/live/metadata.xml X-VCS-Directories: media-plugins/live/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: f90b71c68cc7d43bc080fc1e7e050f8546c66e19 X-VCS-Branch: master Date: Thu, 20 Feb 2025 19:33:20 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 333e6cf1-f86e-4702-9b61-585aa4b96646 X-Archives-Hash: 40a567a22262e666a88757191021ca15 commit: f90b71c68cc7d43bc080fc1e7e050f8546c66e19 Author: Alfred Wingate protonmail com> AuthorDate: Mon Feb 17 06:26:10 2025 +0000 Commit: Sam James gentoo 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 protonmail.com> Signed-off-by: Sam James 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 @@ media-video@gentoo.org + + Build test tools + cpe:/a:live555:streaming_media