mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-08 00:05:33 +03:00
media-plugins/live: add 2025.11.06
Signed-off-by: Alfred Wingate <parona@protonmail.com> Part-of: https://github.com/gentoo/gentoo/pull/44582 Closes: https://github.com/gentoo/gentoo/pull/44582 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
parent
c3a095b81c
commit
37d906c535
@ -1,3 +1,4 @@
|
||||
DIST live.2024.10.31.tar.gz 696459 BLAKE2B 627f7ed37d5873f7464958e6a82068b132d1dc151686ee373ad92600db77af6d728c5e7cd299288f6ba00da48a4397afaff7184888746daac973b7af871c059e SHA512 88325e4b87f1ed8de16af08489a1b856e0526c627d5f590ed7060d8899a91ec9d9947a5fb0c4714a3acb5f5f37a2eb5c63f59739a75dcbea70a79263f7eb56aa
|
||||
DIST live.2025.07.19.tar.gz 696976 BLAKE2B 14c7da61c68c749340383a946e4cb92d20a14b29a8363ea3d5d8d0e6b3a47232d48ed17d50424fc3b51aecfa27ef313bd5557ee85c7453a4d7daa84fbc0d0794 SHA512 6acc02b22a65c24c07e744f9d3069b78199677d903567649a034408ce785a2253c789a2868e2af30eda0fadb9e9a224fddbbefe5e626277f7df40a26c9230a1d
|
||||
DIST live.2025.10.13.tar.gz 696849 BLAKE2B 917f95a644dc1e610eaff922acf14157b1f56b620202860d22ad29cd213c3ccea2f4dd86707dd46496954dd1c66386389635d26fa27233d76fc6ad8f83c08b8c SHA512 5854825e5c983ef29937cfd965941d5525a902d7bbdb4952f679d3b55cb253306b6fbcbc2a663c6f1e96cabbdab16676da0ce74a1f62c69e99f8e0e140ad2d33
|
||||
DIST live.2025.11.06.tar.gz 696989 BLAKE2B 34a5ea2d5c42684e9c7b46cf5bc3cf78c6fbb185cc18034df161339a74356490156df0f9a0b8414f73d498eb0d78e430a925afd51dcc60c0eeca6800354318a1 SHA512 cbe689f904d7c16cb7926a41a1e4768adcd66cc17b950e4a4b08288a3f443c6bbc1ddd9ec7a08290bdfa66021348f8953c6e1f1253d73fe755fa6d846d104587
|
||||
|
||||
74
media-plugins/live/live-2025.11.06.ebuild
Normal file
74
media-plugins/live/live-2025.11.06.ebuild
Normal file
@ -0,0 +1,74 @@
|
||||
# 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/117.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() {
|
||||
emake PREFIX="${ED}/usr" LIBDIR="${ED}/usr/$(get_libdir)" install
|
||||
|
||||
einstalldocs
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user