From 618f3dd0792126ac83bb5930ba62b99d7931b062 Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Sun, 30 Dec 2018 14:15:54 +0000 Subject: Add OPTIONS to some kde@ ports. For best runtime performance (e.g. a fully functional desktop), users will need a pinentry application -- pinentry-qt fits best into the KDE desktop, but it could be a different one -- and sound output. Pick a default backend and some OSS plugins to make that happen. These are OPTIONS so the users interested in a minimal desktop or one with different audio needs can build suitable packages themselves. Reviewed by: tcberner Differential Revision: https://reviews.freebsd.org/D18680 --- sysutils/kf5-kwallet/Makefile | 7 +++++++ www/falkon/Makefile | 9 +++++++-- x11/plasma5-plasma/Makefile | 10 ++++++++++ 3 files changed, 24 insertions(+), 2 deletions(-) diff --git a/sysutils/kf5-kwallet/Makefile b/sysutils/kf5-kwallet/Makefile index b6dc956df1cd..acd93d615798 100644 --- a/sysutils/kf5-kwallet/Makefile +++ b/sysutils/kf5-kwallet/Makefile @@ -2,6 +2,7 @@ PORTNAME= kwallet DISTVERSION= ${KDE_FRAMEWORKS_VERSION} +PORTREVISION= 1 CATEGORIES= sysutils kde kde-frameworks MAINTAINER= kde@FreeBSD.org @@ -21,4 +22,10 @@ USE_KDE= auth codecs config configwidgets coreaddons dbusaddons \ widgetsaddons windowsystem USE_QT= buildtools_build core dbus gui qmake_build widgets xml +OPTIONS_DEFINE= PINENTRY +OPTIONS_DEFAULT= PINENTRY + +PINENTRY_DESC= Include pinentry-qt, for wallet passwords +PINENTRY_RUN_DEPENDS= pinentry-qt5:security/pinentry-qt5 + .include diff --git a/www/falkon/Makefile b/www/falkon/Makefile index b8464b353a0b..173c6a0373cd 100644 --- a/www/falkon/Makefile +++ b/www/falkon/Makefile @@ -2,7 +2,7 @@ PORTNAME= falkon DISTVERSION= 3.0.0 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= www MASTER_SITES= KDE/stable/falkon/${DISTVERSION:R}/src/ @@ -21,11 +21,16 @@ USE_XORG= xcb USE_LDCONFIG= yes -OPTIONS_DEFINE= GNOMEKEYRING +OPTIONS_DEFINE= GNOMEKEYRING ALSA +OPTIONS_DEFAULT= ALSA OPTIONS_SUB= YES GNOMEKEYRING_CMAKE_BOOL= BUILD_KEYRING GNOMEKEYRING_USE= GNOME=glib20 GNOMEKEYRING_LIB_DEPENDS= libgnome-keyring.so:security/libgnome-keyring +# Need the plugins to get sound, otherwise messages that the +# pcm_oss plugin can't be opened. +ALSA_RUN_DEPENDS= alsa-plugins>=0:audio/alsa-plugins + .include diff --git a/x11/plasma5-plasma/Makefile b/x11/plasma5-plasma/Makefile index 9a21a6d89e98..21d4b335c37d 100644 --- a/x11/plasma5-plasma/Makefile +++ b/x11/plasma5-plasma/Makefile @@ -2,6 +2,7 @@ PORTNAME= plasma DISTVERSION= ${KDE_PLASMA_VERSION} +PORTREVISION= 1 CATEGORIES= x11 kde PKGNAMEPREFIX= plasma5- @@ -17,4 +18,13 @@ USES= kde:5 metaport qt:5 # * breeze-kde4 don't pull in qt4 bits USE_KDE= ${_USE_PLASMA_ALL:Nplasma-pa:Nbreeze-kde4} +OPTIONS_DEFINE= PHONON PULSEAUDIO +OPTIONS_DEFAULT= PHONON + +# Different from PHONON, because this is about the output plugins +PHONON_DESC= Include phonon-gstreamer, for sound output + +PHONON_RUN_DEPENDS= ${QT_PLUGINDIR}/phonon4qt5_backend/phonon_gstreamer.so:multimedia/phonon-gstreamer@qt5 +PULSEAUDIO_USE= KDE=plasma-pa_run + .include -- cgit v1.2.3