# Maintainer: Natanael Copa <ncopa@alpinelinux.org> setvar pkgname = 'gst-plugins-bad0.10' setvar pkgver = '0.10.23' setvar pkgrel = '6' setvar pkgdesc = ""GStreamer bad plugins"" setvar url = ""http://gstreamer.freedesktop.org/"" setvar arch = ""all"" setvar license = ""LGPL GPL"" setvar depends = """" setvar replaces = ""gst-plugins-bad"" setvar subpackages = ""$pkgname-lang $pkgname-dev $pkgname-doc"" setvar makedepends = ""gst-plugins-base0.10-dev gstreamer0.10-dev xvidcore-dev bzip2-dev neon-dev faac-dev libexif-dev faad2-dev glib-dev liboil-dev alsa-lib-dev libx11-dev sdl-dev libvpx-dev libdc1394-dev libmms-dev gsm-dev flite-dev orc-dev jasper-dev librsvg-dev"" setvar source = ""http://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-$pkgver.tar.bz2 libvpx-1.4.0.patch "" setvar _builddir = ""$srcdir/gst-plugins-bad-$pkgver"" proc prepare { cd $_builddir for i in $source { case (i) { *.patch { msg $i; patch -p1 -i "$srcdir"/$i || return 1} } } update_config_sub || return 1 } proc build { cd $_builddir ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --disable-static \ --disable-modplug \ --enable-experimental \ --with-package-name="GStreamer Bad Plugins (Alpine Linux)" \ --with-package-origin="http://www.alpinelinux.org/" \ || return 1 make || return 1 } proc package { cd $_builddir make DESTDIR="$pkgdir" install || return 1 } setvar md5sums = ""fcb09798114461955260e4d940db5987 gst-plugins-bad-0.10.23.tar.bz2 3843843f65ce46970c08f90dfcd0003b libvpx-1.4.0.patch"" setvar sha256sums = ""0eae7d1a1357ae8377fded6a1b42e663887beabe0e6cc336e2ef9ada42e11491 gst-plugins-bad-0.10.23.tar.bz2 6088e8935bf9873d75f229675560c7ef134186298074ebdff55b012a1b4056c9 libvpx-1.4.0.patch"" setvar sha512sums = ""da73c4dcfcfd5afe8414920d83b6b2d4634daacfca70653e850e9a7ec519275b9b1b76f46aa8b87c0c5dcd8696d5b05b7c54a0f66698725e7f726b81eb367ddb gst-plugins-bad-0.10.23.tar.bz2 399e4996945a75fa6f1a440dd204b191f1a6386757c62a63c1bd020958d54978b3e97a5cff3d8154ce103b15c7798d6dadb2fd8e049bce7b429459aaa128be70 libvpx-1.4.0.patch""