openbsd-ports/emulators/gr-lida/Makefile
2022-03-11 18:59:33 +00:00

49 lines
1.2 KiB
Makefile

COMMENT = games cataloging tool and emulator launcher
GH_ACCOUNT = Monthy
GH_PROJECT = gr-lida
DISTNAME = gr-lida-0.11.1pre20180927
GH_COMMIT = 30c338b352096d94a92006d572d3b7f0062cafe1
REVISION = 1
CATEGORIES = emulators
HOMEPAGE = http://www.gr-lida.org/
MAINTAINER = Juan Francisco Cantero Hurtado <juanfra@openbsd.org>
# GPLv2+
PERMIT_PACKAGE = Yes
WANTLIB += ${COMPILER_LIBCXX} c GL glib-2.0 intl m poppler-qt5 pulse
WANTLIB += pulse-mainloop-glib Qt5Core Qt5Gui Qt5Network Qt5OpenGL
WANTLIB += Qt5PrintSupport Qt5Sql Qt5Widgets Qt5Multimedia Qt5MultimediaWidgets
WANTLIB += Qt5Script z
FIX_CRLF_FILES = 3rdparty/osdab-zip/zip_p.h \
gr-lida.pro \
src/funciones.cpp
MODULES = x11/qt5
LIB_DEPENDS = audio/pulseaudio \
print/poppler,-qt5 \
x11/qt5/qtmultimedia \
x11/qt5/qtscript
RUN_DEPENDS = devel/desktop-file-utils
FAKE_FLAGS += INSTALL_ROOT="${WRKINST}"
NO_TEST = Yes
QMAKE_ARGS = QMAKE_CC=${CC} \
QMAKE_CXX=${CXX} \
QMAKE_CFLAGS="${CFLAGS}" \
QMAKE_CXXFLAGS="${CXXFLAGS}" \
PREFIX=${PREFIX}
do-configure:
cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
${LOCALBASE}/bin/qmake-qt5 gr-lida.pro ${QMAKE_ARGS}
.include <bsd.port.mk>