diff options
author | Alexis Ballier <aballier@gentoo.org> | 2008-10-14 17:20:33 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2008-10-14 17:20:33 +0000 |
commit | 921febb6471bfc41bd7e775dd341ef7626efb981 (patch) | |
tree | 590e7aef0553aaf2b91759f7db96dc5a87aeda07 /media-video/motion | |
parent | Version bump. (diff) | |
download | historical-921febb6471bfc41bd7e775dd341ef7626efb981.tar.gz historical-921febb6471bfc41bd7e775dd341ef7626efb981.tar.bz2 historical-921febb6471bfc41bd7e775dd341ef7626efb981.zip |
version bump
Package-Manager: portage-2.2_rc12/cvs/Linux 2.6.26.6 x86_64
Diffstat (limited to 'media-video/motion')
-rw-r--r-- | media-video/motion/ChangeLog | 8 | ||||
-rw-r--r-- | media-video/motion/Manifest | 11 | ||||
-rw-r--r-- | media-video/motion/files/motion-3.2.11-offsett.patch | 13 | ||||
-rw-r--r-- | media-video/motion/motion-3.2.11.ebuild | 69 |
4 files changed, 96 insertions, 5 deletions
diff --git a/media-video/motion/ChangeLog b/media-video/motion/ChangeLog index 1f0c59ed0ee0..6aa1703716c7 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.20 2008/10/14 17:02:21 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/motion/ChangeLog,v 1.21 2008/10/14 17:20:33 aballier Exp $ + +*motion-3.2.11 (14 Oct 2008) + + 14 Oct 2008; Alexis Ballier <aballier@gentoo.org> + +files/motion-3.2.11-offsett.patch, +motion-3.2.11.ebuild: + version bump 14 Oct 2008; Alexis Ballier <aballier@gentoo.org> -files/motion-3.2.4-ffmpeg-compat.patch, diff --git a/media-video/motion/Manifest b/media-video/motion/Manifest index 5559f3470e72..ae432014b32a 100644 --- a/media-video/motion/Manifest +++ b/media-video/motion/Manifest @@ -3,16 +3,19 @@ Hash: SHA1 AUX motion-3.2.10.1-asneeded.patch 515 RMD160 72fbbe9a29e69d90cccd1edbb2ebdce6ea92562c SHA1 1bda4644836e38ae2ee845087660fc1b45bcdb88 SHA256 01d548e78ed55e4d8feb455fc07db664dfd3bb0135dca1e43996d5bb8dd03099 AUX motion-3.2.10.1-ffmpegheaders.patch 1214 RMD160 d26ace539af3325e50bbab6daa6c57cc5a79c096 SHA1 0021b8a18edeed99e396e956c75116ed9041da57 SHA256 3ded0b20d8078eed4ae42a3263106aaa06537733283ae8044664b116dd75a9f2 +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.10.1.tar.gz 402788 RMD160 c22ec64c176166519c76d12c6ab792f93d7dd707 SHA1 57cd8c5bdcf7c4d49e46fa3201630a018e67dcca SHA256 2798b2a5e4d248244d5f40cce32dfb0f027e103dd8469a800b6b934467bf6117 +DIST motion-3.2.11.tar.gz 416156 RMD160 942e656c7d6d8123de3e2136dfd13f42c0b13cd4 SHA1 bc171b1fa6c6a1a72f7fa3eecea2396fdcb8a02c SHA256 f1e187c61702a727bbd20bf5a66a310363257acc04b1f1c6e0b2e06e9b5dfa6e EBUILD motion-3.2.10.1.ebuild 1944 RMD160 2c553a9010bc84eede9af3e8db7da1af2e5418a3 SHA1 6608ca50b0ac814ee65280066a710e828c6728b7 SHA256 c3858c7e3eccc300a85b64dcc151df7b9804d046a3de91736af6e4dcc2c45f27 -MISC ChangeLog 3232 RMD160 58c785c1386b2b049c190e8a4c059c14096cc706 SHA1 d62e3c9a015752c9d4704ef71b6eb7e9bbda5b77 SHA256 307c691ca26eb409cc6620f47bcbe8e919854364d18bb322ee02ec7bb2165bd5 +EBUILD motion-3.2.11.ebuild 1850 RMD160 609e99bffc991a15c6a95d7ed743100693c633d2 SHA1 fe2926e01e8e24c215ce46e6c01541b425ffc532 SHA256 ef50aecaa4e2dd96b8968fc45707bb0013233379524c5d7516ba18e74f300b52 +MISC ChangeLog 3391 RMD160 e57947d33784d471226f994404eeda88be8f72af SHA1 c4f4b027c42dbdbb28ccd21d7631f30462e4a63e SHA256 b6b6af38590b1ebf4f66b7129151f75ea895a16e26702ff48077c4a8ff53369a MISC metadata.xml 223 RMD160 86b42c49b694db39ddb3fdc60b98a3ad1a0c3392 SHA1 ea8c387229caaf4b0d3c9fbef9143b70dcae0b0d SHA256 dd48e823ec9a151bc3611121402ed26ee24eb3304aa62870b1e875a8fa0ac812 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) -iEYEARECAAYFAkj00KQACgkQvFcC4BYPU0p4NgCgge0+nNFl7yo4Jqbht+1eI+gn -pzIAoIOcsDFalMpaOie8K3n5mPTNsJvn -=QmsJ +iEYEARECAAYFAkj01OgACgkQvFcC4BYPU0rHWgCgsFUhESBcrKJBIqFw6vNXtaEN +n8kAoIW6NdYwwtpSv7oJT4lsBJo1Ceyz +=YdKf -----END PGP SIGNATURE----- diff --git a/media-video/motion/files/motion-3.2.11-offsett.patch b/media-video/motion/files/motion-3.2.11-offsett.patch new file mode 100644 index 000000000000..f3116abbc816 --- /dev/null +++ b/media-video/motion/files/motion-3.2.11-offsett.patch @@ -0,0 +1,13 @@ +Index: motion-3.2.11/ffmpeg.c +=================================================================== +--- motion-3.2.11.orig/ffmpeg.c ++++ motion-3.2.11/ffmpeg.c +@@ -164,7 +164,7 @@ static int file_write(URLContext *h, uns + return write(fd, buf, size); + } + +-static offset_t file_seek(URLContext *h, offset_t pos, int whence) ++static int64_t file_seek(URLContext *h, int64_t pos, int whence) + { + int fd = (size_t)h->priv_data; + return lseek(fd, pos, whence); diff --git a/media-video/motion/motion-3.2.11.ebuild b/media-video/motion/motion-3.2.11.ebuild new file mode 100644 index 000000000000..afb5449e9182 --- /dev/null +++ b/media-video/motion/motion-3.2.11.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2008 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.ebuild,v 1.1 2008/10/14 17:20:33 aballier Exp $ + +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" + +DEPEND="sys-libs/zlib + media-libs/jpeg + ffmpeg? ( media-video/ffmpeg ) + mysql? ( virtual/mysql ) + postgres? ( virtual/postgresql-server )" + +pkg_setup() { + enewuser motion -1 -1 -1 "video" || die "failed to create motion user" +} + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}/${P}-offsett.patch" +} + +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-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" +} |