summaryrefslogtreecommitdiffstats
path: root/package/gstreamer1
diff options
context:
space:
mode:
authorAdam Duskett <aduskett@gmail.com>2017-10-09 14:56:53 -0400
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-10-10 22:31:50 +0200
commit517f250333b6e80d50b1f83ca3461ed85c23036e (patch)
tree012acafb5f77fa418847471475a7cd76c6399556 /package/gstreamer1
parentb3b08f2c810e8d495aa80eac615306c2e998b0df (diff)
downloadbuildroot-517f250333b6e80d50b1f83ca3461ed85c23036e.tar.gz
buildroot-517f250333b6e80d50b1f83ca3461ed85c23036e.zip
gst1-plugins-bad: bump to 1.12.3
Also remove openjpeg-Fix-build-against-openjpeg-2.2.patch, merged upstreamm as commit https://cgit.freedesktop.org/gstreamer/gst-plugins-bad/patch/?id=15f24fef53a955c7c76fc966302cb0453732e657. Signed-off-by: Adam Duskett <Adamduskett@outlook.com> [Thomas: fix upstream commit reference, as noted by Peter Seiderer.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/gstreamer1')
-rw-r--r--package/gstreamer1/gst1-plugins-bad/0001-openjpeg-Fix-build-against-openjpeg-2.2.patch93
-rw-r--r--package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.hash4
-rw-r--r--package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk2
3 files changed, 3 insertions, 96 deletions
diff --git a/package/gstreamer1/gst1-plugins-bad/0001-openjpeg-Fix-build-against-openjpeg-2.2.patch b/package/gstreamer1/gst1-plugins-bad/0001-openjpeg-Fix-build-against-openjpeg-2.2.patch
deleted file mode 100644
index d9268bc9b6..0000000000
--- a/package/gstreamer1/gst1-plugins-bad/0001-openjpeg-Fix-build-against-openjpeg-2.2.patch
+++ /dev/null
@@ -1,93 +0,0 @@
-From daaf649bda7231fd0d760802232a36ba62a4ea2d Mon Sep 17 00:00:00 2001
-From: Clemens Lang <cal@macports.org>
-Date: Sun, 13 Aug 2017 21:17:18 +0200
-Subject: [PATCH] openjpeg: Fix build against openjpeg 2.2
-
-OpenJPEG 2.2 has some API changes and thus ships its headers in a new
-include path. Add a configure check (to both meson and autoconf) to
-detect the newer version of OpenJPEG and add conditional includes.
-
-Fix the autoconf test for OpenJPEG 2.1, which checked for HAVE_OPENJPEG,
-which was always set even for 2.0.
-
-https://bugzilla.gnome.org/show_bug.cgi?id=786250
-
-Upstream: https://cgit.freedesktop.org/gstreamer/gst-plugins-bad/patch/?id=15f24fef53a955c7c76fc966302cb0453732e657
-Signed-off-by: Peter Seiderer <ps.report@gmx.net>
----
- configure.ac | 7 ++++++-
- ext/openjpeg/gstopenjpeg.h | 4 +++-
- ext/openjpeg/meson.build | 21 +++++++++++++--------
- 3 files changed, 22 insertions(+), 10 deletions(-)
-
-diff --git a/configure.ac b/configure.ac
-index 30e26b8..c4f08c7 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -2813,8 +2813,13 @@ AG_GST_CHECK_FEATURE(OPENJPEG, [openjpeg library], openjpeg, [
- if test x"$HAVE_OPENJPEG" = x"yes"; then
- dnl minor API changes in v2.1
- AG_GST_PKG_CHECK_MODULES(OPENJPEG_2_1, libopenjp2 >= 2.1)
-- if test x"$HAVE_OPENJPEG" = x"yes"; then
-+ if test x"$HAVE_OPENJPEG_2_1" = x"yes"; then
- AC_DEFINE([HAVE_OPENJPEG_2_1], 1, [Define if OpenJPEG 2.1 is used])
-+ dnl include paths changed for v2.2
-+ AG_GST_PKG_CHECK_MODULES(OPENJPEG_2_2, libopenjp2 >= 2.2)
-+ if test x"$HAVE_OPENJPEG_2_2" = x"yes"; then
-+ AC_DEFINE([HAVE_OPENJPEG_2_2], 1, [Define if OpenJPEG 2.2 is used])
-+ fi
- fi
- else
- # Fallback to v1.5
-diff --git a/ext/openjpeg/gstopenjpeg.h b/ext/openjpeg/gstopenjpeg.h
-index 03ce52e..52410a4 100644
---- a/ext/openjpeg/gstopenjpeg.h
-+++ b/ext/openjpeg/gstopenjpeg.h
-@@ -38,7 +38,9 @@
- #define OPJ_CPRL CPRL
- #else
- #include <stdio.h>
--# ifdef HAVE_OPENJPEG_2_1
-+# if defined(HAVE_OPENJPEG_2_2)
-+# include <openjpeg-2.2/openjpeg.h>
-+# elif defined(HAVE_OPENJPEG_2_1)
- # include <openjpeg-2.1/openjpeg.h>
- # else
- # include <openjpeg-2.0/openjpeg.h>
-diff --git a/ext/openjpeg/meson.build b/ext/openjpeg/meson.build
-index d60974c..e9c416c 100644
---- a/ext/openjpeg/meson.build
-+++ b/ext/openjpeg/meson.build
-@@ -6,16 +6,21 @@ openjpeg_sources = [
-
- openjpeg_cargs = []
-
--# Check for 2.1, then 2.0
--openjpeg_dep = dependency('libopenjp2', version : '>=2.1', required : false)
-+# Check for 2.2, 2.1, then 2.0
-+openjpeg_dep = dependency('libopenjp2', version : '>=2.2', required : false)
- if openjpeg_dep.found()
-- openjpeg_cargs += ['-DHAVE_OPENJPEG_2_1']
-+ openjpeg_cargs += ['-DHAVE_OPENJPEG_2_2']
- else
-- openjpeg_dep = dependency('libopenjp2', required : false)
-- # Fallback to 1.5
-- if not openjpeg_dep.found()
-- openjpeg_dep = dependency('libopenjpeg1', required : false)
-- openjpeg_cargs += ['-DHAVE_OPENJPEG_1']
-+ openjpeg_dep = dependency('libopenjp2', version : '>=2.1', required : false)
-+ if openjpeg_dep.found()
-+ openjpeg_cargs += ['-DHAVE_OPENJPEG_2_1']
-+ else
-+ openjpeg_dep = dependency('libopenjp2', required : false)
-+ # Fallback to 1.5
-+ if not openjpeg_dep.found()
-+ openjpeg_dep = dependency('libopenjpeg1', required : false)
-+ openjpeg_cargs += ['-DHAVE_OPENJPEG_1']
-+ endif
- endif
- endif
-
---
-2.12.3
-
diff --git a/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.hash b/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.hash
index b34fb02b5e..e4b83ff11c 100644
--- a/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.hash
+++ b/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.hash
@@ -1,2 +1,2 @@
-From https://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-1.12.2.tar.xz.sha256sum
-sha256 9c2c7edde4f59d74eb414e0701c55131f562e5c605a3ce9b091754f106c09e37 gst-plugins-bad-1.12.2.tar.xz
+From https://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-1.12.3.tar.xz.sha256sum
+sha256 36d059761852bed0f1a7fcd3ef64a8aeecab95d2bca53cd6aa0f08054b1cbfec gst-plugins-bad-1.12.3.tar.xz
diff --git a/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk b/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk
index 8b707d5eb9..9f94148cfa 100644
--- a/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk
+++ b/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk
@@ -4,7 +4,7 @@
#
################################################################################
-GST1_PLUGINS_BAD_VERSION = 1.12.2
+GST1_PLUGINS_BAD_VERSION = 1.12.3
GST1_PLUGINS_BAD_SOURCE = gst-plugins-bad-$(GST1_PLUGINS_BAD_VERSION).tar.xz
GST1_PLUGINS_BAD_SITE = https://gstreamer.freedesktop.org/src/gst-plugins-bad
GST1_PLUGINS_BAD_INSTALL_STAGING = YES
OpenPOWER on IntegriCloud