blob: 30e540a574e2f584bb44495c62e81cc0544dc508 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
|
PORTNAME= es-de
DISTVERSIONPREFIX= v
DISTVERSION= 3.4.0
PORTREVISION= 2
CATEGORIES= emulators
MAINTAINER= bsdcode@disroot.org
COMMENT= Frontend for browsing and launching games
WWW= https://es-de.org
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
_BR_DEPENDS= dejavu>0:x11-fonts/dejavu \
droid-fonts-ttf>0:x11-fonts/droid-fonts-ttf \
freefont-ttf>0:x11-fonts/freefont-ttf \
noto-emoji>0:x11-fonts/noto-emoji \
ubuntu-font>0:x11-fonts/ubuntu-font
BUILD_DEPENDS= ${_BR_DEPENDS} \
cimg>0:graphics/cimg \
glm>0:math/glm \
rapidjson>0:devel/rapidjson \
utf8cpp>0: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 \
liblunasvg.so:graphics/lunasvg \
libpoppler-cpp.so:graphics/poppler \
libpugixml.so:textproc/pugixml \
librlottie.so:graphics/rlottie
RUN_DEPENDS= ${_BR_DEPENDS}
USES= cmake compiler:c++17-lang gettext gl pkgconfig sdl
USE_GITLAB= yes
GL_PROJECT= emulationstation-de
USE_GL= opengl
USE_SDL= sdl2
CMAKE_ON= VIDEO_HW_DECODING
CFLAGS+= -I${LOCALBASE}/include/utf8cpp
EXTRACT_AFTER_ARGS= --exclude external \
--no-same-owner --no-same-permissions
OPTIONS_DEFINE= DEINIT DOCS
OPTIONS_DEFAULT= DEINIT
DEINIT_DESC= Deinit frontend on emulator launch
DEINIT_CMAKE_BOOL= DEINIT_ON_LAUNCH
post-install:
${LN} -sf ${LOCALBASE}/share/fonts/Droid/DroidSansFallbackFull.ttf \
${STAGEDIR}${DATADIR}/resources/fonts
${LN} -sf ${LOCALBASE}/share/fonts/dejavu/DejaVuSans.ttf ${STAGEDIR}${DATADIR}/resources/fonts
${LN} -sf ${LOCALBASE}/share/fonts/freefont-ttf/FreeMono.ttf \
${STAGEDIR}${DATADIR}/resources/fonts
${LN} -sf ${LOCALBASE}/share/fonts/noto/NotoColorEmoji.ttf ${STAGEDIR}${DATADIR}/resources/fonts/NotoEmoji.ttf
${LN} -sf ${LOCALBASE}/share/fonts/ubuntu-font/Ubuntu-C.ttf ${STAGEDIR}${DATADIR}/resources/fonts
post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/*.md \
${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
|