Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-plugins/live/
Date: Mon, 19 Apr 2021 20:54:45
Message-Id: 1618865632.ebc2ff3301be27d7b5004fe72931121c1d247281.sam@gentoo
1 commit: ebc2ff3301be27d7b5004fe72931121c1d247281
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Mon Apr 19 20:12:53 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Mon Apr 19 20:53:52 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ebc2ff33
7
8 media-plugins/live: drop 2020.03.06
9
10 Signed-off-by: Sam James <sam <AT> gentoo.org>
11
12 media-plugins/live/Manifest | 1 -
13 media-plugins/live/live-2020.03.06.ebuild | 111 ------------------------------
14 2 files changed, 112 deletions(-)
15
16 diff --git a/media-plugins/live/Manifest b/media-plugins/live/Manifest
17 index 011ba93b193..fd63e86d4e2 100644
18 --- a/media-plugins/live/Manifest
19 +++ b/media-plugins/live/Manifest
20 @@ -1,2 +1 @@
21 -DIST live.2020.03.06.tar.gz 7231080 BLAKE2B 95a1d3cc394eba473296973a1e44160dd1ca8e2efbc322a2e0bfbdb183244cda28b219ea14a51c8d146807d829b566a9c3782b291d5abfbd306a92e030e108e4 SHA512 7da439fbdeab0da6687dee56d9a27bf7b8f8a9c84b420d72f2e2a7ff7a73d18756d1fdb920f29b36917d93efcecc9230877637322d5041eeba114882b4bf7a06
22 DIST live.2020.05.15.tar.gz 7229400 BLAKE2B 74532c178aa1044750110eb52561b99cd70874574ee84992201a145b18091d4f8475e2a299a83f0fe42c7e64483d46175fb76465a22509db3ba2633aff1327f6 SHA512 d53fb7e8c586f50e561aa361567ccd45babdbbcbe96a06d95e42a04a54b23ac3f474fefcacf94a49b604008623acf06789b92238364713853babbe356eeac4aa
23
24 diff --git a/media-plugins/live/live-2020.03.06.ebuild b/media-plugins/live/live-2020.03.06.ebuild
25 deleted file mode 100644
26 index 704d65b196b..00000000000
27 --- a/media-plugins/live/live-2020.03.06.ebuild
28 +++ /dev/null
29 @@ -1,111 +0,0 @@
30 -# Copyright 1999-2021 Gentoo Authors
31 -# Distributed under the terms of the GNU General Public License v2
32 -
33 -EAPI=7
34 -
35 -inherit toolchain-funcs
36 -
37 -DESCRIPTION="Libraries for standards-based RTP/RTCP/RTSP multimedia streaming"
38 -HOMEPAGE="http://www.live555.com/"
39 -# Upstream aggressively remove old versions: bug #719336.
40 -#SRC_URI="http://www.live555.com/liveMedia/public/${P/-/.}.tar.gz"
41 -SRC_URI="https://cmpct.info/~sam/gentoo/distfiles/${CATEGORY}/${PN}/${P/-/.}.tar.gz"
42 -
43 -LICENSE="LGPL-2.1"
44 -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x86-solaris"
45 -IUSE="libressl ssl"
46 -
47 -BDEPEND="virtual/pkgconfig"
48 -DEPEND="
49 - ssl? (
50 - !libressl? ( dev-libs/openssl:0= )
51 - libressl? ( dev-libs/libressl:0= )
52 - )
53 -"
54 -RDEPEND="${DEPEND}"
55 -
56 -DOCS=( "live-shared/README" )
57 -
58 -# Alexis Ballier <aballier@g.o>, Sam James <sam@g.o>
59 -# Be careful, bump this everytime you bump the package and the ABI has changed.
60 -# If you don't know, ask someone.
61 -# You may wish to use a site like https://abi-laboratory.pro/index.php?view=timeline&l=live555
62 -LIVE_ABI_VERSION=8
63 -SLOT="0/${LIVE_ABI_VERSION}"
64 -
65 -S="${WORKDIR}/live"
66 -
67 -src_prepare() {
68 - default
69 -
70 - cp "${FILESDIR}/config.gentoo-so-r3" "${S}/config.gentoo-so-r1" || die
71 -
72 - # This is all legacy stuff which needs to be cleaned up
73 - case ${CHOST} in
74 - *-solaris*)
75 - sed -i \
76 - -e '/^COMPILE_OPTS /s/$/ -DSOLARIS -DXLOCALE_NOT_USED/' \
77 - -e '/^LIBS_FOR_CONSOLE_APPLICATION /s/$/ -lsocket -lnsl/' \
78 - live/config.gentoo-so-r1 \
79 - || die
80 - ;;
81 - *-darwin*)
82 - sed -i \
83 - -e '/^COMPILE_OPTS /s/$/ -DBSD=1 -DHAVE_SOCKADDR_LEN=1/' \
84 - -e '/^LINK /s/$/ /' \
85 - -e '/^LIBRARY_LINK /s/=.*$/= $(CXX) -o /' \
86 - -e '/^LIBRARY_LINK_OPTS /s:-shared.*$:-undefined suppress -flat_namespace -dynamiclib -install_name '"${EPREFIX}/usr/$(get_libdir)/"'$@:' \
87 - -e '/^LIB_SUFFIX /s/so/dylib/' \
88 - live/config.gentoo-so-r1 \
89 - || die
90 - ;;
91 - esac
92 -}
93 -
94 -src_configure() {
95 - # This ebuild uses its own build system
96 - # We don't want to call ./configure or anything here.
97 - # The only thing we can do is honour the user's SSL preference.
98 - if use ssl ; then
99 - sed -i 's/-DNO_OPENSSL=1//' "${S}/config.gentoo-so-r1" || die
100 - fi
101 -
102 - # Bug 718912
103 - tc-export CC CXX
104 -
105 - # And defer to the scripts that upstream provide.
106 - ./genMakefiles gentoo-so-r1 || die
107 -}
108 -
109 -src_compile() {
110 - export suffix="${LIVE_ABI_VERSION}.so"
111 - local link_opts="$(usex ssl "$($(tc-getPKG_CONFIG) --libs libssl libcrypto)" '') -L. ${LDFLAGS}"
112 - local lib_suffix="${suffix#.}"
113 -
114 - einfo "Beginning shared library build"
115 - emake LINK_OPTS="${link_opts}" LIB_SUFFIX="${lib_suffix}"
116 -
117 - for i in liveMedia groupsock UsageEnvironment BasicUsageEnvironment ; do
118 - cd "${S}/${i}" || die
119 - ln -s "lib${i}.${suffix}" "lib${i}.so" || die
120 - done
121 -
122 - einfo "Beginning programs build"
123 - for i in proxyServer mediaServer ; do
124 - cd "${S}/${i}" || die
125 - emake LINK_OPTS="${link_opts}"
126 - done
127 -}
128 -
129 -src_install() {
130 - for library in UsageEnvironment liveMedia BasicUsageEnvironment groupsock ; do
131 - dolib.so "${S}/${library}/lib${library}.${suffix}"
132 - dosym "lib${library}.${suffix}" "/usr/$(get_libdir)/lib${library}.so"
133 -
134 - insinto /usr/include/"${library}"
135 - doins "${S}/${library}"/include/*h
136 - done
137 -
138 - dobin "${S}"/mediaServer/live555MediaServer
139 - dobin "${S}"/proxyServer/live555ProxyServer
140 -}