Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=interim.git;a=commitdiff;h=115830732e4b64ac7e4cf9de84559130668a8e57

commit 115830732e4b64ac7e4cf9de84559130668a8e57
Author: crazy <[EMAIL PROTECTED]>
Date:   Fri May 30 13:20:55 2008 +0200

motion-3.2.10-1-x86_64
* Version bump
* replaced ffmpeg patch with Fsed
* fixed pkgdesc and depends
* use up2date from sf.net

diff --git a/source/xmultimedia-extra/motion/FrugalBuild 
b/source/xmultimedia-extra/motion/FrugalBuild
index cad6aef..92b9034 100644
--- a/source/xmultimedia-extra/motion/FrugalBuild
+++ b/source/xmultimedia-extra/motion/FrugalBuild
@@ -3,34 +3,32 @@
# Contributor: enda <[EMAIL PROTECTED]>

pkgname=motion
-pkgver=3.2.9
-pkgrel=2
-pkgdesc="Motion is a program that monitors the video signal from one or more 
cameras and is able to detect if a significant part of the picture has changed. 
Or in other words, it can detect motion."
+pkgver=3.2.10
+pkgrel=1
+pkgdesc="A program that monitors the video signal from one or more cameras and 
is able to detect if a significant part of the picture has changed."
Finclude sourceforge
url="http://www.lavrsen.dk/twiki/bin/view/Motion/";
-depends=('zlib' 'ffmpeg>=20080427' 'jhead' 'libjpeg')
+depends=('libjpeg' 'ffmpeg>=20080427' 'zlib' 'libogg' 'libx11')
groups=('xmultimedia-extra')
-install="motion.install"
archs=('i686' 'x86_64')
-up2date="lynx -dump 
'http://www.lavrsen.dk/twiki/bin/view/Motion/DownloadFiles' |grep 'Current 
version is'| sed 's/.*Current version is \(.*\).*/\1/'"
-source=($source rc.motion README.Frugalware ffmpeg.diff)
-sha1sums=('1417529f8c49bdf922caa7d0c746c4a2277fe34a' \
+source=($source rc.motion README.Frugalware)
+sha1sums=('4df53f1e74e2d3fb755b4c3258b104527402568f' \
'1d85dce27289f756bdf9c96c78c9587d258190cf' \
-          'b0598b9068e3e136d4a4864f5fc66749c787d7f6' \
-          '06ba5c814fed7feb825751dbf29ed32233344056')
-Fconfopts="$Fconfopts --without-mysql --without-pgsql"
+          'b0598b9068e3e136d4a4864f5fc66749c787d7f6')

build()
{
Fcd
-       Fpatchall
+       Fsed 'include/avformat.h' 'include/libavformat/avformat.h' configure.in
+       Fsed '<avformat.h>' '<libavformat/avformat.h>' ffmpeg.h
+       Fsed 'avstring.h' 'libavutil/avstring.h' ffmpeg.c
Fautoreconf
# DO NOT REMOVE THIS!!
-       Fmake --without-optimizecpu
+       Fmake --without-optimizecpu --without-mysql --without-pgsql

# Get the latest update guide
make updateguide || return 1
-
+
Fmakeinstall
Fdoc README.Frugalware
Frcd2
diff --git a/source/xmultimedia-extra/motion/ffmpeg.diff 
b/source/xmultimedia-extra/motion/ffmpeg.diff
deleted file mode 100644
index 402465f..0000000
--- a/source/xmultimedia-extra/motion/ffmpeg.diff
+++ /dev/null
@@ -1,57 +0,0 @@
-diff -aur motion-3.2.9/configure.in fw_motion-3.2.9/configure.in
---- motion-3.2.9/configure.in  2007-11-06 04:19:30.000000000 +0100
-+++ fw_motion-3.2.9/configure.in       2008-04-29 10:52:40.000000000 +0200
-@@ -383,16 +383,16 @@
-       if test "${FFMPEG_CFLAGS_DEB}" != "" ; then
-               FFMPEG_CFLAGS="${FFMPEG_CFLAGS_DEB}"
-               AC_MSG_RESULT(found for debian)
--      elif test -f ${FFMPEG}/include/avformat.h; then
-+      elif test -f ${FFMPEG}/include/libavformat/avformat.h; then
-               AC_MSG_RESULT(found)
-               FFMPEG_CFLAGS="-I${FFMPEG}/include"
--      elif test -f ${FFMPEG}/avformat.h; then
-+      elif test -f ${FFMPEG}/libavformat/avformat.h; then
-               AC_MSG_RESULT(found)
-               FFMPEG_CFLAGS="-I${FFMPEG}"
--      elif test -f `AS_DIRNAME([${FFMPEG}])`/include/avformat.h; then
-+      elif test -f `AS_DIRNAME([${FFMPEG}])`/include/libavformat/avformat.h; 
then
-               AC_MSG_RESULT(found)
-               FFMPEG_CFLAGS="-I`AS_DIRNAME([${FFMPEG}])`/include"
--      elif test -f `AS_DIRNAME([${FFMPEG}])`/include/ffmpeg/avformat.h; then
-+      elif test -f `AS_DIRNAME([${FFMPEG}])`/include/libavformat/avformat.h; 
then
-               AC_MSG_RESULT(found)
-               FFMPEG_CFLAGS="-I`AS_DIRNAME([${FFMPEG}])`/include/ffmpeg"
-       else
-@@ -432,7 +432,7 @@
-
-                 AC_COMPILE_IFELSE(
-                         [
--                        #include <avformat.h>
-+                        #include <libavformat/avformat.h>
-                         URLProtocol test_file_protocol;
-                         int main(void){
-                                 test_file_protocol.url_read  = 
file_protocol.url_read;
-diff -aur motion-3.2.9/ffmpeg.c fw_motion-3.2.9/ffmpeg.c
---- motion-3.2.9/ffmpeg.c      2007-11-06 04:50:07.000000000 +0100
-+++ fw_motion-3.2.9/ffmpeg.c   2008-04-29 10:56:35.000000000 +0200
-@@ -121,7 +121,7 @@
-  *
-  */
-
--#include "avstring.h"
-+#include "libavutil/avstring.h"
-
- static int file_open(URLContext *h, const char *filename, int flags)
- {
-diff -aur motion-3.2.9/ffmpeg.h fw_motion-3.2.9/ffmpeg.h
---- motion-3.2.9/ffmpeg.h      2007-07-18 09:18:05.000000000 +0200
-+++ fw_motion-3.2.9/ffmpeg.h   2008-04-29 10:54:13.000000000 +0200
-@@ -2,7 +2,7 @@
- #define _INCLUDE_FFMPEG_H_
-
- #ifdef HAVE_FFMPEG
--#include <avformat.h>
-+#include <libavformat/avformat.h>
- #endif
-
- #include <stdio.h>
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to