desktop/libopenshot/PKGBUILD
2018-10-24 16:32:18 +02:00

26 lines
843 B
Bash

pkgname=libopenshot
pkgver=0.2.2
pkgrel=2
pkgdesc="A high quality, open-source video editing, animation, and playback library for C++, Python, and Ruby."
arch=('x86_64')
url="https://www.openshot.org/"
license=('LGPL3')
depends=('libmagick6' 'ffmpeg' 'libx264' 'libopenshot-audio' 'python3' 'qt5-base' 'qt5-multimedia' 'zeromq')
makedepends=('cmake' 'doxygen' 'swig' 'unittestpp')
source=("https://github.com/OpenShot/${pkgname}/archive/v${pkgver}.tar.gz")
sha256sums=('3f92d42b9fdb66e62429a076678b1feae7de06751efc4217347a78282e86f0cc')
build() {
cd ${pkgname}-${pkgver}
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr -DMAGICKCORE_HDRI_ENABLE=1 -DMAGICKCORE_QUANTUM_DEPTH=16 \
-DUSE_SYSTEM_JSONCPP=ON -DENABLE_RUBY=OFF ../
make
}
package() {
cd ${pkgname}-${pkgver}/build
make DESTDIR="${pkgdir}" install
}