[arch-commits] Commit in libkface/repos (6 files)
Antonio Rojas
arojas at archlinux.org
Wed Mar 9 07:54:09 UTC 2016
Date: Wednesday, March 9, 2016 @ 08:54:08
Author: arojas
Revision: 261239
archrelease: copy trunk to staging-i686, staging-x86_64
Added:
libkface/repos/staging-i686/
libkface/repos/staging-i686/PKGBUILD
(from rev 261238, libkface/trunk/PKGBUILD)
libkface/repos/staging-i686/libkface.install
(from rev 261238, libkface/trunk/libkface.install)
libkface/repos/staging-x86_64/
libkface/repos/staging-x86_64/PKGBUILD
(from rev 261238, libkface/trunk/PKGBUILD)
libkface/repos/staging-x86_64/libkface.install
(from rev 261238, libkface/trunk/libkface.install)
---------------------------------+
staging-i686/PKGBUILD | 44 ++++++++++++++++++++++++++++++++++++++
staging-i686/libkface.install | 11 +++++++++
staging-x86_64/PKGBUILD | 44 ++++++++++++++++++++++++++++++++++++++
staging-x86_64/libkface.install | 11 +++++++++
4 files changed, 110 insertions(+)
Copied: libkface/repos/staging-i686/PKGBUILD (from rev 261238, libkface/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD (rev 0)
+++ staging-i686/PKGBUILD 2016-03-09 07:54:08 UTC (rev 261239)
@@ -0,0 +1,44 @@
+# $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=15.12.2
+pkgrel=2
+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=(qt5-base opencv)
+makedepends=(extra-cmake-modules)
+install=$pkgname.install
+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=('374d960f3c4072c2268547c6fe11d111d8e4bce1'
+ '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 \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
+ -DENABLE_OPENCV3=ON
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="$pkgdir" install
+}
Copied: libkface/repos/staging-i686/libkface.install (from rev 261238, libkface/trunk/libkface.install)
===================================================================
--- staging-i686/libkface.install (rev 0)
+++ staging-i686/libkface.install 2016-03-09 07:54:08 UTC (rev 261239)
@@ -0,0 +1,11 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
Copied: libkface/repos/staging-x86_64/PKGBUILD (from rev 261238, libkface/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2016-03-09 07:54:08 UTC (rev 261239)
@@ -0,0 +1,44 @@
+# $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=15.12.2
+pkgrel=2
+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=(qt5-base opencv)
+makedepends=(extra-cmake-modules)
+install=$pkgname.install
+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=('374d960f3c4072c2268547c6fe11d111d8e4bce1'
+ '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 \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
+ -DENABLE_OPENCV3=ON
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="$pkgdir" install
+}
Copied: libkface/repos/staging-x86_64/libkface.install (from rev 261238, libkface/trunk/libkface.install)
===================================================================
--- staging-x86_64/libkface.install (rev 0)
+++ staging-x86_64/libkface.install 2016-03-09 07:54:08 UTC (rev 261239)
@@ -0,0 +1,11 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
More information about the arch-commits
mailing list