summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGustavo Alvarez2016-10-19 22:21:00 +0200
committerGustavo Alvarez2016-10-19 22:21:00 +0200
commit7d1434c11125ff8f34518e01515ab67d8bb37e95 (patch)
tree5d53bf2e69f354a8cb2ffed462bc5425a42c17e9
parent981f117a7dd49883e54a373c0349bafd900470ee (diff)
downloadaur-7d1434c11125ff8f34518e01515ab67d8bb37e95.tar.gz
generate __pycache__ files and bump pkgrel
-rw-r--r--.SRCINFO7
-rw-r--r--PKGBUILD12
2 files changed, 10 insertions, 9 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 26519f4ec43..5e37dc0e15f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,17 +1,16 @@
# Generated by mksrcinfo v8
-# Sun Jan 17 06:43:49 UTC 2016
+# Wed Oct 19 20:20:33 UTC 2016
pkgbase = vapoursynth-plugin-scenechange
pkgdesc = Plugin for Vapoursynth: scenechange (Include temporalsoften2 script)
pkgver = 0.2.0_2
- pkgrel = 4
+ pkgrel = 5
url = http://forum.doom9.org/showthread.php?t=166769
arch = i686
arch = x86_64
license = LGPL2.1
- makedepends = git
depends = vapoursynth
source = https://dl.dropbox.com/u/6596386/vapoursynth-plugins/scenechange-0.2.0-2.7z
- sha1sums = 98ffaf3ea7ed8294a6a4b415c2ff813f5b87b8f1
+ sha256sums = 138ef3bd565e54dab556080e0ae3a426ef00f62f340e8eb6c2cb134dbf14332c
pkgname = vapoursynth-plugin-scenechange
diff --git a/PKGBUILD b/PKGBUILD
index 4af60cc3d0f..2266c6d696d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,15 +3,14 @@
_plug=scenechange
pkgname=vapoursynth-plugin-${_plug}
pkgver=0.2.0_2
-pkgrel=4
+pkgrel=5
pkgdesc="Plugin for Vapoursynth: ${_plug} (Include temporalsoften2 script)"
arch=('i686' 'x86_64')
url='http://forum.doom9.org/showthread.php?t=166769'
license=('LGPL2.1')
depends=('vapoursynth')
-makedepends=('git')
source=("https://dl.dropbox.com/u/6596386/vapoursynth-plugins/${_plug}-${pkgver/_/-}.7z")
-sha1sums=('98ffaf3ea7ed8294a6a4b415c2ff813f5b87b8f1')
+sha256sums=('138ef3bd565e54dab556080e0ae3a426ef00f62f340e8eb6c2cb134dbf14332c')
_sites_packages="$(python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")"
@@ -19,8 +18,8 @@ prepare() {
rm -fr src/Vapoursynth.h
echo "all:
- gcc -c -std=gnu99 -msse2 -mfpmath=sse -ffast-math -fomit-frame-pointer -fPIC ${CFLAGS} ${CPPFLAGS} -I. $(pkg-config --cflags vapoursynth) -o scenechange.o src/scenechange.c
- gcc -c -std=gnu99 -msse2 -mfpmath=sse -ffast-math -fomit-frame-pointer -fPIC ${CFLAGS} ${CPPFLAGS} -I. $(pkg-config --cflags vapoursynth) -o temporalsoften.o src/temporalsoften.c
+ gcc -c -std=gnu99 -ffast-math -fexcess-precision=fast -fPIC ${CFLAGS} ${CPPFLAGS} -I. $(pkg-config --cflags vapoursynth) -o scenechange.o src/scenechange.c
+ gcc -c -std=gnu99 -ffast-math -fexcess-precision=fast -fPIC ${CFLAGS} ${CPPFLAGS} -I. $(pkg-config --cflags vapoursynth) -o temporalsoften.o src/temporalsoften.c
gcc -shared -fPIC ${LDFLAGS} -o lib${_plug}.so scenechange.o
gcc -shared -fPIC ${LDFLAGS} -o libtemporalsoften2.so temporalsoften.o" > Makefile
}
@@ -32,7 +31,10 @@ build() {
package(){
install -Dm755 "lib${_plug}.so" "${pkgdir}/usr/lib/vapoursynth/lib${_plug}.so"
install -Dm755 libtemporalsoften2.so "${pkgdir}/usr/lib/vapoursynth/libtemporalsoften2.so"
+
install -Dm644 temporalsoften2.py "${pkgdir}${_sites_packages}/temporalsoften2.py"
+ python -m compileall -q -f -d "${_sites_packages}" "${pkgdir}${_site_packages}/temporalsoften2.py"
+ python -OO -m compileall -q -f -d "${_sites_packages}" "${pkgdir}${_site_packages}/temporalsoften2.py"
install -Dm644 readme.txt "${pkgdir}/usr/share/doc/vapoursynth/plugins/${_plug}/README.txt"
install -Dm644 readme_temporalsoften.txt "${pkgdir}/usr/share/doc/vapoursynth/plugins/${_plug}/README_temporalsoften2.txt"