Skip to content

Commit

Permalink
emulators/mgba: allow ImageMagick 7 and add libelf dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
pkubaj committed Jul 24, 2023
1 parent 7c6d9ba commit bf0ec66
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions emulators/mgba/Makefile
@@ -1,6 +1,6 @@
PORTNAME= mgba
DISTVERSION= 0.10.2
PORTREVISION= 3
PORTREVISION= 4
CATEGORIES= emulators

MAINTAINER= pkubaj@FreeBSD.org
Expand All @@ -14,6 +14,7 @@ LICENSE_FILE_LGPL21+ = ${WRKSRC}/src/third-party/blip_buf/license.txt
LICENSE_FILE_MPL20= ${WRKSRC}/LICENSE

LIB_DEPENDS= libepoxy.so:graphics/libepoxy \
libelf.so:devel/elfutils \
libpng.so:graphics/png

USES= cmake compiler:c++14-lang gl gnome localbase:ldflags lua \
Expand All @@ -29,6 +30,7 @@ USE_LDCONFIG= yes
USE_SDL= sdl2

CMAKE_ARGS= -DCMAKE_INSTALL_DOCDIR:STRING="${DOCSDIR}" \
-DUSE_ELF:BOOL=ON \
-DUSE_MINIZIP:BOOL=OFF \
-DUSE_LIBZIP:BOOL=OFF \
-DUSE_ZLIB:BOOL=ON \
Expand Down Expand Up @@ -59,7 +61,7 @@ LIBRETRO_CMAKE_BOOL= BUILD_LIBRETRO
LIBRETRO_CMAKE_ON= -DLIBRETRO_LIBDIR:PATH="${PREFIX}/lib/libretro"
LIBRETRO_CONFLICTS_INSTALL= libretro-mgba

MAGICK_USES= magick:6
MAGICK_USES= magick
MAGICK_CMAKE_BOOL= USE_MAGICK

QT5_USES= desktop-file-utils qt:5
Expand Down

0 comments on commit bf0ec66

Please sign in to comment.