From 1669efcdd97462926971af7473448314be9a451b Mon Sep 17 00:00:00 2001 From: Andrea Brancaleoni Date: Sun, 4 Dec 2016 17:56:00 +0100 Subject: [PATCH] motion: update to 4.0.1. --- ...tion-of-sqlite3-when-cross-compiling.patch | 46 ------------------- srcpkgs/motion/template | 4 +- srcpkgs/motion/update | 2 + 3 files changed, 4 insertions(+), 48 deletions(-) delete mode 100644 srcpkgs/motion/patches/Fix-detection-of-sqlite3-when-cross-compiling.patch create mode 100644 srcpkgs/motion/update diff --git a/srcpkgs/motion/patches/Fix-detection-of-sqlite3-when-cross-compiling.patch b/srcpkgs/motion/patches/Fix-detection-of-sqlite3-when-cross-compiling.patch deleted file mode 100644 index 62b7a6f9895..00000000000 --- a/srcpkgs/motion/patches/Fix-detection-of-sqlite3-when-cross-compiling.patch +++ /dev/null @@ -1,46 +0,0 @@ -From d1a2397daa805b0acc965acf85dfdb7297ba6069 Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Fri, 16 Sep 2016 20:25:51 +0200 -Subject: [PATCH] Fix detection of sqlite3 when cross-compiling - -Replace usage of AC_CHECK_FILE by test -f to check the existence of -sqlite3.c as AC_CHECK_FILE does not work when cross-compiling - -Signed-off-by: Fabrice Fontaine ---- - configure.ac | 10 +++------- - 1 file changed, 3 insertions(+), 7 deletions(-) - -diff --git configure.ac configure.ac -index f069ccc..0f18f08 100644 ---- configure.ac -+++ configure.ac -@@ -460,16 +460,13 @@ else - - # first we check to see if the sqlite3 amalgamation (sqlite3.c), is in with our source - # this is the prefered way to use sqlite -- AC_CHECK_FILE([sqlite3.c], -- [ -+ if test -f sqlite3.c; then - SQLITE3_SUPPORT="yes" - VIDEO="$VIDEO sqlite3.o" - TEMP_LIBS="$TEMP_LIBS -ldl" - AC_DEFINE([HAVE_SQLITE3],1,[Define to 1 if you have SQLITE3]) - AC_DEFINE([HAVE_SQLITE3_EMBEDDED],1,[Define to 1 if you have SQLITE3 embedded support]) -- ] -- , -- [ -+ else - # if sqlite3.c is not found then we look for the shared library - AC_CHECK_LIB(sqlite3, sqlite3_open, - [ -@@ -478,8 +475,7 @@ else - AC_DEFINE([HAVE_SQLITE3],1,[Define to 1 if you have SQLITE3 shared library support]) - ] - ) -- ] -- ) -+ fi - - CFLAGS=$saved_CFLAGS - LIBS=$saved_LIBS diff --git a/srcpkgs/motion/template b/srcpkgs/motion/template index 173ab1aac9c..8f3057765a3 100644 --- a/srcpkgs/motion/template +++ b/srcpkgs/motion/template @@ -1,6 +1,6 @@ # Template file for 'motion' pkgname=motion -version=3.4.1 +version=4.0.1 revision=1 wrksrc="motion-release-${version}" build_style=gnu-configure @@ -11,7 +11,7 @@ maintainer="Andrea Brancaleoni " license="GPL-2" homepage="https://motion-project.github.io/" distfiles="https://github.com/Motion-Project/motion/archive/release-${version}.tar.gz" -checksum=0d1702c7958fd03b99bf4fdcb45d8e604864e5867034f825f2fc543e8be64549 +checksum=2f67669a09ce0481ecd987028dae1c5cb135dfdc3c254c06ab7c9ca0c6c183f0 pre_configure() { autoreconf -fi diff --git a/srcpkgs/motion/update b/srcpkgs/motion/update new file mode 100644 index 00000000000..e255d93304b --- /dev/null +++ b/srcpkgs/motion/update @@ -0,0 +1,2 @@ +site="https://api.github.com/repos/Motion-Project/motion/tags" +pattern='release-\K([\d\.]+)'