New package: vapoursynth-editor-r16

Closes: #6663 [via git-merge-pr]
This commit is contained in:
DirectorX 2017-06-10 22:24:54 +03:00 committed by Michael Aldridge
parent 2cff067a00
commit 20f7cd8ee2
3 changed files with 55 additions and 0 deletions

View file

@ -0,0 +1,11 @@
[Desktop Entry]
Type=Application
Name=VapourSynth Editor
GenericName=vapoursynth-editor
Comment="A cross-platform editor for VapourSynth script"
Icon=vsedit
MimeType=text/x-vpy;
Exec="/usr/bin/vsedit" %f
Terminal=false
Categories=AudioVideo;IDE;
StartupNotify=false

View file

@ -0,0 +1,41 @@
# Template file for 'vapoursynth-editor'
pkgname=vapoursynth-editor
version=r16
revision=1
_bitbucket_hash=3a304dd94528
wrksrc="mystery_keeper-${pkgname}-${_bitbucket_hash}"
build_style=qmake
hostmakedepends="qt5-qmake"
makedepends="vapoursynth-devel qt5-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=e32dc3d425f8680b957fbd3427db6e4061fd1a2414db410ee75f2945aea00109
if [ -n "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-host-tools qt5-devel"
fi
post_extract() {
cp pro/* .
# project file fixes
sed -i 's/\.\.\///' pro.pro
sed -i 's/\.\.\$/.\//' pro.pro
if [ "$ARCH" = "i686" ]; then
sed -i 's/TARGET = vsedit-32bit/TARGET = vsedit/' pro.pro
fi
}
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/
}

View file

@ -0,0 +1,3 @@
site='https://bitbucket.org/mystery_keeper/vapoursynth-editor/downloads/?tab=tags'
pattern='/get/\K[\d.]+(?=\.tar\.gz)'