mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
b1a1d38bf9
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
59 lines
2.1 KiB
Makefile
59 lines
2.1 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= plasma-workspace
|
|
DISTVERSION= ${KDE_PLASMA_VERSION}
|
|
PORTREVISION= 1
|
|
CATEGORIES= x11 kde kde-plasma
|
|
|
|
MAINTAINER= kde@FreeBSD.org
|
|
COMMENT= Plasma5 Plasma workspace
|
|
|
|
LIB_DEPENDS= libcln.so:math/cln \
|
|
libdbusmenu-qt5.so:devel/libdbusmenu-qt@qt5 \
|
|
libqalculate.so:math/libqalculate \
|
|
libxcb-image.so:x11/xcb-util-image \
|
|
libxcb-util.so:x11/xcb-util
|
|
RUN_DEPENDS= ck-launch-session:sysutils/consolekit2\
|
|
iceauth:x11/iceauth \
|
|
xsetroot:x11/xsetroot \
|
|
xset:x11/xset \
|
|
xmessage:x11/xmessage \
|
|
${LOCALBASE}/libdata/pkgconfig/xkeyboard-config.pc:x11/xkeyboard-config \
|
|
iso-codes>=0:misc/iso-codes
|
|
|
|
USES= cmake:outsource compiler:c++11-lib cpe gettext kde:5 pkgconfig \
|
|
qt:5 tar:xz
|
|
USE_KDE= activities activitymanagerd attica auth baloo bookmarks \
|
|
codecs completion config configwidgets coreaddons crash \
|
|
dbusaddons doctools emoticons filemetadata globalaccel \
|
|
guiaddons holidays i18n iconthemes idletime init itemmodels \
|
|
itemviews jobwidgets js jsembed kcmutils kdeclarative \
|
|
kdelibs4support kdesu kdewebkit kio kscreenlocker \
|
|
notifications package pty kwin libkscreen libksysguard \
|
|
newstuff notifyconfig parts plasma-framework \
|
|
plasma-integration prison runner service solid sonnet \
|
|
texteditor textwidgets unitconversion wallet wayland \
|
|
widgetsaddons windowsystem xmlgui xmlrpcclient \
|
|
breeze_run breeze-icons_run oxygen-icons5_run \
|
|
kde-cli-tools_run kded_run milou_run
|
|
USE_QT= concurrent core dbus graphicaleffects gui network phonon4 \
|
|
printsupport qdbus qml quick quickcontrols_run script sql \
|
|
testlib webkit widgets x11extras xml \
|
|
paths_run \
|
|
buildtools_build qmake_build
|
|
USE_XORG= ice sm x11 xau xcb xcomposite xext xfixes xft xkbfile xrender xtst
|
|
|
|
CMAKE_OFF= BUILD_TESTING
|
|
|
|
post-patch:
|
|
# set the paths in startkde
|
|
${REINPLACE_CMD} -e 's|%%KDE_PREFIX%%|${KDE_PREFIX}|g' \
|
|
-e 's|%%LOCALBASE%%|${LOCALBASE}|g' \
|
|
-e 's|%%QT_BINDIR%%|${QT_BINDIR}|g' \
|
|
-e 's|%%QT_IMPORTDIR%%|${QT_IMPORTDIR}|g' \
|
|
-e 's|%%QT_PLUGINDIR%%|${QT_PLUGINDIR}|g' \
|
|
-e 's|%%QT_QMLDIR%%|${QT_QMLDIR}|g' \
|
|
${PATCH_WRKSRC}/startkde/startkde.cmake
|
|
|
|
.include <bsd.port.mk>
|