svn commit: r488719 - in head: sysutils/kf5-kwallet www/falkon x11/plasma5-plasma
Adriaan de Groot
adridg at FreeBSD.org
Sun Dec 30 14:15:56 UTC 2018
Author: adridg
Date: Sun Dec 30 14:15:54 2018
New Revision: 488719
URL: https://svnweb.freebsd.org/changeset/ports/488719
Log:
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
Modified:
head/sysutils/kf5-kwallet/Makefile
head/www/falkon/Makefile
head/x11/plasma5-plasma/Makefile
Modified: head/sysutils/kf5-kwallet/Makefile
==============================================================================
--- head/sysutils/kf5-kwallet/Makefile Sun Dec 30 14:05:27 2018 (r488718)
+++ head/sysutils/kf5-kwallet/Makefile Sun Dec 30 14:15:54 2018 (r488719)
@@ -2,6 +2,7 @@
PORTNAME= kwallet
DISTVERSION= ${KDE_FRAMEWORKS_VERSION}
+PORTREVISION= 1
CATEGORIES= sysutils kde kde-frameworks
MAINTAINER= kde at FreeBSD.org
@@ -20,5 +21,11 @@ USE_KDE= auth codecs config configwidgets coreaddons d
doctools ecm i18n iconthemes notifications service \
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 <bsd.port.mk>
Modified: head/www/falkon/Makefile
==============================================================================
--- head/www/falkon/Makefile Sun Dec 30 14:05:27 2018 (r488718)
+++ head/www/falkon/Makefile Sun Dec 30 14:15:54 2018 (r488719)
@@ -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 <bsd.port.mk>
Modified: head/x11/plasma5-plasma/Makefile
==============================================================================
--- head/x11/plasma5-plasma/Makefile Sun Dec 30 14:05:27 2018 (r488718)
+++ head/x11/plasma5-plasma/Makefile Sun Dec 30 14:15:54 2018 (r488719)
@@ -2,6 +2,7 @@
PORTNAME= plasma
DISTVERSION= ${KDE_PLASMA_VERSION}
+PORTREVISION= 1
CATEGORIES= x11 kde
PKGNAMEPREFIX= plasma5-
@@ -16,5 +17,14 @@ USES= kde:5 metaport qt:5
# * plasma-pa don't depend on plamsa-pa by default
# * 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 at qt5
+PULSEAUDIO_USE= KDE=plasma-pa_run
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list