Gentoo Archives: gentoo-commits

From: Alexis Ballier <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-plugins/live/
Date: Tue, 30 May 2017 10:56:05
Message-Id: 1496141747.9398b4c20395d2ab320c0af0206640e3e3da5c10.aballier@gentoo
1 commit: 9398b4c20395d2ab320c0af0206640e3e3da5c10
2 Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
3 AuthorDate: Tue May 30 10:55:47 2017 +0000
4 Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
5 CommitDate: Tue May 30 10:55:47 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9398b4c2
7
8 media-plugins/live: remove old
9
10 Package-Manager: Portage-2.3.6, Repoman-2.3.2
11
12 media-plugins/live/Manifest | 2 -
13 media-plugins/live/live-2017.04.10.ebuild | 128 ------------------------------
14 media-plugins/live/live-2017.04.26.ebuild | 128 ------------------------------
15 3 files changed, 258 deletions(-)
16
17 diff --git a/media-plugins/live/Manifest b/media-plugins/live/Manifest
18 index 1ec9ba93571..dafcebe1407 100644
19 --- a/media-plugins/live/Manifest
20 +++ b/media-plugins/live/Manifest
21 @@ -1,4 +1,2 @@
22 DIST live.2017.01.26.tar.gz 629183 SHA256 3c4d440b79e415eb3a86d30d0cd061d3edcaaa0281909e8629e9756c2c375458 SHA512 2123d78c18cb2a0f522450aa426beceefe7f70b659ec9c9f04045cbde8e53a927b7909172a42da3967be73989b16f444f02e0b70dab671d4c75e567d8939ad23 WHIRLPOOL 49db6d3f25e310dc8d90e7e257af1b5a844bd1efbe79525bb196e7bc4b5d65a56eecac9cb2a421c3425f3a5caae4efa3856469880f1d578117f52e43f67ede48
23 -DIST live.2017.04.10.tar.gz 629185 SHA256 4c37d9c828f9028403997272e49968c260385dbbaef62e28ba24faef0dda868b SHA512 ab5e790c654b01893fc5409ec69007096b31b19ccecb323319f759738e264f3cde06c7d60b84a4d078fbd20e44aa832352fec61d7ba6e0abbc24027203613349 WHIRLPOOL 2a08d77630f3bec9b639aaa7bf1646bf00ef28152aa21ae0e9092c7d231bb48f7ab751689d7279ca3d11759ef421f1d43c5c5578de6c446a283ab7c587301f62
24 -DIST live.2017.04.26.tar.gz 629195 SHA256 a97372c84d49520dbaa595b65c39800fbd7813e717b5df9cd6c70308ce1a6033 SHA512 444b3c63e30b2ddd0fac8b11f09efff3796953f6bad558cc59c093273a351ef6b1631abc5d89a8be422caf54b1c46104c59b507fc104785795c3e8622a8a4efd WHIRLPOOL cbf7cf011fb49b4ad0c24d87e4fcda220354330ac52778c233789b1c836047e33424cbdfea3ab7d8e06ef6124148c4313218f2d3e98c2d0193a33285eacda6b9
25 DIST live.2017.05.24.tar.gz 629181 SHA256 3512575c13cd52760bdfb14c8a15ab882ad45efa12a919fb70302185872446e5 SHA512 d00d87d4e011f1c100331e517f2939fe85e25d0920b9418d66c4f9254b2441c569ef7c3ece05123132f3dc44da595a62f57f0840ca33e40c48c2b193bc44b01b WHIRLPOOL 9a3d595655fe9488391431bb022dadbe2b3085b9280a506494e05c7ba0e9cf08c54a95f4942260b6d081836af13ffa85458f20ca697b865595b66e8c9d409983
26
27 diff --git a/media-plugins/live/live-2017.04.10.ebuild b/media-plugins/live/live-2017.04.10.ebuild
28 deleted file mode 100644
29 index 22ccb8b6eb6..00000000000
30 --- a/media-plugins/live/live-2017.04.10.ebuild
31 +++ /dev/null
32 @@ -1,128 +0,0 @@
33 -# Copyright 1999-2017 Gentoo Foundation
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=5
37 -inherit flag-o-matic eutils toolchain-funcs multilib multilib-minimal
38 -
39 -DESCRIPTION="Libraries for standards-based RTP/RTCP/RTSP multimedia streaming"
40 -HOMEPAGE="http://www.live555.com/"
41 -SRC_URI="http://www.live555.com/liveMedia/public/${P/-/.}.tar.gz
42 - mirror://gentoo/${P/-/.}.tar.gz"
43 -
44 -LICENSE="LGPL-2.1"
45 -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
46 -IUSE="examples static-libs"
47 -DOCS=( "live-shared/README" )
48 -
49 -# Alexis Ballier <aballier@g.o>
50 -# Be careful, bump this everytime you bump the package and the ABI has changed.
51 -# If you don't know, ask someone.
52 -LIVE_ABI_VERSION=7
53 -SLOT="0/${LIVE_ABI_VERSION}"
54 -
55 -src_unpack() {
56 - unpack ${A}
57 - mkdir -p "${S}"
58 - mv "${WORKDIR}/live" "${S}/" || die
59 -}
60 -
61 -src_prepare() {
62 - epatch "${FILESDIR}/${PN}-recursive3.patch"
63 -
64 - if use static-libs ; then
65 - cp -pPR live live-shared
66 - mv live live-static
67 - else
68 - mv live live-shared
69 - fi
70 -
71 - use static-libs && cp "${FILESDIR}/config.gentoo" live-static
72 - cp "${FILESDIR}/config.gentoo-so-r1" live-shared
73 -
74 - case ${CHOST} in
75 - *-solaris*)
76 - use static-libs && { sed -i \
77 - -e '/^COMPILE_OPTS /s/$/ -DSOLARIS -DXLOCALE_NOT_USED/' \
78 - -e '/^LIBS_FOR_CONSOLE_APPLICATION /s/$/ -lsocket -lnsl/' \
79 - live-static/config.gentoo \
80 - || die ; }
81 - sed -i \
82 - -e '/^COMPILE_OPTS /s/$/ -DSOLARIS -DXLOCALE_NOT_USED/' \
83 - -e '/^LIBS_FOR_CONSOLE_APPLICATION /s/$/ -lsocket -lnsl/' \
84 - live-shared/config.gentoo-so-r1 \
85 - || die
86 - ;;
87 - *-darwin*)
88 - use static-libs && { sed -i \
89 - -e '/^COMPILE_OPTS /s/$/ -DBSD=1 -DHAVE_SOCKADDR_LEN=1/' \
90 - -e '/^LINK /s/$/ /' \
91 - -e '/^LIBRARY_LINK /s/$/ /' \
92 - -e '/^LIBRARY_LINK_OPTS /s/-Bstatic//' \
93 - live-static/config.gentoo \
94 - || die static ; }
95 - sed -i \
96 - -e '/^COMPILE_OPTS /s/$/ -DBSD=1 -DHAVE_SOCKADDR_LEN=1/' \
97 - -e '/^LINK /s/$/ /' \
98 - -e '/^LIBRARY_LINK /s/=.*$/= $(CXX) -o /' \
99 - -e '/^LIBRARY_LINK_OPTS /s:-shared.*$:-undefined suppress -flat_namespace -dynamiclib -install_name '"${EPREFIX}/usr/$(get_libdir)/"'$@:' \
100 - -e '/^LIB_SUFFIX /s/so/dylib/' \
101 - live-shared/config.gentoo-so-r1 \
102 - || die shared
103 - ;;
104 - esac
105 - multilib_copy_sources
106 -}
107 -
108 -src_configure() { :; }
109 -
110 -multilib_src_compile() {
111 - tc-export CC CXX LD
112 -
113 - if use static-libs ; then
114 - cd "${BUILD_DIR}/live-static"
115 -
116 - einfo "Beginning static library build"
117 - ./genMakefiles gentoo
118 - emake -j1 LINK_OPTS="-L. $(raw-ldflags)" || die "failed to build static libraries"
119 - fi
120 -
121 - cd "${BUILD_DIR}/live-shared"
122 - einfo "Beginning shared library build"
123 - ./genMakefiles gentoo-so-r1
124 - local suffix=$(get_libname ${LIVE_ABI_VERSION})
125 - emake -j1 LINK_OPTS="-L. ${LDFLAGS}" LIB_SUFFIX="${suffix#.}" || die "failed to build shared libraries"
126 -
127 - for i in liveMedia groupsock UsageEnvironment BasicUsageEnvironment ; do
128 - pushd "${BUILD_DIR}/live-shared/${i}" > /dev/null
129 - ln -s lib${i}.${suffix#.} lib${i}$(get_libname) || die
130 - popd > /dev/null
131 - done
132 -
133 - if multilib_is_native_abi; then
134 - einfo "Beginning programs build"
135 - for i in $(use examples && echo "testProgs") proxyServer mediaServer ; do
136 - cd "${BUILD_DIR}/live-shared/${i}"
137 - emake LINK_OPTS="-L. ${LDFLAGS}" || die "failed to build test programs"
138 - done
139 - fi
140 -}
141 -
142 -multilib_src_install() {
143 - for library in UsageEnvironment liveMedia BasicUsageEnvironment groupsock; do
144 - use static-libs && dolib.a live-static/${library}/lib${library}.a
145 - dolib.so live-shared/${library}/lib${library}$(get_libname ${LIVE_ABI_VERSION})
146 - dosym lib${library}$(get_libname ${LIVE_ABI_VERSION}) /usr/$(get_libdir)/lib${library}$(get_libname)
147 -
148 - insinto /usr/include/${library}
149 - doins live-shared/${library}/include/*h
150 - done
151 -
152 - if multilib_is_native_abi; then
153 - # Should we really install these?
154 - use examples && find live-shared/testProgs -type f -perm 755 -print0 | \
155 - xargs -0 dobin
156 -
157 - dobin live-shared/mediaServer/live555MediaServer
158 - dobin live-shared/proxyServer/live555ProxyServer
159 - fi
160 -}
161
162 diff --git a/media-plugins/live/live-2017.04.26.ebuild b/media-plugins/live/live-2017.04.26.ebuild
163 deleted file mode 100644
164 index 22ccb8b6eb6..00000000000
165 --- a/media-plugins/live/live-2017.04.26.ebuild
166 +++ /dev/null
167 @@ -1,128 +0,0 @@
168 -# Copyright 1999-2017 Gentoo Foundation
169 -# Distributed under the terms of the GNU General Public License v2
170 -
171 -EAPI=5
172 -inherit flag-o-matic eutils toolchain-funcs multilib multilib-minimal
173 -
174 -DESCRIPTION="Libraries for standards-based RTP/RTCP/RTSP multimedia streaming"
175 -HOMEPAGE="http://www.live555.com/"
176 -SRC_URI="http://www.live555.com/liveMedia/public/${P/-/.}.tar.gz
177 - mirror://gentoo/${P/-/.}.tar.gz"
178 -
179 -LICENSE="LGPL-2.1"
180 -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
181 -IUSE="examples static-libs"
182 -DOCS=( "live-shared/README" )
183 -
184 -# Alexis Ballier <aballier@g.o>
185 -# Be careful, bump this everytime you bump the package and the ABI has changed.
186 -# If you don't know, ask someone.
187 -LIVE_ABI_VERSION=7
188 -SLOT="0/${LIVE_ABI_VERSION}"
189 -
190 -src_unpack() {
191 - unpack ${A}
192 - mkdir -p "${S}"
193 - mv "${WORKDIR}/live" "${S}/" || die
194 -}
195 -
196 -src_prepare() {
197 - epatch "${FILESDIR}/${PN}-recursive3.patch"
198 -
199 - if use static-libs ; then
200 - cp -pPR live live-shared
201 - mv live live-static
202 - else
203 - mv live live-shared
204 - fi
205 -
206 - use static-libs && cp "${FILESDIR}/config.gentoo" live-static
207 - cp "${FILESDIR}/config.gentoo-so-r1" live-shared
208 -
209 - case ${CHOST} in
210 - *-solaris*)
211 - use static-libs && { sed -i \
212 - -e '/^COMPILE_OPTS /s/$/ -DSOLARIS -DXLOCALE_NOT_USED/' \
213 - -e '/^LIBS_FOR_CONSOLE_APPLICATION /s/$/ -lsocket -lnsl/' \
214 - live-static/config.gentoo \
215 - || die ; }
216 - sed -i \
217 - -e '/^COMPILE_OPTS /s/$/ -DSOLARIS -DXLOCALE_NOT_USED/' \
218 - -e '/^LIBS_FOR_CONSOLE_APPLICATION /s/$/ -lsocket -lnsl/' \
219 - live-shared/config.gentoo-so-r1 \
220 - || die
221 - ;;
222 - *-darwin*)
223 - use static-libs && { sed -i \
224 - -e '/^COMPILE_OPTS /s/$/ -DBSD=1 -DHAVE_SOCKADDR_LEN=1/' \
225 - -e '/^LINK /s/$/ /' \
226 - -e '/^LIBRARY_LINK /s/$/ /' \
227 - -e '/^LIBRARY_LINK_OPTS /s/-Bstatic//' \
228 - live-static/config.gentoo \
229 - || die static ; }
230 - sed -i \
231 - -e '/^COMPILE_OPTS /s/$/ -DBSD=1 -DHAVE_SOCKADDR_LEN=1/' \
232 - -e '/^LINK /s/$/ /' \
233 - -e '/^LIBRARY_LINK /s/=.*$/= $(CXX) -o /' \
234 - -e '/^LIBRARY_LINK_OPTS /s:-shared.*$:-undefined suppress -flat_namespace -dynamiclib -install_name '"${EPREFIX}/usr/$(get_libdir)/"'$@:' \
235 - -e '/^LIB_SUFFIX /s/so/dylib/' \
236 - live-shared/config.gentoo-so-r1 \
237 - || die shared
238 - ;;
239 - esac
240 - multilib_copy_sources
241 -}
242 -
243 -src_configure() { :; }
244 -
245 -multilib_src_compile() {
246 - tc-export CC CXX LD
247 -
248 - if use static-libs ; then
249 - cd "${BUILD_DIR}/live-static"
250 -
251 - einfo "Beginning static library build"
252 - ./genMakefiles gentoo
253 - emake -j1 LINK_OPTS="-L. $(raw-ldflags)" || die "failed to build static libraries"
254 - fi
255 -
256 - cd "${BUILD_DIR}/live-shared"
257 - einfo "Beginning shared library build"
258 - ./genMakefiles gentoo-so-r1
259 - local suffix=$(get_libname ${LIVE_ABI_VERSION})
260 - emake -j1 LINK_OPTS="-L. ${LDFLAGS}" LIB_SUFFIX="${suffix#.}" || die "failed to build shared libraries"
261 -
262 - for i in liveMedia groupsock UsageEnvironment BasicUsageEnvironment ; do
263 - pushd "${BUILD_DIR}/live-shared/${i}" > /dev/null
264 - ln -s lib${i}.${suffix#.} lib${i}$(get_libname) || die
265 - popd > /dev/null
266 - done
267 -
268 - if multilib_is_native_abi; then
269 - einfo "Beginning programs build"
270 - for i in $(use examples && echo "testProgs") proxyServer mediaServer ; do
271 - cd "${BUILD_DIR}/live-shared/${i}"
272 - emake LINK_OPTS="-L. ${LDFLAGS}" || die "failed to build test programs"
273 - done
274 - fi
275 -}
276 -
277 -multilib_src_install() {
278 - for library in UsageEnvironment liveMedia BasicUsageEnvironment groupsock; do
279 - use static-libs && dolib.a live-static/${library}/lib${library}.a
280 - dolib.so live-shared/${library}/lib${library}$(get_libname ${LIVE_ABI_VERSION})
281 - dosym lib${library}$(get_libname ${LIVE_ABI_VERSION}) /usr/$(get_libdir)/lib${library}$(get_libname)
282 -
283 - insinto /usr/include/${library}
284 - doins live-shared/${library}/include/*h
285 - done
286 -
287 - if multilib_is_native_abi; then
288 - # Should we really install these?
289 - use examples && find live-shared/testProgs -type f -perm 755 -print0 | \
290 - xargs -0 dobin
291 -
292 - dobin live-shared/mediaServer/live555MediaServer
293 - dobin live-shared/proxyServer/live555ProxyServer
294 - fi
295 -}