Index: head/audio/kmix/Makefile =================================================================== --- head/audio/kmix/Makefile (revision 551427) +++ head/audio/kmix/Makefile (revision 551428) @@ -1,38 +1,39 @@ # $FreeBSD$ PORTNAME= kmix DISTVERSION= ${KDE_APPLICATIONS_VERSION} +PORTREVISION= 1 CATEGORIES= audio kde kde-applications MAINTAINER= kde@FreeBSD.org COMMENT= Sound mixer for KDE LICENSE= GPLv2 LIB_DEPENDS= libasound.so:audio/alsa-lib USES= cmake compiler:c++11-lang gettext kde:5 qt:5 tar:xz USE_KDE= auth codecs config configwidgets coreaddons dbusaddons ecm \ emoticons globalaccel i18n iconthemes init itemmodels \ itemviews kcmutils kdelibs4support notifications package \ plasma-framework service solid widgetsaddons windowsystem xmlgui USE_QT= core dbus gui widgets xml \ buildtools_build qmake_build # we want the KF5 version of kmix CMAKE_ARGS= -DKMIX_KF5_BUILD:BOOL=TRUE OPTIONS_DEFINE= PULSEAUDIO DOCS # TODO: readd ALSA option # # ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib # ALSA_EXTRA_PATCHES_OFF= ${FILESDIR}/extrapatch-no_alsa PULSEAUDIO_LIB_DEPENDS= libcanberra.so:audio/libcanberra \ libpulse.so:audio/pulseaudio PULSEAUDIO_USES= gnome PULSEAUDIO_USE= GNOME=glib20 PULSEAUDIO_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_Canberra \ CMAKE_DISABLE_FIND_PACKAGE_PulseAudio .include Index: head/audio/kmix/files/patch-backends_mixer__oss.cpp =================================================================== --- head/audio/kmix/files/patch-backends_mixer__oss.cpp (nonexistent) +++ head/audio/kmix/files/patch-backends_mixer__oss.cpp (revision 551428) @@ -0,0 +1,39 @@ +--- backends/mixer_oss.cpp.orig 2020-10-03 12:41:46 UTC ++++ backends/mixer_oss.cpp +@@ -52,9 +52,9 @@ + The #define below is only there for internal reasons. + In other words: Don't play around with this value + */ +-#define MAX_MIXDEVS 32 ++#define MAX_MIXDEVS 25 + +-const char* MixerDevNames[32]={ ++const char* MixerDevNames[25]={ + I18N_NOOP("Volume"), I18N_NOOP("Bass"), I18N_NOOP("Treble"), + I18N_NOOP("Synth"), I18N_NOOP("Pcm"), I18N_NOOP("Speaker"), + I18N_NOOP("Line"), I18N_NOOP("Microphone"), I18N_NOOP("CD"), +@@ -63,11 +63,9 @@ const char* MixerDevNames[32]={ + I18N_NOOP("Line2"), I18N_NOOP("Line3"), I18N_NOOP("Digital1"), + I18N_NOOP("Digital2"), I18N_NOOP("Digital3"), I18N_NOOP("PhoneIn"), + I18N_NOOP("PhoneOut"), I18N_NOOP("Video"), I18N_NOOP("Radio"), +- I18N_NOOP("Monitor"), I18N_NOOP("3D-depth"), I18N_NOOP("3D-center"), +- I18N_NOOP("unknown"), I18N_NOOP("unknown"), I18N_NOOP("unknown"), +- I18N_NOOP("unknown") , I18N_NOOP("unused") }; ++ I18N_NOOP("Monitor") }; + +-const MixDevice::ChannelType MixerChannelTypes[32] = { ++const MixDevice::ChannelType MixerChannelTypes[25] = { + MixDevice::VOLUME, MixDevice::BASS, MixDevice::TREBLE, + MixDevice::MIDI, MixDevice::AUDIO, MixDevice::SPEAKER, + MixDevice::EXTERNAL, MixDevice::MICROPHONE, MixDevice::CD, +@@ -76,9 +74,7 @@ const MixDevice::ChannelType MixerChannelTypes[32] = { + MixDevice::EXTERNAL, MixDevice::EXTERNAL, MixDevice::DIGITAL, + MixDevice::DIGITAL, MixDevice::DIGITAL, MixDevice::EXTERNAL, + MixDevice::EXTERNAL, MixDevice::VIDEO, MixDevice::EXTERNAL, +- MixDevice::EXTERNAL, MixDevice::VOLUME, MixDevice::VOLUME, +- MixDevice::UNKNOWN, MixDevice::UNKNOWN, MixDevice::UNKNOWN, +- MixDevice::UNKNOWN, MixDevice::UNKNOWN }; ++ MixDevice::EXTERNAL }; + + Mixer_Backend* OSS_getMixer( Mixer* mixer, int device ) + { Property changes on: head/audio/kmix/files/patch-backends_mixer__oss.cpp ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property