vp-build/srcpkgs/vapoursynth-editor/template

35 lines
1017 B
Bash

# Template file for 'vapoursynth-editor'
pkgname=vapoursynth-editor
version=r18
revision=1
_bitbucket_hash=a511db5a522c
wrksrc="mystery_keeper-${pkgname}-${_bitbucket_hash}"
build_style=qmake
hostmakedepends="qt5-qmake"
makedepends="vapoursynth-devel qt5-devel qt5-websockets-devel"
depends="vapoursynth"
short_desc="A 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/${version}.tar.gz"
checksum=7c560c1ef4ea1810babda30f11358e073ba471971a43a0252bc0ae04d3de901f
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/
}