# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=frei0r-plugins
pkgver=1.5.0
pkgrel=1
pkgdesc="A minimalistic plugin API for video sources and filters"
url="http://www.piksel.org/frei0r"
arch="all"
license="GPL"
depends=""
makedepends="opencv-dev gavl-dev file cairo-dev doxygen
	automake autoconf libtool"
install=""
subpackages="$pkgname-dev $pkgname-doc"
source="https://files.dyne.org/frei0r/releases/frei0r-plugins-$pkgver.tar.gz"
builddir="$srcdir/frei0r-plugins-$pkgver"

prepare() {
	default_prepare || return 1
	cd "$builddir"
	touch README AUTHORS ChangeLog TODO
	autoreconf -i || return 1
}

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		|| return 1
	make || return 1
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install || return 1
}

md5sums="afdaa90dc70453c91bb60e0f71e701fd  frei0r-plugins-1.5.0.tar.gz"
sha256sums="781cf84a6c2a9a3252f54d2967b57f6de75a31fc1684371e112638c981f72b60  frei0r-plugins-1.5.0.tar.gz"
sha512sums="9be0384421ff5ac9000dcda9acefb5cb2b6dc05ea72d9771fae990cb5fad4424dcef8dd15c1e5031a89169f914af8c7a30e47934ad007a3bc0150f3c005bc6bf  frei0r-plugins-1.5.0.tar.gz"
