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: ChangeLog live-2010.04.09.ebuild
Date: Sat, 24 Apr 2010 17:23:08
Message-Id: 20100424172303.6E79F2C04C@corvid.gentoo.org
1 aballier 10/04/24 17:23:03
2
3 Modified: ChangeLog
4 Added: live-2010.04.09.ebuild
5 Log:
6 version bump
7 (Portage version: 2.2_rc67/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.127 media-plugins/live/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/live/ChangeLog?rev=1.127&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/live/ChangeLog?rev=1.127&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/live/ChangeLog?r1=1.126&r2=1.127
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-plugins/live/ChangeLog,v
19 retrieving revision 1.126
20 retrieving revision 1.127
21 diff -u -r1.126 -r1.127
22 --- ChangeLog 6 Jan 2010 16:55:17 -0000 1.126
23 +++ ChangeLog 24 Apr 2010 17:23:03 -0000 1.127
24 @@ -1,6 +1,11 @@
25 # ChangeLog for media-plugins/live
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/media-plugins/live/ChangeLog,v 1.126 2010/01/06 16:55:17 ranger Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/media-plugins/live/ChangeLog,v 1.127 2010/04/24 17:23:03 aballier Exp $
29 +
30 +*live-2010.04.09 (24 Apr 2010)
31 +
32 + 24 Apr 2010; Alexis Ballier <aballier@g.o> +live-2010.04.09.ebuild:
33 + version bump
34
35 06 Jan 2010; Brent Baude <ranger@g.o> live-2009.06.02.ebuild:
36 Marking live-2009.06.02 ppc64 for bug 277009
37
38
39
40 1.1 media-plugins/live/live-2010.04.09.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/live/live-2010.04.09.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/live/live-2010.04.09.ebuild?rev=1.1&content-type=text/plain
44
45 Index: live-2010.04.09.ebuild
46 ===================================================================
47 # Copyright 1999-2010 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/media-plugins/live/live-2010.04.09.ebuild,v 1.1 2010/04/24 17:23:03 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 epatch "${FILESDIR}/${PN}-recursive.patch"
73
74 cp -pPR live live-shared
75 mv live live-static
76
77 cp "${FILESDIR}/config.gentoo" live-static
78 cp "${FILESDIR}/config.gentoo-so-r1" live-shared
79 }
80
81 src_compile() {
82 tc-export CC CXX LD
83
84 cd "${WORKDIR}/live-static"
85
86 einfo "Beginning static library build"
87 ./genMakefiles gentoo
88 emake -j1 LINK_OPTS="-L. $(raw-ldflags)" || die "failed to build static libraries"
89
90 einfo "Beginning programs build"
91 cd "${WORKDIR}/live-static/testProgs"
92 emake LINK_OPTS="-L. ${LDFLAGS}" || die "failed to build test programs"
93 cd "${WORKDIR}/live-static/mediaServer"
94 emake LINK_OPTS="-L. ${LDFLAGS}" || die "failed to build the mediaserver"
95
96 cd "${WORKDIR}/live-shared"
97 einfo "Beginning shared library build"
98 ./genMakefiles gentoo-so-r1
99 emake -j1 LINK_OPTS="-L. ${LDFLAGS}" LIB_SUFFIX="so.${LIVE_ABI_VERSION}" || die "failed to build shared libraries"
100 }
101
102 src_install() {
103 for library in UsageEnvironment liveMedia BasicUsageEnvironment groupsock; do
104 dolib.a live-static/${library}/lib${library}.a
105 dolib.so live-shared/${library}/lib${library}.so.${LIVE_ABI_VERSION}
106 dosym lib${library}.so.${LIVE_ABI_VERSION} /usr/$(get_libdir)/lib${library}.so
107
108 insinto /usr/include/${library}
109 doins live-shared/${library}/include/*h
110 done
111
112 # Should we really install these?
113 find live-static/testProgs -type f -perm +111 -print0 | \
114 xargs -0 dobin
115
116 #install included live555MediaServer aplication
117 dobin live-static/mediaServer/live555MediaServer
118
119 # install docs
120 dodoc live-static/README
121 }
122
123 pkg_postinst() {
124 ewarn "If you are upgrading from a version prior to live-2008.02.08"
125 ewarn "Please make sure to rebuild applications built against ${PN}"
126 ewarn "like vlc or mplayer. ${PN} may have had ABI changes and ${PN}"
127 ewarn "support might be broken."
128 }