summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDugan Chen <thedoogster [at] gmail [dot] com>2015-09-21 10:46:17 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-09-24 06:25:21 +0700
commitb58154001511a25c5ca1d3db990fbcb48a6c1cec (patch)
treede32b17012569793dc09240201edbf426c516a46
parent89e29b71455551ca7d2867e1e20040b13b110764 (diff)
downloadslackbuilds-b58154001511a25c5ca1d3db990fbcb48a6c1cec.tar.gz
games/mgba: Updated for version 0.3.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--games/mgba/correct_libdir.patch33
-rw-r--r--games/mgba/mgba.SlackBuild5
-rw-r--r--games/mgba/mgba.info8
3 files changed, 5 insertions, 41 deletions
diff --git a/games/mgba/correct_libdir.patch b/games/mgba/correct_libdir.patch
deleted file mode 100644
index 582d94f38e..0000000000
--- a/games/mgba/correct_libdir.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-diff -rupN mgba-0.2.1.orig/CMakeLists.txt mgba-0.2.1/CMakeLists.txt
---- mgba-0.2.1.orig/CMakeLists.txt 2015-05-13 22:07:20.000000000 -0700
-+++ mgba-0.2.1/CMakeLists.txt 2015-07-19 16:17:46.572058303 -0700
-@@ -37,7 +37,11 @@ if(NOT CMAKE_BUILD_TYPE)
- set(CMAKE_BUILD_TYPE Release CACHE STRING "Build type (e.g. Release or Debug)" FORCE)
- endif()
-
--set(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/lib")
-+if (NOT DEFINED LIBDIR)
-+ set(LIBDIR "lib")
-+endif()
-+
-+set(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/${LIBDIR}")
-
- include(GNUInstallDirs)
-
-@@ -322,14 +326,14 @@ if(BUILD_SHARED)
- if(BUILD_STATIC)
- add_library(${BINARY_NAME}-static STATIC ${SRC})
- set_target_properties(${BINARY_NAME}-static PROPERTIES COMPILE_DEFINITIONS "${FEATURE_DEFINES}")
-- install(TARGETS ${BINARY_NAME}-static DESTINATION lib COMPONENT lib${BINARY_NAME})
-+ install(TARGETS ${BINARY_NAME}-static DESTINATION ${LIBDIR} COMPONENT lib${BINARY_NAME})
- endif()
- else()
- add_library(${BINARY_NAME} STATIC ${SRC})
- endif()
-
- target_link_libraries(${BINARY_NAME} m ${DEBUGGER_LIB} ${OS_LIB} ${DEPENDENCY_LIB})
--install(TARGETS ${BINARY_NAME} DESTINATION lib COMPONENT lib${BINARY_NAME})
-+install(TARGETS ${BINARY_NAME} DESTINATION ${LIBDIR} COMPONENT lib${BINARY_NAME})
- set_target_properties(${BINARY_NAME} PROPERTIES VERSION ${LIB_VERSION_STRING} SOVERSION ${LIB_VERSION_ABI} COMPILE_DEFINITIONS "${FEATURE_DEFINES}")
-
- if(BUILD_LIBRETRO)
diff --git a/games/mgba/mgba.SlackBuild b/games/mgba/mgba.SlackBuild
index 51eee66448..1452970284 100644
--- a/games/mgba/mgba.SlackBuild
+++ b/games/mgba/mgba.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=mgba
-VERSION=${VERSION:-0.2.1}
+VERSION=${VERSION:-0.3.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -70,9 +70,6 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-# Install libraries into the correct directories.
-patch -p1 --verbose < $CWD/correct_libdir.patch
-
mkdir -p build
cd build
cmake \
diff --git a/games/mgba/mgba.info b/games/mgba/mgba.info
index bd0e373af7..1a5bbc5eab 100644
--- a/games/mgba/mgba.info
+++ b/games/mgba/mgba.info
@@ -1,10 +1,10 @@
PRGNAM="mgba"
-VERSION="0.2.1"
+VERSION="0.3.0"
HOMEPAGE="https://endrift.com/mgba/"
-DOWNLOAD="https://github.com/mgba-emu/mgba/archive/0.2.1.tar.gz"
-MD5SUM="7138c88638baeabe20aa05805b862698"
+DOWNLOAD="https://github.com/mgba-emu/mgba/archive/0.3.0.tar.gz"
+MD5SUM="f190c26545cf636633643603a1997002"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="%README%"
+REQUIRES=""
MAINTAINER="Dugan Chen"
EMAIL="thedoogster [at] gmail [dot] com"