mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 10:32:13 +08:00
26 lines
822 B
Bash
26 lines
822 B
Bash
pkgname=libopenshot
|
|
pkgver=0.1.2
|
|
pkgrel=1
|
|
pkgdesc="A high quality, open-source video editing, animation, and playback library for C++, Python, and Ruby."
|
|
arch=('x86_64')
|
|
url="http://openshot.org/"
|
|
license=('LGPL3')
|
|
depends=('imagemagick' 'ffmpeg' 'libx264' 'libopenshot-audio' 'python3' 'qt5-base' 'qt5-multimedia' 'ruby' 'zeromq')
|
|
makedepends=('cmake' 'doxygen' 'swig' 'unittestpp')
|
|
source=("https://launchpad.net/libopenshot/0.1/${pkgver}/+download/${pkgname}-${pkgver}.tar.gz")
|
|
sha256sums=('b1fec6404ca703fdd137ed58f58b05ceecf68d9f93649b32bee7d85f868ef220')
|
|
|
|
build() {
|
|
# cd ${pkgname}-${pkgver}
|
|
mkdir build
|
|
cd build
|
|
cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr -DMAGICKCORE_HDRI_ENABLE=1 -DMAGICKCORE_QUANTUM_DEPTH=16 ../
|
|
make
|
|
}
|
|
|
|
package() {
|
|
# cd ${pkgname}-${pkgver}
|
|
cd build
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|