git: ca0da4f97005 - main - multimedia/plasmatube: Update to 23.08.1

From: Jason E. Hale <jhale_at_FreeBSD.org>
Date: Thu, 21 Sep 2023 18:54:25 UTC
The branch main has been updated by jhale:

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

commit ca0da4f970050be5f817c18fed96bcb2ddb756a9
Author:     Jason E. Hale <jhale@FreeBSD.org>
AuthorDate: 2023-09-20 20:48:09 +0000
Commit:     Jason E. Hale <jhale@FreeBSD.org>
CommitDate: 2023-09-21 18:54:17 +0000

    multimedia/plasmatube: Update to 23.08.1
    
    Connect to the kde-applications framework.
---
 multimedia/plasmatube/Makefile  | 17 ++++++++++-------
 multimedia/plasmatube/distinfo  |  6 +++---
 multimedia/plasmatube/pkg-plist |  9 +++++++++
 3 files changed, 22 insertions(+), 10 deletions(-)

diff --git a/multimedia/plasmatube/Makefile b/multimedia/plasmatube/Makefile
index f1e83f9ab6c6..9e9c84e5e62e 100644
--- a/multimedia/plasmatube/Makefile
+++ b/multimedia/plasmatube/Makefile
@@ -1,8 +1,6 @@
 PORTNAME=	plasmatube
-DISTVERSION=	23.01.0
-PORTREVISION=	2
-CATEGORIES=	multimedia kde
-MASTER_SITES=	KDE/stable/plasma-mobile/${DISTVERSION}/
+DISTVERSION=	${KDE_APPLICATIONS_VERSION}
+CATEGORIES=	multimedia kde kde-applications
 
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	Elegant user interface for YouTube
@@ -11,10 +9,15 @@ WWW=		https://apps.kde.org/plasmatube/
 LIB_DEPENDS=	libmpv.so:multimedia/mpv
 
 USES=		cmake kde:5 localbase:ldflags pkgconfig qt:5 tar:xz
-USE_KDE=	config i18n kirigami2 \
+USE_KDE=	config coreaddons i18n kirigami2 \
 		ecm:build
-USE_QT=		core declarative gui network quickcontrols2 svg testlib \
+USE_QT=		core declarative gui network quickcontrols2 svg \
 		widgets xml \
-		buildtools:build qmake:build
+		buildtools:build qmake:build testlib:build
+
+# Replace default Invidious instance with one that currently works 
+post-patch:
+	@${REINPLACE_CMD} -e 's|https://inv.riverside.rocks|https://vid.puffyan.us|' \
+		${WRKSRC}/src/PlasmaTubeSettings.kcfg
 
 .include <bsd.port.mk>
diff --git a/multimedia/plasmatube/distinfo b/multimedia/plasmatube/distinfo
index b70c50b5dda9..634c9a524985 100644
--- a/multimedia/plasmatube/distinfo
+++ b/multimedia/plasmatube/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1676662772
-SHA256 (plasmatube-23.01.0.tar.xz) = d23d2cb6c669a61f763e48aad44d02fdb141f81e4669ed59954ca9676a501c1a
-SIZE (plasmatube-23.01.0.tar.xz) = 70104
+TIMESTAMP = 1695238998
+SHA256 (KDE/release-service/23.08.1/plasmatube-23.08.1.tar.xz) = efe4002eda7f143a7cb751b85936a8d6e45428b166baf1ebac7c2717638b852f
+SIZE (KDE/release-service/23.08.1/plasmatube-23.08.1.tar.xz) = 83708
diff --git a/multimedia/plasmatube/pkg-plist b/multimedia/plasmatube/pkg-plist
index ab9e13efa893..35aeea7a4b8b 100644
--- a/multimedia/plasmatube/pkg-plist
+++ b/multimedia/plasmatube/pkg-plist
@@ -2,6 +2,7 @@ bin/plasmatube
 share/applications/org.kde.plasmatube.desktop
 share/icons/hicolor/scalable/apps/org.kde.plasmatube.svg
 share/locale/ar/LC_MESSAGES/plasmatube.mo
+share/locale/ast/LC_MESSAGES/plasmatube.mo
 share/locale/az/LC_MESSAGES/plasmatube.mo
 share/locale/be/LC_MESSAGES/plasmatube.mo
 share/locale/ca/LC_MESSAGES/plasmatube.mo
@@ -13,20 +14,28 @@ share/locale/es/LC_MESSAGES/plasmatube.mo
 share/locale/eu/LC_MESSAGES/plasmatube.mo
 share/locale/fi/LC_MESSAGES/plasmatube.mo
 share/locale/fr/LC_MESSAGES/plasmatube.mo
+share/locale/gl/LC_MESSAGES/plasmatube.mo
+share/locale/hi/LC_MESSAGES/plasmatube.mo
 share/locale/hu/LC_MESSAGES/plasmatube.mo
+share/locale/ia/LC_MESSAGES/plasmatube.mo
 share/locale/id/LC_MESSAGES/plasmatube.mo
 share/locale/it/LC_MESSAGES/plasmatube.mo
+share/locale/ja/LC_MESSAGES/plasmatube.mo
 share/locale/ka/LC_MESSAGES/plasmatube.mo
 share/locale/ko/LC_MESSAGES/plasmatube.mo
+share/locale/lt/LC_MESSAGES/plasmatube.mo
 share/locale/nl/LC_MESSAGES/plasmatube.mo
 share/locale/nn/LC_MESSAGES/plasmatube.mo
+share/locale/pa/LC_MESSAGES/plasmatube.mo
 share/locale/pl/LC_MESSAGES/plasmatube.mo
 share/locale/pt/LC_MESSAGES/plasmatube.mo
 share/locale/pt_BR/LC_MESSAGES/plasmatube.mo
+share/locale/ru/LC_MESSAGES/plasmatube.mo
 share/locale/sk/LC_MESSAGES/plasmatube.mo
 share/locale/sl/LC_MESSAGES/plasmatube.mo
 share/locale/sv/LC_MESSAGES/plasmatube.mo
 share/locale/tr/LC_MESSAGES/plasmatube.mo
 share/locale/uk/LC_MESSAGES/plasmatube.mo
 share/locale/zh_CN/LC_MESSAGES/plasmatube.mo
+share/locale/zh_TW/LC_MESSAGES/plasmatube.mo
 share/metainfo/org.kde.plasmatube.appdata.xml