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

# XXX: add required pkgs for the amr, sid plugins.
hostmakedepends="pkg-config intltool"
makedepends="glib-devel libxml2-devel gstreamer1-devel>=${version}
 gst-plugins-base1-devel>=${version} libcdio-devel libdvdread-devel libmad-devel
 orc-devel>=0.4.17 liba52-devel libmpeg2-devel lame-devel
 x264-devel>=20120126.2245_2"

gst-plugins-ugly1_package() {
	depends="orc>=0.4.17 gst-plugins-base1>=1.1.1"
	pkg_install() {
		vmove all
	}
}
