[arch-commits] Commit in libkface (trunk trunk trunk/PKGBUILD)

Felix Yan felixonmars at archlinux.org
Sun Aug 21 03:28:41 UTC 2016


    Date: Sunday, August 21, 2016 @ 03:28:40
  Author: felixonmars
Revision: 274384

upgpkg: libkface 16.08.0-1

Upstream release

Added:
  libkface/trunk/
  libkface/trunk/PKGBUILD
Deleted:
  libkface/trunk/

----------+
 PKGBUILD |   42 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 42 insertions(+)

Added: trunk/PKGBUILD
===================================================================
--- trunk/PKGBUILD	                        (rev 0)
+++ trunk/PKGBUILD	2016-08-21 03:28:40 UTC (rev 274384)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=libkface
+pkgver=16.08.0
+pkgrel=1
+pkgdesc="A Qt/C++ wrapper around LibFace library to perform face recognition and detection over pictures"
+url="https://www.kde.org/applications/graphics/"
+arch=(i686 x86_64)
+license=(GPL LGPL FDL)
+depends=(qt5-base opencv)
+makedepends=(extra-cmake-modules)
+source=("http://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"
+	libkface-opencv3.1.patch::"https://git.reviewboard.kde.org/r/126833/diff/raw/")
+sha1sums=('17854254737481d0ab8a58f1492c420751f5028e'
+          '35f1b3aa533b384a7a8da460209d843b7c49fa30')
+
+prepare() {
+  mkdir -p build
+
+# Fix build with opencv 3.1 https://bugs.kde.org/show_bug.cgi?id=358910
+  cd $pkgname-$pkgver
+  patch -p1 -i ../libkface-opencv3.1.patch
+}
+
+build() {
+  cd build
+  cmake ../$pkgname-$pkgver \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DBUILD_TESTING=OFF \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DKDE_INSTALL_LIBDIR=lib \
+    -DENABLE_OPENCV3=ON
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+}


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



More information about the arch-commits mailing list