diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2015-04-22 13:32:49 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-04-22 14:01:08 +0000 |
commit | 1c29dfebbb839b34919dd02ceef8a2715f9ac3de (patch) | |
tree | 50c4df6f41a8b66175b51cc5984bd99e32280605 /main | |
parent | 55ad88b62424d0e27cbe724aa16360cb49f4dddd (diff) | |
download | aports-1c29dfebbb839b34919dd02ceef8a2715f9ac3de.tar.bz2 aports-1c29dfebbb839b34919dd02ceef8a2715f9ac3de.tar.xz |
main/gst-plugins-bad0.10: rebuild against libvpx-1.4.0
Diffstat (limited to 'main')
-rw-r--r-- | main/gst-plugins-bad0.10/APKBUILD | 20 | ||||
-rw-r--r-- | main/gst-plugins-bad0.10/libvpx-1.4.0.patch | 13 |
2 files changed, 28 insertions, 5 deletions
diff --git a/main/gst-plugins-bad0.10/APKBUILD b/main/gst-plugins-bad0.10/APKBUILD index c70b80892b..3cfed1adcb 100644 --- a/main/gst-plugins-bad0.10/APKBUILD +++ b/main/gst-plugins-bad0.10/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=gst-plugins-bad0.10 pkgver=0.10.23 -pkgrel=1 +pkgrel=2 pkgdesc="GStreamer bad plugins" url="http://gstreamer.freedesktop.org/" arch="all" @@ -14,12 +14,19 @@ makedepends="gst-plugins-base0.10-dev gstreamer0.10-dev xvidcore-dev bzip2-dev alsa-lib-dev libx11-dev sdl-dev libvpx-dev libdc1394-dev libmms-dev gsm-dev flite-dev orc-dev jasper-dev librsvg-dev" -source="http://gstreamer.freedesktop.org//src/gst-plugins-bad/gst-plugins-bad-$pkgver.tar.bz2" +source="http://gstreamer.freedesktop.org//src/gst-plugins-bad/gst-plugins-bad-$pkgver.tar.bz2 + libvpx-1.4.0.patch + " _builddir="$srcdir/gst-plugins-bad-$pkgver" prepare() { cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done update_config_sub || return 1 } @@ -46,6 +53,9 @@ package() { find "$pkgdir" -name '*.la' -delete } -md5sums="fcb09798114461955260e4d940db5987 gst-plugins-bad-0.10.23.tar.bz2" -sha256sums="0eae7d1a1357ae8377fded6a1b42e663887beabe0e6cc336e2ef9ada42e11491 gst-plugins-bad-0.10.23.tar.bz2" -sha512sums="da73c4dcfcfd5afe8414920d83b6b2d4634daacfca70653e850e9a7ec519275b9b1b76f46aa8b87c0c5dcd8696d5b05b7c54a0f66698725e7f726b81eb367ddb gst-plugins-bad-0.10.23.tar.bz2" +md5sums="fcb09798114461955260e4d940db5987 gst-plugins-bad-0.10.23.tar.bz2 +3843843f65ce46970c08f90dfcd0003b libvpx-1.4.0.patch" +sha256sums="0eae7d1a1357ae8377fded6a1b42e663887beabe0e6cc336e2ef9ada42e11491 gst-plugins-bad-0.10.23.tar.bz2 +6088e8935bf9873d75f229675560c7ef134186298074ebdff55b012a1b4056c9 libvpx-1.4.0.patch" +sha512sums="da73c4dcfcfd5afe8414920d83b6b2d4634daacfca70653e850e9a7ec519275b9b1b76f46aa8b87c0c5dcd8696d5b05b7c54a0f66698725e7f726b81eb367ddb gst-plugins-bad-0.10.23.tar.bz2 +399e4996945a75fa6f1a440dd204b191f1a6386757c62a63c1bd020958d54978b3e97a5cff3d8154ce103b15c7798d6dadb2fd8e049bce7b429459aaa128be70 libvpx-1.4.0.patch" diff --git a/main/gst-plugins-bad0.10/libvpx-1.4.0.patch b/main/gst-plugins-bad0.10/libvpx-1.4.0.patch new file mode 100644 index 0000000000..fc4c94098e --- /dev/null +++ b/main/gst-plugins-bad0.10/libvpx-1.4.0.patch @@ -0,0 +1,13 @@ +--- ./ext/vp8/gstvp8utils.h.orig ++++ ./ext/vp8/gstvp8utils.h +@@ -26,10 +26,6 @@ + G_BEGIN_DECLS + + /* Some compatibility defines for older libvpx versions */ +-#ifndef VPX_IMG_FMT_I420 +-#define VPX_IMG_FMT_I420 IMG_FMT_I420 +-#endif +- + #ifndef VPX_PLANE_Y + #define VPX_PLANE_Y PLANE_Y + #endif |