# Maintainer: Natanael Copa pkgname=gst-plugins-ugly1 pkgver=1.2.0 pkgrel=0 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 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="81c97981ed373bd77bb10f2ae555c166 gst-plugins-ugly-1.2.0.tar.xz" sha256sums="e4760af4b12bf97ba0a8001cfe733d9d52160a0ad81f6c6f0d0d3a9e798626de gst-plugins-ugly-1.2.0.tar.xz" sha512sums="8cac8f6310d178d29d14ddb41215d28d65578ce00233c876fb88ccff5ce5b5f479c426aa6cfcf261495eb6e6760072df5ef3a41e470a78a8b0a12979f23e530d gst-plugins-ugly-1.2.0.tar.xz"