1 # Maintainer: Alessio Sergi <asergi [at] archlinux [dot] us>
7 pkgdesc="A non-linear video editor for Linux"
9 url="http://kdenlive.sourceforge.net/"
11 depends=('hicolor-icon-theme' 'kdelibs' 'mlt-git' \
12 'qimageblitz' 'qjson' 'shared-mime-info')
13 makedepends=('automoc4' 'cmake' 'subversion')
14 optdepends=('cdrkit: for creation of DVD ISO images'
15 'dvdauthor: for creation of DVD'
16 'dvgrab: for firewire capture'
17 'ffmpeg: for webcam capture'
18 'recordmydesktop: for screen capture'
19 'xine-lib: for preview DVD')
20 provides=(${_realname})
21 conflicts=(${_realname})
22 install=${pkgname}.install
24 _svntrunk=https://${_realname}.svn.sourceforge.net/svnroot/${_realname}/trunk/${_realname}
30 if [ -d ${_svnmod}/.svn ]; then
31 (cd ${_svnmod} && svn up -r ${pkgver})
33 svn co ${_svntrunk} ${_svnmod} -r ${pkgver}
36 msg "SVN checkout done or server timeout"
37 msg "Starting make..."
40 cp -r ${_svnmod} build
43 export LDFLAGS="${LDFLAGS} -lX11"
44 cmake -DCMAKE_BUILD_TYPE=Release \
45 -DCMAKE_INSTALL_PREFIX=/usr \
46 -DLIB_INSTALL_DIR=/usr/lib \
47 -DLINK_LIBRARIES=-lX11
54 make DESTDIR="${pkgdir}" install