mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-06 02:17:34 -08:00
media-plugins/live: drop 2021.08.24, 2025.05.24, 2025.07.10
Closes: https://bugs.gentoo.org/719336 Closes: https://bugs.gentoo.org/940324 Signed-off-by: Alfred Wingate <parona@protonmail.com> Part-of: https://github.com/gentoo/gentoo/pull/43768 Closes: https://github.com/gentoo/gentoo/pull/43768 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
parent
c906cb2b3d
commit
f071f7b33b
@ -1,6 +1,3 @@
|
||||
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
|
||||
DIST live.2025.05.24.tar.gz 696643 BLAKE2B 6805cee30deb5c7fdaeb6bb05f99ba4946b3c9ec2b3a110fc57bcba1878f6f425cde78ec033ddb2072a52af5aa763b275e6d3431c8cbacfb21f4914ce185131d SHA512 4b2053ac83cceedf05dd778d56ee63b77e41a8a3dac086365bf8b91a7c9758c2eedc6d6ee5468fac3cec8e33b7b070cfa7401a4ec37f87346c940f56d4af63ac
|
||||
DIST live.2025.07.10.tar.gz 696914 BLAKE2B f391184d9fd24e7b416c3585903ab1bfde89a43074b3d248a9e8b238d789065438cc66b6fa47dfda4edcddb096bf60f7e7a5b3c819d6340ab1edd0bc100be629 SHA512 1f2c970de72d0d4b7a8f26b9cc0acfecacc39629d1bd02b1731ceeb97ca51d58288c230342c19488e5faf082aa1c52143e4dd4d2f4b58d7ad37808b9b32c0546
|
||||
DIST live.2025.07.19.tar.gz 696976 BLAKE2B 14c7da61c68c749340383a946e4cb92d20a14b29a8363ea3d5d8d0e6b3a47232d48ed17d50424fc3b51aecfa27ef313bd5557ee85c7453a4d7daa84fbc0d0794 SHA512 6acc02b22a65c24c07e744f9d3069b78199677d903567649a034408ce785a2253c789a2868e2af30eda0fadb9e9a224fddbbefe5e626277f7df40a26c9230a1d
|
||||
|
||||
@ -1,17 +0,0 @@
|
||||
COMPILE_OPTS = $(INCLUDES) -I. -DSOCKLEN_T=socklen_t -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DXLOCALE_NOT_USED -DNO_OPENSSL=1
|
||||
C = c
|
||||
C_COMPILER = $(CC)
|
||||
C_FLAGS = $(COMPILE_OPTS) -fPIC $(CFLAGS)
|
||||
CPP = cpp
|
||||
CPLUSPLUS_COMPILER = $(CXX)
|
||||
CPLUSPLUS_FLAGS = $(COMPILE_OPTS) -fPIC $(CXXFLAGS)
|
||||
OBJ = o
|
||||
LINK = $(CXX) -o
|
||||
LINK_OPTS = -L.
|
||||
CONSOLE_LINK_OPTS = $(LINK_OPTS)
|
||||
LIBRARY_LINK = $(CXX) -o
|
||||
LIBRARY_LINK_OPTS = $(LINK_OPTS) -shared -Wl,-soname,$@
|
||||
LIB_SUFFIX = so
|
||||
LIBS_FOR_CONSOLE_APPLICATION =
|
||||
LIBS_FOR_GUI_APPLICATION =
|
||||
EXE =
|
||||
@ -1,108 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="Libraries for standards-based RTP/RTCP/RTSP multimedia streaming"
|
||||
HOMEPAGE="http://www.live555.com/"
|
||||
SRC_URI="http://www.live555.com/liveMedia/public/${P/-/.}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
|
||||
IUSE="ssl"
|
||||
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
DEPEND="
|
||||
ssl? (
|
||||
dev-libs/openssl:0=
|
||||
)
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
DOCS=( "live-shared/README" )
|
||||
|
||||
# Alexis Ballier <aballier@gentoo.org>, Sam James <sam@gentoo.org>
|
||||
# Be careful, bump this everytime you bump the package and the ABI has changed.
|
||||
# If you don't know, ask someone.
|
||||
# You may wish to use a site like https://abi-laboratory.pro/index.php?view=timeline&l=live555
|
||||
LIVE_ABI_VERSION=9
|
||||
SLOT="0/${LIVE_ABI_VERSION}"
|
||||
|
||||
S="${WORKDIR}/live"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
cp "${FILESDIR}/config.gentoo-so-r3" "${S}/config.gentoo-so-r1" || die
|
||||
|
||||
# This is all legacy stuff which needs to be cleaned up
|
||||
case ${CHOST} in
|
||||
*-solaris*)
|
||||
sed -i \
|
||||
-e '/^COMPILE_OPTS /s/$/ -DSOLARIS -DXLOCALE_NOT_USED/' \
|
||||
-e '/^LIBS_FOR_CONSOLE_APPLICATION /s/$/ -lsocket -lnsl/' \
|
||||
live/config.gentoo-so-r1 \
|
||||
|| die
|
||||
;;
|
||||
*-darwin*)
|
||||
sed -i \
|
||||
-e '/^COMPILE_OPTS /s/$/ -DBSD=1 -DHAVE_SOCKADDR_LEN=1/' \
|
||||
-e '/^LINK /s/$/ /' \
|
||||
-e '/^LIBRARY_LINK /s/=.*$/= $(CXX) -o /' \
|
||||
-e '/^LIBRARY_LINK_OPTS /s:-shared.*$:-undefined suppress -flat_namespace -dynamiclib -install_name '"${EPREFIX}/usr/$(get_libdir)/"'$@:' \
|
||||
-e '/^LIB_SUFFIX /s/so/dylib/' \
|
||||
live/config.gentoo-so-r1 \
|
||||
|| die
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# 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
|
||||
sed -i 's/-DNO_OPENSSL=1//' "${S}/config.gentoo-so-r1" || die
|
||||
fi
|
||||
|
||||
# Bug 718912
|
||||
tc-export CC CXX
|
||||
|
||||
# And defer to the scripts that upstream provide.
|
||||
./genMakefiles gentoo-so-r1 || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export suffix="${LIVE_ABI_VERSION}.so"
|
||||
local link_opts="$(usex ssl "$($(tc-getPKG_CONFIG) --libs libssl libcrypto)" '') -L. ${LDFLAGS}"
|
||||
local lib_suffix="${suffix#.}"
|
||||
|
||||
einfo "Beginning shared library build"
|
||||
emake LINK_OPTS="${link_opts}" LIB_SUFFIX="${lib_suffix}"
|
||||
|
||||
for i in liveMedia groupsock UsageEnvironment BasicUsageEnvironment ; do
|
||||
cd "${S}/${i}" || die
|
||||
ln -s "lib${i}.${suffix}" "lib${i}.so" || die
|
||||
done
|
||||
|
||||
einfo "Beginning programs build"
|
||||
for i in proxyServer mediaServer ; do
|
||||
cd "${S}/${i}" || die
|
||||
emake LINK_OPTS="${link_opts}"
|
||||
done
|
||||
}
|
||||
|
||||
src_install() {
|
||||
for library in UsageEnvironment liveMedia BasicUsageEnvironment groupsock ; do
|
||||
dolib.so "${S}/${library}/lib${library}.${suffix}"
|
||||
dosym "lib${library}.${suffix}" "/usr/$(get_libdir)/lib${library}.so"
|
||||
|
||||
insinto /usr/include/"${library}"
|
||||
doins "${S}/${library}"/include/*h
|
||||
done
|
||||
|
||||
dobin "${S}"/mediaServer/live555MediaServer
|
||||
dobin "${S}"/proxyServer/live555ProxyServer
|
||||
}
|
||||
@ -1,74 +0,0 @@
|
||||
# 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() {
|
||||
emake PREFIX="${ED}/usr" LIBDIR="${ED}/usr/$(get_libdir)" install
|
||||
|
||||
einstalldocs
|
||||
}
|
||||
@ -1,74 +0,0 @@
|
||||
# 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() {
|
||||
emake PREFIX="${ED}/usr" LIBDIR="${ED}/usr/$(get_libdir)" install
|
||||
|
||||
einstalldocs
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user