diff options
author | evorster | 2017-08-03 11:43:31 +0100 |
---|---|---|
committer | evorster | 2017-08-03 11:43:31 +0100 |
commit | 7b054ddd013d08507bd57bd2b72cf6fe3349cd1d (patch) | |
tree | 4fb6c0c65d23d42aa21ffe7595581e3a268ab3e7 | |
download | aur-7b054ddd013d08507bd57bd2b72cf6fe3349cd1d.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 37 | ||||
-rw-r--r-- | PKGBUILD | 62 | ||||
-rw-r--r-- | kdenlive-testing-git.install | 13 |
3 files changed, 112 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..7ed683bb2b57 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,37 @@ +pkgbase = kdenlive-testing-git + pkgdesc = A non-linear video editor for Linux using the MLT video framework. (Development testing GIT Version) + pkgver = 17.11.70.r9142.465423bef + pkgrel = 1 + url = http://www.kdenlive.org/ + install = kdenlive-testing-git.install + arch = i686 + arch = x86_64 + license = GPL + makedepends = extra-cmake-modules + makedepends = kdoctools + makedepends = git + makedepends = v4l-utils + depends = breeze-icons + depends = qt5-quickcontrols + depends = qt5-webkit + depends = kfilemetadata + depends = knewstuff + depends = kplotting + depends = knotifyconfig + depends = mlt + depends = hicolor-icon-theme + optdepends = ffmpeg: for FFmpeg plugin + optdepends = cdrkit: for creation of DVD ISO images + optdepends = dvdauthor: for creation of DVD + optdepends = dvgrab: for firewire capture + optdepends = libdv: for webcam capture (if FFmpeg is not installed) + optdepends = recordmydesktop: for screen capture + optdepends = xine-ui: for DVD preview + optdepends = oxygen-icons: optional for xfce + provides = kdenlive + conflicts = kdenlive + source = git://anongit.kde.org/kdenlive#branch=refactoring_timeline + sha1sums = SKIP + +pkgname = kdenlive-testing-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..d0f0c7cfd407 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,62 @@ +# Maintainer: Evert Vorster <evorster@gmail.com> +# Contributor: Gustavo Alvarez <sl1pkn07@gmail.com> +# Contributor: IncredibleLaser +# Contributor: nous <nous at archlinux.us> +# Contributor: pressh + + + +pkgname=kdenlive-testing-git +pkgver=17.11.70.r9142.465423bef +pkgrel=1 +pkgdesc="A non-linear video editor for Linux using the MLT video framework. (Development testing GIT Version)" +arch=('i686' 'x86_64') +url="http://www.kdenlive.org/" +license=('GPL') +depends=('breeze-icons' 'qt5-quickcontrols' 'qt5-webkit' 'kfilemetadata' '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' + 'oxygen-icons: optional for xfce') +provides=('kdenlive') +conflicts=('kdenlive') +#source=(${pkgname}::git://anongit.kde.org/kdenlive) +#source=(git://anongit.kde.org/kdenlive) +source=('git://anongit.kde.org/kdenlive#branch=refactoring_timeline') +sha1sums=('SKIP') +install=$pkgname.install +#options=(debug !strip) + +pkgver() { + cd kdenlive + _ver="$(cat CMakeLists.txt | grep KDE_APPLICATIONS | cut -d '"' -f2 | tr '\n' '.' | cut -d "." -f 1-3)" + echo "$(echo ${_ver}).r$(git rev-list --count HEAD).$(git rev-parse --short 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 \ + -DLIB_INSTALL_DIR=lib \ + -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \ + -DBUILD_TESTING=OFF + make +} + +package() { + make -C build DESTDIR="${pkgdir}" install +} + diff --git a/kdenlive-testing-git.install b/kdenlive-testing-git.install new file mode 100644 index 000000000000..9aef867f9d21 --- /dev/null +++ b/kdenlive-testing-git.install @@ -0,0 +1,13 @@ +post_install() { + update-mime-database usr/share/mime &>/dev/null + update-desktop-database -q &>/dev/null + xdg-icon-resource forceupdate --theme hicolor &> /dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} |