From 5b5e37ae31ce7d9dea8c22ddac1d39e91ed76b10 Mon Sep 17 00:00:00 2001 From: Kevin Mihelich Date: Wed, 9 Nov 2016 00:37:33 +0000 Subject: [PATCH] community/motion to 4.0.1-1.2 --- community/motion/PKGBUILD | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/community/motion/PKGBUILD b/community/motion/PKGBUILD index 7ffcbfee2..38bbd39df 100644 --- a/community/motion/PKGBUILD +++ b/community/motion/PKGBUILD @@ -2,11 +2,11 @@ # Maintainer: Sergej Pupykin # ALARM: Kevin Mihelich -# - remove bad CFLAGS addition +# - configure with --without-optimizecpu to avoid overrides to our CFLAGS pkgname=motion pkgver=4.0.1 -pkgrel=1.1 +pkgrel=1.2 pkgdesc="A software motion detector which grabs images from video4linux devices and/or from webcams" arch=('i686' 'x86_64') license=('GPL') @@ -23,16 +23,13 @@ md5sums=('5c87f90c4118d8cf0fb14700db69118f' build() { cd "${srcdir}/${pkgname}-release-${pkgver}" - - # remove bad CFLAGS addition - sed -i 's/-march=native -mtune=native//' configure.ac - autoreconf ./configure --prefix=/usr \ --without-pgsql \ --without-mysql \ --sysconfdir=/etc \ - --with-ffmpeg + --with-ffmpeg \ + --without-optimizecpu make }