3a357ef84a
- Fix WWW by removing extra "WWW" in url field - Bump PORTREVISION PR: 266565 Reported by: nimaje+fbz@bureaucracy.de
46 lines
947 B
Makefile
46 lines
947 B
Makefile
PORTNAME= melonds
|
|
PORTVERSION= 0.9.4
|
|
PORTREVISION= 1
|
|
CATEGORIES= games
|
|
PKGNAMESUFFIX= -${FLAVOR}
|
|
|
|
MAINTAINER= henry.hu.sh@gmail.com
|
|
COMMENT= Nintendo DS emulator
|
|
WWW= https://melonds.kuribo64.net/
|
|
|
|
LICENSE= GPLv3
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
BROKEN_i386= static_assert failed due to requirement 'sizeof(TestCase) == 4312'
|
|
|
|
LIB_DEPENDS= libslirp.so:net/libslirp \
|
|
libepoxy.so:graphics/libepoxy
|
|
|
|
FLAVORS= qt5 qt6
|
|
FLAVOR?= qt5
|
|
|
|
USES= cmake compiler:c++17-lang desktop-file-utils gnome \
|
|
iconv libarchive pkgconfig qt:${FLAVOR:S/qt//} sdl
|
|
USE_GNOME= glib20
|
|
USE_SDL= sdl2
|
|
|
|
.if ${FLAVOR} == qt5
|
|
CMAKE_OFF= USE_QT6
|
|
.else
|
|
CMAKE_ON= USE_QT6
|
|
.endif
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= melonDS-emu
|
|
GH_PROJECT= melonDS
|
|
GH_TAGNAME= 0.9.4
|
|
|
|
qt5_CONFLICTS_INSTALL= ${PORTNAME}-qt6
|
|
qt6_CONFLICTS_INSTALL= ${PORTNAME}-qt5
|
|
|
|
_USE_QT5= core gui network widgets buildtools:build qmake:build
|
|
_USE_QT6= base
|
|
USE_QT= ${_USE_QT${FLAVOR:S/qt//}}
|
|
|
|
.include <bsd.port.mk>
|