diff options
author | sL1pKn07 | 2021-07-03 21:41:19 +0200 |
---|---|---|
committer | sL1pKn07 | 2021-07-03 21:41:19 +0200 |
commit | 26e2518880cfbf0165462aec0005f1aeb638326a (patch) | |
tree | 41a4221742ac234f92feb43f79b7d8b0d4f3c8e3 | |
parent | ba60102de606be5954baf3aae897c876f95e3014 (diff) | |
download | aur-26e2518880cfbf0165462aec0005f1aeb638326a.tar.gz |
bump
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | PKGBUILD | 9 |
2 files changed, 4 insertions, 6 deletions
diff --git a/.gitignore b/.gitignore index 05c6d4d4c97b..300a542d8569 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ !.gitignore !.SRCINFO !PKGBUILD +!esee.patch @@ -21,9 +21,11 @@ provides=("vapoursynth-plugin-${_plug}") conflicts=("vapoursynth-plugin-${_plug}") source=("${_plug}::git+https://github.com/Sg4Dylan/vapoursynth-${_plug}.git" # 'https://github.com/Nlzy/vapoursynth-waifu2x-ncnn-vulkan/releases/download/r0.1/models.7z' + "esee.patch" ) sha256sums=('SKIP' # 'e3b7b0b71ca606031821ac5d63b4ff25ab6874e8521521585de4a308b2f974c9' + "SKIP" ) pkgver() { @@ -50,12 +52,7 @@ prepare() { -e 's|vsscript|vapoursynth-script|g' \ -i "${_plug}/CMakeLists.txt" - sed -e "26a#ifndef min\\ -\#define min(a,b) ((a) <= (b) ? (a) : (b))\\ -\#endif\\ -\#ifndef max\\ -\#define max(a,b) ((a) >= (b) ? (a) : (b))\\ -\#endif" -i "${_plug}/fsrcnn.cpp" + patch --binary --ignore-whitespace -d "${_plug}" -p1 -i "${srcdir}/esee.patch" } |