mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-19 00:21:40 +00:00
community/motion to 4.0.1-1.2
This commit is contained in:
parent
49c75548bc
commit
5b5e37ae31
1 changed files with 4 additions and 7 deletions
|
@ -2,11 +2,11 @@
|
||||||
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
|
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
|
||||||
|
|
||||||
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||||
# - remove bad CFLAGS addition
|
# - configure with --without-optimizecpu to avoid overrides to our CFLAGS
|
||||||
|
|
||||||
pkgname=motion
|
pkgname=motion
|
||||||
pkgver=4.0.1
|
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"
|
pkgdesc="A software motion detector which grabs images from video4linux devices and/or from webcams"
|
||||||
arch=('i686' 'x86_64')
|
arch=('i686' 'x86_64')
|
||||||
license=('GPL')
|
license=('GPL')
|
||||||
|
@ -23,16 +23,13 @@ md5sums=('5c87f90c4118d8cf0fb14700db69118f'
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "${srcdir}/${pkgname}-release-${pkgver}"
|
cd "${srcdir}/${pkgname}-release-${pkgver}"
|
||||||
|
|
||||||
# remove bad CFLAGS addition
|
|
||||||
sed -i 's/-march=native -mtune=native//' configure.ac
|
|
||||||
|
|
||||||
autoreconf
|
autoreconf
|
||||||
./configure --prefix=/usr \
|
./configure --prefix=/usr \
|
||||||
--without-pgsql \
|
--without-pgsql \
|
||||||
--without-mysql \
|
--without-mysql \
|
||||||
--sysconfdir=/etc \
|
--sysconfdir=/etc \
|
||||||
--with-ffmpeg
|
--with-ffmpeg \
|
||||||
|
--without-optimizecpu
|
||||||
make
|
make
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue