void-packages/srcpkgs/vapoursynth-editor/template

35 lines
1015 B
Bash

# Template file for 'vapoursynth-editor'
pkgname=vapoursynth-editor
version=19
revision=1
_bitbucket_hash=8019bb5a8099
wrksrc="mystery_keeper-${pkgname}-${_bitbucket_hash}"
build_style=qmake
hostmakedepends="qt5-qmake"
makedepends="vapoursynth-devel qt5-devel qt5-websockets-devel"
depends="vapoursynth"
short_desc="Cross-platform editor for VapourSynth script"
maintainer="DirectorX <void.directorx@protonmail.com>"
license="MIT"
homepage="https://bitbucket.org/mystery_keeper/vapoursynth-editor"
distfiles="${homepage}/get/r${version}.tar.gz"
checksum=41e09a6c1411536f7a223a16263145b31de4715189cfe2ebe62b4ad69d6ec342
if [ -n "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-host-tools qt5-devel qt5-websockets-devel"
fi
pre_configure() {
mv pro/pro.pro .
}
do_install() {
find ./ -type f -executable | while read _executable
do
vbin "${_executable}"
done
vlicense LICENSE
vinstall ${FILESDIR}/vapoursynth-editor.desktop 644 usr/share/applications/
vinstall resources/vsedit.svg 644 usr/share/pixmaps/
}