From b1efd50f54d497cdb8ad7ff9f781f71c0a37b01d Mon Sep 17 00:00:00 2001 From: Dugan Chen Date: Mon, 27 Nov 2017 11:53:28 +0000 Subject: [PATCH] games/doomretro: Updated for version 2.6. Signed-off-by: David Spencer --- games/doomretro/SDL2.patch | 18 ------------------ games/doomretro/doomretro.SlackBuild | 5 +---- games/doomretro/doomretro.info | 6 +++--- 3 files changed, 4 insertions(+), 25 deletions(-) delete mode 100644 games/doomretro/SDL2.patch diff --git a/games/doomretro/SDL2.patch b/games/doomretro/SDL2.patch deleted file mode 100644 index 33e9465f54..0000000000 --- a/games/doomretro/SDL2.patch +++ /dev/null @@ -1,18 +0,0 @@ ---- doomretro-2.5.7/src/c_cmds.c.orig 2017-11-02 23:56:12.327149365 +0700 -+++ doomretro-2.5.7/src/c_cmds.c 2017-11-02 23:56:42.013185704 +0700 -@@ -2734,13 +2734,13 @@ - C_TabbedOutput(tabs, "Music format\tMIDI"); - else if (musictype == MUS_OGG) - C_TabbedOutput(tabs, "Music format\tOgg Vorbis"); -- else if (musictype == MUS_MP3 || musictype == MUS_MP3_MAD) -+ else if (musictype == MUS_MP3) - C_TabbedOutput(tabs, "Music format\tMP3"); - else if (musictype == MUS_WAV) - C_TabbedOutput(tabs, "Music format\tWAV"); - else if (musictype == MUS_FLAC) - C_TabbedOutput(tabs, "Music format\tFLAC"); -- else if (musictype == MUS_MOD || musictype == MUS_MODPLUG) -+ else if (musictype == MUS_MOD) - C_TabbedOutput(tabs, "Music format\tMOD"); - } - } diff --git a/games/doomretro/doomretro.SlackBuild b/games/doomretro/doomretro.SlackBuild index a50a7a4764..d3c5b30b72 100644 --- a/games/doomretro/doomretro.SlackBuild +++ b/games/doomretro/doomretro.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=doomretro -VERSION=${VERSION:-2.5.7} +VERSION=${VERSION:-2.6} BUILD=${BUILD:-2} TAG=${TAG:-_SBo} @@ -69,9 +69,6 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -# Patched to support SDL2 -patch -p1 < $CWD/SDL2.patch - mkdir -p build cd build cmake \ diff --git a/games/doomretro/doomretro.info b/games/doomretro/doomretro.info index a9fbf08fef..af35e09a03 100644 --- a/games/doomretro/doomretro.info +++ b/games/doomretro/doomretro.info @@ -1,8 +1,8 @@ PRGNAM="doomretro" -VERSION="2.5.7" +VERSION="2.6" HOMEPAGE="http://www.doomretro.com" -DOWNLOAD="https://github.com/bradharding/doomretro/archive/v2.5.7/doomretro-2.5.7.tar.gz" -MD5SUM="8ae00341a710e519e97edc96d38bddf4" +DOWNLOAD="https://github.com/bradharding/doomretro/archive/v2.6/doomretro-2.6.tar.gz" +MD5SUM="d2f3f19706de6f08d6b137d0f8547e07" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="SDL2_image SDL2_mixer"