summaryrefslogtreecommitdiff
path: root/PKGBUILD
diff options
context:
space:
mode:
authorjc_gargma <jc_gargma@iserlohn-fortress.net>2021-08-03 07:13:32 -0700
committerjc_gargma <jc_gargma@iserlohn-fortress.net>2021-08-03 07:13:32 -0700
commitf59ec685478b54493567fb474c09a9f0909b92f9 (patch)
tree9df085d28208ba9581bc8a79e6903b03616c9d2b /PKGBUILD
parentUpdated to 2.2.0 (diff)
downloadscummvm-f59ec685478b54493567fb474c09a9f0909b92f9.tar.xz
Rebuild against fluidsynth 2.2
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD25
1 files changed, 20 insertions, 5 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 4caec44..4aa4951 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,7 +9,7 @@
pkgname=scummvm
pkgver=2.2.0
-pkgrel=1
+pkgrel=2
pkgdesc="A 'virtual machine' for several classic graphical point-and-click adventure games."
arch=('x86_64')
license=('GPL')
@@ -17,11 +17,26 @@ url="http://www.scummvm.org/"
depends=('libpng' 'libtheora' 'sdl2' 'sdl2_net' 'fluidsynth' 'flac' 'faad2' 'libvorbis' 'libmad' 'freetype2'
'libgl' 'glu' 'libjpeg-turbo' 'libmpeg2' 'curl' 'a52dec')
makedepends=('mesa')
-source=("https://scummvm.org/frs/scummvm/${pkgver}/${pkgname}-${pkgver}.tar.xz")
-b2sums=('b44a07d7ad6747b136465f81122464f02e5cc655c205d6f4424555311563f8ceaa8072972d05512af85d18fabba78d5ea9396ea314581776c1ef8d88ca6ab81b')
+source=("https://downloads.scummvm.org/frs/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.xz"
+ "${pkgname}-2.2.0-fluidsynth_loghandler.patch::https://github.com/scummvm/scummvm/pull/2729.patch"
+ "${pkgname}-2.2.0-fluidsynth_loghandler_fix.patch::https://github.com/scummvm/scummvm/commit/a3bc5d64b8c4041326c8a214c47f9a206fb8b693.patch"
+ "${pkgname}-2.2.0-fluidsynth2.0.patch::https://github.com/scummvm/scummvm/commit/6ef406ac20a68f53e66bb98a0c9842dc9553da07.patch"
+ "${pkgname}-2.2.0-fluidsynth2.2.patch::https://github.com/scummvm/scummvm/pull/2915.patch")
+b2sums=('b44a07d7ad6747b136465f81122464f02e5cc655c205d6f4424555311563f8ceaa8072972d05512af85d18fabba78d5ea9396ea314581776c1ef8d88ca6ab81b'
+ '230c0b3dbd5b72772e72da40015b8ca23783dae547dfbab5597d46b43c3873799fb8b830d6926b88de29ec0e3f6da902e2315db7cc56d32cc488fc80eaf5bcfa'
+ '17cd24ba5a6c6edfc3f8b7cc9e5eb5a7d1a3829549eab3770ec43f5e710c964e8a993260017ab0c482c91d059cca9a39fa0ac9037762a383e1d7575e8c2cb0f4'
+ '0b9e4d7e49f5b60ecf00ab97b4e0074d1ad17c3044d5d01b0e49f44bd5131e9e14779d696cec7e920703fb273c0d86ff4b6871ec2aa6515720ac0cf2dd2414ae'
+ 'c5c1f438efb17d5cbb8cb48193d57dd324aca3fa03efe6c165f6689fd3f4daf9fa8c9d6239299c4c7c0e59f499ec0a295dd060a731c99b69cf1647898fd770a5')
+prepare() {
+ cd ${pkgname}-${pkgver}
+ patch -Np1 -i ../${pkgname}-2.2.0-fluidsynth_loghandler.patch
+ patch -Np1 -i ../${pkgname}-2.2.0-fluidsynth_loghandler_fix.patch
+ patch -Np1 -i ../${pkgname}-2.2.0-fluidsynth2.0.patch
+ patch -Np1 -i ../${pkgname}-2.2.0-fluidsynth2.2.patch
+}
build() {
- cd "${srcdir}"/${pkgname}-${pkgver}
+ cd ${pkgname}-${pkgver}
# -flto=4 breaks compilation
export CFLAGS="$CFLAGS -O3 -fPIE"
export CXXFLAGS="$CXXFLAGS -O3 -fPIE"
@@ -35,7 +50,7 @@ build() {
}
package() {
- cd "${srcdir}"/${pkgname}-${pkgver}
+ cd ${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" install
install -Dm644 dists/${pkgname}.desktop "${pkgdir}"/usr/share/applications/${pkgname}.desktop
}