Gentoo Archives: gentoo-commits

From: "Steve Dibb (beandog)" <beandog@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-plugins/live: ChangeLog live-2009.07.28.ebuild
Date: Sat, 01 Aug 2009 16:14:54
Message-Id: E1MXHES-0008BO-I3@stork.gentoo.org
1 beandog 09/08/01 16:14:52
2
3 Modified: ChangeLog
4 Added: live-2009.07.28.ebuild
5 Log:
6 Version bump
7 (Portage version: 2.2_rc33/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.119 media-plugins/live/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/live/ChangeLog?rev=1.119&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/live/ChangeLog?rev=1.119&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/live/ChangeLog?r1=1.118&r2=1.119
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-plugins/live/ChangeLog,v
19 retrieving revision 1.118
20 retrieving revision 1.119
21 diff -u -r1.118 -r1.119
22 --- ChangeLog 31 Jul 2009 21:15:35 -0000 1.118
23 +++ ChangeLog 1 Aug 2009 16:14:52 -0000 1.119
24 @@ -1,6 +1,11 @@
25 # ChangeLog for media-plugins/live
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/media-plugins/live/ChangeLog,v 1.118 2009/07/31 21:15:35 chainsaw Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/media-plugins/live/ChangeLog,v 1.119 2009/08/01 16:14:52 beandog Exp $
29 +
30 +*live-2009.07.28 (01 Aug 2009)
31 +
32 + 01 Aug 2009; Steve Dibb <beandog@g.o> +live-2009.07.28.ebuild:
33 + Version bump
34
35 31 Jul 2009; <chainsaw@g.o> live-2009.06.02.ebuild:
36 Marked stable on AMD64 as requested by Alexis Ballier
37
38
39
40 1.1 media-plugins/live/live-2009.07.28.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/live/live-2009.07.28.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/live/live-2009.07.28.ebuild?rev=1.1&content-type=text/plain
44
45 Index: live-2009.07.28.ebuild
46 ===================================================================
47 # Copyright 1999-2009 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/media-plugins/live/live-2009.07.28.ebuild,v 1.1 2009/08/01 16:14:52 beandog Exp $
50
51 inherit flag-o-matic eutils toolchain-funcs multilib
52
53 DESCRIPTION="Source-code libraries for standards-based RTP/RTCP/RTSP multimedia streaming, suitable for embedded and/or low-cost streaming applications"
54 HOMEPAGE="http://www.live555.com/"
55 SRC_URI="http://www.live555.com/liveMedia/public/${P/-/.}.tar.gz"
56
57 LICENSE="LGPL-2.1"
58 SLOT="0"
59 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
60 IUSE=""
61
62 S="${WORKDIR}"
63
64 # Alexis Ballier <aballier@g.o>
65 # Be careful, bump this everytime you bump the package and the ABI has changed.
66 # If you don't know, ask someone.
67 LIVE_ABI_VERSION=3
68
69 src_unpack() {
70 unpack ${A}
71 cd "${WORKDIR}"
72
73 cp -pPR live live-shared
74 mv live live-static
75
76 cp "${FILESDIR}/config.gentoo" live-static
77 cp "${FILESDIR}/config.gentoo-so" live-shared
78 }
79
80 src_compile() {
81 tc-export CC CXX LD
82
83 cd "${WORKDIR}/live-static"
84
85 einfo "Beginning static library build"
86 ./genMakefiles gentoo
87 emake -j1 LINK_OPTS="-L. $(raw-ldflags)" TESTPROGS_APP="" MEDIA_SERVER_APP="" || die "failed to build static libraries"
88
89 einfo "Beginning programs build"
90 cd "${WORKDIR}/live-static/testProgs"
91 emake LINK_OPTS="-L. ${LDFLAGS}" || die "failed to build test programs"
92 cd "${WORKDIR}/live-static/mediaServer"
93 emake LINK_OPTS="-L. ${LDFLAGS}" || die "failed to build the mediaserver"
94
95 cd "${WORKDIR}/live-shared"
96 einfo "Beginning shared library build"
97 ./genMakefiles gentoo-so
98 emake -j1 LINK_OPTS="-L. ${LDFLAGS}" LIB_SUFFIX="so.${LIVE_ABI_VERSION}" TESTPROGS_APP="" MEDIA_SERVER_APP="" || die "failed to build shared libraries"
99 }
100
101 src_install() {
102 for library in UsageEnvironment liveMedia BasicUsageEnvironment groupsock; do
103 dolib.a live-static/${library}/lib${library}.a
104 dolib.so live-shared/${library}/lib${library}.so.${LIVE_ABI_VERSION}
105 dosym lib${library}.so.${LIVE_ABI_VERSION} /usr/$(get_libdir)/lib${library}.so
106
107 insinto /usr/include/${library}
108 doins live-shared/${library}/include/*h
109 done
110
111 # Should we really install these?
112 find live-static/testProgs -type f -perm +111 -print0 | \
113 xargs -0 dobin
114
115 #install included live555MediaServer aplication
116 dobin live-static/mediaServer/live555MediaServer
117
118 # install docs
119 dodoc live-static/README
120 }
121
122 pkg_postinst() {
123 ewarn "If you are upgrading from a version prior to live-2008.02.08"
124 ewarn "Please make sure to rebuild applications built against ${PN}"
125 ewarn "like vlc or mplayer. ${PN} may have had ABI changes and ${PN}"
126 ewarn "support might be broken."
127 }