blob: 02316c627ba9144a2fd848df59095f0deadd017a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# Maintainer: Tércio Martins <echo dGVyY2lvd2VuZGVsQGdtYWlsLmNvbQo= | base64 -d>
_pkgname=olive
pkgname=$_pkgname-git
pkgver=continuous.r2461.g4c00387ab
pkgrel=1
arch=('x86_64')
pkgdesc="Free non-linear video editor"
url="https://www.olivevideoeditor.org/"
license=('GPL3')
#depends=('ffmpeg' 'openimageio' 'opentimelineio' 'portaudio' 'qt6-base')
depends=('ffmpeg' 'openimageio' 'portaudio' 'qt6-base')
makedepends=('cmake' 'git' 'ninja' 'qt6-svg' 'qt6-tools')
# Temporarily, the "olive-git" package is incompatible
# with the dependency "olive-community-effects-git".
# More information on the link:
# https://github.com/cgvirus/Olive-Editor-Community-Effects/blob/65b96e093c128f2bb9336e6b7ed93f801e73435d/README.md
# optdepends=('olive-community-effects-git')
provides=('olive')
conflicts=('olive')
source=('git+https://github.com/olive-editor/olive.git')
sha512sums=('SKIP')
prepare() {
# Currently, the build process fails if the OpenTimelineIO library is used
sed -i '/find_package(OpenTimelineIO)/d' \
"$srcdir"/$_pkgname/CMakeLists.txt
}
pkgver() {
cd $_pkgname
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd $_pkgname
cmake -GNinja \
-Bbuild \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_PREFIX=/usr \
-DQT_VERSION_MAJOR=6
ninja -C build/
}
package() {
cd $_pkgname
DESTDIR="$pkgdir" ninja -C build/ install
}
|