freebsd-ports/x11/lumina-core/Makefile
Tobias C. Berner b1a1d38bf9 Replace bsd.qt.mk by Uses/qt.mk and Uses/qt-dist.mk
From now on, ports that depend on Qt4 will have to set
	USES=		qt:4
	USE_QT=		foo bar
ports depending on Qt5 will use
	USES=		qt:5
	USE_QT=		foo bar

PR:		229225
Exp-run by:	antoine
Reviewed by:	mat
Approved by:	portmgr (antoine)
Differential Revision:	→https://reviews.freebsd.org/D15540
2018-06-28 17:39:53 +00:00

64 lines
1.5 KiB
Makefile

# Created by: Ken Moore <ken@pcbsd.org>
# $FreeBSD$
PORTNAME= lumina-core
PORTVERSION= 1.4.1
CATEGORIES= x11
MAINTAINER= jt@ixsystems.com
COMMENT= Lumina Desktop Environment
LICENSE= BSD3CLAUSE
RUN_DEPENDS= fluxbox>=0:x11-wm/fluxbox \
xscreensaver>=0:x11/xscreensaver \
xbrightness>=0:x11/xbrightness \
compton>=0:x11-wm/compton \
xrandr>=0:x11/xrandr \
numlockx>=0:x11/numlockx
LIB_DEPENDS+= libxcb-ewmh.so:x11/xcb-util-wm \
libxcb-icccm.so:x11/xcb-util-wm \
libxcb-image.so:x11/xcb-util-image \
libxcb-util.so:x11/xcb-util
CONFLICTS_INSTALL= lumina-1.2.*
OPTIONS_DEFINE= MULTIMEDIA TRUEOS I18N
OPTIONS_DEFAULT= MULTIMEDIA I18N
OPTIONS_SUB= yes
MULTIMEDIA_DESC= Install multimedia support backend (gstreamer)
TRUEOS_DESC= Use the TrueOS system interface settings.
I18N_DESC= Install localization files
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MMULTIMEDIA}
RUN_DEPENDS+= gstreamer1-plugins-core>=0:multimedia/gstreamer1-plugins-core
.endif
MAKE_JOBS_UNSAFE=yes
USES= qmake qt:5
USE_GL= gl
USE_XORG= x11 xdamage xcb
USE_LDCONFIG= yes
USE_QT= core gui widgets network svg multimedia imageformats \
buildtools_build x11extras concurrent
USE_GITHUB= yes
GH_ACCOUNT= trueos
GH_PROJECT= lumina
GH_TAGNAME= b6536c1547571ae8dd0618bed752e2e0025bf2a7
WRKSRC_SUBDIR= src-qt5/core
#Setup the qmake qt:5 configuration options
.if ${PORT_OPTIONS:MTRUEOS}
QMAKE_ARGS= DEFAULT_SETTINGS=TrueOS
.endif
.if${PORT_OPTIONS:MI18N}
USE_QT+= linguist_build
QMAKE_ARGS+=CONFIG+=WITH_I18N
.endif
.include <bsd.port.mk>