diff options
author | sL1pKn07 | 2023-01-23 00:56:23 +0100 |
---|---|---|
committer | sL1pKn07 | 2023-01-23 00:56:23 +0100 |
commit | 02023c2dcff78a7142fe4a0e8e09d6b286639931 (patch) | |
tree | 1cd9c24b46d2173c5caaf92dc766c8ad3d679240 | |
parent | 1e1ddd70324d63d7c1095027b5ea6e6be4b73d77 (diff) | |
download | aur-avisynth-plugin-turnstile-git.tar.gz |
bump
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 22 |
2 files changed, 13 insertions, 12 deletions
@@ -1,6 +1,6 @@ pkgbase = avisynth-plugin-turnstile-git pkgdesc = Plugin for Avisynth: turnstile (GIT version) - pkgver = v1.0.0.0.g9174d07 + pkgver = 1.0.0.0.g9174d07 pkgrel = 1 url = https://github.com/ItEndsWithTens/TurnsTile arch = x86_64 @@ -18,4 +18,3 @@ pkgbase = avisynth-plugin-turnstile-git sha256sums = ca3cff98459311e4f3e219a3a4122562e737624ef9026048dc89b19bcc3568ab pkgname = avisynth-plugin-turnstile-git - @@ -2,7 +2,7 @@ _plug=turnstile pkgname=avisynth-plugin-${_plug}-git -pkgver=v1.0.0.0.g9174d07 +pkgver=1.0.0.0.g9174d07 pkgrel=1 pkgdesc="Plugin for Avisynth: ${_plug} (GIT version)" arch=('x86_64') @@ -25,30 +25,32 @@ sha256sums=('SKIP' pkgver() { cd "${_plug}" - echo "$(git describe --long --tags | tr - .)" + echo "$(git describe --long --tags | tr - . | tr -d v)" } prepare() { - mkdir -p build - cd "${_plug}" patch -p1 -i "${srcdir}/esee" + sed 's|8_H|9_H|g' \ + -i CMakeLists.txt git config submodule.include/lodepng.url "${srcdir}/lodepng" - git submodule update --init include/lodepng + git -c protocol.file.allow=always submodule update --init \ + include/lodepng } build() { - cd build + CXXFLAGS=" $(pkg-config --cflags avisynth)" - cmake "../${_plug}" \ + cmake -S "${_plug}" -B build \ -DCMAKE_BUILD_TYPE=None \ -DCMAKE_INSTALL_PREFIX=/usr \ - -DAVISYNTHPLUS_HDR=/usr/include/avisynth/avisynth.h + -DAVISYNTHPLUS_HDR=/usr/include/avisynth/avisynth.h \ + -DTURNSTILE_TESTS=OFF - make + cmake --build build } package(){ - make -C build DESTDIR="${pkgdir}" install + DESTDIR="${pkgdir}" cmake --install build } |