summaryrefslogtreecommitdiff
path: root/PKGBUILD
diff options
context:
space:
mode:
authorjc_gargma <jc_gargma@iserlohn-fortress.net>2021-10-18 05:52:06 -0700
committerjc_gargma <jc_gargma@iserlohn-fortress.net>2021-10-18 05:52:06 -0700
commit9128d59b7f6032d7879c91cc029d850b37c2e885 (patch)
tree24be55d77a0cdc6763d27a62b084c8703797dd21 /PKGBUILD
parentRebuild against fluidsynth 2.2 (diff)
downloadscummvm-9128d59b7f6032d7879c91cc029d850b37c2e885.tar.xz
Updated to 2.5.0
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD23
1 files changed, 4 insertions, 19 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 4aa4951..0b6ce91 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,7 +8,7 @@
# Arch version lacks additional optimization and hardening flags
pkgname=scummvm
-pkgver=2.2.0
+pkgver=2.5.0
pkgrel=2
pkgdesc="A 'virtual machine' for several classic graphical point-and-click adventure games."
arch=('x86_64')
@@ -17,24 +17,9 @@ 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://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')
+source=("https://downloads.scummvm.org/frs/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.xz")
+b2sums=('a5153280999e321be5bf7b56411c163d5ba1d4fb142fc900e1c3cb709d357d199d3764a94af57ab7218ee201bdbe6288adf222add9ffc941324b84d0e6954fe8')
-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 ${pkgname}-${pkgver}
# -flto=4 breaks compilation
@@ -42,9 +27,9 @@ build() {
export CXXFLAGS="$CXXFLAGS -O3 -fPIE"
export LDFLAGS="$LDFLAGS,-pie"
./configure \
- --enable-all-engines \
--enable-c++11 \
--enable-release \
+ --enable-all-engines \
--prefix=/usr
make
}