pkgsrc/emulators/libretro-dolphin/Makefile
nia 6aee55a1f8 libretro-dolphin: import version 20180827
Libretro is a simple but powerful development interface that allows for
the easy creation of emulators, games and multimedia applications that
can plug straight into any libretro-compatible frontend. This development
interface is open to others so that they can run these pluggable emulator
and game cores also in their own programs or devices.

Dolphin is a Nintendo GameCube and Wii emulator with high compatibility
across the majority of titles for both platforms.
2018-10-15 17:20:21 +00:00

53 lines
1.6 KiB
Makefile

# $NetBSD: Makefile,v 1.1 2018/10/15 17:20:21 nia Exp $
DISTNAME= libretro-dolphin-20180827
CATEGORIES= emulators
MASTER_SITES= ${MASTER_SITE_GITHUB:=libretro/}
GITHUB_PROJECT= dolphin
GITHUB_TAG= a5bce7d67abeaa9142d466a578ca5049197073e9
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://docs.libretro.com/library/dolphin/
COMMENT= Libretro core based on the Dolphin GameCube/Wii emulator
LICENSE= gnu-gpl-v2
EXTRACT_USING= bsdtar
USE_CMAKE= yes
USE_LANGUAGES= c c++14
GCC_REQD+= 6.0
CMAKE_ARGS+= -DCMAKE_BUILD_TYPE=Release
CMAKE_ARGS+= -DTRY_X11=OFF
CMAKE_ARGS+= -DUSE_DISCORD_PRESENCE=OFF
CMAKE_ARGS+= -DCMAKE_DISABLE_FIND_PACKAGE_Git=ON
CMAKE_ARGS+= -DCMAKE_DISABLE_FIND_PACKAGE_HIDAPI=ON
CMAKE_ARGS+= -DCMAKE_DISABLE_FIND_PACKAGE_MbedTLS=ON
CMAKE_ARGS+= -DCMAKE_DISABLE_FIND_PACKAGE_OpenSLES=ON
CMAKE_ARGS+= -DCMAKE_DISABLE_FIND_PACKAGE_SFML=ON
CMAKE_ARGS+= -DENABLE_BLUEZ=OFF
CMAKE_ARGS+= -DENABLE_QT=OFF
CMAKE_ARGS+= -DENABLE_SDL=OFF
CMAKE_ARGS+= -DENABLE_EVDEV=OFF
CMAKE_ARGS+= -DLIBRETRO=ON
INSTALLATION_DIRS+= ${PREFIX}/lib/libretro
do-install:
${INSTALL_LIB} ${WRKSRC}/dolphin_libretro.so \
${DESTDIR}${PREFIX}/lib/libretro/dolphin_libretro.so
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} != "Darwin"
.include "../../archivers/lzo/buildlink3.mk"
.include "../../devel/libusb1/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.endif
.include "../../devel/zlib/buildlink3.mk"
.include "../../graphics/MesaLib/buildlink3.mk"
.include "../../textproc/pugixml/buildlink3.mk"
.include "../../www/curl/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../lang/python/application.mk"
.include "../../mk/bsd.pkg.mk"