[arch-commits] Commit in libkface/repos (6 files)
Felix Yan
fyan at archlinux.org
Thu Jan 15 15:04:29 UTC 2015
Date: Thursday, January 15, 2015 @ 16:04:28
Author: fyan
Revision: 229061
archrelease: copy trunk to staging-i686, staging-x86_64
Added:
libkface/repos/staging-i686/
libkface/repos/staging-i686/PKGBUILD
(from rev 229060, libkface/trunk/PKGBUILD)
libkface/repos/staging-i686/libkface.install
(from rev 229060, libkface/trunk/libkface.install)
libkface/repos/staging-x86_64/
libkface/repos/staging-x86_64/PKGBUILD
(from rev 229060, libkface/trunk/PKGBUILD)
libkface/repos/staging-x86_64/libkface.install
(from rev 229060, libkface/trunk/libkface.install)
---------------------------------+
staging-i686/PKGBUILD | 32 ++++++++++++++++++++++++++++++++
staging-i686/libkface.install | 11 +++++++++++
staging-x86_64/PKGBUILD | 32 ++++++++++++++++++++++++++++++++
staging-x86_64/libkface.install | 11 +++++++++++
4 files changed, 86 insertions(+)
Copied: libkface/repos/staging-i686/PKGBUILD (from rev 229060, libkface/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD (rev 0)
+++ staging-i686/PKGBUILD 2015-01-15 15:04:28 UTC (rev 229061)
@@ -0,0 +1,32 @@
+# $Id: PKGBUILD 226446 2014-11-19 17:09:45Z fyan $
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=libkface
+pkgver=14.12.1
+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=('kdelibs' 'opencv')
+makedepends=('cmake' 'automoc4')
+install=${pkgname}.install
+source=("http://download.kde.org/stable/applications/${pkgver}/src/${pkgname}-${pkgver}.tar.xz")
+sha1sums=('4d81b15fc9d1b56da52be9b938688060329340a5')
+
+build() {
+ cd "${srcdir}"
+ mkdir build
+ cd build
+ cmake ../${pkgname}-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DKDE4_BUILD_TESTS=OFF \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}"/build
+ make DESTDIR="${pkgdir}" install
+}
Copied: libkface/repos/staging-i686/libkface.install (from rev 229060, libkface/trunk/libkface.install)
===================================================================
--- staging-i686/libkface.install (rev 0)
+++ staging-i686/libkface.install 2015-01-15 15:04:28 UTC (rev 229061)
@@ -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 229060, libkface/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2015-01-15 15:04:28 UTC (rev 229061)
@@ -0,0 +1,32 @@
+# $Id: PKGBUILD 226446 2014-11-19 17:09:45Z fyan $
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=libkface
+pkgver=14.12.1
+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=('kdelibs' 'opencv')
+makedepends=('cmake' 'automoc4')
+install=${pkgname}.install
+source=("http://download.kde.org/stable/applications/${pkgver}/src/${pkgname}-${pkgver}.tar.xz")
+sha1sums=('4d81b15fc9d1b56da52be9b938688060329340a5')
+
+build() {
+ cd "${srcdir}"
+ mkdir build
+ cd build
+ cmake ../${pkgname}-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DKDE4_BUILD_TESTS=OFF \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}"/build
+ make DESTDIR="${pkgdir}" install
+}
Copied: libkface/repos/staging-x86_64/libkface.install (from rev 229060, libkface/trunk/libkface.install)
===================================================================
--- staging-x86_64/libkface.install (rev 0)
+++ staging-x86_64/libkface.install 2015-01-15 15:04:28 UTC (rev 229061)
@@ -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