Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Sep 2022 23:29:54 GMT
From:      Nuno Teixeira <eduardo@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: ae5b7072886e - main - multimedia/*pipe-viewer: Update to 0.3.1
Message-ID:  <202209112329.28BNTsES099635@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by eduardo:

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

commit ae5b7072886eb9e743c22f814a85f46722b0d4f4
Author:     Jesús Daniel Colmenares Oviedo <DtxdF@disroot.org>
AuthorDate: 2022-09-11 23:24:54 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2022-09-11 23:24:54 +0000

    multimedia/*pipe-viewer: Update to 0.3.1
    
     - add .desktop file
     - pet portclippy
     - reformat with portfmt
     - drop WWW::PipeViewer::Authentication: unused and unsupported
     - drop WWW::PipeViewer::PlaylistItems::favorite_video: unused and unsupported
    
    ChangeLog:      https://github.com/trizen/pipe-viewer/blob/0.3.1/Changes
    PR:             266208
---
 multimedia/gtk-pipe-viewer/Makefile |  4 ++--
 multimedia/pipe-viewer/Makefile     | 34 ++++++++++++++++++++--------------
 multimedia/pipe-viewer/distinfo     |  6 +++---
 multimedia/pipe-viewer/pkg-plist    |  7 +++----
 4 files changed, 28 insertions(+), 23 deletions(-)

diff --git a/multimedia/gtk-pipe-viewer/Makefile b/multimedia/gtk-pipe-viewer/Makefile
index 50c3223c4a79..ccf91e6ea00e 100644
--- a/multimedia/gtk-pipe-viewer/Makefile
+++ b/multimedia/gtk-pipe-viewer/Makefile
@@ -4,10 +4,10 @@ PKGNAMEPREFIX=	gtk-
 MAINTAINER=	DtxdF@disroot.org
 COMMENT=	Application for searching and playing videos from YouTube (gtk)
 
-MASTERDIR=	${.CURDIR}/../pipe-viewer
-
 CONFLICTS_INSTALL=	multimedia/pipe-viewer
 
+MASTERDIR=	${.CURDIR}/../pipe-viewer
+
 OPTIONS_DEFAULT=	GTK3 JSON_XS LINE_BREAK LOCAL_CACHE READLINE SHARE_DIR \
 			YT_DLP
 
diff --git a/multimedia/pipe-viewer/Makefile b/multimedia/pipe-viewer/Makefile
index d333a35ec961..b9a9235d58ae 100644
--- a/multimedia/pipe-viewer/Makefile
+++ b/multimedia/pipe-viewer/Makefile
@@ -1,10 +1,10 @@
 PORTNAME=	pipe-viewer
-PORTVERSION=	0.2.3
+PORTVERSION=	0.3.1
 CATEGORIES=	multimedia perl5
 
 MAINTAINER?=	DtxdF@disroot.org
 COMMENT?=	Application for searching and playing videos from YouTube
-WWW=		https://github.com/trizen/pipe-viewer
+WWW=	https://github.com/trizen/pipe-viewer
 
 LICENSE=	ART20
 LICENSE_FILE=	${WRKSRC}/LICENSE
@@ -16,10 +16,9 @@ RUN_DEPENDS=	p5-Data-Dump>0:devel/p5-Data-Dump \
 		p5-LWP-Protocol-https>0:www/p5-LWP-Protocol-https
 
 USES=	perl5
-USE_PERL5=	modbuild
-
 USE_GITHUB=	yes
 GH_ACCOUNT=	trizen
+USE_PERL5=	modbuild
 
 CONFLICTS_INSTALL?=	multimedia/gtk-pipe-viewer
 
@@ -31,25 +30,32 @@ OPTIONS_RADIO_YOUTUBE=	YOUTUBE_DL YT_DLP
 
 OPTIONS_SUB=	yes
 
-LOCAL_CACHE_DESC=	Local cache support
-JSON_XS_DESC=	Faster JSON deserialization
-SHARE_DIR_DESC=	Install with p5-File-ShareDir
+CHAR_WIDTH_DESC=	Install with p5-Unicode-LineBreak
 FIXED_WIDTH_DESC=	Fixed-width formatting
+JSON_XS_DESC=	Faster JSON deserialization
 LINE_BREAK_DESC=	Install with p5-Text-CharWidth
-CHAR_WIDTH_DESC=	Install with p5-Unicode-LineBreak
+LOCAL_CACHE_DESC=	Local cache support
+SHARE_DIR_DESC=	Install with p5-File-ShareDir
 YOUTUBE_DESC=	Youtube support
-YT_DLP_DESC=	Enable Youtube support with yt-dlp
 YOUTUBE_DL_DESC=	Enable Youtube support with youtube_dl
+YT_DLP_DESC=	Enable Youtube support with yt-dlp
 
+CHAR_WIDTH_RUN_DEPENDS=	p5-Text-CharWidth>0:textproc/p5-Text-CharWidth
 GTK3_RUN_DEPENDS=	p5-Gtk3>0:x11-toolkits/p5-Gtk3
+GTK3_USES=	desktop-file-utils
 GTK3_CONFIGURE_ON=	--gtk
-SHARE_DIR_RUN_DEPENDS=	p5-File-ShareDir>0:devel/p5-File-ShareDir
-LOCAL_CACHE_RUN_DEPENDS=	p5-LWP-UserAgent-WithCache>0:www/p5-LWP-UserAgent-WithCache
-READLINE_RUN_DEPENDS=	p5-Term-ReadLine-Gnu>0:devel/p5-Term-ReadLine-Gnu
 JSON_XS_RUN_DEPENDS=	p5-JSON-XS>0:converters/p5-JSON-XS
 LINE_BREAK_RUN_DEPENDS=	p5-Unicode-LineBreak>0:textproc/p5-Unicode-LineBreak
-CHAR_WIDTH_RUN_DEPENDS=	p5-Text-CharWidth>0:textproc/p5-Text-CharWidth
-YT_DLP_RUN_DEPENDS=	yt-dlp>0:www/yt-dlp
+LOCAL_CACHE_RUN_DEPENDS=	p5-LWP-UserAgent-WithCache>0:www/p5-LWP-UserAgent-WithCache
+READLINE_RUN_DEPENDS=	p5-Term-ReadLine-Gnu>0:devel/p5-Term-ReadLine-Gnu
+SHARE_DIR_RUN_DEPENDS=	p5-File-ShareDir>0:devel/p5-File-ShareDir
 YOUTUBE_DL_RUN_DEPENDS=	youtube_dl>0:www/youtube_dl
+YT_DLP_RUN_DEPENDS=	yt-dlp>0:www/yt-dlp
+
+post-install-GTK3-on:
+	(cd ${STAGEDIR}${DESKTOPDIR} && ${LN} -sf \
+	../../${SITE_PERL_REL}/auto/share/dist/WWW-PipeViewer/gtk-pipe-viewer.desktop)
+	(cd ${STAGEDIR}${PREFIX}/share/pixmaps && ${LN} -sf \
+	../../${SITE_PERL_REL}/auto/share/dist/WWW-PipeViewer/icons/gtk-pipe-viewer.png)
 
 .include <bsd.port.mk>
diff --git a/multimedia/pipe-viewer/distinfo b/multimedia/pipe-viewer/distinfo
index 2aed47b1155a..ce412cdd0c87 100644
--- a/multimedia/pipe-viewer/distinfo
+++ b/multimedia/pipe-viewer/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1660516896
-SHA256 (trizen-pipe-viewer-0.2.3_GH0.tar.gz) = 08d585c6e07236975d6cb8275fc8c1f42996e0755246207a5b0197e19739ecdd
-SIZE (trizen-pipe-viewer-0.2.3_GH0.tar.gz) = 266301
+TIMESTAMP = 1662849714
+SHA256 (trizen-pipe-viewer-0.3.1_GH0.tar.gz) = d4fa9add3b91f81d78c27e452e09657c8fb669f99f10c3a46c863669cd44e231
+SIZE (trizen-pipe-viewer-0.3.1_GH0.tar.gz) = 258869
diff --git a/multimedia/pipe-viewer/pkg-plist b/multimedia/pipe-viewer/pkg-plist
index c08b96909ca5..5a6e64f4e9d5 100644
--- a/multimedia/pipe-viewer/pkg-plist
+++ b/multimedia/pipe-viewer/pkg-plist
@@ -1,7 +1,6 @@
 bin/pipe-viewer
 %%SITE_PERL%%/WWW/PipeViewer.pm
 %%SITE_PERL%%/WWW/PipeViewer/Activities.pm
-%%SITE_PERL%%/WWW/PipeViewer/Authentication.pm
 %%SITE_PERL%%/WWW/PipeViewer/Channels.pm
 %%SITE_PERL%%/WWW/PipeViewer/CommentThreads.pm
 %%SITE_PERL%%/WWW/PipeViewer/GetCaption.pm
@@ -12,16 +11,15 @@ bin/pipe-viewer
 %%SITE_PERL%%/WWW/PipeViewer/ParseXML.pm
 %%SITE_PERL%%/WWW/PipeViewer/PlaylistItems.pm
 %%SITE_PERL%%/WWW/PipeViewer/Playlists.pm
+%%SITE_PERL%%/WWW/PipeViewer/Proto.pm
 %%SITE_PERL%%/WWW/PipeViewer/RegularExpressions.pm
 %%SITE_PERL%%/WWW/PipeViewer/Search.pm
-%%SITE_PERL%%/WWW/PipeViewer/Subscriptions.pm
 %%SITE_PERL%%/WWW/PipeViewer/Utils.pm
 %%SITE_PERL%%/WWW/PipeViewer/VideoCategories.pm
 %%SITE_PERL%%/WWW/PipeViewer/Videos.pm
 %%PERL5_MAN1%%/pipe-viewer.1.gz
 %%PERL5_MAN3%%/WWW::PipeViewer.3.gz
 %%PERL5_MAN3%%/WWW::PipeViewer::Activities.3.gz
-%%PERL5_MAN3%%/WWW::PipeViewer::Authentication.3.gz
 %%PERL5_MAN3%%/WWW::PipeViewer::Channels.3.gz
 %%PERL5_MAN3%%/WWW::PipeViewer::CommentThreads.3.gz
 %%PERL5_MAN3%%/WWW::PipeViewer::GetCaption.3.gz
@@ -34,7 +32,6 @@ bin/pipe-viewer
 %%PERL5_MAN3%%/WWW::PipeViewer::Playlists.3.gz
 %%PERL5_MAN3%%/WWW::PipeViewer::RegularExpressions.3.gz
 %%PERL5_MAN3%%/WWW::PipeViewer::Search.3.gz
-%%PERL5_MAN3%%/WWW::PipeViewer::Subscriptions.3.gz
 %%PERL5_MAN3%%/WWW::PipeViewer::Utils.3.gz
 %%PERL5_MAN3%%/WWW::PipeViewer::VideoCategories.3.gz
 %%PERL5_MAN3%%/WWW::PipeViewer::Videos.3.gz
@@ -47,3 +44,5 @@ bin/pipe-viewer
 %%GTK3%%%%SITE_PERL%%/auto/share/dist/WWW-PipeViewer/icons/gtk-pipe-viewer.png
 %%GTK3%%%%SITE_PERL%%/auto/share/dist/WWW-PipeViewer/icons/spinner.gif
 %%GTK3%%%%SITE_PERL%%/auto/share/dist/WWW-PipeViewer/icons/user.png
+%%GTK3%%share/applications/gtk-pipe-viewer.desktop
+%%GTK3%%share/pixmaps/gtk-pipe-viewer.png



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202209112329.28BNTsES099635>