[arch-commits] Commit in lib32-sdl2_mixer (3 files)

Maxime Gauduin alucryd at archlinux.org
Sat Aug 20 09:12:19 UTC 2016


    Date: Saturday, August 20, 2016 @ 09:12:18
  Author: alucryd
Revision: 187150

archrelease: copy trunk to multilib-x86_64

Added:
  lib32-sdl2_mixer/repos/
  lib32-sdl2_mixer/repos/multilib-x86_64/
  lib32-sdl2_mixer/repos/multilib-x86_64/PKGBUILD
    (from rev 187149, lib32-sdl2_mixer/trunk/PKGBUILD)

----------+
 PKGBUILD |   53 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 53 insertions(+)

Copied: lib32-sdl2_mixer/repos/multilib-x86_64/PKGBUILD (from rev 187149, lib32-sdl2_mixer/trunk/PKGBUILD)
===================================================================
--- repos/multilib-x86_64/PKGBUILD	                        (rev 0)
+++ repos/multilib-x86_64/PKGBUILD	2016-08-20 09:12:18 UTC (rev 187150)
@@ -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:



More information about the arch-commits mailing list