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

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

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

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

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