[arch-commits] Commit in libkface/repos (6 files)
Antonio Rojas
arojas at archlinux.org
Sat Mar 26 23:22:37 UTC 2016
Date: Sunday, March 27, 2016 @ 00:22:37
Author: arojas
Revision: 262739
archrelease: copy kde-unstable to staging-i686, staging-x86_64
Added:
libkface/repos/staging-i686/
libkface/repos/staging-i686/PKGBUILD
(from rev 262738, libkface/kde-unstable/PKGBUILD)
libkface/repos/staging-i686/libkface.install
(from rev 262738, libkface/kde-unstable/libkface.install)
libkface/repos/staging-x86_64/
libkface/repos/staging-x86_64/PKGBUILD
(from rev 262738, libkface/kde-unstable/PKGBUILD)
libkface/repos/staging-x86_64/libkface.install
(from rev 262738, libkface/kde-unstable/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 262738, libkface/kde-unstable/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD (rev 0)
+++ staging-i686/PKGBUILD 2016-03-26 23:22:37 UTC (rev 262739)
@@ -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=16.03.80
+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=(qt5-base opencv)
+makedepends=(extra-cmake-modules)
+install=$pkgname.install
+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=('b40cac7f3d86f05240fbcf79bd26c57f9d0384dd'
+ '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 262738, libkface/kde-unstable/libkface.install)
===================================================================
--- staging-i686/libkface.install (rev 0)
+++ staging-i686/libkface.install 2016-03-26 23:22:37 UTC (rev 262739)
@@ -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 262738, libkface/kde-unstable/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2016-03-26 23:22:37 UTC (rev 262739)
@@ -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=16.03.80
+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=(qt5-base opencv)
+makedepends=(extra-cmake-modules)
+install=$pkgname.install
+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=('b40cac7f3d86f05240fbcf79bd26c57f9d0384dd'
+ '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 262738, libkface/kde-unstable/libkface.install)
===================================================================
--- staging-x86_64/libkface.install (rev 0)
+++ staging-x86_64/libkface.install 2016-03-26 23:22:37 UTC (rev 262739)
@@ -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