Created
September 7, 2015 23:45
-
-
Save bbidulock/65b52cb7f726ed24e72c to your computer and use it in GitHub Desktop.
PKGBUILD for kdenlive-git
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: Evert Vorster <evorster@gmail.com> | |
# Contributor: Gustavo Alvarez <sl1pkn07@gmail.com> | |
# Contributor: IncredibleLaser | |
# Contributor: nous <nous at archlinux.us> | |
# Contributor: pressh | |
pkgname=kdenlive-git | |
epoch=1 | |
pkgver=15.08.0.r79.gedcc7c3 | |
pkgrel=1 | |
pkgdesc="A non-linear video editor for Linux using the MLT video framework. KF5 Frameworks (GIT Version)" | |
arch=('i686' 'x86_64') | |
url="http://http://www.kdenlive.org/" | |
license=('GPL') | |
depends=('glu' 'knewstuff' 'kplotting' 'knotifyconfig' 'mlt' 'hicolor-icon-theme') | |
makedepends=('extra-cmake-modules' 'kdoctools' 'git' 'v4l-utils') | |
optdepends=('ffmpeg: for FFmpeg plugin' | |
'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' | |
'xine-ui: for DVD preview') | |
provides=('kdenlive') | |
conflicts=('kdenlive') | |
source=('git://anongit.kde.org/kdenlive') | |
sha1sums=('SKIP') | |
install=$pkgname.install | |
pkgver() { | |
cd kdenlive | |
git describe --long --tags|sed -r 's,^[^0-9]*,,;s,([^-]*-g),r\1,;s,-,.,g' | |
} | |
prepare(){ | |
mkdir -p build | |
} | |
build() { | |
cd build | |
cmake ../kdenlive \ | |
-DCMAKE_BUILD_TYPE=Release \ | |
-DCMAKE_INSTALL_PREFIX=/usr \ | |
-DLIB_INSTALL_DIR=lib \ | |
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \ | |
-DBUILD_TESTING=OFF | |
make | |
} | |
package() { | |
make -C build DESTDIR="${pkgdir}" install | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment