[arch-commits] Commit in vapoursynth/repos (3 files)
Felix Yan
felixonmars at gemini.archlinux.org
Fri Dec 3 00:38:35 UTC 2021
Date: Friday, December 3, 2021 @ 00:38:34
Author: felixonmars
Revision: 1063922
archrelease: copy trunk to community-staging-x86_64
Added:
vapoursynth/repos/community-staging-x86_64/
vapoursynth/repos/community-staging-x86_64/PKGBUILD
(from rev 1063921, vapoursynth/trunk/PKGBUILD)
vapoursynth/repos/community-staging-x86_64/vapoursynth.xml
(from rev 1063921, vapoursynth/trunk/vapoursynth.xml)
----------+
PKGBUILD | 75 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 75 insertions(+)
Copied: vapoursynth/repos/community-staging-x86_64/PKGBUILD (from rev 1063921, vapoursynth/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2021-12-03 00:38:34 UTC (rev 1063922)
@@ -0,0 +1,75 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: sl1pkn07 <sl1pkn07 at gmail.com>
+# Contributor: jackoneill <cantabile.desu at gmail.com>
+
+pkgname=vapoursynth
+pkgver=R57
+pkgrel=2
+pkgdesc='A video processing framework with the future in mind'
+arch=(x86_64)
+url=http://www.vapoursynth.com/
+license=(
+ LGPL2.1
+ custom:OFL
+)
+depends=(
+ libass.so
+ libavcodec.so
+ libavformat.so
+ libavutil.so
+ libmagick
+ libzimg.so
+ python
+ tesseract
+)
+makedepends=(
+ cython
+ git
+ python-sphinx
+)
+_tag=325756ed04588b31840fdb74479537cddcba4bf7
+source=(
+ git+https://github.com/vapoursynth/vapoursynth.git#tag=${_tag}
+ vapoursynth.xml
+)
+sha256sums=(
+ SKIP
+ 8e51579547d20cd7cb9618a47b3ac508423d09d76649bf038d0ab9acb850b068
+)
+
+pkgver() {
+ cd vapoursynth
+
+ git describe --tags
+}
+
+prepare() {
+ cd vapoursynth
+
+ sed -e 's|python-$PYTHON_VERSION|python-$PYTHON_VERSION-embed|' -i configure.ac # Fix linking with python 3.8
+ ./autogen.sh
+}
+
+build() {
+ cd vapoursynth
+
+ export LDFLAGS="$LDFLAGS -lpthread"
+
+ ./configure \
+ --prefix=/usr \
+ --enable-imwri \
+ --disable-static
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+ make
+}
+
+package() {
+ cd vapoursynth
+
+ make DESTDIR="${pkgdir}" install
+
+ install -Dm 644 src/core/ter-116n.ofl.txt -t "${pkgdir}"/usr/share/licenses/vapoursynth/
+ install -Dm 644 ../vapoursynth.xml -t "${pkgdir}"/usr/share/mime/packages/
+}
+
+# vim: ts=2 sw=2 et:
Copied: vapoursynth/repos/community-staging-x86_64/vapoursynth.xml (from rev 1063921, vapoursynth/trunk/vapoursynth.xml)
===================================================================
(Binary files differ)
More information about the arch-commits
mailing list