git: 89b7a5d1a2e5 - main - audio/plasma5-plasma-pa: Depend on freedesktop-sound-theme

From: Gleb Popov <arrowd_at_FreeBSD.org>
Date: Wed, 02 Aug 2023 09:02:37 UTC
The branch main has been updated by arrowd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=89b7a5d1a2e50ce4c696be14d6386e3f7652e9d8

commit 89b7a5d1a2e50ce4c696be14d6386e3f7652e9d8
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2023-08-02 09:00:50 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2023-08-02 09:00:50 +0000

    audio/plasma5-plasma-pa: Depend on freedesktop-sound-theme
    
    This makes sound playback tests work in the KCM.
    
    Sponsored by:   Serenity Cybersecurity, LLC
---
 audio/plasma5-plasma-pa/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/audio/plasma5-plasma-pa/Makefile b/audio/plasma5-plasma-pa/Makefile
index 2736d9351dcd..0eb386b87d97 100644
--- a/audio/plasma5-plasma-pa/Makefile
+++ b/audio/plasma5-plasma-pa/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	plasma-pa
 DISTVERSION=	${KDE_PLASMA_VERSION}
+PORTREVISION=	1
 CATEGORIES=	audio kde kde-plasma
 
 MAINTAINER=	kde@FreeBSD.org
@@ -8,6 +9,7 @@ WWW=		https://www.kde.org/plasma-desktop
 
 LIB_DEPENDS=	libcanberra.so:audio/libcanberra \
 		libpulse.so:audio/pulseaudio
+RUN_DEPENDS=	${LOCALBASE}/share/sounds/freedesktop/index.theme:audio/freedesktop-sound-theme
 
 USES=		cmake compiler:c++11-lib gettext gnome kde:5 pkgconfig qt:5 \
 		shebangfix tar:xz