1 |
ssuominen 11/03/30 20:11:58 |
2 |
|
3 |
Modified: flumotion-0.8.1.ebuild |
4 |
Log: |
5 |
refactor a bit |
6 |
|
7 |
(Portage version: 2.2.0_alpha29/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.3 media-video/flumotion/flumotion-0.8.1.ebuild |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/flumotion/flumotion-0.8.1.ebuild?rev=1.3&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/flumotion/flumotion-0.8.1.ebuild?rev=1.3&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/flumotion/flumotion-0.8.1.ebuild?r1=1.2&r2=1.3 |
15 |
|
16 |
Index: flumotion-0.8.1.ebuild |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/media-video/flumotion/flumotion-0.8.1.ebuild,v |
19 |
retrieving revision 1.2 |
20 |
retrieving revision 1.3 |
21 |
diff -u -r1.2 -r1.3 |
22 |
--- flumotion-0.8.1.ebuild 30 Mar 2011 20:02:28 -0000 1.2 |
23 |
+++ flumotion-0.8.1.ebuild 30 Mar 2011 20:11:58 -0000 1.3 |
24 |
@@ -1,6 +1,6 @@ |
25 |
# Copyright 1999-2011 Gentoo Foundation |
26 |
# Distributed under the terms of the GNU General Public License v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/media-video/flumotion/flumotion-0.8.1.ebuild,v 1.2 2011/03/30 20:02:28 ssuominen Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/media-video/flumotion/flumotion-0.8.1.ebuild,v 1.3 2011/03/30 20:11:58 ssuominen Exp $ |
29 |
|
30 |
EAPI=3 |
31 |
|
32 |
@@ -17,7 +17,7 @@ |
33 |
KEYWORDS="~amd64 ~x86" |
34 |
IUSE="doc test" |
35 |
|
36 |
-RDEPEND="" |
37 |
+RDEPEND="" # Where is this documented? |
38 |
DEPEND="${RDEPEND} |
39 |
sys-devel/gettext |
40 |
doc? ( dev-python/epydoc ) |
41 |
@@ -50,6 +50,14 @@ |
42 |
emake -j1 DESTDIR="${D}" install || die |
43 |
dodoc AUTHORS ChangeLog NEWS README RELEASE TODO |
44 |
|
45 |
+ keepdir /var/log/flumotion |
46 |
+ keepdir /var/run/flumotion |
47 |
+ |
48 |
+ newinitd "${FILESDIR}"/flumotion-init-0.2.0 flumotion |
49 |
+ |
50 |
+ # /usr/share/hal/fdi/policy/20thirdparty/91-flumotion-device-policy.fdi |
51 |
+ rm -rf "${D}"/usr/share/hal |
52 |
+ |
53 |
dodir /etc/flumotion |
54 |
dodir /etc/flumotion/managers |
55 |
dodir /etc/flumotion/managers/default |
56 |
@@ -64,18 +72,10 @@ |
57 |
insinto /etc/flumotion |
58 |
doins default.pem || die |
59 |
popd |
60 |
- |
61 |
- keepdir /var/log/flumotion |
62 |
- keepdir /var/run/flumotion |
63 |
- |
64 |
- newinitd "${FILESDIR}"/flumotion-init-0.2.0 flumotion |
65 |
- |
66 |
- # /usr/share/hal/fdi/policy/20thirdparty/91-flumotion-device-policy.fdi |
67 |
- rm -rf "${D}"/usr/share/hal |
68 |
} |
69 |
|
70 |
pkg_postinst() { |
71 |
- if ! enewgroup flumotion || ! enewuser flumotion -1 -1 /usr/share/flumotion flumotion,audio,video,sys; then |
72 |
+ if ! enewgroup flumotion || ! enewuser flumotion -1 -1 /usr/share/flumotion flumotion,audio,video,sys; then |
73 |
die "Unable to add flumotion user and flumotion group." |
74 |
fi |