File PKGBUILD of Package frei0r-plugins

# $Id: PKGBUILD 171713 2016-04-24 17:36:51Z bpiotrowski $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>

pkgname=frei0r-plugins
pkgver=1.4
pkgrel=4
pkgdesc="A minimalistic plugin API for video sources and filters"
arch=(i686 x86_64)
url="http://www.piksel.org/frei0r"
license=('GPL')
depends=('gcc-libs' 'gavl>=1.0.0' 'opencv>=2.4.3')
makedepends=('doxygen')
options=('!emptydirs')
source=(https://files.dyne.org/frei0r/releases/$pkgname-$pkgver.tar.gz frei0r-plugins-opencv3.patch)
md5sums=('202375d1bcb545c1b6eb8f34e0260ec5'
         '52d21eee99b5f38a97b905c5243e9143')

prepare() {
  cd $pkgname-$pkgver
# Fix build with opencv 3 (Gentoo)
  patch -p2 -i ../frei0r-plugins-opencv3.patch
}

build() {
  cd "$srcdir/$pkgname-$pkgver"
  ./configure --prefix=/usr
  make -j1
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  make DESTDIR="$pkgdir" install
}
openSUSE Build Service is sponsored by