git: ede7f17754d1 - main - multimedia/plasmatube: new port - elegant user interface for YouTube

From: Tobias C. Berner <tcberner_at_FreeBSD.org>
Date: Fri, 17 Feb 2023 20:04:43 UTC
The branch main has been updated by tcberner:

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

commit ede7f17754d1478ae63385432cd2c255027c1ae3
Author:     Tobias C. Berner <tcberner@FreeBSD.org>
AuthorDate: 2023-02-17 20:03:34 +0000
Commit:     Tobias C. Berner <tcberner@FreeBSD.org>
CommitDate: 2023-02-17 20:04:29 +0000

    multimedia/plasmatube: new port - elegant user interface for YouTube
    
    PlasmaTube allows you to watch YouTube videos on your phone or desktop using a
    elegant user interface integrated with the rest of Plasma.
    
    WWW:    https://apps.kde.org/plasmatube/
---
 multimedia/Makefile             |  1 +
 multimedia/plasmatube/Makefile  | 18 ++++++++++++++++++
 multimedia/plasmatube/distinfo  |  3 +++
 multimedia/plasmatube/pkg-descr |  2 ++
 multimedia/plasmatube/pkg-plist | 32 ++++++++++++++++++++++++++++++++
 5 files changed, 56 insertions(+)

diff --git a/multimedia/Makefile b/multimedia/Makefile
index 740e357a09c3..4b47adfb55cf 100644
--- a/multimedia/Makefile
+++ b/multimedia/Makefile
@@ -295,6 +295,7 @@
     SUBDIR += pipewire
     SUBDIR += pitivi
     SUBDIR += plasma5-plank-player
+    SUBDIR += plasmatube
     SUBDIR += playerctl
     SUBDIR += plexmediaserver
     SUBDIR += plexmediaserver-plexpass
diff --git a/multimedia/plasmatube/Makefile b/multimedia/plasmatube/Makefile
new file mode 100644
index 000000000000..21671ee13a96
--- /dev/null
+++ b/multimedia/plasmatube/Makefile
@@ -0,0 +1,18 @@
+PORTNAME=	plasmatube
+DISTVERSION=	23.01.0
+CATEGORIES=	multimedia kde
+MASTER_SITES=	KDE/stable/plasma-mobile/${DISTVERSION}/
+
+MAINTAINER=	kde@FreeBSD.org
+COMMENT=	Elegant user interface for YouTube
+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 ecm i18n kirigami2
+USE_QT=		core declarative gui network quickcontrols2 svg testlib \
+		widgets xml \
+		buildtools:build qmake:build
+
+.include <bsd.port.mk>
diff --git a/multimedia/plasmatube/distinfo b/multimedia/plasmatube/distinfo
new file mode 100644
index 000000000000..b70c50b5dda9
--- /dev/null
+++ b/multimedia/plasmatube/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1676662772
+SHA256 (plasmatube-23.01.0.tar.xz) = d23d2cb6c669a61f763e48aad44d02fdb141f81e4669ed59954ca9676a501c1a
+SIZE (plasmatube-23.01.0.tar.xz) = 70104
diff --git a/multimedia/plasmatube/pkg-descr b/multimedia/plasmatube/pkg-descr
new file mode 100644
index 000000000000..e1cf4f073fa7
--- /dev/null
+++ b/multimedia/plasmatube/pkg-descr
@@ -0,0 +1,2 @@
+PlasmaTube allows you to watch YouTube videos on your phone or desktop using a
+elegant user interface integrated with the rest of Plasma.
diff --git a/multimedia/plasmatube/pkg-plist b/multimedia/plasmatube/pkg-plist
new file mode 100644
index 000000000000..ab9e13efa893
--- /dev/null
+++ b/multimedia/plasmatube/pkg-plist
@@ -0,0 +1,32 @@
+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/az/LC_MESSAGES/plasmatube.mo
+share/locale/be/LC_MESSAGES/plasmatube.mo
+share/locale/ca/LC_MESSAGES/plasmatube.mo
+share/locale/ca@valencia/LC_MESSAGES/plasmatube.mo
+share/locale/cs/LC_MESSAGES/plasmatube.mo
+share/locale/de/LC_MESSAGES/plasmatube.mo
+share/locale/en_GB/LC_MESSAGES/plasmatube.mo
+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/hu/LC_MESSAGES/plasmatube.mo
+share/locale/id/LC_MESSAGES/plasmatube.mo
+share/locale/it/LC_MESSAGES/plasmatube.mo
+share/locale/ka/LC_MESSAGES/plasmatube.mo
+share/locale/ko/LC_MESSAGES/plasmatube.mo
+share/locale/nl/LC_MESSAGES/plasmatube.mo
+share/locale/nn/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/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/metainfo/org.kde.plasmatube.appdata.xml