Skip to content

Commit

Permalink
KDE: change default sound mixer applet
Browse files Browse the repository at this point in the history
The kmix mixer is being replaced by the more flexible and integrated
plasma-pa mixer from audio/plasma5-plasma-pa

For this:

	- remove audio/kmix from the default options set in the metaport
	  multimedia/kdemultimedia

	- add audio/plasma5-plasma-pa to the default options set in the
	  metaport x11/plasma5-plasma

If you do not want pulseaudio on your system and want to keep using
the old mixer, you have multiple options:

	a) don't install the metaports (they only pull in other
	   packages)
	b) manually build multimedia/kdemultimedia and
	   x11/plasma5-plasma with your chosen options
	c) install both

Reported by:		Graham Perrin <grahamperrin@gmail.com>
PR:			258579
  • Loading branch information
tcberner committed Sep 20, 2021
1 parent e4c97b2 commit 7dc8045
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion multimedia/kdemultimedia/Makefile
@@ -1,5 +1,6 @@
PORTNAME= kdemultimedia
DISTVERSION= ${KDE_APPLICATIONS_VERSION}
PORTREVISION= 1
CATEGORIES= multimedia kde

MAINTAINER= kde@FreeBSD.org
Expand All @@ -9,7 +10,7 @@ USES= kde:5 metaport qt:5
USE_QT= #

OPTIONS_DEFINE= DRAGON FFMPEG AUDIOCD_KIO KDENLIVE KMIX
OPTIONS_DEFAULT= ${OPTIONS_DEFINE}
OPTIONS_DEFAULT= ${OPTIONS_DEFINE:NKMIX}

DRAGON_DESC= Simple video player
DRAGON_RUN_DEPENDS= dragon-player>=${KDE_APPLICATIONS_VERSION}:multimedia/dragon
Expand All @@ -20,6 +21,7 @@ FFMPEG_RUN_DEPENDS= kdemultimedia-ffmpegthumbs>=${KDE_APPLICATIONS_VERSION}:mult
AUDIOCD_KIO_DESC= Audio CD IOSlave
AUDIOCD_KIO_RUN_DEPENDS= audiocd-kio>=${KDE_APPLICATIONS_VERSION}:audio/audiocd-kio

# KMix is being replaced by the plasma-pa mixer
KMIX_DESC= Audio mixer
KMIX_RUN_DEPENDS= kmix>=${KDE_APPLICATIONS_VERSION}:audio/kmix

Expand Down
3 changes: 2 additions & 1 deletion x11/plasma5-plasma/Makefile
@@ -1,5 +1,6 @@
PORTNAME= plasma
DISTVERSION= ${KDE_PLASMA_VERSION}
PORTREVISION= 1
CATEGORIES= x11 kde
PKGNAMEPREFIX= plasma5-

Expand All @@ -15,7 +16,7 @@ USES= kde:5 metaport qt:5
USE_KDE= ${_USE_PLASMA_ALL:Nplasma-pa}

OPTIONS_DEFINE= PHONON PULSEAUDIO
OPTIONS_DEFAULT= PHONON
OPTIONS_DEFAULT= ${OPTIONS_DEFINE}

# Different from PHONON, because this is about the output plugins
PHONON_DESC= Include phonon-gstreamer, for sound output
Expand Down

0 comments on commit 7dc8045

Please sign in to comment.