[arch-commits] Commit in (43 files)

Maxime Gauduin alucryd at archlinux.org
Sat Aug 20 09:06:35 UTC 2016


    Date: Saturday, August 20, 2016 @ 09:06:34
  Author: alucryd
Revision: 187141

steam-libs final round

Added:
  lib32-fluidsynth/
  lib32-fluidsynth/trunk/
  lib32-fluidsynth/trunk/PKGBUILD
  lib32-ladspa/
  lib32-ladspa/trunk/
  lib32-ladspa/trunk/PKGBUILD
  lib32-ladspa/trunk/fallback-ladspa-path.patch
  lib32-ladspa/trunk/fix-memleak-in-plugin-scanning.patch
  lib32-libmodplug/
  lib32-libmodplug/trunk/
  lib32-libmodplug/trunk/PKGBUILD
  lib32-libtiff4/
  lib32-libtiff4/trunk/
  lib32-libtiff4/trunk/PKGBUILD
  lib32-libwebp/
  lib32-libwebp/trunk/
  lib32-libwebp/trunk/PKGBUILD
  lib32-sdl2_image/
  lib32-sdl2_image/.SRCINFO
  lib32-sdl2_image/trunk/
  lib32-sdl2_image/trunk/PKGBUILD
  lib32-sdl2_mixer/
  lib32-sdl2_mixer/trunk/
  lib32-sdl2_mixer/trunk/PKGBUILD
  lib32-sdl_mixer/
  lib32-sdl_mixer/trunk/
  lib32-sdl_mixer/trunk/PKGBUILD
  lib32-sdl_mixer/trunk/sdl_mixer-double-free-crash.patch
  lib32-sdl_mixer/trunk/sdl_mixer-fluidsynth-volume.patch
  lib32-sdl_mixer/trunk/sdl_mixer-mikmod1.patch
  lib32-sdl_mixer/trunk/sdl_mixer-mikmod2.patch
  lib32-smpeg/
  lib32-smpeg/trunk/
  lib32-smpeg/trunk/PKGBUILD
  lib32-smpeg2/
  lib32-smpeg2/trunk/
  lib32-smpeg2/trunk/PKGBUILD
  libpng12/
  libpng12/trunk/
  libpng12/trunk/PKGBUILD
  libtiff4/
  libtiff4/trunk/
  libtiff4/trunk/PKGBUILD

---------------------------------------------------------+
 lib32-fluidsynth/trunk/PKGBUILD                         |   53 +++++++++++
 lib32-ladspa/trunk/PKGBUILD                             |   54 +++++++++++
 lib32-ladspa/trunk/fallback-ladspa-path.patch           |   27 +++++
 lib32-ladspa/trunk/fix-memleak-in-plugin-scanning.patch |   11 ++
 lib32-libmodplug/trunk/PKGBUILD                         |   42 ++++++++
 lib32-libtiff4/trunk/PKGBUILD                           |   42 ++++++++
 lib32-libwebp/trunk/PKGBUILD                            |   49 ++++++++++
 lib32-sdl2_image/.SRCINFO                               |   20 ++++
 lib32-sdl2_image/trunk/PKGBUILD                         |   43 ++++++++
 lib32-sdl2_mixer/trunk/PKGBUILD                         |   53 +++++++++++
 lib32-sdl_mixer/trunk/PKGBUILD                          |   66 +++++++++++++
 lib32-sdl_mixer/trunk/sdl_mixer-double-free-crash.patch |   32 ++++++
 lib32-sdl_mixer/trunk/sdl_mixer-fluidsynth-volume.patch |   23 ++++
 lib32-sdl_mixer/trunk/sdl_mixer-mikmod1.patch           |   67 ++++++++++++++
 lib32-sdl_mixer/trunk/sdl_mixer-mikmod2.patch           |   35 +++++++
 lib32-smpeg/trunk/PKGBUILD                              |   44 +++++++++
 lib32-smpeg2/trunk/PKGBUILD                             |   41 ++++++++
 libpng12/trunk/PKGBUILD                                 |   51 ++++++++++
 libtiff4/trunk/PKGBUILD                                 |   35 +++++++
 19 files changed, 788 insertions(+)

Added: lib32-fluidsynth/trunk/PKGBUILD
===================================================================
--- lib32-fluidsynth/trunk/PKGBUILD	                        (rev 0)
+++ lib32-fluidsynth/trunk/PKGBUILD	2016-08-20 09:06:34 UTC (rev 187141)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: carstene1ns <arch.carsten at teibes.de>
+# Contributor: Giuseppe Calà  <jiveaxe at gmail.com>
+# Contributor: Ray Rashif <schiv at archlinux.org>
+# Contributor: damir <damir at archlinux.org>
+
+pkgname=lib32-fluidsynth
+pkgver=1.1.6
+pkgrel=1
+pkgdesc='A real-time software synthesizer based on the SoundFont 2 specifications'
+arch=('x86_64')
+url='http://www.fluidsynth.org/'
+license=('LGPL')
+depends=('fluidsynth' 'lib32-alsa-lib' 'lib32-glib2' 'lib32-glibc' 'lib32-jack'
+         'lib32-libdbus' 'lib32-libpulse' 'lib32-libsndfile' 'lib32-readline')
+makedepends=('cmake' 'gcc-multilib' 'lib32-ladspa')
+optdepends=('pulseaudio: PulseAudio sound support')
+source=("http://downloads.sourceforge.net/fluidsynth/fluidsynth-$pkgver.tar.gz")
+sha256sums=('50853391d9ebeda9b4db787efb23f98b1e26b7296dd2bb5d0d96b5bccee2171c')
+
+prepare() {
+  cd fluidsynth-$pkgver
+
+  if [[ -d build ]]; then
+    rm -rf build
+  fi
+  mkdir build
+}
+
+build() {
+  cd fluidsynth-$pkgver/build
+
+  export CC='gcc -m32'
+  export CXX='g++ -m32'
+  export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
+
+  cmake .. \
+    -DCMAKE_BUILD_TYPE='Release' \
+    -DCMAKE_INSTALL_PREFIX='/usr' \
+    -DLIB_SUFFIX='32' \
+    -Denable-ladspa='ON'
+  make
+}
+
+package() {
+  cd fluidsynth-$pkgver/build
+
+  make DESTDIR="${pkgdir}" install
+  rm -rf "${pkgdir}"/usr/{include,share,bin}
+}
+
+# vim: ts=2 sw=2 et:


Property changes on: lib32-fluidsynth/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Added: lib32-ladspa/trunk/PKGBUILD
===================================================================
--- lib32-ladspa/trunk/PKGBUILD	                        (rev 0)
+++ lib32-ladspa/trunk/PKGBUILD	2016-08-20 09:06:34 UTC (rev 187141)
@@ -0,0 +1,54 @@
+# $Id$
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: carstene1ns <arch.carsten at teibes.de>
+
+pkgname=lib32-ladspa
+pkgver=1.13
+pkgrel=5
+pkgdesc="Linux Audio Developer's Simple Plugin API"
+arch=('x86_64')
+url='http://www.ladspa.org/'
+license=('LGPL')
+depends=('ladspa' 'lib32-gcc-libs' 'lib32-glibc')
+makedepends=('gcc-multilib')
+source=("https://github.com/OpenMandrivaAssociation/ladspa/raw/master/ladspa_sdk_${pkgver}.tgz"
+        'fallback-ladspa-path.patch'
+        'fix-memleak-in-plugin-scanning.patch')
+sha256sums=('b5ed3f4f253a0f6c1b7a1f4b8cf62376ca9f51d999650dd822650c43852d306b'
+            'e1b2dfbb522e9b897048df140e90c972ab383ede849a3b25a472d206eeb5a7c5'
+            '27be471df55951fa1cc53089631b167e2654436fc5b3a5773f357cb9f9e29005')
+
+prepare() {
+  cd ladspa_sdk/src
+
+  patch -Np2 -i ../../fallback-ladspa-path.patch
+  patch -Np1 -i ../../fix-memleak-in-plugin-scanning.patch
+
+  sed -e "s/mkdirhier/mkdir -p/;
+          s#-O3#${CFLAGS} ${LDFLAGS/,--as-needed/}#" \
+      -i makefile
+}
+
+build() {
+  cd ladspa_sdk/src
+
+
+  make \
+    CC='gcc -m32' \
+    CPP='g++ -m32' \
+    LD='ld -m elf_i386' \
+    targets
+}
+
+package() {
+  cd ladspa_sdk/src
+
+  make \
+    INSTALL_PLUGINS_DIR="${pkgdir}"/usr/lib32/ladspa/ \
+    INSTALL_INCLUDE_DIR="${pkgdir}"/usr/include/ \
+    INSTALL_BINARY_DIR="${pkgdir}"/usr/bin/ \
+    install
+  rm -rf "${pkgdir}"/usr/{bin,include}
+}
+
+# vim: ts=2 sw=2 et:


Property changes on: lib32-ladspa/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Added: lib32-ladspa/trunk/fallback-ladspa-path.patch
===================================================================
--- lib32-ladspa/trunk/fallback-ladspa-path.patch	                        (rev 0)
+++ lib32-ladspa/trunk/fallback-ladspa-path.patch	2016-08-20 09:06:34 UTC (rev 187141)
@@ -0,0 +1,27 @@
+diff -upr ladspa_sdk.orig/src/load.c ladspa_sdk/src/load.c
+--- ladspa_sdk.orig/src/load.c	2012-09-26 07:37:24.000000000 +0300
++++ ladspa_sdk/src/load.c	2012-09-26 07:38:58.000000000 +0300
+@@ -54,6 +54,8 @@ dlopenLADSPA(const char * pcFilename, in
+        to search. */
+ 
+     pcLADSPAPath = getenv("LADSPA_PATH");
++    if (! pcLADSPAPath)
++      pcLADSPAPath = "/usr/lib/ladspa";
+     
+     if (pcLADSPAPath) {
+ 
+diff -upr ladspa_sdk.orig/src/search.c ladspa_sdk/src/search.c
+--- ladspa_sdk.orig/src/search.c	2012-09-26 07:37:24.000000000 +0300
++++ ladspa_sdk/src/search.c	2012-09-26 07:38:46.000000000 +0300
+@@ -99,10 +99,7 @@ LADSPAPluginSearch(LADSPAPluginSearchCal
+ 
+   pcLADSPAPath = getenv("LADSPA_PATH");
+   if (!pcLADSPAPath) {
+-    fprintf(stderr,
+-	    "Warning: You do not have a LADSPA_PATH "
+-	    "environment variable set.\n");
+-    return;
++    pcLADSPAPath = "/usr/lib/ladspa";
+   }
+   
+   pcStart = pcLADSPAPath;

Added: lib32-ladspa/trunk/fix-memleak-in-plugin-scanning.patch
===================================================================
--- lib32-ladspa/trunk/fix-memleak-in-plugin-scanning.patch	                        (rev 0)
+++ lib32-ladspa/trunk/fix-memleak-in-plugin-scanning.patch	2016-08-20 09:06:34 UTC (rev 187141)
@@ -0,0 +1,11 @@
+--- src/search.c.orig	2008-11-07 00:38:18.000000000 +0100
++++ src/search.c	2008-11-07 00:50:51.000000000 +0100
+@@ -83,6 +83,8 @@
+ 	dlclose(pcFilename);
+ 	free(pcFilename);
+       }
++    } else {
++      free(pcFilename);
+     }
+   }
+ }

Added: lib32-libmodplug/trunk/PKGBUILD
===================================================================
--- lib32-libmodplug/trunk/PKGBUILD	                        (rev 0)
+++ lib32-libmodplug/trunk/PKGBUILD	2016-08-20 09:06:34 UTC (rev 187141)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: josephgbr <rafael.f.f1 at gmail.com>
+# Contributor: GordonGR <ntheo1979 at gmail.com>
+
+pkgname=lib32-libmodplug
+pkgver=0.8.8.5
+pkgrel=6
+pkgdesc='A MOD playing library'
+arch=('x86_64')
+url='http://modplug-xmms.sourceforge.net/'
+license=('custom')
+depends=('lib32-gcc-libs' 'lib32-glibc' 'libmodplug')
+makedepends=('gcc-multilib')
+source=("http://downloads.sourceforge.net/project/modplug-xmms/libmodplug/${pkgver}/libmodplug-${pkgver}.tar.gz")
+sha256sums=('77462d12ee99476c8645cb5511363e3906b88b33a6b54362b4dbc0f39aa2daad')
+
+build() {
+  cd libmodplug-${pkgver}
+
+  export CC='gcc -m32'
+  export CXX='g++ -m32'
+  export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
+
+  ./configure \
+    --prefix='/usr' \
+    --libdir='/usr/lib32'
+  make
+}
+
+package() {
+  cd libmodplug-${pkgver}
+
+  make DESTDIR="${pkgdir}" install
+  sed 's|includedir=${prefix}/include|includedir=${prefix}/include/libmodplug/|' -i "${pkgdir}"/usr/lib32/pkgconfig/libmodplug.pc
+  rm -rf "${pkgdir}"/usr/include
+
+  install -dm 755 "${pkgdir}"/usr/share/licenses
+  ln -s libmodplug "${pkgdir}"/usr/share/licenses/lib32-libmodplug
+}
+
+# vim: ts=2 sw=2 et:


Property changes on: lib32-libmodplug/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Added: lib32-libtiff4/trunk/PKGBUILD
===================================================================
--- lib32-libtiff4/trunk/PKGBUILD	                        (rev 0)
+++ lib32-libtiff4/trunk/PKGBUILD	2016-08-20 09:06:34 UTC (rev 187141)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: lorim <lorimz at gmail.com>
+
+pkgname=lib32-libtiff4
+pkgver=3.9.7
+pkgrel=1
+pkgdesc='Library for manipulation of TIFF images'
+arch=('x86_64')
+url='http://www.remotesensing.org/libtiff/'
+license=('custom')
+depends=('lib32-gcc-libs' 'lib32-glibc' 'lib32-libjpeg-turbo' 'lib32-zlib')
+makedepends=('gcc-multilib')
+source=("http://download.osgeo.org/libtiff/tiff-${pkgver}.tar.gz")
+sha256sums=('f5d64dd4ce61c55f5e9f6dc3920fbe5a41e02c2e607da7117a35eb5c320cef6a')
+
+build() {
+  cd tiff-${pkgver}
+
+  export CC='gcc -m32'
+  export CXX='g++ -m32'
+  export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
+
+  ./configure \
+    --prefix='/usr' \
+    --libdir='/usr/lib32'
+  make
+}
+
+package() {
+  cd tiff-${pkgver}
+
+  make DESTDIR="${pkgdir}" install
+  rm -rf "${pkgdir}"/usr/{bin,include,lib32/libtiff{,xx}.{so,a},share}
+  mv "${pkgdir}"/usr/lib32/libtiff.so.{3,4}
+  mv "${pkgdir}"/usr/lib32/libtiffxx.so.{3,4}
+
+  install -dm 755 "${pkgdir}"/usr/share/licenses
+  ln -s libtiff4 "${pkgdir}"/usr/share/licenses/lib32-libtiff4
+}
+
+# vim: ts=2 sw=2 et:


Property changes on: lib32-libtiff4/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Added: lib32-libwebp/trunk/PKGBUILD
===================================================================
--- lib32-libwebp/trunk/PKGBUILD	                        (rev 0)
+++ lib32-libwebp/trunk/PKGBUILD	2016-08-20 09:06:34 UTC (rev 187141)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: carstene1ns <arch.carsten at teibes.de>
+# Contributor: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Alexander Rødseth <rodseth at gmail.com>
+# Contributor: Jon Nordby <jononor at gmail.com>
+
+pkgname=lib32-libwebp
+pkgver=0.5.0
+pkgrel=1
+pkgdesc='WebP library'
+arch=('x86_64')
+url='https://developers.google.com/speed/webp/'
+license=('BSD')
+depends=('lib32-glibc' 'libwebp')
+makedepends=('gcc-multilib')
+source=("http://downloads.webmproject.org/releases/webp/libwebp-${pkgver}.tar.gz"{,.asc})
+sha256sums=('5cd3bb7b623aff1f4e70bd611dc8dbabbf7688fd5eb225b32e02e09e37dfb274'
+            'SKIP')
+validpgpkeys=('6B0E6B70976DE303EDF2F601F9C3D6BDB8232B5D') # WebP release signing key
+
+build() {
+  cd libwebp-$pkgver
+
+  export CC='gcc -m32'
+  export CXX='g++ -m32'
+  export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
+
+  ./configure \
+    --prefix='/usr' \
+    --libdir='/usr/lib32' \
+    --disable-static \
+    --enable-swap-16bit-csp \
+    --enable-experimental \
+    --enable-libwebp{mux,demux,decoder,extras}
+  make
+}
+
+package() {
+  cd libwebp-$pkgver
+
+  make DESTDIR="${pkgdir}" install
+  rm -rf "${pkgdir}"/usr/{bin,include,share}
+
+  install -dm 755 "${pkgdir}"/usr/share/licenses
+  ln -s libwebp "${pkgdir}"/usr/share/licenses/lib32-libwebp
+}
+
+# vim: ts=2 sw=2 et:


Property changes on: lib32-libwebp/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Added: lib32-sdl2_image/.SRCINFO
===================================================================
--- lib32-sdl2_image/.SRCINFO	                        (rev 0)
+++ lib32-sdl2_image/.SRCINFO	2016-08-20 09:06:34 UTC (rev 187141)
@@ -0,0 +1,20 @@
+pkgbase = lib32-sdl2_image
+	pkgdesc = A simple library to load images of various formats as SDL surfaces (Version 2, 32 bit)
+	pkgver = 2.0.1
+	pkgrel = 1
+	url = https://www.libsdl.org/projects/SDL_image/
+	arch = x86_64
+	license = MIT
+	makedepends = cmake
+	depends = sdl2_image>=2.0.1
+	depends = lib32-sdl2
+	depends = lib32-libpng
+	depends = lib32-libtiff
+	depends = lib32-libjpeg
+	depends = lib32-libwebp
+	conflicts = lib32-sdl2-image
+	source = https://www.libsdl.org/projects/SDL_image/release/SDL2_image-2.0.1.tar.gz
+	sha256sums = 3a3eafbceea5125c04be585373bfd8b3a18f259bd7eae3efc4e6d8e60e0d7f64
+
+pkgname = lib32-sdl2_image
+

Added: lib32-sdl2_image/trunk/PKGBUILD
===================================================================
--- lib32-sdl2_image/trunk/PKGBUILD	                        (rev 0)
+++ lib32-sdl2_image/trunk/PKGBUILD	2016-08-20 09:06:34 UTC (rev 187141)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: carstene1ns <arch.carsten at teibes.de>
+# Contributor: Jameson Pugh <imntreal at gmail.com>
+
+pkgname=lib32-sdl2_image
+pkgver=2.0.1
+pkgrel=1
+pkgdesc='A simple library to load images of various formats as SDL surfaces'
+arch=('x86_64')
+url='https://www.libsdl.org/projects/SDL_image/'
+license=('MIT')
+depends=('lib32-glibc' 'lib32-libjpeg' 'lib32-libpng' 'lib32-libtiff'
+         'lib32-sdl2' 'lib32-libwebp' 'sdl2_image')
+makedepends=('cmake')
+source=("https://www.libsdl.org/projects/SDL_image/release/SDL2_image-${pkgver}.tar.gz")
+sha256sums=('3a3eafbceea5125c04be585373bfd8b3a18f259bd7eae3efc4e6d8e60e0d7f64')
+
+build() {
+  cd SDL2_image-${pkgver}
+
+  export CC='gcc -m32'
+  export CXX='g++ -m32'
+  export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
+
+  ./configure \
+    --prefix='/usr' \
+    --libdir='/usr/lib32' \
+    --disable-static
+  make
+}
+
+package() {
+  cd SDL2_image-${pkgver}
+
+  make DESTDIR="${pkgdir}" install
+  rm -rf "${pkgdir}"/usr/include
+
+  install -dm 755 "${pkgdir}"/usr/share/licenses
+  ln -s sdl2_image "$pkgdir"/usr/share/licenses/lib32-sdl2_image
+}
+
+# vim: ts=2 sw=2 et:


Property changes on: lib32-sdl2_image/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Added: lib32-sdl2_mixer/trunk/PKGBUILD
===================================================================
--- lib32-sdl2_mixer/trunk/PKGBUILD	                        (rev 0)
+++ lib32-sdl2_mixer/trunk/PKGBUILD	2016-08-20 09:06:34 UTC (rev 187141)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: carstene1ns <arch.carsten at teibes.de>
+# Contributor: Jameson Pugh <imntreal at gmail.com>
+# Contributor: Sven-Hendrik Haase <sh at lutzhaase.com>
+
+pkgname=lib32-sdl2_mixer
+pkgver=2.0.1
+pkgrel=1
+pkgdesc='A simple multi-channel audio mixer'
+arch=('x86_64')
+url='https://www.libsdl.org/projects/SDL_mixer/'
+license=('MIT')
+depends=('lib32-flac' 'lib32-glibc' 'lib32-libmodplug' 'lib32-libvorbis'
+         'lib32-smpeg2' 'lib32-sdl2' 'sdl2_mixer')
+makedepends=('gcc-multilib' 'lib32-fluidsynth')
+optdepends=('lib32-fluidsynth: MIDI software synth, replaces built-in timidity')
+source=("https://www.libsdl.org/projects/SDL_mixer/release/SDL2_mixer-${pkgver}.tar.gz")
+sha256sums=('5a24f62a610249d744cbd8d28ee399d8905db7222bf3bdbc8a8b4a76e597695f')
+
+prepare() {
+  cd SDL2_mixer-${pkgver}
+
+  sed -e 's|/etc/timidity|/etc/timidity++|g;
+          s|/etc/timidity++.cfg|/etc/timidity++/timidity.cfg|g' \
+      -i timidity/config.h
+}
+
+build() {
+  cd SDL2_mixer-$pkgver
+
+  export CC='gcc -m32'
+  export CXX='g++ -m32'
+  export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
+
+  ./configure \
+    --prefix='/usr' \
+    --libdir='/usr/lib32' \
+    --disable-static
+  make
+}
+
+package() {
+  cd SDL2_mixer-$pkgver
+
+  make DESTDIR="${pkgdir}" install
+  rm -rf "${pkgdir}"/usr/include
+
+  install -dm 755 "${pkgdir}"/usr/share/licenses
+  ln -s sdl2_mixer "${pkgdir}"/usr/share/licenses/lib32-sdl2_mixer
+}
+
+# vim: ts=2 sw=2 et:


Property changes on: lib32-sdl2_mixer/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Added: lib32-sdl_mixer/trunk/PKGBUILD
===================================================================
--- lib32-sdl_mixer/trunk/PKGBUILD	                        (rev 0)
+++ lib32-sdl_mixer/trunk/PKGBUILD	2016-08-20 09:06:34 UTC (rev 187141)
@@ -0,0 +1,66 @@
+# $Id$
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: carstene1ns <arch.carsten at teibes.de>
+# Contributor: speps <speps at aur.archlinux.org>
+# Contributor: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: qwak <qwak at w8.pl>
+# Contributor: ThatGuyJon <theonereddragon at gmail.com>
+
+pkgname=lib32-sdl_mixer
+pkgver=1.2.12
+pkgrel=2
+pkgdesc='A simple multi-channel audio mixer'
+arch=('x86_64')
+url='http://www.libsdl.org/projects/SDL_mixer/'
+license=('custom')
+depends=('lib32-libmikmod' 'lib32-libvorbis' 'lib32-sdl' 'lib32-smpeg' 'sdl_mixer')
+makedepends=('gcc-multilib' 'lib32-fluidsynth')
+optdepends=('lib32-fluidsynth: MIDI software synth, replaces built-in timidity')
+source=("http://www.libsdl.org/projects/SDL_mixer/release/SDL_mixer-${pkgver}.tar.gz"
+        'sdl_mixer-mikmod1.patch'
+        'sdl_mixer-mikmod2.patch'
+        'sdl_mixer-fluidsynth-volume.patch'
+        'sdl_mixer-double-free-crash.patch')
+sha256sums=('1644308279a975799049e4826af2cfc787cad2abb11aa14562e402521f86992a'
+            'e0d36cd81083a0b033436b8f300cc4f4513a6043e57fea139afbade02dbe0de8'
+            'a0c5326b4363464159a38dc51badad984b65ce0fa4c3b1dd1ad5f73bc7b6c55e'
+            '4b6c567debf18c88398d4045a6e4ed0954f0e04cc61162ca907a83ddec17cd70'
+            'b707f5c8d1229d1612cc8a9f4e976f0a3b19ea40d7bd1d5bc1cbd5c9f8bca56d')
+
+prepare() {
+  cd SDL_mixer-${pkgver}
+
+  patch -Np1 -i ../sdl_mixer-mikmod1.patch
+  patch -Np1 -i ../sdl_mixer-mikmod2.patch
+  patch -Np1 -i ../sdl_mixer-fluidsynth-volume.patch
+  patch -Np1 -i ../sdl_mixer-double-free-crash.patch
+
+  sed -e '/CONFIG_FILE_ETC/s|/etc/timidity.cfg|/etc/timidity++/timidity.cfg|;
+          /DEFAULT_PATH/s|/etc/timidity|/etc/timidity++|;
+          /DEFAULT_PATH2/s|/usr/local/lib/timidity|/usr/lib/timidity|' \
+      -i timidity/config.h
+}
+
+build() {
+  cd SDL_mixer-${pkgver}
+
+  export CC='gcc -m32'
+  export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
+
+  ./configure \
+    --prefix='/usr' \
+    --libdir='/usr/lib32'
+  make
+}
+
+package() {
+  cd SDL_mixer-${pkgver}
+
+  make DESTDIR="${pkgdir}" install
+  rm -rf "${pkgdir}"/usr/include
+
+  install -dm 755 "${pkgdir}"/usr/share/licenses
+  ln -s sdl_mixer "${pkgdir}"/usr/share/licenses/lib32-sdl_mixer
+}
+
+# vim: ts=2 sw=2 et:


Property changes on: lib32-sdl_mixer/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Added: lib32-sdl_mixer/trunk/sdl_mixer-double-free-crash.patch
===================================================================
--- lib32-sdl_mixer/trunk/sdl_mixer-double-free-crash.patch	                        (rev 0)
+++ lib32-sdl_mixer/trunk/sdl_mixer-double-free-crash.patch	2016-08-20 09:06:34 UTC (rev 187141)
@@ -0,0 +1,32 @@
+
+# HG changeset patch
+# User Sam Lantinga <slouken at libsdl.org>
+# Date 1329087437 18000
+# Node ID 2d713670db9b832b0c5aa700824900bc1fc3c3cd
+# Parent  df72f22b4b411ad4b08f924329678aabd5ac97d6
+Fixed 1418 - crash on double free if loading WAV file failed
+
+diff -r df72f22b4b41 -r 2d713670db9b mixer.c
+--- a/mixer.c	Mon Jan 30 21:41:45 2012 -0500
++++ b/mixer.c	Sun Feb 12 17:57:17 2012 -0500
+@@ -610,13 +610,15 @@
+ 			break;
+ 		default:
+ 			SDL_SetError("Unrecognized sound file type");
+-			return(0);			
++			if ( freesrc ) {
++				SDL_RWclose(src);
++			}
++			loaded = NULL;
++			break;
+ 	}
+ 	if ( !loaded ) {
++		/* The individual loaders have closed src if needed */
+ 		SDL_free(chunk);
+-		if ( freesrc ) {
+-			SDL_RWclose(src);
+-		}
+ 		return(NULL);
+ 	}
+ 
+

Added: lib32-sdl_mixer/trunk/sdl_mixer-fluidsynth-volume.patch
===================================================================
--- lib32-sdl_mixer/trunk/sdl_mixer-fluidsynth-volume.patch	                        (rev 0)
+++ lib32-sdl_mixer/trunk/sdl_mixer-fluidsynth-volume.patch	2016-08-20 09:06:34 UTC (rev 187141)
@@ -0,0 +1,23 @@
+
+# HG changeset patch
+# User James Le Cuirot <chewi at aura-online.co.uk>
+# Date 1330896767 0
+# Node ID c92001a2c18f628698c58aa4e05a7335d10d0e9e
+# Parent  2d713670db9b832b0c5aa700824900bc1fc3c3cd
+Raise the maximum FluidSynth gain from 0.8 to 1.2 because apparently the former is too quiet in some cases.
+
+diff -r 2d713670db9b -r c92001a2c18f fluidsynth.c
+--- a/fluidsynth.c	Sun Feb 12 17:57:17 2012 -0500
++++ b/fluidsynth.c	Sun Mar 04 21:32:47 2012 +0000
+@@ -176,8 +176,8 @@
+ 
+ void fluidsynth_setvolume(FluidSynthMidiSong *song, int volume)
+ {
+-	/* FluidSynth's default is 0.2. Make 0.8 the maximum. */
+-	fluidsynth.fluid_synth_set_gain(song->synth, (float) (volume * 0.00625));
++	/* FluidSynth's default is 0.2. Make 1.2 the maximum. */
++	fluidsynth.fluid_synth_set_gain(song->synth, (float) (volume * 1.2 / MIX_MAX_VOLUME));
+ }
+ 
+ int fluidsynth_playsome(FluidSynthMidiSong *song, void *dest, int dest_len)
+

Added: lib32-sdl_mixer/trunk/sdl_mixer-mikmod1.patch
===================================================================
--- lib32-sdl_mixer/trunk/sdl_mixer-mikmod1.patch	                        (rev 0)
+++ lib32-sdl_mixer/trunk/sdl_mixer-mikmod1.patch	2016-08-20 09:06:34 UTC (rev 187141)
@@ -0,0 +1,67 @@
+
+# HG changeset patch
+# User Sam Lantinga <slouken at libsdl.org>
+# Date 1342998807 25200
+# Node ID 56cad6484b04f83c8d42428c755a046678506436
+# Parent  c92001a2c18f628698c58aa4e05a7335d10d0e9e
+Paul P Komkoff Jr fixed malloc/free mismatch in the MikMod driver
+
+diff -r c92001a2c18f -r 56cad6484b04 CHANGES
+--- a/CHANGES	Sun Mar 04 21:32:47 2012 +0000
++++ b/CHANGES	Sun Jul 22 16:13:27 2012 -0700
+@@ -1,3 +1,7 @@
++1.2.13:
++Paul P Komkoff Jr - Sun Jul 22 16:12:28 PDT 2012
++ * Fixed malloc/free mismatch in the MikMod driver
++
+ 1.2.12:
+ Sam Lantinga - Sat Jan 14 22:00:29 2012 -0500
+  * Fixed seek offset with SMPEG (was relative, should be absolute)
+diff -r c92001a2c18f -r 56cad6484b04 dynamic_mod.c
+--- a/dynamic_mod.c	Sun Mar 04 21:32:47 2012 +0000
++++ b/dynamic_mod.c	Sun Jul 22 16:13:27 2012 -0700
+@@ -93,6 +93,13 @@
+ 			SDL_UnloadObject(mikmod.handle);
+ 			return -1;
+ 		}
++		mikmod.MikMod_free =
++			(void (*)(void*))
++			SDL_LoadFunction(mikmod.handle, "MikMod_free");
++		if ( mikmod.MikMod_free == NULL ) {
++			SDL_UnloadObject(mikmod.handle);
++			return -1;
++		}
+ 		mikmod.Player_Active =
+ 			(BOOL (*)(void))
+ 			SDL_LoadFunction(mikmod.handle, "Player_Active");
+diff -r c92001a2c18f -r 56cad6484b04 dynamic_mod.h
+--- a/dynamic_mod.h	Sun Mar 04 21:32:47 2012 +0000
++++ b/dynamic_mod.h	Sun Jul 22 16:13:27 2012 -0700
+@@ -35,6 +35,7 @@
+ 	void (*MikMod_RegisterDriver)(struct MDRIVER*);
+ 	int* MikMod_errno;
+ 	char* (*MikMod_strerror)(int);
++	void (*MikMod_free)(void*);
+ 	BOOL (*Player_Active)(void);
+ 	void (*Player_Free)(MODULE*);
+ 	MODULE* (*Player_LoadGeneric)(MREADER*,int,BOOL);
+diff -r c92001a2c18f -r 56cad6484b04 music_mod.c
+--- a/music_mod.c	Sun Mar 04 21:32:47 2012 +0000
++++ b/music_mod.c	Sun Jul 22 16:13:27 2012 -0700
+@@ -109,13 +109,13 @@
+ 
+ 	list = mikmod.MikMod_InfoDriver();
+ 	if ( list )
+-	  free(list);
++	  mikmod.MikMod_free(list);
+ 	else
+ 	  mikmod.MikMod_RegisterDriver(mikmod.drv_nos);
+ 
+ 	list = mikmod.MikMod_InfoLoader();
+ 	if ( list )
+-	  free(list);
++	  mikmod.MikMod_free(list);
+ 	else
+ 	  mikmod.MikMod_RegisterAllLoaders();
+ 
+

Added: lib32-sdl_mixer/trunk/sdl_mixer-mikmod2.patch
===================================================================
--- lib32-sdl_mixer/trunk/sdl_mixer-mikmod2.patch	                        (rev 0)
+++ lib32-sdl_mixer/trunk/sdl_mixer-mikmod2.patch	2016-08-20 09:06:34 UTC (rev 187141)
@@ -0,0 +1,35 @@
+
+# HG changeset patch
+# User Sam Lantinga <slouken at libsdl.org>
+# Date 1343000017 25200
+# Node ID 2ebb0d016f277f7f643d8a66ed0e1099e10d1fba
+# Parent  56cad6484b04f83c8d42428c755a046678506436
+Fixed normal linking with libmikmod and linking with earlier versions of libmikmod.
+
+diff -r 56cad6484b04 -r 2ebb0d016f27 dynamic_mod.c
+--- a/dynamic_mod.c	Sun Jul 22 16:13:27 2012 -0700
++++ b/dynamic_mod.c	Sun Jul 22 16:33:37 2012 -0700
+@@ -97,8 +97,8 @@
+ 			(void (*)(void*))
+ 			SDL_LoadFunction(mikmod.handle, "MikMod_free");
+ 		if ( mikmod.MikMod_free == NULL ) {
+-			SDL_UnloadObject(mikmod.handle);
+-			return -1;
++			/* libmikmod 3.1 and earlier doesn't have it */
++			mikmod.MikMod_free = free;
+ 		}
+ 		mikmod.Player_Active =
+ 			(BOOL (*)(void))
+@@ -246,6 +246,11 @@
+ 		mikmod.MikMod_RegisterDriver = MikMod_RegisterDriver;
+ 		mikmod.MikMod_errno = &MikMod_errno;
+ 		mikmod.MikMod_strerror = MikMod_strerror;
++#if LIBMIKMOD_VERSION < ((3<<16)|(2<<8))
++		mikmod.MikMod_free = free;
++#else
++		mikmod.MikMod_free = MikMod_free;
++#endif
+ 		mikmod.Player_Active = Player_Active;
+ 		mikmod.Player_Free = Player_Free;
+ 		mikmod.Player_LoadGeneric = Player_LoadGeneric;
+

Added: lib32-smpeg/trunk/PKGBUILD
===================================================================
--- lib32-smpeg/trunk/PKGBUILD	                        (rev 0)
+++ lib32-smpeg/trunk/PKGBUILD	2016-08-20 09:06:34 UTC (rev 187141)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Llewelyn Trahaearn <WoefulDerelict at gmail.com>
+# Contributor: Claudio Kozicky <claudiokozicky at gmail.com>
+# Contributor: Celti <celticmadman at gmail.com>
+# Contributor: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Eric Belanger <eric at archlinux.org>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+
+pkgname=lib32-smpeg
+pkgver=0.4.5
+pkgrel=2
+pkgdesc='SDL MPEG Player Library'
+arch=('x86_64')
+url='http://icculus.org/smpeg/'
+license=('LGPL')
+depends=('lib32-gcc-libs' 'lib32-glibc' 'lib32-sdl' 'smpeg')
+makedepends=('gcc-multilib' 'lib32-glu' 'lib32-mesa' 'subversion')
+source=("smpeg::svn://svn.icculus.org/smpeg/tags/release_${pkgver//./_}")
+sha256sums=('SKIP')
+
+build() {
+  cd smpeg
+
+  export CC='gcc -m32'
+  export CXX='g++ -m32 -std=gnu++03'
+  export PKG_CONFIG_LIBDIR='/usr/lib32/pkgconfig'
+
+  ./autogen.sh
+  ./configure \
+    --prefix='/usr' \
+    --libdir='/usr/lib32' \
+    --disable-static
+  make
+}
+
+package() {
+  cd smpeg
+
+  make DESTDIR="${pkgdir}" install
+  rm -r "${pkgdir}/usr/"{bin,include,share}
+}
+
+# vim: ts=2 sw=2 et:


Property changes on: lib32-smpeg/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Added: lib32-smpeg2/trunk/PKGBUILD
===================================================================
--- lib32-smpeg2/trunk/PKGBUILD	                        (rev 0)
+++ lib32-smpeg2/trunk/PKGBUILD	2016-08-20 09:06:34 UTC (rev 187141)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: carstene1ns <arch.carsten at teibes.de>
+# Contributor: Sven-Hendrik Haase <sh at lutzhaase.com>
+
+pkgname=lib32-smpeg2
+pkgver=2.0.0
+pkgrel=1
+pkgdesc='SDL2 MPEG Player Library'
+arch=('x86_64')
+url='http://icculus.org/smpeg/'
+license=('LGPL')
+depends=('bash' 'lib32-gcc-libs' 'lib32-glibc' 'lib32-sdl2' 'smpeg2')
+makedepends=('subversion')
+source=("smpeg2::svn://svn.icculus.org/smpeg/tags/release_${pkgver//./_}")
+sha256sums=('SKIP')
+
+build() {
+  cd smpeg2
+
+  export CC='gcc -m32'
+  export CXX='g++ -m32 -std=gnu++03'
+  export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
+
+  ./autogen.sh
+  ./configure \
+    --prefix='/usr' \
+    --libdir='/usr/lib32' \
+    --disable-static
+  make
+}
+
+package() {
+  cd smpeg2
+
+  make DESTDIR="${pkgdir}" install
+  mv "${pkgdir}"/usr/bin/smpeg2-config{,-32}
+  rm -rf "${pkgdir}"/usr/{bin/plaympeg,share,include}
+}
+
+# vim: ts=2 sw=2 et:


Property changes on: lib32-smpeg2/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Added: libpng12/trunk/PKGBUILD
===================================================================
--- libpng12/trunk/PKGBUILD	                        (rev 0)
+++ libpng12/trunk/PKGBUILD	2016-08-20 09:06:34 UTC (rev 187141)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Arthur Zamarin <arthurzam at gmail.com>
+# Contributor: trya <tryagainprod at gmail.com>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+# Contributor: dorphell <dorphell at archlinux.org>
+# Contributor: Travis Willard <travis at archlinux.org>
+# Contributor: Douglas Soares de Andrade <douglas at archlinux.org>
+
+pkgname=libpng12
+pkgver=1.2.56
+pkgrel=1
+pkgdesc='A collection of routines used to create PNG format graphics files'
+arch=('i686' 'x86_64')
+url='http://www.libpng.org/pub/png/libpng.html'
+license=('custom')
+depends=('glibc' 'zlib')
+source=("http://sourceforge.net/projects/libpng/files/libpng-${pkgver}.tar.xz"
+        "http://sourceforge.net/projects/apng/files/libpng/libpng12/libpng-${pkgver}-apng.patch.gz")
+sha256sums=('24ce54581468b937734a6ecc86f7e121bc46a90d76a0d948dca08f32ee000dbe'
+            '454631947201483930c759ecb3741618258e8143db4ff13b0d938b4238bc8708')
+
+prepare() {
+  cd libpng-${pkgver}
+
+  patch -Np0 -i ../libpng-${pkgver}-apng.patch
+
+  libtoolize --force --copy
+  aclocal
+  autoconf
+  automake --add-missing
+}
+
+build() {
+  cd libpng-${pkgver}
+
+  ./configure \
+    --prefix='/usr'
+  make
+}
+
+package() {
+  cd libpng-${pkgver}
+
+  make DESTDIR="${pkgdir}" install
+  rm -rf "${pkgdir}"/usr/{bin,include,lib/{libpng.{a,so},pkgconfig},share}
+
+  install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/libpng12/
+}
+
+# vim: ts=2 sw=2 et:


Property changes on: libpng12/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Added: libtiff4/trunk/PKGBUILD
===================================================================
--- libtiff4/trunk/PKGBUILD	                        (rev 0)
+++ libtiff4/trunk/PKGBUILD	2016-08-20 09:06:34 UTC (rev 187141)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: lorim <lorimz at gmail.com>
+
+pkgname=libtiff4
+pkgver=3.9.7
+pkgrel=1
+pkgdesc='Library for manipulation of TIFF images'
+arch=('i686' 'x86_64')
+url='http://www.remotesensing.org/libtiff/'
+license=('custom')
+depends=('gcc-libs' 'glibc' 'libjpeg-turbo' 'zlib')
+source=("http://download.osgeo.org/libtiff/tiff-${pkgver}.tar.gz")
+sha256sums=('f5d64dd4ce61c55f5e9f6dc3920fbe5a41e02c2e607da7117a35eb5c320cef6a')
+
+build() {
+  cd tiff-${pkgver}
+
+  ./configure \
+    --prefix='/usr'
+  make
+}
+
+package() {
+  cd tiff-${pkgver}
+
+  make DESTDIR="${pkgdir}" install
+  rm -rf "${pkgdir}"/usr/{bin,include,lib/libtiff{,xx}.{so,a},share}
+  mv "${pkgdir}"/usr/lib/libtiff.so.{3,4}
+  mv "${pkgdir}"/usr/lib/libtiffxx.so.{3,4}
+
+  install -Dm 644 COPYRIGHT -t "${pkgdir}"/usr/share/licenses/libtiff4/
+}
+
+# vim: ts=2 sw=2 et:


Property changes on: libtiff4/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property



More information about the arch-commits mailing list