desktop/kamoso/PKGBUILD

41 lines
1.1 KiB
Bash
Raw Normal View History

2013-09-10 02:51:10 +08:00
# Maintainer: Neophytos Kolokotronis <tetris4@gmail.com>
2011-11-27 11:31:04 +08:00
pkgname=kamoso
2013-09-10 02:51:10 +08:00
pkgver=2.0.3.3
2014-09-20 21:28:41 +08:00
pkgrel=4
2011-11-27 11:31:04 +08:00
pkgdesc="Kamoso is an application to take pictures and videos out of your webcam."
2014-06-28 23:52:01 +08:00
url="https://projects.kde.org/projects/extragear/multimedia/kamoso/"
2013-09-10 02:51:10 +08:00
arch=('x86_64')
2011-11-27 11:31:04 +08:00
license=('GPL')
2013-10-11 01:43:57 +08:00
depends=('kde-runtime' 'qt-gstreamer' 'kdegraphics-libkipi')
2011-11-27 11:31:04 +08:00
makedepends=('cmake' 'git' 'automoc4')
conflicts=('kamoso-git')
categories=('multimedia')
2013-09-10 02:51:10 +08:00
screenshot=('http://kde-apps.org/CONTENT/content-pre1/111750-1.png')
2014-09-20 21:28:41 +08:00
source=("${pkgname}-${pkgver}.tar.bz2"::"http://quickgit.kde.org/?p=kamoso.git&a=snapshot&h=93188573e21a4c839f346a67431155c16f01828a&fmt=tbz2")
sha256sums=('6fa17195fe854217891594dbb66152360b9667c54cf15dc7e6df595c551cbfcc')
2013-09-10 02:51:10 +08:00
# create tarball: source PKGBUILD && mksource
#
#mksource() {
# git clone git://anongit.kde.org/kamoso
# pushd kamoso
# popd
# tar -cvJf kamoso-${pkgver}.tar.xz kamoso/*
# md5sum kamoso-${pkgver}.tar.xz
#}
2011-11-27 11:31:04 +08:00
build() {
2014-09-20 21:28:41 +08:00
cd ${pkgname}
cmake . \
-DCMAKE_INSTALL_PREFIX=$(kde4-config --prefix) \
2011-11-27 11:31:04 +08:00
-DCMAKE_BUILD_TYPE=Release
make
}
package(){
2014-09-20 21:28:41 +08:00
cd ${pkgname}
make DESTDIR="${pkgdir}" install
2013-09-10 02:51:10 +08:00
}