[arch-commits] Commit in libkface/repos (4 files)
Antonio Rojas
arojas at archlinux.org
Sat Jul 23 18:46:55 UTC 2016
Date: Saturday, July 23, 2016 @ 18:46:55
Author: arojas
Revision: 272365
archrelease: copy kde-unstable to kde-unstable-i686, kde-unstable-x86_64
Added:
libkface/repos/kde-unstable-i686/
libkface/repos/kde-unstable-i686/PKGBUILD
(from rev 272364, libkface/kde-unstable/PKGBUILD)
libkface/repos/kde-unstable-x86_64/
libkface/repos/kde-unstable-x86_64/PKGBUILD
(from rev 272364, libkface/kde-unstable/PKGBUILD)
------------------------------+
kde-unstable-i686/PKGBUILD | 42 +++++++++++++++++++++++++++++++++++++++++
kde-unstable-x86_64/PKGBUILD | 42 +++++++++++++++++++++++++++++++++++++++++
2 files changed, 84 insertions(+)
Copied: libkface/repos/kde-unstable-i686/PKGBUILD (from rev 272364, libkface/kde-unstable/PKGBUILD)
===================================================================
--- kde-unstable-i686/PKGBUILD (rev 0)
+++ kde-unstable-i686/PKGBUILD 2016-07-23 18:46:55 UTC (rev 272365)
@@ -0,0 +1,42 @@
+# $Id: PKGBUILD 226446 2014-11-19 17:09:45Z fyan $
+# 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.07.80
+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/unstable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"
+ libkface-opencv3.1.patch::"https://git.reviewboard.kde.org/r/126833/diff/raw/")
+sha1sums=('b79de06d934276868ede30f24d5d4e98d5fde35e'
+ '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/kde-unstable-x86_64/PKGBUILD (from rev 272364, libkface/kde-unstable/PKGBUILD)
===================================================================
--- kde-unstable-x86_64/PKGBUILD (rev 0)
+++ kde-unstable-x86_64/PKGBUILD 2016-07-23 18:46:55 UTC (rev 272365)
@@ -0,0 +1,42 @@
+# $Id: PKGBUILD 226446 2014-11-19 17:09:45Z fyan $
+# 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.07.80
+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/unstable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"
+ libkface-opencv3.1.patch::"https://git.reviewboard.kde.org/r/126833/diff/raw/")
+sha1sums=('b79de06d934276868ede30f24d5d4e98d5fde35e'
+ '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
+}
More information about the arch-commits
mailing list