# Template file for 'gst-plugins-bad1'.
pkgname=gst-plugins-bad1
version=1.1.1
revision=1
wrksrc="gst-plugins-bad-${version}"
build_style=gnu-configure
configure_args="--enable-experimental --disable-static"
short_desc="GStreamer plugins from the bad set (v1.x)"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2, LGPL-2.1"
homepage="http://gstreamer.freedesktop.org"
distfiles="$homepage/src/gst-plugins-bad/gst-plugins-bad-${version}.tar.xz"
checksum=4db94de8d07735d33cedbea3a8de4e88df9300e4908fb53f737bb74d3c5f944c

hostmakedepends="pkg-config intltool"
makedepends="alsa-lib-devel celt-devel openssl-devel exempi-devel
 gst-plugins-base1-devel>=${version} libdca-devel orc-devel>=0.4.17 libmms-devel
 libexif-devel libmpcdec-devel faac-devel SDL-devel libpng-devel>=1.5.10
 faad2-devel libdvdread-devel libdvdnav-devel librsvg-devel libsndfile-devel
 xvidcore-devel jasper-devel libmodplug-devel neon-devel libcurl-devel
 libvpx-devel libvdpau-devel libgsm-devel librtmp-devel libass-devel
 mpg123-devel soundtouch-devel opus-devel"

gst-plugins-bad1-devel_package() {
	depends="gst-plugins-base1-devel>=1.1.1 ${sourcepkg}-${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove usr/share/gtk-doc
	}
}

gst-plugins-bad1_package() {
	pkg_install() {
		vmove all
	}
}
