Date: Thursday, January 15, 2015 @ 16:03:52
  Author: fyan
Revision: 229060

add libkface

Added:
  libkface/
  libkface/repos/
  libkface/trunk/
  libkface/trunk/PKGBUILD
  libkface/trunk/libkface.install

------------------+
 PKGBUILD         |   32 ++++++++++++++++++++++++++++++++
 libkface.install |   11 +++++++++++
 2 files changed, 43 insertions(+)

Added: libkface/trunk/PKGBUILD
===================================================================
--- libkface/trunk/PKGBUILD                             (rev 0)
+++ libkface/trunk/PKGBUILD     2015-01-15 15:03:52 UTC (rev 229060)
@@ -0,0 +1,32 @@
+# $Id: PKGBUILD 226446 2014-11-19 17:09:45Z fyan $
+# Maintainer: Felix Yan <[email protected]>
+# Contributor: Andrea Scarpino <[email protected]>
+
+pkgname=libkface
+pkgver=14.12.1
+pkgrel=1
+pkgdesc="A Qt/C++ wrapper around LibFace library to perform face recognition 
and detection over pictures"
+url="https://projects.kde.org/projects/kde/kdegraphics/libs/libkface";
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+depends=('kdelibs' 'opencv')
+makedepends=('cmake' 'automoc4')
+install=${pkgname}.install
+source=("http://download.kde.org/stable/applications/${pkgver}/src/${pkgname}-${pkgver}.tar.xz";)
+sha1sums=('4d81b15fc9d1b56da52be9b938688060329340a5')
+
+build() {
+  cd "${srcdir}"
+  mkdir build
+  cd build
+  cmake ../${pkgname}-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DKDE4_BUILD_TESTS=OFF \
+    -DCMAKE_INSTALL_PREFIX=/usr
+  make
+}
+
+package() {
+  cd "${srcdir}"/build
+  make DESTDIR="${pkgdir}" install
+}


Property changes on: libkface/trunk/PKGBUILD
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: libkface/trunk/libkface.install
===================================================================
--- libkface/trunk/libkface.install                             (rev 0)
+++ libkface/trunk/libkface.install     2015-01-15 15:03:52 UTC (rev 229060)
@@ -0,0 +1,11 @@
+post_install() {
+       xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+       post_install
+}
+
+post_remove() {
+       post_install
+}


Property changes on: libkface/trunk/libkface.install
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property

Reply via email to