1 |
aballier 11/01/24 10:33:00 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: live-2011.01.24.ebuild |
5 |
Log: |
6 |
version bump |
7 |
|
8 |
(Portage version: 2.2.0_alpha19/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.131 media-plugins/live/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-plugins/live/ChangeLog?rev=1.131&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-plugins/live/ChangeLog?rev=1.131&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-plugins/live/ChangeLog?r1=1.130&r2=1.131 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/media-plugins/live/ChangeLog,v |
20 |
retrieving revision 1.130 |
21 |
retrieving revision 1.131 |
22 |
diff -u -r1.130 -r1.131 |
23 |
--- ChangeLog 11 Jan 2011 14:08:08 -0000 1.130 |
24 |
+++ ChangeLog 24 Jan 2011 10:32:59 -0000 1.131 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for media-plugins/live |
27 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/live/ChangeLog,v 1.130 2011/01/11 14:08:08 aballier Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/live/ChangeLog,v 1.131 2011/01/24 10:32:59 aballier Exp $ |
30 |
+ |
31 |
+*live-2011.01.24 (24 Jan 2011) |
32 |
+ |
33 |
+ 24 Jan 2011; Alexis Ballier <aballier@g.o> +live-2011.01.24.ebuild: |
34 |
+ version bump |
35 |
|
36 |
11 Jan 2011; Alexis Ballier <aballier@g.o> -live-2008.09.02.ebuild, |
37 |
-live-2009.09.28.ebuild, -live-2009.11.12.ebuild, -live-2010.04.09.ebuild: |
38 |
|
39 |
|
40 |
|
41 |
1.1 media-plugins/live/live-2011.01.24.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-plugins/live/live-2011.01.24.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-plugins/live/live-2011.01.24.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: live-2011.01.24.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2011 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/media-plugins/live/live-2011.01.24.ebuild,v 1.1 2011/01/24 10:33:00 aballier Exp $ |
51 |
|
52 |
EAPI=3 |
53 |
inherit flag-o-matic eutils toolchain-funcs multilib |
54 |
|
55 |
DESCRIPTION="Source-code libraries for standards-based RTP/RTCP/RTSP multimedia streaming, suitable for embedded and/or low-cost streaming applications" |
56 |
HOMEPAGE="http://www.live555.com/" |
57 |
SRC_URI="http://www.live555.com/liveMedia/public/${P/-/.}.tar.gz" |
58 |
|
59 |
LICENSE="LGPL-2.1" |
60 |
SLOT="0" |
61 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris" |
62 |
IUSE="" |
63 |
|
64 |
S="${WORKDIR}" |
65 |
|
66 |
# Alexis Ballier <aballier@g.o> |
67 |
# Be careful, bump this everytime you bump the package and the ABI has changed. |
68 |
# If you don't know, ask someone. |
69 |
LIVE_ABI_VERSION=4 |
70 |
|
71 |
src_prepare() { |
72 |
cd "${WORKDIR}" |
73 |
epatch "${FILESDIR}/${PN}-recursive.patch" |
74 |
|
75 |
cp -pPR live live-shared |
76 |
mv live live-static |
77 |
|
78 |
cp "${FILESDIR}/config.gentoo" live-static |
79 |
cp "${FILESDIR}/config.gentoo-so-r1" live-shared |
80 |
|
81 |
case ${CHOST} in |
82 |
*-solaris*) |
83 |
sed -i \ |
84 |
-e '/^COMPILE_OPTS /s/$/ -DSOLARIS/' \ |
85 |
-e '/^LIBS_FOR_CONSOLE_APPLICATION /s/$/ -lsocket -lnsl/' \ |
86 |
live-static/config.gentoo \ |
87 |
live-shared/config.gentoo-so-r1 \ |
88 |
|| die |
89 |
;; |
90 |
*-darwin*) |
91 |
sed -i \ |
92 |
-e '/^COMPILE_OPTS /s/$/ -DBSD=1 -DHAVE_SOCKADDR_LEN=1/' \ |
93 |
-e '/^LINK /s/$/ /' \ |
94 |
-e '/^LIBRARY_LINK /s/$/ /' \ |
95 |
-e '/^LIBRARY_LINK_OPTS /s/-Bstatic//' \ |
96 |
live-static/config.gentoo \ |
97 |
|| die static |
98 |
sed -i \ |
99 |
-e '/^COMPILE_OPTS /s/$/ -DBSD=1 -DHAVE_SOCKADDR_LEN=1/' \ |
100 |
-e '/^LINK /s/$/ /' \ |
101 |
-e '/^LIBRARY_LINK /s/=.*$/= $(CXX) -o /' \ |
102 |
-e '/^LIBRARY_LINK_OPTS /s:-shared.*$:-undefined suppress -flat_namespace -dynamiclib -install_name '"${EPREFIX}/usr/$(get_libdir)/"'$@:' \ |
103 |
live-shared/config.gentoo-so-r1 \ |
104 |
|| die shared |
105 |
;; |
106 |
esac |
107 |
} |
108 |
|
109 |
src_configure() { :; } |
110 |
|
111 |
src_compile() { |
112 |
tc-export CC CXX LD |
113 |
|
114 |
cd "${WORKDIR}/live-static" |
115 |
|
116 |
einfo "Beginning static library build" |
117 |
./genMakefiles gentoo |
118 |
emake -j1 LINK_OPTS="-L. $(raw-ldflags)" || die "failed to build static libraries" |
119 |
|
120 |
einfo "Beginning programs build" |
121 |
cd "${WORKDIR}/live-static/testProgs" |
122 |
emake LINK_OPTS="-L. ${LDFLAGS}" || die "failed to build test programs" |
123 |
cd "${WORKDIR}/live-static/mediaServer" |
124 |
emake LINK_OPTS="-L. ${LDFLAGS}" || die "failed to build the mediaserver" |
125 |
|
126 |
cd "${WORKDIR}/live-shared" |
127 |
einfo "Beginning shared library build" |
128 |
./genMakefiles gentoo-so-r1 |
129 |
local suffix=$(get_libname ${LIVE_ABI_VERSION}) |
130 |
emake -j1 LINK_OPTS="-L. ${LDFLAGS}" LIB_SUFFIX="${suffix#.}" || die "failed to build shared libraries" |
131 |
} |
132 |
|
133 |
src_install() { |
134 |
for library in UsageEnvironment liveMedia BasicUsageEnvironment groupsock; do |
135 |
dolib.a live-static/${library}/lib${library}.a |
136 |
dolib.so live-shared/${library}/lib${library}$(get_libname ${LIVE_ABI_VERSION}) |
137 |
dosym lib${library}$(get_libname ${LIVE_ABI_VERSION}) /usr/$(get_libdir)/lib${library}$(get_libname) |
138 |
|
139 |
insinto /usr/include/${library} |
140 |
doins live-shared/${library}/include/*h |
141 |
done |
142 |
|
143 |
# Should we really install these? |
144 |
find live-static/testProgs -type f -perm +111 -print0 | \ |
145 |
xargs -0 dobin |
146 |
|
147 |
#install included live555MediaServer aplication |
148 |
dobin live-static/mediaServer/live555MediaServer |
149 |
|
150 |
# install docs |
151 |
dodoc live-static/README |
152 |
} |
153 |
|
154 |
pkg_postinst() { |
155 |
ewarn "If you are upgrading from a version prior to live-2008.02.08" |
156 |
ewarn "Please make sure to rebuild applications built against ${PN}" |
157 |
ewarn "like vlc or mplayer. ${PN} may have had ABI changes and ${PN}" |
158 |
ewarn "support might be broken." |
159 |
} |