[arch-commits] Commit in sdl2_mixer/repos/extra-x86_64 (PKGBUILD PKGBUILD)

Sven-Hendrik Haase svenstaro at archlinux.org
Tue Jan 26 17:46:50 UTC 2021


    Date: Tuesday, January 26, 2021 @ 17:46:50
  Author: svenstaro
Revision: 406793

archrelease: copy trunk to extra-x86_64

Added:
  sdl2_mixer/repos/extra-x86_64/PKGBUILD
    (from rev 406792, sdl2_mixer/trunk/PKGBUILD)
Deleted:
  sdl2_mixer/repos/extra-x86_64/PKGBUILD

----------+
 PKGBUILD |   72 ++++++++++++++++++++++++++++++++-----------------------------
 1 file changed, 38 insertions(+), 34 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-01-26 17:46:45 UTC (rev 406792)
+++ PKGBUILD	2021-01-26 17:46:50 UTC (rev 406793)
@@ -1,34 +0,0 @@
-# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
-pkgname=sdl2_mixer
-pkgver=2.0.4
-pkgrel=5
-pkgdesc="A simple multi-channel audio mixer (Version 2)"
-arch=('x86_64')
-url="http://www.libsdl.org/projects/SDL_mixer"
-license=('MIT')
-depends=('sdl2' 'libvorbis' 'libmodplug' 'mpg123' 'flac' 'opusfile')
-makedepends=('fluidsynth')
-optdepends=('fluidsynth: MIDI software synth, replaces built-in timidity')
-source=("https://www.libsdl.org/projects/SDL_mixer/release/SDL2_mixer-${pkgver}.tar.gz")
-sha512sums=('98c56069640668aaececa63748de21fc8f243c7d06386c45c43d0ee472bbb2595ccda644d9886ce5b95c3a3dee3c0a96903cf9a89ddc18d38f041133470699a3')
-
-prepare() {
-  cd "${srcdir}/SDL2_mixer-${pkgver}/"
-
-  sed -i "s|/etc/timidity|/etc/timidity++|g" timidity/options.h
-  sed -i "s|/etc/timidity++.cfg|/etc/timidity++/timidity.cfg|g" timidity/options.h
-}
-
-build() {
-  cd "${srcdir}/SDL2_mixer-${pkgver}/"
-
-  ./configure --disable-static --prefix=/usr
-  make
-}
-
-package() {
-  cd "${srcdir}/SDL2_mixer-${pkgver}/"
-
-  make DESTDIR="${pkgdir}" install
-  install -Dm644 COPYING.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}

Copied: sdl2_mixer/repos/extra-x86_64/PKGBUILD (from rev 406792, sdl2_mixer/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-01-26 17:46:50 UTC (rev 406793)
@@ -0,0 +1,38 @@
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+pkgname=sdl2_mixer
+pkgver=2.0.4
+pkgrel=6
+pkgdesc="A simple multi-channel audio mixer (Version 2)"
+arch=('x86_64')
+url="http://www.libsdl.org/projects/SDL_mixer"
+license=('MIT')
+depends=('sdl2' 'libvorbis' 'libmodplug' 'mpg123' 'flac' 'opusfile')
+makedepends=('fluidsynth')
+optdepends=('fluidsynth: MIDI software synth, replaces built-in timidity')
+source=("https://www.libsdl.org/projects/SDL_mixer/release/SDL2_mixer-${pkgver}.tar.gz"
+        fix-fluidsynth-2.1.6.patch::https://hg.libsdl.org/SDL_mixer/raw-rev/b0afe341a91d)
+sha512sums=('98c56069640668aaececa63748de21fc8f243c7d06386c45c43d0ee472bbb2595ccda644d9886ce5b95c3a3dee3c0a96903cf9a89ddc18d38f041133470699a3'
+            '21e130a5116115f3cfa00ba6f3b0f2b816ed3abf071340d4b218a3e8dc79bb74b042faf15daa2f06c47f6bdc3737a2542708f070d0f48c53acd888e0436161fd')
+
+prepare() {
+  cd "${srcdir}/SDL2_mixer-${pkgver}/"
+
+  sed -i "s|/etc/timidity|/etc/timidity++|g" timidity/options.h
+  sed -i "s|/etc/timidity++.cfg|/etc/timidity++/timidity.cfg|g" timidity/options.h
+
+  patch -Np3 -i "${srcdir}/fix-fluidsynth-2.1.6.patch"
+}
+
+build() {
+  cd "${srcdir}/SDL2_mixer-${pkgver}/"
+
+  ./configure --disable-static --prefix=/usr
+  make
+}
+
+package() {
+  cd "${srcdir}/SDL2_mixer-${pkgver}/"
+
+  make DESTDIR="${pkgdir}" install
+  install -Dm644 COPYING.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}



More information about the arch-commits mailing list