mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-03 03:17:15 +08:00
libkface and libkgeomap now ship appart from kipi-plugins
This commit is contained in:
parent
afd221b9ac
commit
88d16b81cd
35
libkface/PKGBUILD
Normal file
35
libkface/PKGBUILD
Normal file
@ -0,0 +1,35 @@
|
||||
# Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/libkface
|
||||
# Include global configuration
|
||||
source ../kdeapps.conf
|
||||
|
||||
pkgname=libkface
|
||||
pkgver=${_kdever}
|
||||
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=('x86_64')
|
||||
license=('GPL' 'LGPL' 'FDL')
|
||||
depends=("kdelibs>=${_libsver}" 'opencv')
|
||||
makedepends=('cmake' 'automoc4')
|
||||
install=${pkgname}.install
|
||||
options=('docs' '!header' 'debug' 'log')
|
||||
source=("$_mirror/${pkgname}-$_kdever.tar.xz")
|
||||
sha256sums=(`grep ${pkgname}-$_kdever.tar.xz ../checksums.txt | cut -d " " -f1`)
|
||||
|
||||
prepare() {
|
||||
mkdir build
|
||||
}
|
||||
|
||||
build() {
|
||||
cd build
|
||||
cmake ../${pkgname}-${pkgver} \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DKDE4_BUILD_TESTS=OFF \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd build
|
||||
make DESTDIR="${pkgdir}" install
|
||||
}
|
11
libkface/libkface.install
Normal file
11
libkface/libkface.install
Normal file
@ -0,0 +1,11 @@
|
||||
post_install() {
|
||||
xdg-icon-resource forceupdate --theme hicolor &> /dev/null
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
post_install
|
||||
}
|
||||
|
||||
post_remove() {
|
||||
post_install
|
||||
}
|
35
libkgeomap/PKGBUILD
Normal file
35
libkgeomap/PKGBUILD
Normal file
@ -0,0 +1,35 @@
|
||||
# Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/libkgeomap
|
||||
# Include global configuration
|
||||
source ../kdeapps.conf
|
||||
|
||||
pkgname=libkgeomap
|
||||
pkgver=${_kdever}
|
||||
pkgrel=1
|
||||
pkgdesc="A wrapper around world map components for browsing and arranging photos on a map"
|
||||
url="https://projects.kde.org/projects/kde/kdegraphics/libs/libkgeomap"
|
||||
arch=('x86_64')
|
||||
license=('GPL' 'LGPL' 'FDL')
|
||||
depends=("kdeedu-marble>=${_kdever}")
|
||||
makedepends=('cmake' 'automoc4')
|
||||
install=${pkgname}.install
|
||||
options=('docs' '!header' 'debug' 'log')
|
||||
source=("$_mirror/${pkgname}-$_kdever.tar.xz")
|
||||
sha256sums=(`grep ${pkgname}-$_kdever.tar.xz ../checksums.txt | cut -d " " -f1`)
|
||||
|
||||
prepare() {
|
||||
mkdir build
|
||||
}
|
||||
|
||||
build() {
|
||||
cd build
|
||||
cmake ../${pkgname}-${pkgver} \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DKDE4_BUILD_TESTS=OFF \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd build
|
||||
make DESTDIR="${pkgdir}" install
|
||||
}
|
1
libkgeomap/libkgeomap.install
Normal file
1
libkgeomap/libkgeomap.install
Normal file
@ -0,0 +1 @@
|
||||
https://projects.archlinux.org/svntogit/packages.git/plain/trunk/libkgeomap.install?h=packages/libkgeomap
|
Loading…
Reference in New Issue
Block a user