mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-16 05:10:26 +08:00
49 lines
1.5 KiB
Bash
49 lines
1.5 KiB
Bash
# Contributions from Arch: https://www.archlinux.org/packages/kde-unstable/x86_64/kdenlive/
|
|
# Include global configuration
|
|
source ../kdeapps.conf
|
|
|
|
pkgname=kdenlive
|
|
pkgver=${_kdever}
|
|
pkgrel=2
|
|
pkgdesc="A non-linear video editor for Linux"
|
|
arch=('x86_64')
|
|
url="http://www.kdenlive.org/"
|
|
license=('GPL')
|
|
depends=('knewstuff' 'knotifyconfig' 'kplotting' 'mlt' 'glu' 'hicolor-icon-theme')
|
|
optdepends=("dvdauthor: for creating dvds"
|
|
"recordmydesktop: for desktop-recordings"
|
|
"dvgrab: for firewire capture"
|
|
"xine-ui: for DVD preview"
|
|
"ffmpeg: for FFmpeg plugin"
|
|
"cdrkit: for creation of DVD ISO images"
|
|
"libdv: for webcam capture (if FFmpeg is not installed)")
|
|
makedepends=('extra-cmake-modules' 'kdoctools' 'v4l-utils' 'python')
|
|
categories=('multimedia')
|
|
screenshot=('http://kdenlive.org/sites/default/files/kdenlive-090a_0.png')
|
|
source=("$_mirror/${pkgname}-$_kdever.tar.xz"
|
|
fix-freeze-monitor.patch::"https://quickgit.kde.org/?p=kdenlive.git&a=commitdiff&h=858a855&o=plain")
|
|
sha256sums=(`grep ${pkgname}-$_kdever.tar.xz ../checksums.txt | cut -d " " -f1`
|
|
'78d3c3783e340c84e973c53c90eafcd5decc6dbb565182869aa5a0e1cc3ab9ee')
|
|
|
|
prepare(){
|
|
mkdir -p build
|
|
|
|
cd $pkgname-$pkgver
|
|
# Fix freeze on monitor https://bugs.kde.org/show_bug.cgi?id=353936
|
|
patch -p1 -i ../fix-freeze-monitor.patch
|
|
}
|
|
|
|
prepare() {
|
|
mkdir -p build
|
|
}
|
|
|
|
build() {
|
|
cd build
|
|
cmake_kf5 ../${pkgname}-${pkgver}
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd build
|
|
make DESTDIR=${pkgdir} install
|
|
} |