Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=dd4297b55406d41e028975551fac34be0bc2741b

commit dd4297b55406d41e028975551fac34be0bc2741b
Author: Pingax <[email protected]>
Date:   Sun Oct 29 15:19:33 2017 +0100

easyrpg-player-0.5.3-1-x86_64

- 0.5.2 -> 0.5.3
- Add patch for sdl_mixer
(https://github.com/EasyRPG/Player/issues/1294)

diff --git a/source/xapps-extra/easyrpg-player/FrugalBuild 
b/source/xapps-extra/easyrpg-player/FrugalBuild
index d94b637..afab621 100644
--- a/source/xapps-extra/easyrpg-player/FrugalBuild
+++ b/source/xapps-extra/easyrpg-player/FrugalBuild
@@ -4,8 +4,8 @@
# Contributor: darknekros <[email protected]>

pkgname=easyrpg-player
-pkgver=0.5.2
-pkgrel=2
+pkgver=0.5.3
+pkgrel=1
pkgdesc="EasyRPG Player is a game interpreter to play RPG Maker 2000, 2003 and 
EasyRPG games."
url="https://easy-rpg.org";
_F_github_author="EasyRPG"
@@ -16,10 +16,12 @@ depends=('liblcf>=0.5.1' 'pixman>=0.34.0-2' 
'freetype2>=2.7' 'sdl2_mixer>=2.0.1-
makedepends+=('x11-protos' 'boost>=1.61.0')
groups=('xapps-extra')
archs=('x86_64')
-sha1sums=('cbf203778a17ed54220beaa99eb70adc0df23098')
+sha1sums=('c097da2a32f9a08984f67383bcf899a68794c691' \
+          'e95a65bc71b63ed96b831692866c645761bf5764')
options+=('scriptlet')
Fconfopts+=" --prefix=/usr"
_Fbuild_autoreconf=yes
_F_cd_path="Player-$pkgver"
+source=($source "sdl_mixer.patch")

# optimization OK
diff --git a/source/xapps-extra/easyrpg-player/sdl_mixer.patch 
b/source/xapps-extra/easyrpg-player/sdl_mixer.patch
new file mode 100644
index 0000000..4912531
--- /dev/null
+++ b/source/xapps-extra/easyrpg-player/sdl_mixer.patch
@@ -0,0 +1,14 @@
+--- src/audio_sdl_mixer.cpp.orig       2017-10-29 15:09:36.528985189 +0100
++++ src/audio_sdl_mixer.cpp    2017-10-29 15:10:26.111195672 +0100
+@@ -242,9 +242,9 @@
+
+       if (!bgm_stop) {
+               played_once = true;
++
+               // Play indefinitely without fade-in
+-              if (Mix_GetMusicType(bgm.get()) != MUS_MP3_MAD)
+-                      Mix_PlayMusic(bgm.get(), -1);
++              Mix_PlayMusic(bgm.get(), -1);
+       }
+ }
+
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to