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: ChangeLog flumotion-0.6.1.ebuild
Date: Fri, 30 Oct 2009 10:52:42
Message-Id: E1N3p5z-0006eQ-Mz@stork.gentoo.org
1 deathwing00 09/10/30 10:52:39
2
3 Modified: ChangeLog
4 Added: flumotion-0.6.1.ebuild
5 Log:
6 Version bump.
7 (Portage version: 2.2_rc46/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.17 media-video/flumotion/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/flumotion/ChangeLog?rev=1.17&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/flumotion/ChangeLog?rev=1.17&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/flumotion/ChangeLog?r1=1.16&r2=1.17
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-video/flumotion/ChangeLog,v
19 retrieving revision 1.16
20 retrieving revision 1.17
21 diff -u -r1.16 -r1.17
22 --- ChangeLog 13 Feb 2009 11:48:58 -0000 1.16
23 +++ ChangeLog 30 Oct 2009 10:52:39 -0000 1.17
24 @@ -1,6 +1,12 @@
25 # ChangeLog for media-video/flumotion
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/media-video/flumotion/ChangeLog,v 1.16 2009/02/13 11:48:58 deathwing00 Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/media-video/flumotion/ChangeLog,v 1.17 2009/10/30 10:52:39 deathwing00 Exp $
29 +
30 +*flumotion-0.6.1 (30 Oct 2009)
31 +
32 + 30 Oct 2009; Ioannis Aslanidis <iaslanidis@g.o>
33 + +flumotion-0.6.1.ebuild:
34 + Version bump.
35
36 *flumotion-0.5.3 (13 Feb 2009)
37
38
39
40
41 1.1 media-video/flumotion/flumotion-0.6.1.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/flumotion/flumotion-0.6.1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/flumotion/flumotion-0.6.1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: flumotion-0.6.1.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-video/flumotion/flumotion-0.6.1.ebuild,v 1.1 2009/10/30 10:52:39 deathwing00 Exp $
51
52 inherit eutils gnome2
53
54 DESCRIPTION="Flumotion Streaming server"
55 HOMEPAGE="http://www.flumotion.net"
56 SRC_URI="http://www.flumotion.net/src/flumotion/${P}.tar.bz2"
57 LICENSE="GPL-2"
58
59 KEYWORDS="~x86 ~amd64"
60 IUSE="v4l speex jpeg dv"
61 SLOT="0"
62
63 RDEPEND=">=x11-libs/gtk+-2.4
64 >=dev-libs/glib-2.4
65 >=gnome-base/libglade-2
66 >=media-libs/gstreamer-0.10.11
67 >=media-libs/gst-plugins-base-0.10.11
68 =media-libs/gst-plugins-good-0.10*
69 =media-plugins/gst-plugins-gnomevfs-0.10*
70 =media-plugins/gst-plugins-ogg-0.10*
71 =media-plugins/gst-plugins-theora-0.10*
72 =media-plugins/gst-plugins-vorbis-0.10*
73 =media-plugins/gst-plugins-libpng-0.10*
74 =dev-python/gst-python-0.10*
75 v4l? ( =media-plugins/gst-plugins-v4l-0.10* )
76 speex? ( =media-plugins/gst-plugins-speex-0.10* )
77 dv? ( =media-plugins/gst-plugins-dv-0.10*
78 =media-plugins/gst-plugins-raw1394-0.10* )
79 >=dev-python/pygtk-2.8.6
80 >=dev-python/twisted-2.0
81 >=dev-python/twisted-web-0.5.0-r1
82 >=dev-python/twisted-names-0.2.0
83 dev-python/imaging
84 dev-python/kiwi
85 "
86
87 DEPEND="${RDEPEND}
88 dev-util/pkgconfig
89 "
90
91 DOCS="AUTHORS COPYING ChangeLog INSTALL \
92 LICENCE.Flumotion LICENCE.GPL \
93 NEWS README TODO"
94
95 src_unpack() {
96 unpack ${A} && cd "${S}"
97 }
98
99 src_compile() {
100 addpredict "$(unset HOME; echo ~)/.gconf"
101 addpredict "$(unset HOME; echo ~)/.gconfd"
102 mkdir -p "${T}/home"
103 export HOME="${T}/home"
104 export GST_REGISTRY=${T}/home/registry.cache.xml
105 unset LINGUAS
106 econf --localstatedir=/var || die
107 emake -j1 || die
108 # fix ${exec_prefix} not being expanded
109 cd "${S}"/bin
110 cp flumotion-manager flumotion-manager.orig
111 sed -e 's:${exec_prefix}:/usr':g flumotion-manager.orig \
112 > flumotion-manager
113 cp flumotion-worker flumotion-worker.orig
114 sed -e 's:${exec_prefix}:/usr':g flumotion-worker.orig \
115 > flumotion-worker
116 cp flumotion-admin flumotion-admin.orig
117 sed -e 's:${exec_prefix}:/usr':g flumotion-admin.orig \
118 > flumotion-admin
119 }
120
121 src_install() {
122 einstall
123
124 dodir /etc/flumotion
125 dodir /etc/flumotion/managers
126 dodir /etc/flumotion/managers/default
127 dodir /etc/flumotion/managers/default/flows
128 dodir /etc/flumotion/workers
129
130 cd "${S}"/conf
131 insinto /etc/flumotion/managers/default
132 doins managers/default/planet.xml
133 insinto /etc/flumotion/workers
134 doins workers/default.xml
135
136 insinto /etc/flumotion
137 doins default.pem
138 newinitd "${FILESDIR}"/flumotion-init-0.2.0 flumotion
139
140 keepdir /var/run/flumotion
141 keepdir /var/log/flumotion
142 }
143
144 pkg_postinst() {
145 if ! enewgroup flumotion || ! enewuser flumotion -1 -1 /usr/share/flumotion flumotion,audio,video,sys; then
146 die "Unable to add flumotion user and flumotion group."
147 fi
148
149 for dir in /usr/share/flumotion /var/log/flumotion /var/run/flumotion; do
150 chown -R flumotion:flumotion "${dir}"
151 chmod -R 755 "${dir}"
152 done
153 }