mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 18:42:12 +08:00
32 lines
985 B
Bash
32 lines
985 B
Bash
#
|
|
# Chakra Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
|
|
|
# include global config
|
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
|
|
|
pkgname=kdenlive
|
|
pkgver=0.7.8
|
|
pkgrel=1
|
|
pkgdesc="A non-linear video editor for Linux"
|
|
arch=('i686' 'x86_64')
|
|
url="http://www.kdenlive.org/"
|
|
license=('GPL')
|
|
depends=('kdelibs>=4.4.5' 'mlt>=0.5.10' 'dvgrab' 'kdebase-runtime')
|
|
optdepends=("dvdauthor: for creating dvds"
|
|
"recordmydesktop: for desktop-recordings")
|
|
makedepends=('automoc4' 'cmake' 'gettext')
|
|
source=(http://downloads.sourceforge.net/kdenlive/kdenlive-$pkgver.tar.gz)
|
|
md5sums=('7011d0c6b26f7f2350065defef3d9a76')
|
|
|
|
build() {
|
|
cd "$srcdir/$pkgname-$pkgver"
|
|
|
|
export LDFLAGS="$LDFLAGS -lX11"
|
|
|
|
cmake -DCMAKE_INSTALL_PREFIX=/usr -DLIB_INSTALL_DIR=/usr/lib -DLINK_LIBRARIES=-lX11
|
|
make || return 1
|
|
make DESTDIR="$pkgdir" install
|
|
} |