summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2009-10-09 09:40:37 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2009-10-09 09:40:37 +0000
commita5fc25acc4ca8b807173f77c53073e911a03731d (patch)
tree75a0c2bcc6eb346dcef4b02d3d9a3d6057af5d4e /media-video/motion
parentRespect LDFLAGS wrt #285541, thanks to Davide Pesavento for reporting. (diff)
downloadhistorical-a5fc25acc4ca8b807173f77c53073e911a03731d.tar.gz
historical-a5fc25acc4ca8b807173f77c53073e911a03731d.tar.bz2
historical-a5fc25acc4ca8b807173f77c53073e911a03731d.zip
Version bump wrt #287506, thanks to Markus for reporting.
Package-Manager: portage-2.2_rc44/cvs/Linux x86_64
Diffstat (limited to 'media-video/motion')
-rw-r--r--media-video/motion/ChangeLog10
-rw-r--r--media-video/motion/Manifest4
-rw-r--r--media-video/motion/motion-3.2.11.1.ebuild63
3 files changed, 74 insertions, 3 deletions
diff --git a/media-video/motion/ChangeLog b/media-video/motion/ChangeLog
index eaa4a6ca1ddb..286ef6f21d98 100644
--- a/media-video/motion/ChangeLog
+++ b/media-video/motion/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-video/motion
-# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/motion/ChangeLog,v 1.25 2008/12/19 17:07:40 pva Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/motion/ChangeLog,v 1.26 2009/10/09 09:40:37 ssuominen Exp $
+
+*motion-3.2.11.1 (09 Oct 2009)
+
+ 09 Oct 2009; Samuli Suominen <ssuominen@gentoo.org>
+ +motion-3.2.11.1.ebuild:
+ Version bump wrt #287506, thanks to Markus for reporting.
19 Dec 2008; Peter Volkov <pva@gentoo.org> motion-3.2.11.ebuild:
Removed || die after enewuser, bug #237299.
diff --git a/media-video/motion/Manifest b/media-video/motion/Manifest
index c7b32177f9fb..a46c4addd9e3 100644
--- a/media-video/motion/Manifest
+++ b/media-video/motion/Manifest
@@ -1,7 +1,9 @@
AUX motion-3.2.11-offsett.patch 466 RMD160 62bac0efa34bc622fa1bbdf957c7080fe269ef79 SHA1 cee60a859571e857609d52ea8cf4f3df93fb9a08 SHA256 c482fbbd8c493e500fa94aa3103833b7c4f321174266385e58dc0abadcf8ffe3
AUX motion.confd 99 RMD160 e402a6d6873f2267dd1041779b1ef5737305b8f0 SHA1 f66f2f685044e26d5fa61bed8fa47340003c3c24 SHA256 c43ac28bcf76d96b105a03d0d3685688c5f731894bf68a501706681bba76b060
AUX motion.init-r1 708 RMD160 45f70c3c0d91e9669341e274ff81469a889911ae SHA1 1f73b530683397e04646df01da064ba5a1155095 SHA256 b69a44636c2d091d3e863fcef991b05687001737e5a84a6bb1239234e9e0f857
+DIST motion-3.2.11.1.tar.gz 417246 RMD160 dfaa27b73599e375288d9758108c302f3db089a1 SHA1 6e7acea3b27a9e24301e57e066ad5603d41598b2 SHA256 73973e723c39c05cbfc5c2a90357c5dea3078c3162dfc41f303fbf40cda9e403
DIST motion-3.2.11.tar.gz 416156 RMD160 942e656c7d6d8123de3e2136dfd13f42c0b13cd4 SHA1 bc171b1fa6c6a1a72f7fa3eecea2396fdcb8a02c SHA256 f1e187c61702a727bbd20bf5a66a310363257acc04b1f1c6e0b2e06e9b5dfa6e
+EBUILD motion-3.2.11.1.ebuild 1685 RMD160 20e1c35f5b610878184c3d2b86e3c55e47924967 SHA1 c6a47993dae6ae168fe3092fab328909e0e8833e SHA256 dcca38cf5a7ed88153dc9a0c62b7b9ef2e4d76bea6048bf666855528aaa937e5
EBUILD motion-3.2.11.ebuild 1806 RMD160 0997028d57ae5577e33ea8647d8a1625d5a7cb2e SHA1 4a6eb00fd4c0ce615337e5023e897c67477be067 SHA256 732ef99adc349dfd87b50a0f3ed54fc681afa5030457e9bd28a03bf5caa3dc9a
-MISC ChangeLog 3896 RMD160 b31820a79a88261e9b8eb1521644a9069d2a813b SHA1 4a21f21e742d7a35b2ac333a65f617ee7257b3be SHA256 3448b495ba91c0e460df99bd94197400b06b7e69b8995a50b2f1e4b466855440
+MISC ChangeLog 4076 RMD160 a6d76c90433373669e207fce734bd6b1cc93f0f4 SHA1 cc06e8cc509194cb4771c5bcbcace661a7629976 SHA256 429d01a818c2265391c9d003aebb0daf680b2a569acd73f3079a487f8d5a82e4
MISC metadata.xml 223 RMD160 86b42c49b694db39ddb3fdc60b98a3ad1a0c3392 SHA1 ea8c387229caaf4b0d3c9fbef9143b70dcae0b0d SHA256 dd48e823ec9a151bc3611121402ed26ee24eb3304aa62870b1e875a8fa0ac812
diff --git a/media-video/motion/motion-3.2.11.1.ebuild b/media-video/motion/motion-3.2.11.1.ebuild
new file mode 100644
index 000000000000..907dab26ec1d
--- /dev/null
+++ b/media-video/motion/motion-3.2.11.1.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/motion/motion-3.2.11.1.ebuild,v 1.1 2009/10/09 09:40:37 ssuominen Exp $
+
+EAPI=2
+inherit eutils
+
+DESCRIPTION="Motion is a video motion detector with tracking-support for webcams."
+HOMEPAGE="http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ppc ~x86"
+IUSE="ffmpeg mysql postgres v4l"
+
+RDEPEND="sys-libs/zlib
+ media-libs/jpeg
+ ffmpeg? ( media-video/ffmpeg )
+ mysql? ( virtual/mysql )
+ postgres? ( virtual/postgresql-server )"
+DEPEND="${RDEPEND}"
+
+pkg_setup() {
+ enewuser motion -1 -1 -1 video
+}
+
+src_configure() {
+ econf \
+ $(use_with v4l) \
+ $(use_with ffmpeg) \
+ $(use_with mysql) \
+ $(use_with postgres pgsql) \
+ --without-optimizecpu
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+
+ newinitd "${FILESDIR}"/motion.init-r1 motion
+ newconfd "${FILESDIR}"/motion.confd motion
+
+ # Create correct dir for motion.pid
+ dodir /var/run/motion
+ fowners motion:video /var/run/motion
+ fperms 750 /var/run/motion
+ keepdir /var/run/motion
+
+ # Rename configuration file.
+ mv "${D}"/etc/motion-dist.conf "${D}"/etc/motion.conf
+
+ # Remove dummy documentation and install it using ebuild functions.
+ rm -rf "${D}"/usr/share/doc/${P}
+ dodoc CHANGELOG CODE_STANDARD CREDITS FAQ README README.FreeBSD *.conf
+ dohtml *.html
+}
+
+pkg_postinst() {
+ elog "You need to setup /etc/motion.conf before running"
+ elog "motion for the first time. You can install motion"
+ elog "detection as a service, use:"
+ elog "rc-update add motion default"
+}