From 43bcd7ada4326f78e0c51186d8c19a7988fbc6bc Mon Sep 17 00:00:00 2001 From: Roberto Ricci Date: Sat, 10 Apr 2021 22:14:07 +0200 Subject: [PATCH] straw-viewer: replace with pipe-viewer Since pipe-viewer-0.0.8, straw-viewer is deprecated. The latter could not become a subpackage of pipe-viewer because of different versioning, so it keeps its own template. --- srcpkgs/straw-viewer/template | 23 ++++++----------------- 1 file changed, 6 insertions(+), 17 deletions(-) diff --git a/srcpkgs/straw-viewer/template b/srcpkgs/straw-viewer/template index b3a9137af087..49687dc30340 100644 --- a/srcpkgs/straw-viewer/template +++ b/srcpkgs/straw-viewer/template @@ -1,26 +1,15 @@ # Template file for 'straw-viewer' pkgname=straw-viewer version=0.1.3 -revision=1 -build_style=perl-ModuleBuild -configure_args="--gtk" -hostmakedepends="perl-Module-Build" -makedepends="perl" -depends="perl-Data-Dump perl-JSON perl-LWP-Protocol-https perl-Term-ReadLine-Gnu" -short_desc="Search and stream from YouTube using the API of invidio.us" +revision=2 +build_style=meta +depends="pipe-viewer" +short_desc="Search and stream from YouTube using the API of invidio.us (transitional dummy package)" maintainer="Roberto Ricci " license="Artistic-2.0" homepage="https://github.com/trizen/straw-viewer" -changelog="https://github.com/trizen/straw-viewer/releases" -distfiles="https://github.com/trizen/straw-viewer/archive/${version}.tar.gz" -checksum=e6afc6a87578a55b17666a79b813657daac93f78aaf810d1aa03fcb4a7354bf4 gtk-straw-viewer_package() { - depends="${sourcepkg}-${version}_${revision} perl-Gtk3 perl-File-ShareDir" - short_desc="Gtk interface to search and stream YouTube using the API of invidio.us" - pkg_install() { - vmove usr/bin/gtk-straw-viewer - vmove "usr/share/perl5/vendor_perl/auto/share/dist/WWW-StrawViewer/gtk-*" - vmove usr/share/perl5/vendor_perl/auto/share/dist/WWW-StrawViewer/icons - } + depends="pipe-viewer-gtk" + short_desc="Gtk interface to search and stream YouTube using the API of invidio.us (transitional dummy package)" }