Date: Sunday, August 21, 2016 @ 03:29:06
  Author: felixonmars
Revision: 274385

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  libkface/repos/testing-i686/
  libkface/repos/testing-i686/PKGBUILD
    (from rev 274384, libkface/trunk/PKGBUILD)
  libkface/repos/testing-x86_64/
  libkface/repos/testing-x86_64/PKGBUILD
    (from rev 274384, libkface/trunk/PKGBUILD)

-------------------------+
 testing-i686/PKGBUILD   |   42 ++++++++++++++++++++++++++++++++++++++++++
 testing-x86_64/PKGBUILD |   42 ++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 84 insertions(+)

Copied: libkface/repos/testing-i686/PKGBUILD (from rev 274384, 
libkface/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD                               (rev 0)
+++ testing-i686/PKGBUILD       2016-08-21 03:29:06 UTC (rev 274385)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Felix Yan <[email protected]>
+# Maintainer: Antonio Rojas <[email protected]>
+# Contributor: Andrea Scarpino <[email protected]>
+
+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
+}

Copied: libkface/repos/testing-x86_64/PKGBUILD (from rev 274384, 
libkface/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD                             (rev 0)
+++ testing-x86_64/PKGBUILD     2016-08-21 03:29:06 UTC (rev 274385)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Felix Yan <[email protected]>
+# Maintainer: Antonio Rojas <[email protected]>
+# Contributor: Andrea Scarpino <[email protected]>
+
+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
+}

Reply via email to