desktop/recorditnow/PKGBUILD

50 lines
1.4 KiB
Bash
Raw Normal View History

2010-11-03 06:34:57 +08:00
#
# Apps Packages for Chakra, part of chakra-project.org
#
# maintainer (x86_64): Giuseppe Calà <jiveaxe@gmail.com>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=recorditnow
pkgver=0.8.1
2013-05-02 03:24:11 +08:00
pkgrel=5
2010-11-03 06:34:57 +08:00
pkgdesc="A plugin based desktop recorder for KDE SC 4"
arch=('i686' 'x86_64')
url="http://kde-apps.org/content/show.php/RecordItNow?content=114610"
license=('GPL')
2013-05-02 03:24:11 +08:00
depends=('kde-runtime' 'recordmydesktop' 'ffmpeg')
2010-11-03 06:34:57 +08:00
makedepends=('cmake' 'automoc4')
2011-06-09 02:21:07 +08:00
optdepends=('mencoder: for mencoder encoder plugin'\
'xfixes: for mouse cursor in screenshots')
2010-11-03 06:34:57 +08:00
provides=('recorditnow' 'joschy')
conflicts=('joschy-git')
categories=('multimedia')
2013-05-02 03:24:11 +08:00
source=("http://downloads.sourceforge.net/project/recorditnow/${pkgname}-${pkgver}.tar.bz2" "cmake.patch")
md5sums=('6619b4048545adbab1d13a790189e80f'
'74ea0ababc2291e2a62e5d045c62616a')
2010-11-03 06:34:57 +08:00
build() {
2013-05-02 03:24:11 +08:00
pushd .
cd "$pkgname-$pkgver"
patch -i "../cmake.patch" -p0 || return 1
popd
2010-11-03 06:34:57 +08:00
if [[ ! -d build ]]; then
2013-05-02 03:24:11 +08:00
mkdir build
fi
2010-11-03 06:34:57 +08:00
cd build
2013-05-02 03:24:11 +08:00
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=release \
-DLINGUAS="de hu cs pt_BR fr it" \
-DJOSCHY_LIBRARY_INSTALL_DIR=/usr/lib \
-DJOSCHY_PLUGIN_INSTALL_DIR=/usr/lib/joschy \
../$pkgname-$pkgver/
2010-11-03 06:34:57 +08:00
make || return 1
2013-05-02 03:24:11 +08:00
}
package () {
cd build
make DESTDIR=${pkgdir} install
2010-11-03 06:34:57 +08:00
}