summaryrefslogtreecommitdiff
path: root/emulators/mgba
diff options
context:
space:
mode:
authorFernando ApesteguĂ­a <fernape@FreeBSD.org>2020-10-30 17:31:12 +0000
committerFernando ApesteguĂ­a <fernape@FreeBSD.org>2020-10-30 17:31:12 +0000
commit8422b9e5bf46384e2df9b38f059e8bc3e4f63a63 (patch)
tree341532694d954e816ebb31c754aa2fba6c0dc73f /emulators/mgba
parentsysutils/ctop: Update to 0.7.4 (diff)
emulators/mgba: Update to 0.8.4
ChangeLog: https://mgba.io/2020/10/29/mgba-0.8.4/ PR: 250734 Submitted by: james.wright@digital-chaos.com Approved by: greg@unrelenting.technology (maintainer) MFH: 2020Q4 (blanket, runtime fixes)
Notes
Notes: svn path=/head/; revision=553707
Diffstat (limited to 'emulators/mgba')
-rw-r--r--emulators/mgba/Makefile16
-rw-r--r--emulators/mgba/distinfo6
-rw-r--r--emulators/mgba/files/patch-version.cmake11
-rw-r--r--emulators/mgba/pkg-plist2
4 files changed, 24 insertions, 11 deletions
diff --git a/emulators/mgba/Makefile b/emulators/mgba/Makefile
index 5ba76b0e6693..43a1a7326c17 100644
--- a/emulators/mgba/Makefile
+++ b/emulators/mgba/Makefile
@@ -2,6 +2,7 @@
PORTNAME= mgba
DISTVERSION= 0.8.3
+DISTVERSION= 0.8.4
CATEGORIES= emulators
MAINTAINER= greg@unrelenting.technology
@@ -19,12 +20,13 @@ LIB_DEPENDS= libepoxy.so:graphics/libepoxy \
USES= cmake compiler:c++11-lang gl gnome localbase:ldflags pkgconfig \
sdl sqlite:3
-USE_LDCONFIG= yes
-
USE_GITHUB= yes
GH_ACCOUNT= mgba-emu
USE_GL= gl glu
+
+USE_LDCONFIG= yes
+
USE_SDL= sdl2
CMAKE_ARGS= -DCMAKE_INSTALL_DOCDIR:STRING="${DOCSDIR}" \
@@ -48,27 +50,27 @@ LIBRETRO_DESC= libretro core
MAGICK_DESC= ImageMagick GIF recording support
QT5_DESC= Qt 5 frontend
-DEBUGGERS_CMAKE_BOOL= USE_DEBUGGERS USE_EDITLINE USE_GDB_STUB
DEBUGGERS_USES= libedit
+DEBUGGERS_CMAKE_BOOL= USE_DEBUGGERS USE_EDITLINE USE_GDB_STUB
-FFMPEG_CMAKE_BOOL= USE_FFMPEG
FFMPEG_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg \
libavformat.so:multimedia/ffmpeg \
libavresample.so:multimedia/ffmpeg \
libavutil.so:multimedia/ffmpeg \
libswscale.so:multimedia/ffmpeg
+FFMPEG_CMAKE_BOOL= USE_FFMPEG
LIBRETRO_CMAKE_BOOL= BUILD_LIBRETRO
LIBRETRO_CMAKE_ON= -DLIBRETRO_LIBDIR:PATH="${PREFIX}/lib/libretro"
LIBRETRO_CONFLICTS_INSTALL= libretro-mgba
-MAGICK_CMAKE_BOOL= USE_MAGICK
MAGICK_LIB_DEPENDS= libMagickWand-6.so:graphics/ImageMagick6 \
libMagickCore-6.so:graphics/ImageMagick6
+MAGICK_CMAKE_BOOL= USE_MAGICK
-QT5_CMAKE_BOOL= BUILD_QT
-QT5_USE= qt=qmake_build,buildtools_build,core,gui,widgets,network,opengl,multimedia
QT5_USES= desktop-file-utils qt:5
+QT5_USE= qt=qmake_build,buildtools_build,core,gui,widgets,network,opengl,multimedia
+QT5_CMAKE_BOOL= BUILD_QT
QT5_VARS= installs_icons=yes
.include <bsd.port.mk>
diff --git a/emulators/mgba/distinfo b/emulators/mgba/distinfo
index bd7be26094c3..2d69911b75a0 100644
--- a/emulators/mgba/distinfo
+++ b/emulators/mgba/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1602649837
-SHA256 (mgba-emu-mgba-0.8.3_GH0.tar.gz) = 63045d0815e15e963d90b15d5a10edf31a5d72d0ddb5e028e42ba38b0d4368c9
-SIZE (mgba-emu-mgba-0.8.3_GH0.tar.gz) = 12013512
+TIMESTAMP = 1604037166
+SHA256 (mgba-emu-mgba-0.8.4_GH0.tar.gz) = 6b94873dac9040fd6fd9f13f76dc48f342e954f3b4cf82717b59601c3a32b72c
+SIZE (mgba-emu-mgba-0.8.4_GH0.tar.gz) = 12347906
diff --git a/emulators/mgba/files/patch-version.cmake b/emulators/mgba/files/patch-version.cmake
new file mode 100644
index 000000000000..e0fe5e072ca5
--- /dev/null
+++ b/emulators/mgba/files/patch-version.cmake
@@ -0,0 +1,11 @@
+--- version.cmake.orig 2020-10-30 06:22:22 UTC
++++ version.cmake
+@@ -3,7 +3,7 @@ if(NOT PROJECT_NAME)
+ endif()
+ set(LIB_VERSION_MAJOR 0)
+ set(LIB_VERSION_MINOR 8)
+-set(LIB_VERSION_PATCH 3)
++set(LIB_VERSION_PATCH 4)
+ set(LIB_VERSION_ABI 0.8)
+ set(LIB_VERSION_STRING ${LIB_VERSION_MAJOR}.${LIB_VERSION_MINOR}.${LIB_VERSION_PATCH})
+ set(SUMMARY "${PROJECT_NAME} Game Boy Advance Emulator")
diff --git a/emulators/mgba/pkg-plist b/emulators/mgba/pkg-plist
index d800d3af2b47..8fe110507b55 100644
--- a/emulators/mgba/pkg-plist
+++ b/emulators/mgba/pkg-plist
@@ -144,7 +144,7 @@ include/mgba/internal/sm83/isa-sm83.h
include/mgba/internal/sm83/sm83.h
lib/libmgba.so
lib/libmgba.so.0.8
-lib/libmgba.so.0.8.3
+lib/libmgba.so.0.8.4
%%LIBRETRO%%lib/libretro/mgba_libretro.so
%%QT5%%man/man6/mgba-qt.6.gz
man/man6/mgba.6.gz