* add vapoursynth
This commit is contained in:
parent
8d9cb24d6f
commit
7b58163d38
19
vapoursynth/.SRCINFO
Normal file
19
vapoursynth/.SRCINFO
Normal file
@ -0,0 +1,19 @@
|
||||
pkgbase = vapoursynth
|
||||
pkgdesc = A video processing framework with the future in mind
|
||||
pkgver = R65
|
||||
pkgrel = 1
|
||||
url = http://www.vapoursynth.com/
|
||||
arch = x86_64
|
||||
license = LGPL2.1
|
||||
license = custom:OFL
|
||||
makedepends = cython
|
||||
makedepends = git
|
||||
makedepends = python-sphinx
|
||||
depends = libzimg.so
|
||||
depends = python
|
||||
source = git+https://github.com/vapoursynth/vapoursynth.git#tag=3157049549a0940359b37004aeeeebd8f1db665e
|
||||
source = vapoursynth.xml
|
||||
b2sums = SKIP
|
||||
b2sums = feae23a22f8589177f30c36bdf21bab93d55a786194d3e0e958537016630d075b82178f60ac840f30ae316a8f87d3fb01f371211f62d1fee9850ee5063561747
|
||||
|
||||
pkgname = vapoursynth
|
66
vapoursynth/PKGBUILD
Normal file
66
vapoursynth/PKGBUILD
Normal file
@ -0,0 +1,66 @@
|
||||
# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
|
||||
# Maintainer: Maxime Gauduin <alucryd@archlinux.org>
|
||||
# Contributor: sl1pkn07 <sl1pkn07@gmail.com>
|
||||
# Contributor: jackoneill <cantabile.desu@gmail.com>
|
||||
|
||||
pkgname=vapoursynth
|
||||
pkgver=R65
|
||||
pkgrel=1
|
||||
pkgdesc='A video processing framework with the future in mind'
|
||||
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
|
||||
url=http://www.vapoursynth.com/
|
||||
license=(
|
||||
LGPL2.1
|
||||
custom:OFL
|
||||
)
|
||||
depends=(
|
||||
libzimg.so
|
||||
python
|
||||
)
|
||||
makedepends=(
|
||||
cython
|
||||
git
|
||||
python-sphinx
|
||||
)
|
||||
_tag=3157049549a0940359b37004aeeeebd8f1db665e
|
||||
source=(
|
||||
git+https://github.com/vapoursynth/vapoursynth.git#tag=${_tag}
|
||||
vapoursynth.xml
|
||||
)
|
||||
b2sums=('SKIP'
|
||||
'feae23a22f8589177f30c36bdf21bab93d55a786194d3e0e958537016630d075b82178f60ac840f30ae316a8f87d3fb01f371211f62d1fee9850ee5063561747')
|
||||
|
||||
pkgver() {
|
||||
cd vapoursynth
|
||||
git describe --tags
|
||||
}
|
||||
|
||||
prepare() {
|
||||
cd vapoursynth
|
||||
./autogen.sh
|
||||
}
|
||||
|
||||
build() {
|
||||
cd vapoursynth
|
||||
|
||||
case "${CARCH}" in
|
||||
powerpc) CXXFLAGS+=' -latomic' ;;
|
||||
esac
|
||||
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--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:
|
8
vapoursynth/vapoursynth.xml
Executable file
8
vapoursynth/vapoursynth.xml
Executable file
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0"?>
|
||||
<mime-info xmlns='http://www.freedesktop.org/standards/shared-mime-info'>
|
||||
<mime-type type="text/x-vpy">
|
||||
<sub-class-of type="text/x-python"/>
|
||||
<comment>VapourSynth script</comment>
|
||||
<glob pattern="*.vpy"/>
|
||||
</mime-type>
|
||||
</mime-info>
|
Loading…
x
Reference in New Issue
Block a user