1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-08 06:48:28 +00:00
freebsd-ports/astro/marble/Makefile
Tobias C. Berner b2a438e1ba framework: move 'phonon4' from qt.mk to kde.mk as 'phonon'
To depend on phonon, you now need

USES=	kde:<ver>
USE_KDE=phonon

if you want to depend on the backend, also add

USE_KDE=	phonon-backend
2023-12-03 23:17:33 +01:00

50 lines
1.6 KiB
Makefile

PORTNAME= marble
DISTVERSION= ${KDE_APPLICATIONS_VERSION}
CATEGORIES= astro education kde kde-applications
MAINTAINER= kde@FreeBSD.org
COMMENT= Virtual globe and world atlas for KDE
WWW= https://marble.kde.org/
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
LIB_DEPENDS= libquazip1-qt5.so:archivers/quazip@qt5
USES= cmake compiler:c++11-lang desktop-file-utils gettext \
kde:5 qt:5 shared-mime-info tar:xz xorg
USE_KDE= attica auth codecs completion config configwidgets coreaddons \
crash doctools i18n jobwidgets kio newstuff package parts phonon \
plasma-framework plasma-workspace-wallpapers runner service solid \
sonnet textwidgets wallet widgetsaddons windowsystem xmlgui \
ecm:build
USE_QT= concurrent core dbus declarative designer gui location network opengl \
printsupport script serialport sql svg webchannel widgets xml \
buildtools:build qmake:build testlib:build
USE_XORG= x11
USE_LDCONFIG= yes
MAKE_ENV= XDG_CONFIG_HOME=/dev/null
# We have to set QT_IMPORTS_PATH, as it does not get picked up
CMAKE_ARGS= -DMOBILE:BOOL=FALSE \
-DQT_IMPORTS_DIR:PATH=${QT_IMPORTDIR}
# Override shared library version
KDE_APPLICATIONS_SHLIB_VER= ${KDE_APPLICATIONS_SHLIB_G_VER}
OPTIONS_DEFINE= GPS DOCS WEBENGINE
OPTIONS_DEFAULT=GPS
OPTIONS_DEFAULT_amd64= WEBENGINE
OPTIONS_DEFAULT_i386= WEBENGINE
OPTIONS_SUB= yes
GPS_DESC= Support for GPS position provider
GPS_LIB_DEPENDS= libgps.so:astro/gpsd
GPS_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_libgps
WEBENGINE_DESC= Add dependency on qt5-webengine
WEBENGINE_USE= QT=webengine
WEBENGINE_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_Qt5WebEngineWidgets
.include <bsd.port.mk>