Date: Friday, August 19, 2016 @ 13:57:41 Author: jgc Revision: 273963
archrelease: copy trunk to staging-i686, staging-x86_64 Added: gst-plugins-bad/repos/staging-i686/ gst-plugins-bad/repos/staging-i686/PKGBUILD (from rev 273962, gst-plugins-bad/trunk/PKGBUILD) gst-plugins-bad/repos/staging-i686/wildmidi-0.4.patch (from rev 273962, gst-plugins-bad/trunk/wildmidi-0.4.patch) gst-plugins-bad/repos/staging-x86_64/ gst-plugins-bad/repos/staging-x86_64/PKGBUILD (from rev 273962, gst-plugins-bad/trunk/PKGBUILD) gst-plugins-bad/repos/staging-x86_64/wildmidi-0.4.patch (from rev 273962, gst-plugins-bad/trunk/wildmidi-0.4.patch) -----------------------------------+ staging-i686/PKGBUILD | 55 ++++++++++++++++++++++++++++++++++++ staging-i686/wildmidi-0.4.patch | 24 +++++++++++++++ staging-x86_64/PKGBUILD | 55 ++++++++++++++++++++++++++++++++++++ staging-x86_64/wildmidi-0.4.patch | 24 +++++++++++++++ 4 files changed, 158 insertions(+) Copied: gst-plugins-bad/repos/staging-i686/PKGBUILD (from rev 273962, gst-plugins-bad/trunk/PKGBUILD) =================================================================== --- staging-i686/PKGBUILD (rev 0) +++ staging-i686/PKGBUILD 2016-08-19 13:57:41 UTC (rev 273963) @@ -0,0 +1,55 @@ +# $Id$ +# Maintainer: Jan Alexander Steffens (heftig) <jan.steff...@gmail.com> +# Contributor: Jan de Groot <j...@archlinux.org> + +pkgname=gst-plugins-bad +pkgver=1.8.3 +pkgrel=1 +pkgdesc="GStreamer Multimedia Framework Bad Plugins" +arch=(i686 x86_64) +license=(LGPL) +url="http://gstreamer.freedesktop.org/" +depends=(mjpegtools gst-plugins-base-libs curl chromaprint libmms faad2 faac celt libdca + soundtouch spandsp libdvdnav libmodplug libgme wayland neon libofa fluidsynth + openjpeg2 libwebp libsrtp gnutls wildmidi glu sbc rtmpdump libgudev graphene) +makedepends=(schroedinger libexif libdvdread libvdpau libmpeg2 python valgrind wildmidi librsvg + gobject-introspection gtk-doc gtk3 clutter libtiger ladspa openal libusb + qt5-declarative qt5-x11extras qt5-wayland vulkan-headers vulkan-icd-loader + zbar) +options=(!emptydirs) +source=(${url}/src/$pkgname/$pkgname-$pkgver.tar.xz + wildmidi-0.4.patch) +sha256sums=('7899fcb18e6a1af2888b19c90213af018a57d741c6e72ec56b133bc73ec8509b' + 'b234c5d1a8b33342d9f807a46c26623e21f3d1b33a9b2903a41fadd53e0cac47') + +prepare() { + cd $pkgname-$pkgver + patch -Np1 -i ../wildmidi-0.4.patch + autoreconf -vi +} + +build() { + cd $pkgname-$pkgver + + ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ + --disable-static --enable-experimental --enable-gtk-doc \ + --with-package-name="GStreamer Bad Plugins (Arch Linux)" \ + --with-package-origin="http://www.archlinux.org/" \ + --with-gtk=3.0 + + # https://bugzilla.gnome.org/show_bug.cgi?id=655517 + sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool + + make +} + +check() { + cd $pkgname-$pkgver + # don't have a camera for the camerabin test + make -k check || : +} + +package() { + cd $pkgname-$pkgver + make DESTDIR="${pkgdir}" install +} Copied: gst-plugins-bad/repos/staging-i686/wildmidi-0.4.patch (from rev 273962, gst-plugins-bad/trunk/wildmidi-0.4.patch) =================================================================== --- staging-i686/wildmidi-0.4.patch (rev 0) +++ staging-i686/wildmidi-0.4.patch 2016-08-19 13:57:41 UTC (rev 273963) @@ -0,0 +1,24 @@ +From 04199db2aeea966c2c879b1764427c87433570f1 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= <sebast...@centricular.com> +Date: Tue, 16 Aug 2016 10:37:28 +0300 +Subject: wildmidi: Fix compilation with wildmidi 0.4 + +Old versions used char* for the data, new versions use int8_t*. They're often +not the same and differ in signedness. + +diff --git a/ext/timidity/gstwildmidi.c b/ext/timidity/gstwildmidi.c +index 3e82ca2..f52ea9d 100644 +--- a/ext/timidity/gstwildmidi.c ++++ b/ext/timidity/gstwildmidi.c +@@ -672,7 +672,7 @@ gst_wildmidi_get_buffer (GstWildmidi * wildmidi) + gst_buffer_map (buffer, &info, GST_MAP_READWRITE); + + GST_OBJECT_LOCK (wildmidi); +- size = WildMidi_GetOutput (wildmidi->song, (char *) info.data, ++ size = WildMidi_GetOutput (wildmidi->song, (gpointer) info.data, + (unsigned long int) info.size); + GST_OBJECT_UNLOCK (wildmidi); + +-- +cgit v0.10.2 + Copied: gst-plugins-bad/repos/staging-x86_64/PKGBUILD (from rev 273962, gst-plugins-bad/trunk/PKGBUILD) =================================================================== --- staging-x86_64/PKGBUILD (rev 0) +++ staging-x86_64/PKGBUILD 2016-08-19 13:57:41 UTC (rev 273963) @@ -0,0 +1,55 @@ +# $Id$ +# Maintainer: Jan Alexander Steffens (heftig) <jan.steff...@gmail.com> +# Contributor: Jan de Groot <j...@archlinux.org> + +pkgname=gst-plugins-bad +pkgver=1.8.3 +pkgrel=1 +pkgdesc="GStreamer Multimedia Framework Bad Plugins" +arch=(i686 x86_64) +license=(LGPL) +url="http://gstreamer.freedesktop.org/" +depends=(mjpegtools gst-plugins-base-libs curl chromaprint libmms faad2 faac celt libdca + soundtouch spandsp libdvdnav libmodplug libgme wayland neon libofa fluidsynth + openjpeg2 libwebp libsrtp gnutls wildmidi glu sbc rtmpdump libgudev graphene) +makedepends=(schroedinger libexif libdvdread libvdpau libmpeg2 python valgrind wildmidi librsvg + gobject-introspection gtk-doc gtk3 clutter libtiger ladspa openal libusb + qt5-declarative qt5-x11extras qt5-wayland vulkan-headers vulkan-icd-loader + zbar) +options=(!emptydirs) +source=(${url}/src/$pkgname/$pkgname-$pkgver.tar.xz + wildmidi-0.4.patch) +sha256sums=('7899fcb18e6a1af2888b19c90213af018a57d741c6e72ec56b133bc73ec8509b' + 'b234c5d1a8b33342d9f807a46c26623e21f3d1b33a9b2903a41fadd53e0cac47') + +prepare() { + cd $pkgname-$pkgver + patch -Np1 -i ../wildmidi-0.4.patch + autoreconf -vi +} + +build() { + cd $pkgname-$pkgver + + ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ + --disable-static --enable-experimental --enable-gtk-doc \ + --with-package-name="GStreamer Bad Plugins (Arch Linux)" \ + --with-package-origin="http://www.archlinux.org/" \ + --with-gtk=3.0 + + # https://bugzilla.gnome.org/show_bug.cgi?id=655517 + sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool + + make +} + +check() { + cd $pkgname-$pkgver + # don't have a camera for the camerabin test + make -k check || : +} + +package() { + cd $pkgname-$pkgver + make DESTDIR="${pkgdir}" install +} Copied: gst-plugins-bad/repos/staging-x86_64/wildmidi-0.4.patch (from rev 273962, gst-plugins-bad/trunk/wildmidi-0.4.patch) =================================================================== --- staging-x86_64/wildmidi-0.4.patch (rev 0) +++ staging-x86_64/wildmidi-0.4.patch 2016-08-19 13:57:41 UTC (rev 273963) @@ -0,0 +1,24 @@ +From 04199db2aeea966c2c879b1764427c87433570f1 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= <sebast...@centricular.com> +Date: Tue, 16 Aug 2016 10:37:28 +0300 +Subject: wildmidi: Fix compilation with wildmidi 0.4 + +Old versions used char* for the data, new versions use int8_t*. They're often +not the same and differ in signedness. + +diff --git a/ext/timidity/gstwildmidi.c b/ext/timidity/gstwildmidi.c +index 3e82ca2..f52ea9d 100644 +--- a/ext/timidity/gstwildmidi.c ++++ b/ext/timidity/gstwildmidi.c +@@ -672,7 +672,7 @@ gst_wildmidi_get_buffer (GstWildmidi * wildmidi) + gst_buffer_map (buffer, &info, GST_MAP_READWRITE); + + GST_OBJECT_LOCK (wildmidi); +- size = WildMidi_GetOutput (wildmidi->song, (char *) info.data, ++ size = WildMidi_GetOutput (wildmidi->song, (gpointer) info.data, + (unsigned long int) info.size); + GST_OBJECT_UNLOCK (wildmidi); + +-- +cgit v0.10.2 +