1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00
freebsd-ports/emulators/es-de/Makefile
Stefan Schlosser 6574ccd3b4 emulators/es-de: Update 3.0.3 → 3.1.0
Changelog:
https://gitlab.com/es-de/emulationstation-de/-/releases/v3.1.0

Port changes:
 * remove upstreamed patches
 * unbundle utf8cpp dependency
 * add NLS option

PR:	281488
2024-09-14 13:20:54 +03:00

56 lines
1.4 KiB
Makefile

PORTNAME= es-de
DISTVERSIONPREFIX= v
DISTVERSION= 3.1.0
CATEGORIES= emulators
MAINTAINER= bsdcode@disroot.org
COMMENT= Frontend for browsing and launching games
WWW= https://es-de.org
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${LOCALBASE}/include/CImg.h:graphics/cimg \
${LOCALBASE}/include/glm/glm.hpp:math/glm \
${LOCALBASE}/include/rapidjson/rapidjson.h:devel/rapidjson \
${LOCALBASE}/include/utf8cpp/utf8.h:devel/utf8cpp
LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg \
libcurl.so:ftp/curl \
libfreeimage.so:graphics/freeimage \
libfreetype.so:print/freetype2 \
libgit2.so:devel/libgit2 \
libharfbuzz.so:print/harfbuzz \
libicuuc.so:devel/icu \
libpoppler.so:graphics/poppler \
libpugixml.so:textproc/pugixml \
librlottie.so:graphics/rlottie
USES= cmake compiler:c++17-lang gl localbase pkgconfig sdl
USE_GITLAB= yes
GL_PROJECT= emulationstation-de
USE_GL= opengl
USE_SDL= sdl2
CMAKE_ON= VIDEO_HW_DECODING
OPTIONS_DEFINE= DEINIT DOCS NLS
OPTIONS_DEFAULT= DEINIT
OPTIONS_SUB= yes
DEINIT_DESC= Deinit frontend on emulator launch
DEINIT_CMAKE_BOOL= DEINIT_ON_LAUNCH
NLS_USES= gettext
NLS_CMAKE_BOOL= COMPILE_LOCALIZATIONS
post-patch:
${REINPLACE_CMD} 's|#include "utf8.h"|#include <utf8cpp/utf8.h>|g' \
${WRKSRC}/es-core/src/utils/StringUtil.h
post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/*.md ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>