void-packages/srcpkgs/pipe-viewer/template
Roberto Ricci d57646cb5f pipe-viewer: depend on perl-HTML-Parser
Since abb6721293 this must be explicit.
Previously it was implicit through
perl-LWP-Protocol-https -> perl-LWP -> perl-HTTP-Message -> perl-HTML-Parser.
2021-09-19 00:10:33 -03:00

39 lines
1.4 KiB
Bash

# Template file for 'pipe-viewer'
pkgname=pipe-viewer
version=0.1.4
revision=2
build_style=perl-ModuleBuild
configure_args="--gtk"
hostmakedepends="perl-Module-Build"
depends="perl-Data-Dump perl-JSON perl-LWP-Protocol-https perl-Term-ReadLine-Gnu
perl-Unicode-LineBreak perl-JSON-XS perl-HTML-Parser"
checkdepends="perl-Test-Pod"
short_desc="Search and play videos from YouTube without an API key"
maintainer="Roberto Ricci <ricci@disroot.org>"
license="Artistic-2.0"
homepage="https://github.com/trizen/pipe-viewer"
changelog="https://github.com/trizen/pipe-viewer/releases"
distfiles="https://github.com/trizen/pipe-viewer/archive/${version}.tar.gz"
checksum=b55d8098d671c0aa3c6441e3305693d3223f0c699b16d1b977a3705ca457e7b9
pipe-viewer-gtk_package() {
depends="${sourcepkg}>=${version}_${revision} perl-Gtk3 perl-File-ShareDir"
short_desc+=" - GTK interface"
pkg_install() {
vmove usr/bin/gtk-pipe-viewer
vmove "usr/share/perl5/vendor_perl/auto/share/dist/WWW-PipeViewer/gtk-*"
vmove usr/share/perl5/vendor_perl/auto/share/dist/WWW-PipeViewer/icons
}
}
straw-viewer_package() {
build_style=meta
depends="pipe-viewer>=${version}_${revision}"
short_desc="Search and stream from YouTube using the API of invidio.us (transitional dummy package)"
}
gtk-straw-viewer_package() {
build_style=meta
depends="pipe-viewer-gtk>=${version}_${revision}"
short_desc="Gtk interface to search and stream YouTube using the API of invidio.us (transitional dummy package)"
}