Gentoo Archives: gentoo-commits

From: "Zac Medico (zmedico)" <zmedico@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-video/flumotion: ChangeLog flumotion-0.6.2.ebuild
Date: Sun, 04 Jul 2010 06:05:08
Message-Id: 20100704060500.7DC072CE14@corvid.gentoo.org
1 zmedico 10/07/04 06:05:00
2
3 Modified: ChangeLog
4 Added: flumotion-0.6.2.ebuild
5 Log:
6 0.6.2 version bump (fixes bug #321049).
7 (Portage version: 2.2_rc67_p182/cvs/Linux i686)
8
9 Revision Changes Path
10 1.19 media-video/flumotion/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/flumotion/ChangeLog?rev=1.19&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/flumotion/ChangeLog?rev=1.19&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/flumotion/ChangeLog?r1=1.18&r2=1.19
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-video/flumotion/ChangeLog,v
19 retrieving revision 1.18
20 retrieving revision 1.19
21 diff -u -r1.18 -r1.19
22 --- ChangeLog 18 Mar 2010 11:29:47 -0000 1.18
23 +++ ChangeLog 4 Jul 2010 06:05:00 -0000 1.19
24 @@ -1,6 +1,11 @@
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.18 2010/03/18 11:29:47 deathwing00 Exp $
28 +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/media-video/flumotion/ChangeLog,v 1.19 2010/07/04 06:05:00 zmedico Exp $
30 +
31 +*flumotion-0.6.2 (04 Jul 2010)
32 +
33 + 04 Jul 2010; Zac Medico <zmedico@g.o> +flumotion-0.6.2.ebuild:
34 + 0.6.2 version bump (fixes bug #321049).
35
36 *flumotion-0.6.1 (30 Oct 2009)
37
38
39
40
41 1.1 media-video/flumotion/flumotion-0.6.2.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/flumotion/flumotion-0.6.2.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/flumotion/flumotion-0.6.2.ebuild?rev=1.1&content-type=text/plain
45
46 Index: flumotion-0.6.2.ebuild
47 ===================================================================
48 # Copyright 1999-2010 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.2.ebuild,v 1.1 2010/07/04 06:05:00 zmedico 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 }