Portage is a package management system used by Gentoo Linux
# ChangeLog for media-plugins/live
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/media-plugins/live/ChangeLog,v 1.128 2010/08/06 19:53:38 darkside Exp $
06 Aug 2010; Jeremy Olexa
Migrate changes from Gentoo Prefix overlay. Keywords, EAPI3, build system
tweaks for solaris/darwin, get_libname. Approved by team member
*live-2010.04.09 (24 Apr 2010)
24 Apr 2010; Alexis Ballier
version bump
06 Jan 2010; Brent Baude
Marking live-2009.06.02 ppc64 for bug 277009
*live-2009.11.12 (21 Nov 2009)
21 Nov 2009; Alexis Ballier
version bump
21 Nov 2009; Alexis Ballier
-live-2009.09.04.ebuild:
remove old
*live-2009.09.28 (29 Sep 2009)
29 Sep 2009; Alexis Ballier
+files/config.gentoo-so-r1, +files/live-recursive.patch:
version bump and link the libs with g++
*live-2009.09.04 (18 Sep 2009)
18 Sep 2009; Alexis Ballier
version bump
09 Aug 2009; nixnut
ppc stable #277009
08 Aug 2009; Jeroen Roovers
Stable for HPPA (bug #277009).
*live-2009.07.28 (01 Aug 2009)
01 Aug 2009; Steve Dibb
Version bump
31 Jul 2009;
Marked stable on AMD64 as requested by Alexis Ballier
23 Jul 2009; Raúl Porcel
arm/ia64/sparc stable wrt #277009
22 Jul 2009; Tobias Klausmann
live-2009.06.02.ebuild:
Stable on alpha, bug #277009
08 Jul 2009; Christian Faulhammer
live-2009.06.02.ebuild:
stable x86, bug 277009
22 Jun 2009; Alexis Ballier
remove old
*live-2009.06.02 (05 Jun 2009)
05 Jun 2009; Alexis Ballier
version bump
15 May 2009; Alexis Ballier
remove old
*live-2009.04.20 (14 May 2009)
14 May 2009; Alexis Ballier
version bump
08 Mar 2009; Alexis Ballier
-live-2008.11.13.ebuild, -live-2008.12.20.ebuild, -live-2009.01.26.ebuild:
remove unused versions
*live-2009.02.23 (08 Mar 2009)
08 Mar 2009; Alexis Ballier
version bump
*live-2009.01.26 (03 Feb 2009)
03 Feb 2009; Alexis Ballier
version bump
*live-2008.12.20 (19 Jan 2009)
19 Jan 2009; Alexis Ballier
version bump
*live-2008.11.13 (14 Nov 2008)
14 Nov 2008; Alexis Ballier
version bump, abi break again...
18 Oct 2008; Alexis Ballier
-live-2008.02.08.ebuild:
remove old
18 Oct 2008; Raúl Porcel
alpha/arm/ia64 stable wrt #240457
18 Oct 2008; Brent Baude
stable ppc64, bug 240457
*live-2008.10.07 (18 Oct 2008)
18 Oct 2008; Alexis Ballier
version bump, abi break unfortunately
18 Oct 2008; Brent Baude
stable ppc, bug 240457
18 Oct 2008; Jeroen Roovers
Stable for HPPA (bug #240457).
12 Oct 2008; Friedrich Oslage
live-2008.09.02.ebuild:
Stable on sparc, bug #240457
08 Oct 2008; Markus Meier
amd64/x86 stable, bug #240457
16 Sep 2008; Alexis Ballier
remove unused version
*live-2008.09.02 (08 Sep 2008)
08 Sep 2008; Alexis Ballier
version bump
17 Aug 2008; Alexis Ballier
-live-2008.07.06.ebuild:
remove old
08 Aug 2008; Alexis Ballier
keyword ~x86-fbsd
*live-2008.07.25 (07 Aug 2008)
07 Aug 2008; Alexis Ballier
version bump
*live-2008.07.06 (11 Jul 2008)
11 Jul 2008; Alexis Ballier
version bump
03 Jul 2008; Alexis Ballier
remove unused version
*live-2008.06.05 (20 Jun 2008)
20 Jun 2008; Alexis Ballier
version bump
22 May 2008; Alexis Ballier
-live-2005.11.11.ebuild, -live-2006.12.08.ebuild, -live-2007.01.09.ebuild,
-live-2007.01.17.ebuild, -live-2007.08.03a.ebuild:
remove old and unused versions
*live-2008.05.12 (22 May 2008)
22 May 2008; Alexis Ballier
version bump
06 Mar 2008; Steve Dibb
amd64 stable, bug 204065
04 Mar 2008; Tobias Scherbaum
live-2008.02.08.ebuild:
ppc stable, bug #204065
04 Mar 2008; Raúl Porcel
alpha/ia64/sparc stable wrt security #204065
03 Mar 2008; Jeroen Roovers
Stable for HPPA (bug #204065).
02 Mar 2008; Markus Rothe
Stable on ppc64; bug #204065
02 Mar 2008; Markus Meier
x86 stable, security bug #204065
*live-2008.02.08 (29 Feb 2008)
29 Feb 2008; Alexis Ballier
version bump for bug #204065, respect ldflags for bug #209728, give it a
loosy manual ABI handling, do not build pic programs as they will not be
installed
*live-2007.08.03a (25 Oct 2007)
25 Oct 2007; Steve Dibb
Version bump
03 May 2007; Tobias Scherbaum
live-2007.02.20.ebuild:
ppc stable, bug #168917
02 May 2007; Bryan Østergaard
Stable on Alpha, bug 168917.
16 Apr 2007; Gustavo Zacarias
live-2007.02.20.ebuild:
Stable on sparc wrt #154853
15 Apr 2007; Markus Rothe
Stable on ppc64; bug #154853
14 Apr 2007; Raúl Porcel
ia64 + x86 stable wrt bug 154853
14 Apr 2007; Jeroen Roovers
Stable for HPPA (bug #154853).
13 Apr 2007; Peter Weller
Stable on amd64. Fixes bug 154853, too
10 Mar 2007; Alexis Ballier
Install live555MediaServer, bug #170222, fix README location, install non
pic programs rather than pic ones
*live-2007.02.20 (03 Mar 2007)
03 Mar 2007; Steve Dibb
Version bump
23 Feb 2007; Alexis Ballier
files/config.gentoo-so:
Fix Large file support, thanks to Åsmund Grammeltvedt
bug #167059
*live-2007.01.17 (18 Jan 2007)
18 Jan 2007; Luca Barbato
New snapshot featuring h264 support
*live-2007.01.09 (10 Jan 2007)
10 Jan 2007; Diego Pettenò
+live-2007.01.09.ebuild:
Version bump.
*live-2006.12.08 (30 Dec 2006)
30 Dec 2006; Diego Pettenò
+files/config.gentoo-so, +live-2006.12.08.ebuild:
Version bump, now build both static and shared libraries, and install in
proper places, rather than mimic the structure of the buildtree. MPlayer and
mimd needs to be fixed to build with this version.
30 Dec 2006; Diego Pettenò
-live-2004.03.27.ebuild, -live-2004.07.20.ebuild, -live-2004.09.30.ebuild,
-live-2005.01.29.ebuild, -live-2005.08.26.ebuild:
Remove all the old versions, this will also fix the wrong HOMEPAGE turning
up on packages.gentoo.org.
12 Jun 2006; Guy Martin
Stable on hppa.
19 Apr 2006; Thomas Cort
Stable on amd64 wrt Bug #128600.
17 Apr 2006; Markus Rothe
Stable on ppc64; bug #128600
13 Apr 2006; Diego Pettenò
Drop redundant deps, use a more common find syntax.
09 Apr 2006; Thomas Cort
Stable on alpha wrt Bug #128600
09 Apr 2006; Joshua Jackson
Stable on x86; bug #128600
07 Apr 2006; Tobias Scherbaum
live-2005.11.11.ebuild:
ppc stable, bug #128600
04 Apr 2006; Aron Griffis
Mark 2005.11.11 stable on ia64
03 Apr 2006; Gustavo Zacarias
live-2005.11.11.ebuild:
Stable on sparc wrt #128600
*live-2005.11.11 (28 Nov 2005)
28 Nov 2005; Hanno Boeck
+live-2005.11.11.ebuild:
Version bump and fix for gcc 4.1.
02 Nov 2005; Luca Barbato
url fixed
13 Sep 2005; Aron Griffis
Mark 2005.01.29 stable on alpha
11 Sep 2005; Guy Martin
Stable on hppa.
*live-2005.08.26 (01 Sep 2005)
01 Sep 2005; Stefan Briesenick
+live-2005.08.26.ebuild:
version bump + ebuild cleanup
24 Aug 2005; Aron Griffis
stable on ia64
18 Jun 2005; Markus Rothe
Stable on ppc64
17 Jun 2005; Michael Hanselmann
live-2005.01.29.ebuild:
Stable on ppc.
06 Jun 2005; Markus Rothe
added ~ppc64
21 May 2005; Jason Wever
Stable on SPARC.
10 May 2005; Aron Griffis
add ~ia64
02 May 2005; Diego Pettenò
Marked 2005.01.29 stable on x86 and amd64.
02 Feb 2005; Jeremy Huddleston
live-2005.01.29.ebuild:
Multilib and toolchain-funcs updates.
*live-2005.01.29 (30 Jan 2005)
30 Jan 2005; Jan Brinkmann
new upstream version, bumped.
29 Dec 2004; Ciaran McCreesh
Change encoding to UTF-8 for GLEP 31 compliance
18 Dec 2004; Dylan Carlson
Stable on amd64.
17 Dec 2004; Markus Rothe
Stable on ppc64
14 Nov 2004; Markus Rothe
Marked ~ppc64; bug #68112
24 Oct 2004; Bryan Østergaard
Stable on alpha.
12 Oct 2004; Guy Martin
Stable on hppa.
10 Oct 2004; Luca Barbato
Marked ppc
09 Oct 2004; Jason Wever
Stable on sparc.
07 Oct 2004; Patrick Kursawe
Declaring stable for x86 because of bug #52308
06 Oct 2004; Jeremy Huddleston
live-2004.09.30.ebuild:
get_libdir fixes.
01 Oct 2004; Patrick Kursawe
-live-2003.04.11.ebuild, -live-2003.06.26.ebuild, -live-2003.09.01.ebuild,
-live-2004.03.05.ebuild, -live-2004.03.17.ebuild, -live-2004.03.23.ebuild:
Big cleanup
*live-2004.09.30 (01 Oct 2004)
01 Oct 2004; Patrick Kursawe
Version bump (see bug #62911)
22 Aug 2004; Hardave Riar
Added ~mips keyword.
*live-2004.07.20 (21 Jul 2004)
21 Jul 2004; Jeremy Huddleston
+live-2004.07.20.ebuild:
Version bump closes bug #57095.
10 Jul 2004; Jason Wever
Stable on sparc.
01 Jul 2004; Jeremy Huddleston
live-2004.03.23.ebuild, live-2004.03.27.ebuild:
virtual/glibc -> virtual/libc
09 Jun 2004; Luca Barbato
Same fix from amd64
02 Jun 2004; Brian Harring
keywording 2004.03.27 x86, closing bug #49419
28 May 2004; Guy Martin
Added ~hppa to KEYWORDS.
27 May 2004; Daniel Ostrow
Stable on ppc.
27 May 2004; Jon Portnoy
Stable on AMD64
04 May 2004; Michael Sterrett
inherit flag-o-matic
02 May 2004; Bryan Østergaard
Stable on alpha.
01 May 2004; Jason Wever
Added ~sparc keyword.
27 Apr 2004; Aron Griffis
live-2003.09.01.ebuild, live-2004.03.05.ebuild, live-2004.03.17.ebuild,
live-2004.03.23.ebuild, live-2004.03.27.ebuild:
Add inherit eutils
27 Apr 2004; Aron Griffis
Add flag-o-matic for bug 49179
09 Apr 2004; Travis Tilley
added an -fPIC fix on amd64 so that live can be used to create shared libraries
09 Apr 2004; Travis Tilley
added ~amd64 keyword
*live-2004.03.27 (27 Mar 2004)
27 Mar 2004; Brad Laue
Version bump, as previous tarball doesnt exist anymore. Also placing this on
our mirrors since its so hard to track.
*live-2004.03.23 (24 Mar 2004)
24 Mar 2004; Martin Holzer
metadata.xml:
Version bumped. Closes 45533
*live-2004.03.17 (22 Mar 2004)
22 Mar 2004; Joel Martin
live-2003.04.11.ebuild, live-2003.06.26.ebuild, live-2003.09.01.ebuild,
live-2004.03.17.ebuild, metadata.xml:
Version bump, fixed copyrights, added metadata.xml with herd as media-video.
16 Mar 2004; Luca Barbato
Made sure that qtParse binary is removed
*live-2004.03.05 (09 Mar 2004)
09 Mar 2004; Luca Barbato
Version bump, solves bug #44005
*live-2003.09.01 (02 Sep 2003)
02 Sep 2003; Luca Barbato
Version bump
*live-2003.06.26 (27 Jun 2003)
27 Jun 2003; Luca Barbato
Version bump, gcc-3.3 fix
10 Jun 2003;
live-2003.04.11.ebuild:
DEPEND on sed >= 4
*live-2003.04.11 (12 Apr 2003)
12 Apr 2003; Hannes Mehnert
version bump, thanks to Tristan Henderson
#19181)
*live-2003.04.09 (11 Apr 2003)
11 Apr 2003; Hannes Mehnert
version bump
*live-2003.01.28 (29 Jan 2003)
29 Jan 2003; J Robert Ray
AUX config.gentoo 480 RMD160 7fe83cf6a587076b282c66f4e4d730e41b55fc27 SHA1 c26ee14495ac18d25aff20290b55181fa9245082 SHA256 f8dfcb44221ab3e1fbea958b0be5d817aaebe971129def44a96fe1cb0a7d4a00
AUX config.gentoo-so 504 RMD160 60475939b963301f3a26416d87e53f8b08668d3e SHA1 9b829c9fe7c3a1f64a77deb5d484361c8ff8cd60 SHA256 48e623d25c0697e3274355670eae2d0d7f590502f63652bc3cf6cadbdd5429e2
AUX config.gentoo-so-r1 505 RMD160 6bd37a2fa790eb116c477a6c77f61e88a3535348 SHA1 99961d3665c05375750c076e5f6bffc4044fdc42 SHA256 be1d556e414d128ee3998b4ad640dcd2fb829430c134997134e7054edac55eaf
AUX live-recursive.patch 401 RMD160 512ee0cf4ca9139af5451be8bf7aa4321997cb03 SHA1 df84e25e5f879d93be4a71ec57c090f0d2c80f4f SHA256 353e9d709ae60a216069d39880ae1781e2037692c77ea5aca60dfb0ca1b2ae88
DIST live.2008.09.02.tar.gz 449719 RMD160 003e1aa2ee94a4e1629520aeab34f343b08ec562 SHA1 ea65e82fa331dd843af75d2eb35f23cd07308062 SHA256 c653c494972f5cda360116ea162249e0a1784980e35258e6950d469d0deaf146
DIST live.2009.06.02.tar.gz 469471 RMD160 ddbe057ac4f47d66ee7c99ec3c4886fe97f06565 SHA1 a03ac47dc1b2a5e4745e30fc304af61675036782 SHA256 66c54241bfcc7ea42fe40e1c93739be79a3c065390c4163c0f2647ac45c24758
DIST live.2009.09.28.tar.gz 449508 RMD160 c25cb1a2377f0fe6c3817bbc3edbcd4daa57d0dc SHA1 e5657206976f592e3fd1fda9cfe77b5712498784 SHA256 0e84700e8982ac5472723c0327131c179512d4b99fe0c4ae903cfe08a1a0e03c
DIST live.2009.11.12.tar.gz 449650 RMD160 ef21d2b72aaf2044c9e96cadfe62cc1304d89843 SHA1 14830984d85ef710835d5e9c26ebb626b66c0260 SHA256 f6ee9c1079b5ab8e330c9edd7634bcffd76eb434cf52fe2ea06c4072bf823645
DIST live.2010.04.09.tar.gz 452846 RMD160 3ee1d0c767e139e3d7cc66fd6409404e625dee73 SHA1 3c480355b153847273b30f0ce30cf80dff12e170 SHA256 e9539f59058cb885f28ac48cdce285f8a0fe567c4aa889c2ac3bd0638b007944
EBUILD live-2008.09.02.ebuild 2689 RMD160 af10c27f30637a41ef15c6aafb7efd2789e61a3b SHA1 ca53be474c41399e7a5cb6ee10b26bdfaac7d9b9 SHA256 db9ffbfb365b91be08e6719a26094f7d7b2fc3d415a3fd9846e5b6504d19e08d
EBUILD live-2009.06.02.ebuild 2688 RMD160 907541e56cae9099300647e741448aa51895c1ba SHA1 81899e914a1cbf97cdc0a205e8741184f0fae397 SHA256 2eb82ec8978f19a3b1ec68c66494a15c924dbad9700ce718e4407a006950b0ff
EBUILD live-2009.09.28.ebuild 2675 RMD160 99bdca5624bda0a83cf1b75c4e322e673bcfcb7f SHA1 8e9f969c6c73a48645814d2c6a5e09224eccb64a SHA256 4467e23341bf8500af2b133e24bab748717fbdbd5cd67a7126c3a7accbcd66d1
EBUILD live-2009.11.12.ebuild 2675 RMD160 e3daeca1bc6032591e2684efa1756e316a024174 SHA1 f00b56e94294cefa4eeae46a36d8b609a434831c SHA256 dfa24684732286dc625585e51865876aa3101d5718fb6ef0c2e9b9c1bc62a107
EBUILD live-2010.04.09.ebuild 3716 RMD160 6f53daeecf9029288efa39ac5b3c50c05eba84f8 SHA1 c94a4673c104dc9c3c13ce42a786aee0e1aef90d SHA256 55f56ab2371b2354c8fb618d619b0b9553c2d61655538944580d1c906a89b1da
MISC ChangeLog 16068 RMD160 272a7168ddb087bde55f267eba4c2c12d2ffacf4 SHA1 f4bb347fc8cc30cb30ea7457791df6b71701e0a4 SHA256 7d1a379dcfaad7cdcd4555279c2eb4ad1985ca63803e0c41b30c8380cf532e3b
MISC metadata.xml 225 RMD160 6e3fccd1ae62f02a0cb28d319aa185af0020822d SHA1 1b8ccc849053361ac907dc9b652796defd1ce906 SHA256 1a7f3e805478b42bc379b2a36944579d34d7e66ba5bf418a651e1cd58ad0a7f5
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-plugins/live/live-2008.09.02.ebuild,v 1.7 2008/10/18 14:45:49 armin76 Exp $
inherit flag-o-matic eutils toolchain-funcs multilib
DESCRIPTION="Source-code libraries for standards-based RTP/RTCP/RTSP multimedia streaming, suitable for embedded and/or low-cost streaming applications"
HOMEPAGE="http://www.live555.com/"
SRC_URI="http://www.live555.com/liveMedia/public/${P/-/.}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd"
IUSE=""
S="${WORKDIR}"
# Alexis Ballier
# Be careful, bump this everytime you bump the package and the ABI has changed.
# If you don't know, ask someone.
LIVE_ABI_VERSION=1
src_unpack() {
unpack ${A}
cd "${WORKDIR}"
cp -pPR live live-shared
mv live live-static
cp "${FILESDIR}/config.gentoo" live-static
cp "${FILESDIR}/config.gentoo-so" live-shared
}
src_compile() {
tc-export CC CXX LD
cd "${WORKDIR}/live-static"
einfo "Beginning static library build"
./genMakefiles gentoo
emake -j1 LINK_OPTS="-L. $(raw-ldflags)" TESTPROGS_APP="" MEDIA_SERVER_APP="" || die "failed to build static libraries"
einfo "Beginning programs build"
cd "${WORKDIR}/live-static/testProgs"
emake LINK_OPTS="-L. ${LDFLAGS}" || die "failed to build test programs"
cd "${WORKDIR}/live-static/mediaServer"
emake LINK_OPTS="-L. ${LDFLAGS}" || die "failed to build the mediaserver"
cd "${WORKDIR}/live-shared"
einfo "Beginning shared library build"
./genMakefiles gentoo-so
emake -j1 LINK_OPTS="-L. ${LDFLAGS}" LIB_SUFFIX="so.${LIVE_ABI_VERSION}" TESTPROGS_APP="" MEDIA_SERVER_APP="" || die "failed to build shared libraries"
}
src_install() {
for library in UsageEnvironment liveMedia BasicUsageEnvironment groupsock; do
dolib.a live-static/${library}/lib${library}.a
dolib.so live-shared/${library}/lib${library}.so.${LIVE_ABI_VERSION}
dosym lib${library}.so.${LIVE_ABI_VERSION} /usr/$(get_libdir)/lib${library}.so
insinto /usr/include/${library}
doins live-shared/${library}/include/*h
done
# Should we really install these?
find live-static/testProgs -type f -perm +111 -print0 | \
xargs -0 dobin
#install included live555MediaServer aplication
dobin live-static/mediaServer/live555MediaServer
# install docs
dodoc live-static/README
}
pkg_postinst() {
ewarn "If you are upgrading from a version prior to live-2008.02.08"
ewarn "Please make sure to rebuild applications built against ${PN}"
ewarn "like vlc or mplayer. ${PN} may have had ABI changes and ${PN}"
ewarn "support might be broken."
}
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-plugins/live/live-2009.06.02.ebuild,v 1.8 2010/01/06 16:55:17 ranger Exp $
inherit flag-o-matic eutils toolchain-funcs multilib
DESCRIPTION="Source-code libraries for standards-based RTP/RTCP/RTSP multimedia streaming, suitable for embedded and/or low-cost streaming applications"
HOMEPAGE="http://www.live555.com/"
SRC_URI="http://www.live555.com/liveMedia/public/${P/-/.}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd"
IUSE=""
S="${WORKDIR}"
# Alexis Ballier
# Be careful, bump this everytime you bump the package and the ABI has changed.
# If you don't know, ask someone.
LIVE_ABI_VERSION=3
src_unpack() {
unpack ${A}
cd "${WORKDIR}"
cp -pPR live live-shared
mv live live-static
cp "${FILESDIR}/config.gentoo" live-static
cp "${FILESDIR}/config.gentoo-so" live-shared
}
src_compile() {
tc-export CC CXX LD
cd "${WORKDIR}/live-static"
einfo "Beginning static library build"
./genMakefiles gentoo
emake -j1 LINK_OPTS="-L. $(raw-ldflags)" TESTPROGS_APP="" MEDIA_SERVER_APP="" || die "failed to build static libraries"
einfo "Beginning programs build"
cd "${WORKDIR}/live-static/testProgs"
emake LINK_OPTS="-L. ${LDFLAGS}" || die "failed to build test programs"
cd "${WORKDIR}/live-static/mediaServer"
emake LINK_OPTS="-L. ${LDFLAGS}" || die "failed to build the mediaserver"
cd "${WORKDIR}/live-shared"
einfo "Beginning shared library build"
./genMakefiles gentoo-so
emake -j1 LINK_OPTS="-L. ${LDFLAGS}" LIB_SUFFIX="so.${LIVE_ABI_VERSION}" TESTPROGS_APP="" MEDIA_SERVER_APP="" || die "failed to build shared libraries"
}
src_install() {
for library in UsageEnvironment liveMedia BasicUsageEnvironment groupsock; do
dolib.a live-static/${library}/lib${library}.a
dolib.so live-shared/${library}/lib${library}.so.${LIVE_ABI_VERSION}
dosym lib${library}.so.${LIVE_ABI_VERSION} /usr/$(get_libdir)/lib${library}.so
insinto /usr/include/${library}
doins live-shared/${library}/include/*h
done
# Should we really install these?
find live-static/testProgs -type f -perm +111 -print0 | \
xargs -0 dobin
#install included live555MediaServer aplication
dobin live-static/mediaServer/live555MediaServer
# install docs
dodoc live-static/README
}
pkg_postinst() {
ewarn "If you are upgrading from a version prior to live-2008.02.08"
ewarn "Please make sure to rebuild applications built against ${PN}"
ewarn "like vlc or mplayer. ${PN} may have had ABI changes and ${PN}"
ewarn "support might be broken."
}
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-plugins/live/live-2009.09.28.ebuild,v 1.1 2009/09/29 07:03:26 aballier Exp $
inherit flag-o-matic eutils toolchain-funcs multilib
DESCRIPTION="Source-code libraries for standards-based RTP/RTCP/RTSP multimedia streaming, suitable for embedded and/or low-cost streaming applications"
HOMEPAGE="http://www.live555.com/"
SRC_URI="http://www.live555.com/liveMedia/public/${P/-/.}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
IUSE=""
S="${WORKDIR}"
# Alexis Ballier
# Be careful, bump this everytime you bump the package and the ABI has changed.
# If you don't know, ask someone.
LIVE_ABI_VERSION=3
src_unpack() {
unpack ${A}
cd "${WORKDIR}"
epatch "${FILESDIR}/${PN}-recursive.patch"
cp -pPR live live-shared
mv live live-static
cp "${FILESDIR}/config.gentoo" live-static
cp "${FILESDIR}/config.gentoo-so-r1" live-shared
}
src_compile() {
tc-export CC CXX LD
cd "${WORKDIR}/live-static"
einfo "Beginning static library build"
./genMakefiles gentoo
emake -j1 LINK_OPTS="-L. $(raw-ldflags)" || die "failed to build static libraries"
einfo "Beginning programs build"
cd "${WORKDIR}/live-static/testProgs"
emake LINK_OPTS="-L. ${LDFLAGS}" || die "failed to build test programs"
cd "${WORKDIR}/live-static/mediaServer"
emake LINK_OPTS="-L. ${LDFLAGS}" || die "failed to build the mediaserver"
cd "${WORKDIR}/live-shared"
einfo "Beginning shared library build"
./genMakefiles gentoo-so-r1
emake -j1 LINK_OPTS="-L. ${LDFLAGS}" LIB_SUFFIX="so.${LIVE_ABI_VERSION}" || die "failed to build shared libraries"
}
src_install() {
for library in UsageEnvironment liveMedia BasicUsageEnvironment groupsock; do
dolib.a live-static/${library}/lib${library}.a
dolib.so live-shared/${library}/lib${library}.so.${LIVE_ABI_VERSION}
dosym lib${library}.so.${LIVE_ABI_VERSION} /usr/$(get_libdir)/lib${library}.so
insinto /usr/include/${library}
doins live-shared/${library}/include/*h
done
# Should we really install these?
find live-static/testProgs -type f -perm +111 -print0 | \
xargs -0 dobin
#install included live555MediaServer aplication
dobin live-static/mediaServer/live555MediaServer
# install docs
dodoc live-static/README
}
pkg_postinst() {
ewarn "If you are upgrading from a version prior to live-2008.02.08"
ewarn "Please make sure to rebuild applications built against ${PN}"
ewarn "like vlc or mplayer. ${PN} may have had ABI changes and ${PN}"
ewarn "support might be broken."
}
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-plugins/live/live-2009.11.12.ebuild,v 1.1 2009/11/21 12:23:51 aballier Exp $
inherit flag-o-matic eutils toolchain-funcs multilib
DESCRIPTION="Source-code libraries for standards-based RTP/RTCP/RTSP multimedia streaming, suitable for embedded and/or low-cost streaming applications"
HOMEPAGE="http://www.live555.com/"
SRC_URI="http://www.live555.com/liveMedia/public/${P/-/.}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
IUSE=""
S="${WORKDIR}"
# Alexis Ballier
# Be careful, bump this everytime you bump the package and the ABI has changed.
# If you don't know, ask someone.
LIVE_ABI_VERSION=3
src_unpack() {
unpack ${A}
cd "${WORKDIR}"
epatch "${FILESDIR}/${PN}-recursive.patch"
cp -pPR live live-shared
mv live live-static
cp "${FILESDIR}/config.gentoo" live-static
cp "${FILESDIR}/config.gentoo-so-r1" live-shared
}
src_compile() {
tc-export CC CXX LD
cd "${WORKDIR}/live-static"
einfo "Beginning static library build"
./genMakefiles gentoo
emake -j1 LINK_OPTS="-L. $(raw-ldflags)" || die "failed to build static libraries"
einfo "Beginning programs build"
cd "${WORKDIR}/live-static/testProgs"
emake LINK_OPTS="-L. ${LDFLAGS}" || die "failed to build test programs"
cd "${WORKDIR}/live-static/mediaServer"
emake LINK_OPTS="-L. ${LDFLAGS}" || die "failed to build the mediaserver"
cd "${WORKDIR}/live-shared"
einfo "Beginning shared library build"
./genMakefiles gentoo-so-r1
emake -j1 LINK_OPTS="-L. ${LDFLAGS}" LIB_SUFFIX="so.${LIVE_ABI_VERSION}" || die "failed to build shared libraries"
}
src_install() {
for library in UsageEnvironment liveMedia BasicUsageEnvironment groupsock; do
dolib.a live-static/${library}/lib${library}.a
dolib.so live-shared/${library}/lib${library}.so.${LIVE_ABI_VERSION}
dosym lib${library}.so.${LIVE_ABI_VERSION} /usr/$(get_libdir)/lib${library}.so
insinto /usr/include/${library}
doins live-shared/${library}/include/*h
done
# Should we really install these?
find live-static/testProgs -type f -perm +111 -print0 | \
xargs -0 dobin
#install included live555MediaServer aplication
dobin live-static/mediaServer/live555MediaServer
# install docs
dodoc live-static/README
}
pkg_postinst() {
ewarn "If you are upgrading from a version prior to live-2008.02.08"
ewarn "Please make sure to rebuild applications built against ${PN}"
ewarn "like vlc or mplayer. ${PN} may have had ABI changes and ${PN}"
ewarn "support might be broken."
}
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-plugins/live/live-2010.04.09.ebuild,v 1.2 2010/08/06 19:53:38 darkside Exp $
EAPI=3
inherit flag-o-matic eutils toolchain-funcs multilib
DESCRIPTION="Source-code libraries for standards-based RTP/RTCP/RTSP multimedia streaming, suitable for embedded and/or low-cost streaming applications"
HOMEPAGE="http://www.live555.com/"
SRC_URI="http://www.live555.com/liveMedia/public/${P/-/.}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
IUSE=""
S="${WORKDIR}"
# Alexis Ballier
# Be careful, bump this everytime you bump the package and the ABI has changed.
# If you don't know, ask someone.
LIVE_ABI_VERSION=3
src_prepare() {
cd "${WORKDIR}"
epatch "${FILESDIR}/${PN}-recursive.patch"
cp -pPR live live-shared
mv live live-static
cp "${FILESDIR}/config.gentoo" live-static
cp "${FILESDIR}/config.gentoo-so-r1" live-shared
case ${CHOST} in
*-solaris*)
sed -i \
-e '/^COMPILE_OPTS /s/$/ -DSOLARIS/' \
-e '/^LIBS_FOR_CONSOLE_APPLICATION /s/$/ -lsocket -lnsl/' \
live-static/config.gentoo \
live-shared/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/$/ /' \
-e '/^LIBRARY_LINK_OPTS /s/-Bstatic//' \
live-static/config.gentoo \
|| die static
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)/"'$@:' \
live-shared/config.gentoo-so-r1 \
|| die shared
;;
esac
}
src_configure() { :; }
src_compile() {
tc-export CC CXX LD
cd "${WORKDIR}/live-static"
einfo "Beginning static library build"
./genMakefiles gentoo
emake -j1 LINK_OPTS="-L. $(raw-ldflags)" || die "failed to build static libraries"
einfo "Beginning programs build"
cd "${WORKDIR}/live-static/testProgs"
emake LINK_OPTS="-L. ${LDFLAGS}" || die "failed to build test programs"
cd "${WORKDIR}/live-static/mediaServer"
emake LINK_OPTS="-L. ${LDFLAGS}" || die "failed to build the mediaserver"
cd "${WORKDIR}/live-shared"
einfo "Beginning shared library build"
./genMakefiles gentoo-so-r1
local suffix=$(get_libname ${LIVE_ABI_VERSION})
emake -j1 LINK_OPTS="-L. ${LDFLAGS}" LIB_SUFFIX="${suffix#.}" || die "failed to build shared libraries"
}
src_install() {
for library in UsageEnvironment liveMedia BasicUsageEnvironment groupsock; do
dolib.a live-static/${library}/lib${library}.a
dolib.so live-shared/${library}/lib${library}$(get_libname ${LIVE_ABI_VERSION})
dosym lib${library}$(get_libname ${LIVE_ABI_VERSION}) /usr/$(get_libdir)/lib${library}$(get_libname)
insinto /usr/include/${library}
doins live-shared/${library}/include/*h
done
# Should we really install these?
find live-static/testProgs -type f -perm +111 -print0 | \
xargs -0 dobin
#install included live555MediaServer aplication
dobin live-static/mediaServer/live555MediaServer
# install docs
dodoc live-static/README
}
pkg_postinst() {
ewarn "If you are upgrading from a version prior to live-2008.02.08"
ewarn "Please make sure to rebuild applications built against ${PN}"
ewarn "like vlc or mplayer. ${PN} may have had ABI changes and ${PN}"
ewarn "support might be broken."
}