summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 41581acfbdb90c5031d58757bc77ec535db92d74 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Maintainer: Nocifer <apmichalopoulos at gmail dot com>

pkgname='vapoursynth-previewer'
pkgver='R4'
pkgrel='1'
pkgdesc='Standalone previewer for VapourSynth scripts'
arch=('x86_64')
url='https://github.com/YomikoR/VapourSynth-Editor/tree/vse-previewer'
license=('CC-BY-2.5 AND CC-BY-3.0 AND MIT')
depends=('qt6-multimedia' 'vapoursynth>=R58')
options=('!lto')
source=("https://github.com/YomikoR/VapourSynth-Editor/archive/refs/tags/VSE-Previewer-${pkgver}.tar.gz")
sha256sums=('dab73fd638d37900ced8d20a9d223ea0058e5c3c53d98491a4a68a4f80cc2452')

build() {
    cd VapourSynth-Editor-VSE-Previewer-${pkgver}/pro

    qmake6 -norecursive vse-previewer.pro CONFIG+=release
    make
}

package() {
    cd VapourSynth-Editor-VSE-Previewer-${pkgver}

    install -Dm755 build/release-gcc/vse-previewer -t "${pkgdir}"/usr/bin/

    install -Dm644 build/release-gcc/LICENSE -t "${pkgdir}"/usr/share/licenses/"${pkgname}"/
}