git: 1f852854c859 - main - multimedia/haruna: Make yt-dlp dependency optional
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 27 Mar 2026 09:10:23 UTC
The branch main has been updated by makc:
URL: https://cgit.FreeBSD.org/ports/commit/?id=1f852854c8594bb8b7eb1496906d4a7d879581b7
commit 1f852854c8594bb8b7eb1496906d4a7d879581b7
Author: Max Brazhnikov <makc@FreeBSD.org>
AuthorDate: 2026-03-27 09:10:04 +0000
Commit: Max Brazhnikov <makc@FreeBSD.org>
CommitDate: 2026-03-27 09:10:04 +0000
multimedia/haruna: Make yt-dlp dependency optional
Disabled by default, as it pulls indirectly additional llvm21.
---
multimedia/haruna/Makefile | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/multimedia/haruna/Makefile b/multimedia/haruna/Makefile
index a2e5c1d0f120..d45436431e80 100644
--- a/multimedia/haruna/Makefile
+++ b/multimedia/haruna/Makefile
@@ -1,6 +1,6 @@
PORTNAME= haruna
DISTVERSION= 1.7.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= multimedia kde
MASTER_SITES= KDE/stable/${PORTNAME}/${DISTVERSION}
@@ -15,8 +15,7 @@ LIB_DEPENDS= libkdsingleapplication-qt6.so:devel/kdsingleapplication \
libavcodec.so:multimedia/ffmpeg \
libmpv.so:multimedia/mpv \
libMpvQt.so:multimedia/mpvqt
-RUN_DEPENDS= kio-extras>0:devel/kio-extras \
- yt-dlp:www/yt-dlp
+RUN_DEPENDS= kio-extras>0:devel/kio-extras
USES= cmake desktop-file-utils gettext-tools gl kde:6 pkgconfig \
qt:6 tar:xz xorg
@@ -28,4 +27,9 @@ USE_KDE= breeze colorscheme completion config coreaddons crash \
USE_QT= 5compat base declarative
USE_XORG= x11
+OPTIONS_DEFINE= YTDLP
+
+YTDLP_DESC= Install yt-dlp to play videos from youtube
+YTDLP_RUN_DEPENDS= yt-dlp:www/yt-dlp
+
.include <bsd.port.mk>