Gentoo Archives: gentoo-commits

From: "Alexis Ballier (aballier)" <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-plugins/live: live-2009.06.02.ebuild ChangeLog
Date: Fri, 05 Jun 2009 10:08:02
Message-Id: E1MCWL9-0004ZG-WC@stork.gentoo.org
1 aballier 09/06/05 10:07:59
2
3 Modified: ChangeLog
4 Added: live-2009.06.02.ebuild
5 Log:
6 version bump
7 (Portage version: 2.2_rc33/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.113 media-plugins/live/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/live/ChangeLog?rev=1.113&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/live/ChangeLog?rev=1.113&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/live/ChangeLog?r1=1.112&r2=1.113
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-plugins/live/ChangeLog,v
19 retrieving revision 1.112
20 retrieving revision 1.113
21 diff -u -r1.112 -r1.113
22 --- ChangeLog 15 May 2009 07:25:22 -0000 1.112
23 +++ ChangeLog 5 Jun 2009 10:07:59 -0000 1.113
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.112 2009/05/15 07:25:22 aballier Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/media-plugins/live/ChangeLog,v 1.113 2009/06/05 10:07:59 aballier Exp $
29 +
30 +*live-2009.06.02 (05 Jun 2009)
31 +
32 + 05 Jun 2009; Alexis Ballier <aballier@g.o> +live-2009.06.02.ebuild:
33 + version bump
34
35 15 May 2009; Alexis Ballier <aballier@g.o> -live-2009.02.23.ebuild:
36 remove old
37
38
39
40 1.1 media-plugins/live/live-2009.06.02.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/live/live-2009.06.02.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/live/live-2009.06.02.ebuild?rev=1.1&content-type=text/plain
44
45 Index: live-2009.06.02.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.06.02.ebuild,v 1.1 2009/06/05 10:07:59 aballier 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 }