diff options
author | Danny Rawlins <monster.romster@gmail.com> | 2016-01-05 13:39:28 +1100 |
---|---|---|
committer | Danny Rawlins <monster.romster@gmail.com> | 2016-01-05 13:40:07 +1100 |
commit | 812ad5b69344622563b781ebd0eb1ed2ba3ee4f3 (patch) | |
tree | 1bbbef5e7b4af8f627dcafeb1d8039615b98933e /gst-plugins-bad-compat | |
parent | 798a80076cb0c00c621557f5c59ef3e68c9cb3d5 (diff) | |
download | contrib-812ad5b69344622563b781ebd0eb1ed2ba3ee4f3.tar.gz contrib-812ad5b69344622563b781ebd0eb1ed2ba3ee4f3.tar.xz |
gst-plugins-bad-compat: patch for libvpx
Diffstat (limited to 'gst-plugins-bad-compat')
-rw-r--r-- | gst-plugins-bad-compat/.md5sum | 1 | ||||
-rw-r--r-- | gst-plugins-bad-compat/Pkgfile | 7 | ||||
-rw-r--r-- | gst-plugins-bad-compat/drop-vpx-compat-defs.patch | 26 |
3 files changed, 32 insertions, 2 deletions
diff --git a/gst-plugins-bad-compat/.md5sum b/gst-plugins-bad-compat/.md5sum index 93b6510a8..f8b8a7f47 100644 --- a/gst-plugins-bad-compat/.md5sum +++ b/gst-plugins-bad-compat/.md5sum @@ -1 +1,2 @@ +476a02484af2e9bdc1cb4a703b531cec drop-vpx-compat-defs.patch e4822fa2cc933768e2998311a1565979 gst-plugins-bad-0.10.23.tar.xz diff --git a/gst-plugins-bad-compat/Pkgfile b/gst-plugins-bad-compat/Pkgfile index 9153ad413..656095338 100644 --- a/gst-plugins-bad-compat/Pkgfile +++ b/gst-plugins-bad-compat/Pkgfile @@ -6,12 +6,15 @@ name=gst-plugins-bad-compat version=0.10.23 -release=3 -source=(http://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-$version.tar.xz) +release=4 +source=(http://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-$version.tar.xz + drop-vpx-compat-defs.patch) build() { cd gst-plugins-bad-$version + patch -p1 -i $SRC/drop-vpx-compat-defs.patch + ./configure \ --prefix=/usr \ --mandir=/usr/man \ diff --git a/gst-plugins-bad-compat/drop-vpx-compat-defs.patch b/gst-plugins-bad-compat/drop-vpx-compat-defs.patch new file mode 100644 index 000000000..c7bec44e0 --- /dev/null +++ b/gst-plugins-bad-compat/drop-vpx-compat-defs.patch @@ -0,0 +1,26 @@ +--- gst-plugins-bad.orig/ext/vp8/gstvp8utils.h 2015-04-21 03:31:33.134952881 +0300 ++++ gst-plugins-bad/ext/vp8/gstvp8utils.h 2015-04-21 03:32:45.553520671 +0300 +@@ -25,23 +25,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 +- +-#ifndef VPX_PLANE_U +-#define VPX_PLANE_U PLANE_U +-#endif +- +-#ifndef VPX_PLANE_V +-#define VPX_PLANE_V PLANE_V +-#endif +- + const char * gst_vpx_error_name (vpx_codec_err_t status); + + G_END_DECLS |