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
This commit is contained in:
Jesús Daniel Colmenares Oviedo 2022-09-12 00:24:54 +01:00 committed by Nuno Teixeira
parent ac339674ac
commit ae5b707288
4 changed files with 29 additions and 24 deletions

View File

@ -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

View File

@ -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
FIXED_WIDTH_DESC= Fixed-width formatting
LINE_BREAK_DESC= Install with p5-Text-CharWidth
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
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>

View File

@ -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

View File

@ -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