diff options
author | Samuli Suominen <drac@gentoo.org> | 2007-10-19 15:32:56 +0000 |
---|---|---|
committer | Samuli Suominen <drac@gentoo.org> | 2007-10-19 15:32:56 +0000 |
commit | 0744cd8e40a57a264ee45d7c88a4dd8c5be917e2 (patch) | |
tree | 89a737456d23d0e52b0655efb2b711a34a4d1271 /media-video/motion | |
parent | ...and stabling the ebuild. (diff) | |
download | gentoo-2-0744cd8e40a57a264ee45d7c88a4dd8c5be917e2.tar.gz gentoo-2-0744cd8e40a57a264ee45d7c88a4dd8c5be917e2.tar.bz2 gentoo-2-0744cd8e40a57a264ee45d7c88a4dd8c5be917e2.zip |
Version bump for some bug (firefox crashed, yay)
(Portage version: 2.1.3.14)
Diffstat (limited to 'media-video/motion')
-rw-r--r-- | media-video/motion/ChangeLog | 7 | ||||
-rw-r--r-- | media-video/motion/files/digest-motion-3.2.8 | 3 | ||||
-rw-r--r-- | media-video/motion/motion-3.2.8.ebuild | 50 |
3 files changed, 59 insertions, 1 deletions
diff --git a/media-video/motion/ChangeLog b/media-video/motion/ChangeLog index 53d783a58157..44856759c3ac 100644 --- a/media-video/motion/ChangeLog +++ b/media-video/motion/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-video/motion # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/motion/ChangeLog,v 1.13 2007/04/28 11:52:11 tove Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/motion/ChangeLog,v 1.14 2007/10/19 15:32:55 drac Exp $ + +*motion-3.2.8 (19 Oct 2007) + + 19 Oct 2007; Samuli Suominen <drac@gentoo.org> +motion-3.2.8.ebuild: + Version bump. 28 Apr 2007; Torsten Veller <tove@gentoo.org> motion-3.2.4.ebuild: Use newinitd diff --git a/media-video/motion/files/digest-motion-3.2.8 b/media-video/motion/files/digest-motion-3.2.8 new file mode 100644 index 000000000000..2ef7e9d82ef8 --- /dev/null +++ b/media-video/motion/files/digest-motion-3.2.8 @@ -0,0 +1,3 @@ +MD5 9d273df173675f1c523fd092e188dc24 motion-3.2.8.tar.gz 394005 +RMD160 d110a37ef0f943e07c19a2e43a86577d4a038eb3 motion-3.2.8.tar.gz 394005 +SHA256 8f695660380edf94cdbe7e580a3146bf8c20bcfe3a47643eb9de95e49f691889 motion-3.2.8.tar.gz 394005 diff --git a/media-video/motion/motion-3.2.8.ebuild b/media-video/motion/motion-3.2.8.ebuild new file mode 100644 index 000000000000..2bb0935ddb11 --- /dev/null +++ b/media-video/motion/motion-3.2.8.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/motion/motion-3.2.8.ebuild,v 1.1 2007/10/19 15:32:55 drac Exp $ + +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" + +DEPEND="sys-libs/zlib + media-libs/jpeg + ffmpeg? ( media-video/ffmpeg ) + mysql? ( virtual/mysql ) + postgres? ( dev-db/postgresql )" + +src_compile() { + econf --without-optimizecpu \ + $(use_with v4l) \ + $(use_with mysql) \ + $(use_with postgres pgsql) \ + $(use_with ffmpeg) + + emake || die "emake failed." +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed." + + # Install init script. + newinitd "${FILESDIR}"/motion.init 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" +} |