# Maintainer: Natanael Copa pkgname=gst-plugins-ugly1 pkgver=1.2.2 pkgrel=1 pkgdesc="GStreamer Multimedia Framework Ugly Plugins (gst-plugins-ugly)" url="http://gstreamer.freedesktop.org/" arch="all" license="LGPL" depends= makedepends=" a52dec-dev glib-dev gst-plugins-base1-dev gstreamer1-dev lame-dev libcdio-dev libdvdread-dev libid3tag-dev libmad-dev libmpeg2-dev liboil-dev orc-dev x264-dev " source="http://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugly-$pkgver.tar.xz" subpackages="$pkgname-lang" ldpath="/usr/lib/gstreamer-1.0" _builddir="$srcdir"/gst-plugins-ugly-$pkgver prepare() { cd "$_builddir" } build() { cd "$_builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --disable-static \ --enable-experimental \ --with-package-name="GStreamer Ugly Plugins (Alpine Linux)" \ --with-package-origin="http://alpinelinux.org/" \ || return 1 make } package() { cd "$_builddir" make DESTDIR="$pkgdir" install || return 1 find "$pkgdir" -name '*.la' -delete } md5sums="32f57ac91369bbb3299469cc418507d0 gst-plugins-ugly-1.2.2.tar.xz" sha256sums="4b6aac272a5be0d68f365ef6fba0f829fc5c1d1d601bb4dd9e85f5289b2b56c3 gst-plugins-ugly-1.2.2.tar.xz" sha512sums="1b16e680235a244bc31ac516f462021093d1a3dc86dac3c2698e49425b20130e0ee3ddd4e7afc11f936b1ae8b081c65a421517e7d9414b02295715ecf74c25d0 gst-plugins-ugly-1.2.2.tar.xz"