Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Maintainer: Gustavo Alvarez <[email protected]>
- _plug=mvtools_sf
- pkgname=vapoursynth-plugin-${_plug}-git
- pkgver=10_pe.7.g38dadba
- pkgrel=1
- pkgdesc="Plugin for Vapoursynth: ${_plug} (GIT version)"
- arch=('x86_64')
- url='https://forum.doom9.org/showthread.php?t=172525'
- license=('GPL2')
- depends=('vapoursynth'
- 'fftw'
- )
- makedepends=('git'
- 'meson'
- 'vapoursynth-lib-vsfilterscript-git'
- )
- provides=("vapoursynth-plugin-${_plug}")
- conflicts=("vapoursynth-plugin-${_plug}")
- source=("${_plug}::git+https://github.com/IFeelBloated/vapoursynth-mvtools-sf.git")
- sha256sums=('SKIP')
- options=('debug')
- pkgver() {
- cd "${_plug}"
- echo "$(git describe --long --tags | tr - . | tr -d r)"
- }
- prepare() {
- mkdir -p build
- mkdir -p "${srcdir}/mvtools_sf"
- sed 's|vapoursynth-mvtools-sf|mvtools_sf|g' -i "${_plug}/meson.build"
- cp -r /usr/include/vsFilterScript "${srcdir}/mvtools_sf"
- patch -p1 < ../mvtools.patch
- }
- build() {
- cd build
- arch-meson "../${_plug}" \
- --prefix /usr
- ninja
- }
- package() {
- DESTDIR="${pkgdir}" ninja -C build install
- }
Advertisement
Add Comment
Please, Sign In to add comment