From: | "Samuli Suominen (ssuominen)" <ssuominen@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in media-video/motion: motion-3.2.12-r1.ebuild ChangeLog |
Date: | Sun, 02 Oct 2011 18:48:45 |
Message-Id: | 20111002184835.3B0622004B@flycatcher.gentoo.org |
1 | ssuominen 11/10/02 18:48:35 |
2 | |
3 | Modified: ChangeLog |
4 | Added: motion-3.2.12-r1.ebuild |
5 | Log: |
6 | Use more recent s-s-d syntax wrt #380279 by Tom Hendrikx |
7 | |
8 | (Portage version: 2.2.0_alpha60/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.34 media-video/motion/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/motion/ChangeLog?rev=1.34&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/motion/ChangeLog?rev=1.34&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/motion/ChangeLog?r1=1.33&r2=1.34 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/media-video/motion/ChangeLog,v |
20 | retrieving revision 1.33 |
21 | retrieving revision 1.34 |
22 | diff -u -r1.33 -r1.34 |
23 | --- ChangeLog 19 May 2011 18:50:35 -0000 1.33 |
24 | +++ ChangeLog 2 Oct 2011 18:48:35 -0000 1.34 |
25 | @@ -1,6 +1,12 @@ |
26 | # ChangeLog for media-video/motion |
27 | # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/media-video/motion/ChangeLog,v 1.33 2011/05/19 18:50:35 ssuominen Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/media-video/motion/ChangeLog,v 1.34 2011/10/02 18:48:35 ssuominen Exp $ |
30 | + |
31 | +*motion-3.2.12-r1 (02 Oct 2011) |
32 | + |
33 | + 02 Oct 2011; Samuli Suominen <ssuominen@g.o> +motion-3.2.12-r1.ebuild, |
34 | + +files/motion.initd-r2: |
35 | + Use more recent s-s-d syntax wrt #380279 by Tom Hendrikx |
36 | |
37 | *motion-3.2.12 (19 May 2011) |
38 | |
39 | |
40 | |
41 | |
42 | 1.1 media-video/motion/motion-3.2.12-r1.ebuild |
43 | |
44 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/motion/motion-3.2.12-r1.ebuild?rev=1.1&view=markup |
45 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/motion/motion-3.2.12-r1.ebuild?rev=1.1&content-type=text/plain |
46 | |
47 | Index: motion-3.2.12-r1.ebuild |
48 | =================================================================== |
49 | # Copyright 1999-2011 Gentoo Foundation |
50 | # Distributed under the terms of the GNU General Public License v2 |
51 | # $Header: /var/cvsroot/gentoo-x86/media-video/motion/motion-3.2.12-r1.ebuild,v 1.1 2011/10/02 18:48:35 ssuominen Exp $ |
52 | |
53 | EAPI=4 |
54 | inherit eutils |
55 | |
56 | DESCRIPTION="A software motion detector" |
57 | HOMEPAGE="http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome" |
58 | SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" |
59 | |
60 | LICENSE="GPL-2" |
61 | SLOT="0" |
62 | KEYWORDS="~alpha ~amd64 ~arm ~ppc ~x86" |
63 | IUSE="ffmpeg mysql postgres v4l" |
64 | |
65 | RDEPEND="sys-libs/zlib |
66 | virtual/jpeg |
67 | ffmpeg? ( virtual/ffmpeg ) |
68 | mysql? ( virtual/mysql ) |
69 | postgres? ( dev-db/postgresql-base )" |
70 | DEPEND="${RDEPEND} |
71 | v4l? ( virtual/os-headers )" |
72 | |
73 | pkg_setup() { |
74 | enewuser motion -1 -1 -1 video |
75 | } |
76 | |
77 | src_configure() { |
78 | local hack |
79 | if has_version '>=sys-kernel/linux-headers-2.6.38'; then |
80 | hack="--without-v4l" #361509 |
81 | ewarn "Disabling video4linux support because of too new" |
82 | ewarn "linux-headers. See bug 376225 for new motion." |
83 | fi |
84 | |
85 | econf \ |
86 | $(use_with v4l) \ |
87 | $(use_with ffmpeg) \ |
88 | $(use_with mysql) \ |
89 | $(use_with postgres pgsql) \ |
90 | --without-optimizecpu \ |
91 | ${hack} |
92 | } |
93 | |
94 | src_install() { |
95 | emake \ |
96 | DESTDIR="${D}" \ |
97 | DOC='CHANGELOG CODE_STANDARD CREDITS FAQ README' \ |
98 | docdir=/usr/share/doc/${PF} \ |
99 | EXAMPLES='thread*.conf' \ |
100 | examplesdir=/usr/share/doc/${PF}/examples \ |
101 | install |
102 | |
103 | dohtml *.html |
104 | |
105 | newinitd "${FILESDIR}"/motion.initd-r2 motion |
106 | newconfd "${FILESDIR}"/motion.confd motion |
107 | |
108 | mv -vf "${D}"/etc/motion{-dist,}.conf || die |
109 | } |
110 | |
111 | pkg_postinst() { |
112 | elog "You need to setup /etc/motion.conf before running" |
113 | elog "motion for the first time." |
114 | elog "You can install motion detection as a service, use:" |
115 | elog "rc-update add motion default" |
116 | } |