aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-09-26 16:12:34 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-09-26 16:25:12 +0000
commitac78c96728fffafde4881f0888cfdacb617ea839 (patch)
tree09eeb59f82e61612d8fd733fe7b35b61c76e0ea2
parent4f429e6125c7bf6b165f7fef1aea92a1a0a0fc18 (diff)
downloadaports-ac78c96728fffafde4881f0888cfdacb617ea839.tar.bz2
aports-ac78c96728fffafde4881f0888cfdacb617ea839.tar.xz
main/gst-plugins-good1: upgrade to 1.2.0
-rw-r--r--main/gst-plugins-good1/APKBUILD21
-rw-r--r--main/gst-plugins-good1/uclibc-o_cloexec.patch10
2 files changed, 25 insertions, 6 deletions
diff --git a/main/gst-plugins-good1/APKBUILD b/main/gst-plugins-good1/APKBUILD
index 90ee38d419..6396fd86b3 100644
--- a/main/gst-plugins-good1/APKBUILD
+++ b/main/gst-plugins-good1/APKBUILD
@@ -1,6 +1,6 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gst-plugins-good1
-pkgver=1.0.10
+pkgver=1.2.0
pkgrel=0
pkgdesc="GStreamer Multimedia Framework Good Plugins"
url="http://gstreamer.freedesktop.org/"
@@ -39,13 +39,19 @@ makedepends="$depends_dev
replaces=
ldpath="/usr/lib/gstreamer-1.0"
-source="http://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-$pkgver.tar.xz"
-
+source="http://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-$pkgver.tar.xz
+ uclibc-o_cloexec.patch
+ "
_builddir="$srcdir"/gst-plugins-good-$pkgver
prepare() {
cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
}
build() {
@@ -72,6 +78,9 @@ package() {
find "$pkgdir" -name '*.la' -delete
}
-md5sums="6576c133d4a0faa904087e5d1b32ccc5 gst-plugins-good-1.0.10.tar.xz"
-sha256sums="c60342d6080ac6f794c5c2427dfbdee9140a2f67b82e7e945e286a2d416428ae gst-plugins-good-1.0.10.tar.xz"
-sha512sums="7b7d8cc4279500aac3bbf7e7d206f0519a28e92445f3925c2a2471f16277acc53026d0069aa025dd8a570b9890462806235ead8a2b0ed09bae0dc59eaf24f3dc gst-plugins-good-1.0.10.tar.xz"
+md5sums="df96825d4154940fd934aa0a95b40836 gst-plugins-good-1.2.0.tar.xz
+991c3409e953321ae46420f462d1d005 uclibc-o_cloexec.patch"
+sha256sums="2256a6b2744ea18d8810642cf9061a2f12f4b7eba87d3fbc98004262b4f0fdfa gst-plugins-good-1.2.0.tar.xz
+029d41e47d260b9d10797a7b0369519f8343100878e59a92e5f19c1b04457ee1 uclibc-o_cloexec.patch"
+sha512sums="153f0b249b42162af758de87329ad57a735e29bdac8f3821a1d0929fa2c9d939ce3fa5a4fb586184fc8e59e57c7207b0ad0e2f7b4106c826dd47eb0f40d36e3b gst-plugins-good-1.2.0.tar.xz
+c2731f079655fd40d781e7d28b6d4a8e9260d3fd7b7a69914aab72f8c850023e398fd228a6b9f2695f4190effc22a3a5d8b18ea7521412d712ecda15f6659808 uclibc-o_cloexec.patch"
diff --git a/main/gst-plugins-good1/uclibc-o_cloexec.patch b/main/gst-plugins-good1/uclibc-o_cloexec.patch
new file mode 100644
index 0000000000..91fa7b94c5
--- /dev/null
+++ b/main/gst-plugins-good1/uclibc-o_cloexec.patch
@@ -0,0 +1,10 @@
+--- ./sys/v4l2/gstv4l2bufferpool.c.orig 2013-09-26 15:06:24.538190075 +0000
++++ ./sys/v4l2/gstv4l2bufferpool.c 2013-09-26 15:08:34.062894231 +0000
+@@ -30,6 +30,7 @@
+ #include <string.h>
+ #include <unistd.h>
+ #if HAVE_DECL_V4L2_MEMORY_DMABUF
++#define __USE_GNU
+ #include <fcntl.h>
+ #endif
+