From: | "Samuli Suominen (ssuominen)" <ssuominen@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in media-video/flumotion: ChangeLog flumotion-0.8.1.ebuild |
Date: | Wed, 30 Mar 2011 19:52:10 |
Message-Id: | 20110330195200.00E2F20054@flycatcher.gentoo.org |
1 | ssuominen 11/03/30 19:51:59 |
2 | |
3 | Modified: ChangeLog |
4 | Added: flumotion-0.8.1.ebuild |
5 | Log: |
6 | Version bump wrt #344263. |
7 | |
8 | (Portage version: 2.2.0_alpha29/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.24 media-video/flumotion/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/flumotion/ChangeLog?rev=1.24&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/flumotion/ChangeLog?rev=1.24&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/flumotion/ChangeLog?r1=1.23&r2=1.24 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/media-video/flumotion/ChangeLog,v |
20 | retrieving revision 1.23 |
21 | retrieving revision 1.24 |
22 | diff -u -r1.23 -r1.24 |
23 | --- ChangeLog 30 Mar 2011 18:58:04 -0000 1.23 |
24 | +++ ChangeLog 30 Mar 2011 19:51:59 -0000 1.24 |
25 | @@ -1,6 +1,11 @@ |
26 | # ChangeLog for media-video/flumotion |
27 | # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/media-video/flumotion/ChangeLog,v 1.23 2011/03/30 18:58:04 ssuominen Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/media-video/flumotion/ChangeLog,v 1.24 2011/03/30 19:51:59 ssuominen Exp $ |
30 | + |
31 | +*flumotion-0.8.1 (30 Mar 2011) |
32 | + |
33 | + 30 Mar 2011; Samuli Suominen <ssuominen@g.o> +flumotion-0.8.1.ebuild: |
34 | + Version bump wrt #344263. |
35 | |
36 | 30 Mar 2011; Samuli Suominen <ssuominen@g.o> flumotion-0.6.2.ebuild: |
37 | Stop installing 91-flumotion-device-policy.fdi because sys-apps/hal is |
38 | |
39 | |
40 | |
41 | 1.1 media-video/flumotion/flumotion-0.8.1.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/flumotion/flumotion-0.8.1.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/flumotion/flumotion-0.8.1.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: flumotion-0.8.1.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-video/flumotion/flumotion-0.8.1.ebuild,v 1.1 2011/03/30 19:51:59 ssuominen Exp $ |
51 | |
52 | EAPI=3 |
53 | |
54 | PYTHON_DEPEND="2:2.6" |
55 | |
56 | inherit eutils flag-o-matic multilib python toolchain-funcs virtualx # AC_CHECK_PROG for Xvfb |
57 | |
58 | DESCRIPTION="Flumotion Streaming server" |
59 | HOMEPAGE="http://www.flumotion.net/" |
60 | SRC_URI="http://www.flumotion.net/src/${PN}/${P}.tar.bz2" |
61 | |
62 | LICENSE="GPL-2" # LICENSE.Flumotion |
63 | SLOT="0" |
64 | KEYWORDS="~amd64 ~x86" |
65 | IUSE="doc test" |
66 | |
67 | RDEPEND="" |
68 | DEPEND="${RDEPEND} |
69 | sys-devel/gettext |
70 | doc? ( dev-python/epydoc ) |
71 | test? ( dev-python/pychecker )" |
72 | |
73 | src_prepare() { |
74 | rm -f py-compile |
75 | ln -s $(type -P true) py-compile |
76 | } |
77 | |
78 | src_configure() { |
79 | append-cflags -fno-strict-aliasing |
80 | |
81 | econf \ |
82 | --localstatedir=/var \ |
83 | $(use_enable doc docs) |
84 | } |
85 | |
86 | src_compile() { |
87 | emake -j1 fdpass_so_LINK="$(tc-getCC) ${LDFLAGS} -shared -o fdpass.so" || die |
88 | } |
89 | |
90 | src_install() { |
91 | emake -j1 DESTDIR="${D}" install || die |
92 | dodoc AUTHORS ChangeLog NEWS README RELEASE TODO |
93 | |
94 | dodir /etc/flumotion |
95 | dodir /etc/flumotion/managers |
96 | dodir /etc/flumotion/managers/default |
97 | dodir /etc/flumotion/managers/default/flows |
98 | dodir /etc/flumotion/workers |
99 | |
100 | pushd conf |
101 | insinto /etc/flumotion/managers/default |
102 | doins managers/default/planet.xml || die |
103 | insinto /etc/flumotion/workers |
104 | doins workers/default.xml || die |
105 | insinto /etc/flumotion |
106 | doins default.pem || die |
107 | popd |
108 | |
109 | keepdir /var/log/flumotion |
110 | keepdir /var/run/flumotion |
111 | |
112 | newinitd "${FILESDIR}"/flumotion-init-0.2.0 flumotion |
113 | |
114 | # /usr/share/hal/fdi/policy/20thirdparty/91-flumotion-device-policy.fdi |
115 | rm -rf "${D}"/usr/share/hal |
116 | } |
117 | |
118 | pkg_postinst() { |
119 | if ! enewgroup flumotion || ! enewuser flumotion -1 -1 /usr/share/flumotion flumotion,audio,video,sys; then |
120 | die "Unable to add flumotion user and flumotion group." |
121 | fi |
122 | |
123 | for dir in /usr/share/flumotion /var/log/flumotion /var/run/flumotion; do |
124 | chown -R flumotion:flumotion "${dir}" |
125 | chmod -R 755 "${dir}" |
126 | done |
127 | |
128 | python_mod_optimize /usr/$(get_libdir)/flumotion/python |
129 | } |
130 | |
131 | pkg_postrm() { |
132 | python_mod_cleanup /usr/$(get_libdir)/flumotion/python |
133 | } |