Skip to content

Instantly share code, notes, and snippets.

@bbidulock
Created September 7, 2015 23:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bbidulock/65b52cb7f726ed24e72c to your computer and use it in GitHub Desktop.
Save bbidulock/65b52cb7f726ed24e72c to your computer and use it in GitHub Desktop.
PKGBUILD for kdenlive-git
# 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