Gentoo Archives: gentoo-commits

From: "Ioannis Aslanidis (deathwing00)" <deathwing00@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-video/flumotion: metadata.xml ChangeLog flumotion-0.5.2.ebuild
Date: Mon, 27 Oct 2008 19:49:53
Message-Id: E1KuY61-0005s6-T8@stork.gentoo.org
1 deathwing00 08/10/27 19:49:49
2
3 Modified: metadata.xml ChangeLog
4 Added: flumotion-0.5.2.ebuild
5 Log:
6 Version bump. Several fixes to the ebuild together with zaheerm@g.o.
7 (Portage version: 2.1.4.4)
8
9 Revision Changes Path
10 1.2 media-video/flumotion/metadata.xml
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/flumotion/metadata.xml?rev=1.2&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/flumotion/metadata.xml?rev=1.2&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/flumotion/metadata.xml?r1=1.1&r2=1.2
15
16 Index: metadata.xml
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-video/flumotion/metadata.xml,v
19 retrieving revision 1.1
20 retrieving revision 1.2
21 diff -u -r1.1 -r1.2
22 --- metadata.xml 25 Mar 2005 00:25:19 -0000 1.1
23 +++ metadata.xml 27 Oct 2008 19:49:49 -0000 1.2
24 @@ -2,4 +2,12 @@
25 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
26 <pkgmetadata>
27 <herd>gstreamer</herd>
28 +<maintainer>
29 + <email>deathwing00@g.o</email>
30 + <name>deathwing00</name>
31 +</maintainer>
32 +<maintainer>
33 + <email>zaheerm@g.o</email>
34 + <name>zaheerm</name>
35 +</maintainer>
36 </pkgmetadata>
37
38
39
40 1.14 media-video/flumotion/ChangeLog
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/flumotion/ChangeLog?rev=1.14&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/flumotion/ChangeLog?rev=1.14&content-type=text/plain
44 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/flumotion/ChangeLog?r1=1.13&r2=1.14
45
46 Index: ChangeLog
47 ===================================================================
48 RCS file: /var/cvsroot/gentoo-x86/media-video/flumotion/ChangeLog,v
49 retrieving revision 1.13
50 retrieving revision 1.14
51 diff -u -r1.13 -r1.14
52 --- ChangeLog 27 Nov 2007 12:06:46 -0000 1.13
53 +++ ChangeLog 27 Oct 2008 19:49:49 -0000 1.14
54 @@ -1,6 +1,13 @@
55 # ChangeLog for media-video/flumotion
56 -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
57 -# $Header: /var/cvsroot/gentoo-x86/media-video/flumotion/ChangeLog,v 1.13 2007/11/27 12:06:46 zzam Exp $
58 +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
59 +# $Header: /var/cvsroot/gentoo-x86/media-video/flumotion/ChangeLog,v 1.14 2008/10/27 19:49:49 deathwing00 Exp $
60 +
61 + 27 Oct 2008; Ioannis Aslanidis <iaslanidis@g.o>
62 + files/flumotion-init-0.2.0, metadata.xml, +flumotion-0.5.2.ebuild:
63 + Version bump. Added fix for access violation of gconf. Added missing
64 + dependency, dev-python/kiwi. All this done together with zaheerm.
65 +
66 +*flumotion-0.5.2 (27 Oct 2008)
67
68 27 Nov 2007; Matthias Schwarzott <zzam@g.o> flumotion-0.4.1.ebuild:
69 Fixed quoting.
70
71
72
73 1.1 media-video/flumotion/flumotion-0.5.2.ebuild
74
75 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/flumotion/flumotion-0.5.2.ebuild?rev=1.1&view=markup
76 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/flumotion/flumotion-0.5.2.ebuild?rev=1.1&content-type=text/plain
77
78 Index: flumotion-0.5.2.ebuild
79 ===================================================================
80 # Copyright 1999-2008 Gentoo Foundation
81 # Distributed under the terms of the GNU General Public License v2
82 # $Header: /var/cvsroot/gentoo-x86/media-video/flumotion/flumotion-0.5.2.ebuild,v 1.1 2008/10/27 19:49:49 deathwing00 Exp $
83
84 inherit eutils gnome2
85
86 DESCRIPTION="Flumotion Streaming server"
87 HOMEPAGE="http://www.flumotion.net"
88 SRC_URI="http://www.flumotion.net/src/flumotion/${P}.tar.bz2"
89 LICENSE="GPL-2"
90
91 KEYWORDS="~x86 ~amd64"
92 IUSE="v4l speex jpeg dv"
93 SLOT="0"
94
95 RDEPEND=">=x11-libs/gtk+-2.4
96 >=dev-libs/glib-2.4
97 >=gnome-base/libglade-2
98 >=media-libs/gstreamer-0.10.11
99 >=media-libs/gst-plugins-base-0.10.11
100 =media-libs/gst-plugins-good-0.10*
101 =media-plugins/gst-plugins-gnomevfs-0.10*
102 =media-plugins/gst-plugins-ogg-0.10*
103 =media-plugins/gst-plugins-theora-0.10*
104 =media-plugins/gst-plugins-vorbis-0.10*
105 =media-plugins/gst-plugins-libpng-0.10*
106 =dev-python/gst-python-0.10*
107 v4l? ( =media-plugins/gst-plugins-v4l-0.10* )
108 speex? ( =media-plugins/gst-plugins-speex-0.10* )
109 dv? ( =media-plugins/gst-plugins-dv-0.10*
110 =media-plugins/gst-plugins-raw1394-0.10* )
111 >=dev-python/pygtk-2.8.6
112 >=dev-python/twisted-2.0
113 >=dev-python/twisted-web-0.5.0-r1
114 >=dev-python/twisted-names-0.2.0
115 dev-python/imaging
116 dev-python/kiwi
117 "
118
119 DEPEND="${RDEPEND}
120 dev-util/pkgconfig
121 "
122
123 DOCS="AUTHORS COPYING ChangeLog INSTALL \
124 LICENCE.Flumotion LICENCE.GPL \
125 NEWS README TODO"
126
127 src_compile() {
128 addpredict "$(unset HOME; echo ~)/.gconf"
129 addpredict "$(unset HOME; echo ~)/.gconfd"
130 mkdir -p "${T}/home"
131 export HOME="${T}/home"
132 export GST_REGISTRY=${T}/home/registry.cache.xml
133 unset LINGUAS
134 econf --disable-install-schemas --localstatedir=/var || die
135
136 emake || die
137 # fix ${exec_prefix} not being expanded
138 cd "${S}"/bin
139 cp flumotion-manager flumotion-manager.orig
140 sed -e 's:${exec_prefix}:/usr':g flumotion-manager.orig \
141 > flumotion-manager
142 cp flumotion-worker flumotion-worker.orig
143 sed -e 's:${exec_prefix}:/usr':g flumotion-worker.orig \
144 > flumotion-worker
145 cp flumotion-admin flumotion-admin.orig
146 sed -e 's:${exec_prefix}:/usr':g flumotion-admin.orig \
147 > flumotion-admin
148 }
149
150 src_install() {
151 einstall
152
153 dodir /etc/flumotion
154 dodir /etc/flumotion/managers
155 dodir /etc/flumotion/managers/default
156 dodir /etc/flumotion/managers/default/flows
157 dodir /etc/flumotion/workers
158
159 cd "${S}"/conf
160 insinto /etc/flumotion/managers/default
161 doins managers/default/planet.xml
162 insinto /etc/flumotion/workers
163 doins workers/default.xml
164
165 insinto /etc/flumotion
166 doins default.pem
167 newinitd "${FILESDIR}"/flumotion-init-0.2.0 flumotion
168
169 keepdir /var/run/flumotion
170 keepdir /var/log/flumotion
171 }
172
173 pkg_postinst() {
174 if ! enewgroup flumotion || ! enewuser flumotion -1 -1 /usr/share/flumotion flumotion,audio,video,sys; then
175 die "Unable to add flumotion user and flumotion group."
176 fi
177
178 for dir in /usr/share/flumotion /var/log/flumotion /var/run/flumotion; do
179 chown -R flumotion:flumotion ${dir}
180 chmod -R 755 ${dir}
181 done
182 }