# Maintainer: Natanael Copa pkgname=gst-plugins-ugly1 pkgver=1.4.2 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 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="f4bc6c20620ad6b265c1c24374aba0f7 gst-plugins-ugly-1.4.2.tar.xz" sha256sums="9c84a153f539e3ed419d7039296b80bfe073994b06d319a4ebe3f75979dd95f5 gst-plugins-ugly-1.4.2.tar.xz" sha512sums="33dec4c9681509d6458ad1291f382d21d8583648f8a1e346e9dd0e62a0b27a607d5702dbb6f4c018634fc2e5ad2ae9ce9a895956022f4aa07e3a161295720e56 gst-plugins-ugly-1.4.2.tar.xz"