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