forked from ports/contrib
gst-plugins-bad-compat: patch for libvpx
This commit is contained in:
parent
798a80076c
commit
812ad5b693
@ -1 +1,2 @@
|
||||
476a02484af2e9bdc1cb4a703b531cec drop-vpx-compat-defs.patch
|
||||
e4822fa2cc933768e2998311a1565979 gst-plugins-bad-0.10.23.tar.xz
|
||||
|
@ -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 \
|
||||
|
26
gst-plugins-bad-compat/drop-vpx-compat-defs.patch
Normal file
26
gst-plugins-bad-compat/drop-vpx-compat-defs.patch
Normal file
@ -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
|
Loading…
x
Reference in New Issue
Block a user