1 |
aballier 09/01/19 21:17:40 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: live-2008.12.20.ebuild |
5 |
Log: |
6 |
version bump |
7 |
(Portage version: 2.2_rc23/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.107 media-plugins/live/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/live/ChangeLog?rev=1.107&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/live/ChangeLog?rev=1.107&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/live/ChangeLog?r1=1.106&r2=1.107 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/media-plugins/live/ChangeLog,v |
19 |
retrieving revision 1.106 |
20 |
retrieving revision 1.107 |
21 |
diff -u -r1.106 -r1.107 |
22 |
--- ChangeLog 14 Nov 2008 12:47:35 -0000 1.106 |
23 |
+++ ChangeLog 19 Jan 2009 21:17:40 -0000 1.107 |
24 |
@@ -1,6 +1,11 @@ |
25 |
# ChangeLog for media-plugins/live |
26 |
-# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/live/ChangeLog,v 1.106 2008/11/14 12:47:35 aballier Exp $ |
28 |
+# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2 |
29 |
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/live/ChangeLog,v 1.107 2009/01/19 21:17:40 aballier Exp $ |
30 |
+ |
31 |
+*live-2008.12.20 (19 Jan 2009) |
32 |
+ |
33 |
+ 19 Jan 2009; Alexis Ballier <aballier@g.o> +live-2008.12.20.ebuild: |
34 |
+ version bump |
35 |
|
36 |
*live-2008.11.13 (14 Nov 2008) |
37 |
|
38 |
|
39 |
|
40 |
|
41 |
1.1 media-plugins/live/live-2008.12.20.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/live/live-2008.12.20.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/live/live-2008.12.20.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: live-2008.12.20.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2009 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/media-plugins/live/live-2008.12.20.ebuild,v 1.1 2009/01/19 21:17:40 aballier Exp $ |
51 |
|
52 |
inherit flag-o-matic eutils toolchain-funcs multilib |
53 |
|
54 |
DESCRIPTION="Source-code libraries for standards-based RTP/RTCP/RTSP multimedia streaming, suitable for embedded and/or low-cost streaming applications" |
55 |
HOMEPAGE="http://www.live555.com/" |
56 |
SRC_URI="http://www.live555.com/liveMedia/public/${P/-/.}.tar.gz" |
57 |
|
58 |
LICENSE="LGPL-2.1" |
59 |
SLOT="0" |
60 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
61 |
IUSE="" |
62 |
|
63 |
S="${WORKDIR}" |
64 |
|
65 |
# Alexis Ballier <aballier@g.o> |
66 |
# Be careful, bump this everytime you bump the package and the ABI has changed. |
67 |
# If you don't know, ask someone. |
68 |
LIVE_ABI_VERSION=3 |
69 |
|
70 |
src_unpack() { |
71 |
unpack ${A} |
72 |
cd "${WORKDIR}" |
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" 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)" TESTPROGS_APP="" MEDIA_SERVER_APP="" || 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 |
99 |
emake -j1 LINK_OPTS="-L. ${LDFLAGS}" LIB_SUFFIX="so.${LIVE_ABI_VERSION}" TESTPROGS_APP="" MEDIA_SERVER_APP="" || 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 |
} |