# Maintainer: Evert Vorster # Contributor: Gustavo Alvarez # Contributor: IncredibleLaser # Contributor: nous # Contributor: pressh pkgname=kdenlive-release-git pkgver=23.08.2.r18567 pkgrel=1 pkgdesc="A non-linear video editor. Following latest released branch in git." arch=('i686' 'x86_64') url="http://www.kdenlive.org/" license=('GPL') depends=('purpose5' 'qt5-networkauth' 'breeze-icons' 'kfilemetadata5' 'knewstuff5' 'knotifyconfig5' 'mlt' 'hicolor-icon-theme') makedepends=('extra-cmake-modules' 'kdoctools5' 'git' 'v4l-utils') optdepends=('ffmpeg: for FFmpeg plugin' 'python: for speech to text scripts' 'cdrkit: for creation of DVD ISO images' 'dvdauthor: for creation of DVD' 'dvgrab: for firewire capture' 'libdv: for webcam capture (if FFmpeg is not installed)' 'recordmydesktop: for screen capture' 'perl-image-exiftool: for exif information' 'mediainfo: for exif information' 'xine-ui: for DVD preview' 'oxygen-icons: optional for xfce') provides=('kdenlive') conflicts=('kdenlive') #Source repo has changed recently. To save yourself from downloading the entire repo again #run the following command in the kdenlive repo directory: #git remote set-url origin https://invent.kde.org/multimedia/kdenlive ##If there has been a branch switch, Arch will not build unless you supply --cleanbuild to makepkg source=('git+https://invent.kde.org/multimedia/kdenlive#branch=release/23.08') sha1sums=('SKIP') install=$pkgname.install #options=(debug !strip) pkgver() { cd ${srcdir}/kdenlive _ver="$(cat CMakeLists.txt | grep RELEASE_SERVICE_VERSION | cut -d '"' -f2 | tr '\n' '.' | cut -d "." -f 1-3)" echo "$(echo ${_ver}).r$(git rev-list --count HEAD)" } prepare(){ mkdir -p build } #To get debug info, change -DCMAKE_BUILD_TYPE=Release to either "Debug" or "RelWithDebInfo" build() { cd build cmake ../kdenlive \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ -DKDE_INSTALL_LIBDIR=lib \ -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \ -DBUILD_TESTING=OFF make } package() { make -C build DESTDIR="${pkgdir}" install }