diff options
author | Tércio Martins | 2022-11-25 11:53:20 -0300 |
---|---|---|
committer | Tércio Martins | 2022-11-25 11:53:20 -0300 |
commit | be6c0ccfd969a6c8093bd4b93a5c302c842373f5 (patch) | |
tree | 259b4252a239f76c7e0544bb5baa77004bbb596d /PKGBUILD | |
parent | c54e8b0c37a0e13a192e64a6ee08a18a7b85e13a (diff) | |
download | aur-be6c0ccfd969a6c8093bd4b93a5c302c842373f5.tar.gz |
Upgrade Qt to version 6 and disable integration with OpenTimelineIO
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 25 |
1 files changed, 12 insertions, 13 deletions
@@ -2,14 +2,15 @@ _pkgname=olive pkgname=$_pkgname-git -pkgver=continuous.r1621.g41a49c488 +pkgver=continuous.r2461.g4c00387ab pkgrel=1 -arch=('pentium4' 'x86_64') +arch=('x86_64') pkgdesc="Free non-linear video editor" url="https://www.olivevideoeditor.org/" license=('GPL3') -depends=('ffmpeg' 'openimageio' 'opentimelineio' 'portaudio' 'qt5-base') -makedepends=('cmake' 'git' 'ninja' 'qt5-svg' 'qt5-tools') +#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". @@ -22,17 +23,15 @@ conflicts=('olive') source=('git+https://github.com/olive-editor/olive.git') sha512sums=('SKIP') -pkgver() { - cd $_pkgname - git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' +prepare() { + # Currently, the build process fails if the OpenTimelineIO library is used + sed -i '/find_package(OpenTimelineIO)/d' \ + "$srcdir"/$_package/CMakeLists.txt } -prepare() { +pkgver() { cd $_pkgname - - # The OpenTimelineIO library requires some features of C++17 standard. - # Olive uses C++14 by default, preventing the compilation of modules that use OpenTimelineIO. - sed -i "/CXX_STANDARD/ s/14/17/" CMakeLists.txt + git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' } build() { @@ -41,7 +40,7 @@ build() { -Bbuild \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ - -DOTIO_DEPS_INCLUDE_DIR=/usr/include/opentimelineio + -DQT_VERSION_MAJOR=6 ninja -C build/ } |