30 lines
966 B
Bash
30 lines
966 B
Bash
# Template file for 'clipgrab'
|
|
pkgname=clipgrab
|
|
version=3.8.0
|
|
revision=1
|
|
build_style=qmake
|
|
configure_args=clipgrab.pro
|
|
hostmakedepends="qt5-qmake qt5-devel"
|
|
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="Juan RP <xtraeme@voidlinux.org>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="https://clipgrab.org"
|
|
distfiles="https://download.clipgrab.org/clipgrab-${version}.tar.gz"
|
|
checksum=e67485514e12ed4c4c7a1e70d1f9d51b093677088617ae44c2f68f729d4490d6
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
hostmakedepends+=" qt5-location-devel qt5-quickcontrols2-devel
|
|
qt5-declarative-devel qt5-webchannel-devel qt5-webengine-devel
|
|
qt5-host-tools"
|
|
fi
|
|
|
|
do_install() {
|
|
vbin clipgrab
|
|
vinstall icon.png 644 usr/share/pixmaps clipgrab.png
|
|
vinstall ${FILESDIR}/clipgrab.desktop 644 usr/share/applications
|
|
}
|