diff options
author | François Magimel | 2015-08-06 15:26:50 +0200 |
---|---|---|
committer | François Magimel | 2015-08-06 15:26:50 +0200 |
commit | 2b9a8acf51f4c622aff4dec97b1ad82a8c5d6c56 (patch) | |
tree | 1a59a138f7d1f94081b758aea9881c3db70c4784 | |
parent | dac5e40d21a9b6ef51b0a5b0798bd2b7cf7c22a0 (diff) | |
download | aur-2b9a8acf51f4c622aff4dec97b1ad82a8c5d6c56.tar.gz |
Fix: add some manual patches to the version 3.121
There were some patches of the version 1.121 that have been manually
added to the PKGBUILD:
- @8cdf04: "PIL import fix."
- @19d39b3: "NewCreature's fix for Sysex events crashing the game"
-rw-r--r-- | PKGBUILD | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -3,7 +3,7 @@ pkgname=fofix pkgver=3.121 -pkgrel=7 +pkgrel=8 pkgdesc="Frets on Fire X (FoFiX). Highly improved version of Frets on Fire" url="https://github.com/fofix/fofix" arch=(any) @@ -31,6 +31,13 @@ md5sums=('ed38bef0e72bfecdd67818f80f487e36' 'e26fc0ae8f5ca5d9bdbeb34535bacd9a' 'f886a7fdfa7592b50aa9f62901910e03') +build() { + cd ${srcdir}/${pkgname}-Release_${pkgver} + + # patchs, waiting for a new version + sed -i 's/import Image/try:\n from PIL import Image\nexcept ImportError:\n import Image/' src/Video.py # @8cdf04 + sed -i 's/dispatch.sysex_event(sysex_data)//' src/midi/MidiFileParser.py # @19d39b3 +} package() { install -d $pkgdir/usr/ |