void-packages/srcpkgs/clipgrab/template

33 lines
1021 B
Bash

# Template file for 'clipgrab'
pkgname=clipgrab
version=3.9.2
revision=1
build_style=qmake
configure_args=clipgrab.pro
makedepends="qt5-webengine-devel qt5-webchannel-devel
qt5-location-devel qt5-devel qt5-quickcontrols2-devel
qt5-declarative-devel"
depends="ffmpeg desktop-file-utils"
short_desc="Friendly downloader for YouTube and other sites"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-3.0-or-later"
homepage="https://clipgrab.org"
distfiles="https://download.clipgrab.org/clipgrab-${version}.tar.gz"
checksum=c5bfcb0f6c3bff52ea68c2b978812bcbd43718fd2bcd2dcad1d6a4c970be6cb2
if [ "$CROSS_BUILD" ]; then
hostmakedepends=" qt5-location-devel qt5-quickcontrols2-devel
qt5-declarative-devel qt5-webchannel-devel qt5-webengine-devel
qt5-host-tools qt5-devel"
fi
case "$XBPS_TARGET_MACHINE" in
arm*) broken="qt-webkit not available on arm"
esac
do_install() {
vbin clipgrab
vinstall icon.png 644 usr/share/pixmaps clipgrab.png
vinstall ${FILESDIR}/clipgrab.desktop 644 usr/share/applications
}