diff options
author | Mikael Eriksson | 2019-11-14 19:29:21 +0100 |
---|---|---|
committer | Mikael Eriksson | 2019-11-14 19:29:21 +0100 |
commit | b275ef35d69989fa81caf0fbae4abbf4d1138bc6 (patch) | |
tree | f070683f043c209ac8b240c726cdec7a928a6bdd | |
parent | 110977d9e90c32748ef4cf03107859508947fd5b (diff) | |
download | aur-b275ef35d69989fa81caf0fbae4abbf4d1138bc6.tar.gz |
0.4.5-1
-rw-r--r-- | .SRCINFO | 9 | ||||
-rw-r--r-- | PKGBUILD | 14 | ||||
-rw-r--r-- | fix-makefile.patch | 21 |
3 files changed, 36 insertions, 8 deletions
@@ -1,24 +1,27 @@ pkgbase = reminiscence pkgdesc = A rewrite of the flashback engine - pkgver = 0.3.7 + pkgver = 0.4.5 pkgrel = 1 url = http://cyxdown.free.fr/reminiscence/ arch = i686 arch = x86_64 license = GPL makedepends = p7zip + makedepends = patch depends = sdl2 depends = libmodplug depends = zlib depends = bash depends = libtremor-svn noextract = flashback_data_files.7z - source = http://cyxdown.free.fr/reminiscence/REminiscence-0.3.7.tar.bz2 + source = http://cyxdown.free.fr/reminiscence/REminiscence-0.4.5.tar.bz2 source = http://gtamp.com/PSP/flashback_data_files.7z source = reminiscence.sh - md5sums = bee0bf58db306942bc625e89e3a62633 + source = fix-makefile.patch + md5sums = ebdb0027c77fceae39b4edfb1b231adc md5sums = f994412ad4246c587896dab7d2eb9627 md5sums = 4ed0350e4b81e9ba305f90e157c75371 + md5sums = 4e0815ccd056c38ab694ca77c03fac51 pkgname = reminiscence @@ -3,25 +3,29 @@ # flashback_data_files.7z if from http://gtamp.com/PSP/reminiscencepsp.php pkgname=reminiscence -pkgver=0.3.7 +pkgver=0.4.5 pkgrel=1 pkgdesc="A rewrite of the flashback engine" arch=('i686' 'x86_64') url="http://cyxdown.free.fr/reminiscence/" license=('GPL') depends=('sdl2' 'libmodplug' 'zlib' 'bash' 'libtremor-svn') -makedepends=('p7zip') +makedepends=('p7zip' 'patch') source=(http://cyxdown.free.fr/reminiscence/REminiscence-${pkgver}.tar.bz2 http://gtamp.com/PSP/flashback_data_files.7z - reminiscence.sh) -md5sums=('bee0bf58db306942bc625e89e3a62633' + reminiscence.sh + fix-makefile.patch) +md5sums=('ebdb0027c77fceae39b4edfb1b231adc' 'f994412ad4246c587896dab7d2eb9627' - '4ed0350e4b81e9ba305f90e157c75371') + '4ed0350e4b81e9ba305f90e157c75371' + '4e0815ccd056c38ab694ca77c03fac51') noextract=('flashback_data_files.7z') build() { cd "$srcdir/REminiscence-$pkgver" + patch -p1 -i $srcdir/fix-makefile.patch + make CXX=g++ CXXFLAGS="-Wall -MMD \$(SDL_CFLAGS) -DUSE_MODPLUG -DUSE_ZLIB -O" } diff --git a/fix-makefile.patch b/fix-makefile.patch new file mode 100644 index 000000000000..f5c8fce8c25e --- /dev/null +++ b/fix-makefile.patch @@ -0,0 +1,21 @@ +Index: REminiscence-0.4.5/Makefile +=================================================================== +--- REminiscence-0.4.5.orig/Makefile ++++ REminiscence-0.4.5/Makefile +@@ -7,14 +7,14 @@ MODPLUG_LIBS := -lmodplug + TREMOR_LIBS := -lvorbisidec -logg + ZLIB_LIBS := -lz + +-CXXFLAGS += -Wall -Wpedantic -MMD $(SDL_CFLAGS) -DUSE_MODPLUG -DUSE_STATIC_SCALER -DUSE_TREMOR -DUSE_ZLIB ++CXXFLAGS += -Wall -Wpedantic -MMD $(SDL_CFLAGS) -DUSE_MODPLUG -DUSE_TREMOR -DUSE_ZLIB + + SRCS = collision.cpp cpc_player.cpp cutscene.cpp decode_mac.cpp dynlib.cpp file.cpp fs.cpp game.cpp graphics.cpp main.cpp \ + menu.cpp mixer.cpp mod_player.cpp ogg_player.cpp piege.cpp protection.cpp resource.cpp resource_aba.cpp \ + resource_mac.cpp scaler.cpp screenshot.cpp seq_player.cpp \ + sfx_player.cpp staticres.cpp systemstub_sdl.cpp unpack.cpp util.cpp video.cpp + +-SCALERS := scalers/scaler_nearest.cpp scalers/scaler_tv2x.cpp scalers/scaler_xbr.cpp ++SCALERS := + + OBJS = $(SRCS:.cpp=.o) $(SCALERS:.cpp=.o) + DEPS = $(SRCS:.cpp=.d) $(SCALERS:.cpp=.d) |