summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD13
2 files changed, 13 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a00133b734c0..381e9dcb0ee0 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = mingw-w64-gst-plugins-bad
pkgdesc = GStreamer Multimedia Framework Bad Plugins (mingw-w64)
pkgver = 1.16.2
- pkgrel = 1
+ pkgrel = 2
url = http://gstreamer.freedesktop.org/
arch = any
license = LGPL
@@ -42,7 +42,9 @@ pkgbase = mingw-w64-gst-plugins-bad
options = !buildflags
options = staticlibs
source = http://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-1.16.2.tar.xz
+ source = https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/merge_requests/939.diff
sha256sums = f1cb7aa2389569a5343661aae473f0a940a90b872001824bc47fa8072a041e74
+ sha256sums = 3a3544466e928679f90009cb25fa5f86536dcb45c1b7f6b8ea7d480cec165be0
pkgname = mingw-w64-gst-plugins-bad
diff --git a/PKGBUILD b/PKGBUILD
index 90b6523a71e9..ff4bee04bd26 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: drakkan <nicola.murino at gmail dot com>
pkgname=mingw-w64-gst-plugins-bad
pkgver=1.16.2
-pkgrel=1
+pkgrel=2
pkgdesc="GStreamer Multimedia Framework Bad Plugins (mingw-w64)"
arch=(any)
url="http://gstreamer.freedesktop.org/"
@@ -26,11 +26,18 @@ optdepends=(
)
options=('!strip' '!buildflags' 'staticlibs')
-source=(${url}src/gst-plugins-bad/gst-plugins-bad-${pkgver}.tar.xz)
-sha256sums=('f1cb7aa2389569a5343661aae473f0a940a90b872001824bc47fa8072a041e74')
+source=(${url}src/gst-plugins-bad/gst-plugins-bad-${pkgver}.tar.xz
+ "https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/merge_requests/939.diff")
+sha256sums=('f1cb7aa2389569a5343661aae473f0a940a90b872001824bc47fa8072a041e74'
+ '3a3544466e928679f90009cb25fa5f86536dcb45c1b7f6b8ea7d480cec165be0')
_architectures="i686-w64-mingw32 x86_64-w64-mingw32"
+prepare() {
+ cd "${srcdir}/gst-plugins-bad-${pkgver}"
+ patch -Np1 -i ../939.diff
+}
+
build() {
cd "${srcdir}/gst-plugins-bad-${pkgver}"
for _arch in $_architectures; do