Date: Friday, December 30, 2022 @ 08:53:19
Author: svenstaro
Revision: 465075
archrelease: copy trunk to extra-x86_64
Added:
sdl2_mixer/repos/extra-x86_64/PKGBUILD
(from rev 465074, sdl2_mixer/trunk/PKGBUILD)
sdl2_mixer/repos/extra-x86_64/keys/
Deleted:
sdl2_mixer/repos/extra-x86_64/PKGBUILD
sdl2_mixer/repos/extra-x86_64/keys/
----------+
PKGBUILD | 61 ++++++++++++++++++++++++++++++++-----------------------------
1 file changed, 32 insertions(+), 29 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-12-30 08:53:09 UTC (rev 465074)
+++ PKGBUILD 2022-12-30 08:53:19 UTC (rev 465075)
@@ -1,29 +0,0 @@
-# Maintainer: Sven-Hendrik Haase <[email protected]>
-pkgname=sdl2_mixer
-pkgver=2.6.2
-pkgrel=1
-pkgdesc="A simple multi-channel audio mixer (Version 2)"
-arch=('x86_64')
-url="https://github.com/libsdl-org/SDL_mixer"
-license=('MIT')
-depends=('sdl2' 'libvorbis' 'libmodplug' 'mpg123' 'flac' 'opusfile')
-makedepends=('fluidsynth')
-optdepends=('fluidsynth: MIDI software synth, replaces built-in timidity')
-source=("https://github.com/libsdl-org/SDL_mixer/releases/download/release-${pkgver}/SDL2_mixer-${pkgver}.tar.gz"{,.sig})
-sha512sums=('16baa9d8b345bf0224538cbfb2ae9fc5d3deea2b454f41a98006c938fe7a65d5a8c84e28a76f98a4dd971c4fe5cf0219d8bf73331cf11f2702e01600eb197658'
- 'SKIP')
-validpgpkeys=('1528635D8053A57F77D1E08630A59377A7763BE6')
-
-build() {
- cd "${srcdir}/SDL2_mixer-${pkgver}/"
-
- ./configure --disable-static --prefix=/usr
- make
-}
-
-package() {
- cd "${srcdir}/SDL2_mixer-${pkgver}/"
-
- make DESTDIR="${pkgdir}" install
- install -Dm644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
Copied: sdl2_mixer/repos/extra-x86_64/PKGBUILD (from rev 465074,
sdl2_mixer/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-12-30 08:53:19 UTC (rev 465075)
@@ -0,0 +1,32 @@
+# Maintainer: Sven-Hendrik Haase <[email protected]>
+pkgname=sdl2_mixer
+pkgver=2.6.2
+pkgrel=2
+pkgdesc="A simple multi-channel audio mixer (Version 2)"
+arch=('x86_64')
+url="https://github.com/libsdl-org/SDL_mixer"
+license=('MIT')
+depends=('sdl2' 'libvorbis' 'libmodplug' 'mpg123' 'flac' 'opusfile')
+makedepends=('fluidsynth')
+optdepends=('fluidsynth: MIDI software synth, replaces built-in timidity')
+source=("https://github.com/libsdl-org/SDL_mixer/releases/download/release-${pkgver}/SDL2_mixer-${pkgver}.tar.gz"{,.sig})
+sha512sums=('16baa9d8b345bf0224538cbfb2ae9fc5d3deea2b454f41a98006c938fe7a65d5a8c84e28a76f98a4dd971c4fe5cf0219d8bf73331cf11f2702e01600eb197658'
+ 'SKIP')
+validpgpkeys=('1528635D8053A57F77D1E08630A59377A7763BE6')
+
+build() {
+ cd "${srcdir}/SDL2_mixer-${pkgver}/"
+
+ # Fix https://bugs.archlinux.org/task/38428
+ sed -i "s|/etc/timidity.cfg|/etc/timidity/timidity.cfg|g"
src/codecs/music_timidity.c
+
+ ./configure --disable-static --prefix=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}/SDL2_mixer-${pkgver}/"
+
+ make DESTDIR="${pkgdir}" install
+ install -Dm644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}