summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorsL1pKn072020-04-13 06:13:10 +0200
committersL1pKn072020-04-13 06:13:10 +0200
commit374ba6a3cf4dd0f4ceac7ebde8984bcc2fb15cb2 (patch)
treebc1e4eb12f18c4ba53c0e157461618dbce7294e5
downloadaur-374ba6a3cf4dd0f4ceac7ebde8984bcc2fb15cb2.tar.gz
Initial commit
-rw-r--r--.SRCINFO26
-rw-r--r--.gitignore4
-rw-r--r--PKGBUILD65
3 files changed, 95 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..c711e940f6f
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,26 @@
+pkgbase = foosynth-plugin-neo_tmedian-git
+ pkgdesc = Plugin for Vapoursynth/Avisynth: neo_tmedian (Dual interface for Vapoursynth/Avisynth) (GIT version)
+ pkgver = r1.1.g4199078
+ pkgrel = 1
+ url = https://github.com/HomeOfAviSynthPlusEvolution/neo_TMedian.git
+ arch = x86_64
+ license = GPL
+ makedepends = git
+ makedepends = cmake
+ makedepends = avisynthplus-git
+ makedepends = vapoursynth
+ source = neo_tmedian::git+https://github.com/HomeOfAviSynthPlusEvolution/neo_TMedian.git
+ sha256sums = SKIP
+
+pkgname = avisynth-plugin-neo_tmedian-git
+ pkgdesc = Plugin for Avisynth: neo_tmedian (GIT version)
+ depends = avisynthplus
+ provides = avisynth-plugin-neo_tmedian
+ conflicts = avisynth-plugin-neo_tmedian
+
+pkgname = vapoursynth-plugin-neo_tmedian-git
+ pkgdesc = Plugin for Vapoursynth: neo_tmedian (GIT version)
+ depends = vapoursynth
+ provides = vapoursynth-plugin-neo_tmedian
+ conflicts = vapoursynth-plugin-neo_tmedian
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..05c6d4d4c97
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+*
+!.gitignore
+!.SRCINFO
+!PKGBUILD
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..faf878dc965
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,65 @@
+# Maintainer: Gustavo Alvarez <sl1pkn07@gmail.com>
+
+_plug=neo_tmedian
+pkgbase="foosynth-plugin-${_plug}-git"
+pkgname=("avisynth-plugin-${_plug}-git"
+ "vapoursynth-plugin-${_plug}-git"
+ )
+pkgver=r1.1.g4199078
+pkgrel=1
+pkgdesc="Plugin for Vapoursynth/Avisynth: ${_plug} (Dual interface for Vapoursynth/Avisynth) (GIT version)"
+arch=('x86_64')
+url='https://github.com/HomeOfAviSynthPlusEvolution/neo_TMedian.git'
+license=('GPL')
+makedepends=('git'
+ 'cmake'
+ 'avisynthplus-git'
+ 'vapoursynth'
+ )
+source=("${_plug}::git+https://github.com/HomeOfAviSynthPlusEvolution/neo_TMedian.git")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd "${_plug}"
+ echo "$(git describe --first-parent --tags --always | tr - .)"
+}
+
+prepare() {
+ cd "${_plug}"
+ mkdir -p build
+
+ sed '1i#include <cpuid.h>' -i src/cpuid.cpp
+}
+
+build() {
+ cd "${_plug}/build"
+ cmake .. \
+ -DCMAKE_BUILD_TYPE=None \
+ -DCMAKE_INSTALL_PREFIX=/usr
+
+ make
+}
+
+package_avisynth-plugin-neo_tmedian-git() {
+ pkgdesc="Plugin for Avisynth: ${_plug} (GIT version)"
+ depends=('avisynthplus')
+ provides=("avisynth-plugin-${_plug}")
+ conflicts=("avisynth-plugin-${_plug}")
+
+ install -Dm644 "${_plug}/build/libneo-tmedian.so" "${pkgdir}/usr/lib/avisynth/libneo-tmedian.so"
+ install -Dm644 "${_plug}/README.md" "${pkgdir}/usr/share/doc/avisynth/plugins/${_plug}/README.md"
+
+ install -Dm644 "${_plug}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+package_vapoursynth-plugin-neo_tmedian-git() {
+ pkgdesc="Plugin for Vapoursynth: ${_plug} (GIT version)"
+ depends=('vapoursynth')
+ provides=("vapoursynth-plugin-${_plug}")
+ conflicts=("vapoursynth-plugin-${_plug}")
+
+ install -Dm644 "${_plug}/build/libneo-tmedian.so" "${pkgdir}/usr/lib/vapoursynth/libneo-tmedian.so"
+ install -Dm644 "${_plug}/README.md" "${pkgdir}/usr/share/doc/vapoursynth/plugins/${_plug}/README.md"
+
+ install -Dm644 "${_plug}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}