summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorsL1pKn072021-07-03 21:41:19 +0200
committersL1pKn072021-07-03 21:41:19 +0200
commit26e2518880cfbf0165462aec0005f1aeb638326a (patch)
tree41a4221742ac234f92feb43f79b7d8b0d4f3c8e3
parentba60102de606be5954baf3aae897c876f95e3014 (diff)
downloadaur-26e2518880cfbf0165462aec0005f1aeb638326a.tar.gz
bump
-rw-r--r--.gitignore1
-rw-r--r--PKGBUILD9
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
diff --git a/PKGBUILD b/PKGBUILD
index 5ef24203ce0f..d2bc3c24e300 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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"
}