mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-10 18:34:38 +08:00
kdenlive update/rebuild for ffmpeg
This commit is contained in:
parent
d2800678a0
commit
68ed8e82bb
@ -8,25 +8,36 @@
|
|||||||
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||||||
|
|
||||||
pkgname=kdenlive
|
pkgname=kdenlive
|
||||||
pkgver=0.8
|
pkgver=0.8.1svn
|
||||||
pkgrel=2
|
_pkgver=0.8svn20110722
|
||||||
|
pkgrel=1
|
||||||
pkgdesc="A non-linear video editor for Linux"
|
pkgdesc="A non-linear video editor for Linux"
|
||||||
arch=('i686' 'x86_64')
|
arch=('i686' 'x86_64')
|
||||||
url="http://www.kdenlive.org/"
|
url="http://www.kdenlive.org/"
|
||||||
license=('GPL')
|
license=('GPL')
|
||||||
depends=('kdelibs>=4.4.5' 'mlt>=0.7.0' 'dvgrab' 'kdebase-runtime' 'frei0r-plugins>=1.3' 'qjson' 'qimageblitz')
|
depends=('kdelibs' 'mlt' 'dvgrab' 'kdebase-runtime' 'frei0r-plugins' 'qjson' 'qimageblitz')
|
||||||
optdepends=("dvdauthor: for creating dvds"
|
optdepends=("dvdauthor: for creating dvds"
|
||||||
"recordmydesktop: for desktop-recordings")
|
"recordmydesktop: for desktop-recordings")
|
||||||
makedepends=('automoc4' 'cmake' 'gettext')
|
makedepends=('automoc4' 'cmake' 'gettext' 'docbook-xsl')
|
||||||
source=(http://downloads.sourceforge.net/kdenlive/kdenlive-$pkgver.tar.gz)
|
#source=(http://downloads.sourceforge.net/kdenlive/kdenlive-$pkgver.tar.gz)
|
||||||
md5sums=('26170b4360285e8a7bf53fd122d8854e')
|
source=("http://chakra-project.org/sources//kdenlive/kdenlive-${_pkgver}.tar.bz2")
|
||||||
|
md5sums=('390fcbce02274ee99b2a6d6a234bef0c')
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "$srcdir/$pkgname-$pkgver"
|
|
||||||
|
|
||||||
export LDFLAGS="$LDFLAGS -lX11"
|
export LDFLAGS="$LDFLAGS -lX11"
|
||||||
|
|
||||||
cmake -DCMAKE_INSTALL_PREFIX=/usr -DLIB_INSTALL_DIR=/usr/lib -DLINK_LIBRARIES=-lX11
|
cd "${srcdir}"
|
||||||
make || return 1
|
mkdir build || true
|
||||||
make DESTDIR="$pkgdir" install
|
cd build
|
||||||
|
cmake ../${pkgname}-${_pkgver} \
|
||||||
|
-DCMAKE_BUILD_TYPE=Release \
|
||||||
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||||
|
-DLIB_INSTALL_DIR=/usr/lib \
|
||||||
|
-DLINK_LIBRARIES=-lX11
|
||||||
|
make
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd "${srcdir}"/build
|
||||||
|
make DESTDIR="${pkgdir}" install
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user