# Maintainer: Natanael Copa pkgname=gst-plugins-ugly1 pkgver=1.8.1 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 \ --disable-fatal-warnings \ --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 } md5sums="b6f47bcb3d924f7ef8a8b33ac4d037ab gst-plugins-ugly-1.8.1.tar.xz" sha256sums="8e656a9a3be60d7e7ed3fb8e2a22d070b1f54f95d0b22accd876360e659446ce gst-plugins-ugly-1.8.1.tar.xz" sha512sums="349767c0d688eb62097d47115e14303f80648d4387e414d73a8a18de0b566d4d35d57121d103cce74d0d33c00cbe9fc109e7342a205eb5f03e54b2552812f760 gst-plugins-ugly-1.8.1.tar.xz"