# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=frei0r-plugins
pkgver=1.7.0
pkgrel=0
pkgdesc="A minimalistic plugin API for video sources and filters"
url=" "
arch="all"
options="!check"  # No test suite.
license="GPL-2.0+"
depends=""
makedepends="opencv-dev gavl-dev file cairo-dev doxygen
	automake autoconf libtool"
subpackages="$pkgname-dev $pkgname-doc"
source="https://files.dyne.org/frei0r/releases/frei0r-plugins-$pkgver.tar.gz"

prepare() {
	default_prepare
	touch README.md AUTHORS ChangeLog TODO
	autoreconf -i
}

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="8c80e8e0ce8c302e633ea1f6ff4e2a141fd7a8bcb7fce25dc7f1f6521be11258a3efa1074c224c7323e6a17bc405413385be193a5c787e2f276252b50477ebce  frei0r-plugins-1.7.0.tar.gz"