desktop/libopenshot/PKGBUILD

26 lines
843 B
Bash
Raw Normal View History

pkgname=libopenshot
2018-10-16 07:59:29 +08:00
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')
2018-07-02 10:55:38 +08:00
url="https://www.openshot.org/"
license=('LGPL3')
depends=('libmagick6' 'ffmpeg' 'libx264' 'libopenshot-audio' 'python3' 'qt5-base' 'qt5-multimedia' 'zeromq')
makedepends=('cmake' 'doxygen' 'swig' 'unittestpp')
2018-10-16 07:59:29 +08:00
source=("https://github.com/OpenShot/${pkgname}/archive/v${pkgver}.tar.gz")
sha256sums=('3f92d42b9fdb66e62429a076678b1feae7de06751efc4217347a78282e86f0cc')
build() {
2017-05-11 18:46:26 +08:00
cd ${pkgname}-${pkgver}
mkdir build
cd build
2017-05-11 18:46:26 +08:00
cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr -DMAGICKCORE_HDRI_ENABLE=1 -DMAGICKCORE_QUANTUM_DEPTH=16 \
-DUSE_SYSTEM_JSONCPP=ON -DENABLE_RUBY=OFF ../
make
}
package() {
2017-05-11 18:46:26 +08:00
cd ${pkgname}-${pkgver}/build
make DESTDIR="${pkgdir}" install
}