community/motion to 4.0.1-1.2

This commit is contained in:
Kevin Mihelich 2016-11-09 00:37:33 +00:00
parent 49c75548bc
commit 5b5e37ae31

View file

@ -2,11 +2,11 @@
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - 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
}