mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-03 02:27:15 +08:00
[skip-ci] kipi-plugins: splitted from digikam, rebuild
This commit is contained in:
parent
8934124646
commit
e7a9a5361b
56
kipi-plugins/PKGBUILD
Normal file
56
kipi-plugins/PKGBUILD
Normal file
@ -0,0 +1,56 @@
|
|||||||
|
pkgname=kipi-plugins
|
||||||
|
pkgver=5.9.0
|
||||||
|
pkgrel=5
|
||||||
|
epoch=1
|
||||||
|
pkgdesc="A collection of plugins extending the KDE graphics and image applications as digiKam"
|
||||||
|
url="https://www.digikam.org/"
|
||||||
|
arch=('x86_64')
|
||||||
|
license=('GPL')
|
||||||
|
options=("debug")
|
||||||
|
depends=('kio' 'libkipi')
|
||||||
|
makedepends=('extra-cmake-modules' 'libksane' 'liblqr' 'doxygen' 'lensfun' 'eigen' 'boost' 'kdoctools' 'opencv'
|
||||||
|
'kfilemetadata' 'akonadi-contacts' 'qtav' 'threadweaver' 'kcalcore' 'knotifyconfig' 'libmediawiki' 'libkvkontakte'
|
||||||
|
'glu' 'qt5-xmlpatterns' 'exiv2' 'marble' 'jasper' 'eigen3')
|
||||||
|
optdepends=('qt5-xmlpatterns: rajce.net plugin'
|
||||||
|
'libmediawiki: MediaWiki Export plugin'
|
||||||
|
'libkvkontakte: VKontakte.ru Exporter plugin')
|
||||||
|
source=("https://download.kde.org/stable/digikam/digikam-$pkgver.tar.xz")
|
||||||
|
sha1sums=('f98f9311cc52173192db6ebba101231cf24af633')
|
||||||
|
|
||||||
|
prepare() {
|
||||||
|
mkdir -p build
|
||||||
|
}
|
||||||
|
|
||||||
|
build() {
|
||||||
|
|
||||||
|
cd build
|
||||||
|
|
||||||
|
cmake ../digikam-$pkgver \
|
||||||
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||||
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
||||||
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
||||||
|
-DCMAKE_SKIP_RPATH=ON \
|
||||||
|
-DBUILD_TESTING=OFF \
|
||||||
|
-DENABLE_KFILEMETADATASUPPORT=ON \
|
||||||
|
-DENABLE_MEDIAPLAYER=ON \
|
||||||
|
-DENABLE_AKONADICONTACTSUPPORT=ON \
|
||||||
|
-DENABLE_MYSQLSUPPORT=ON \
|
||||||
|
-DENABLE_INTERNALMYSQL=ON \
|
||||||
|
-DENABLE_APPSTYLES=ON
|
||||||
|
make -C extra
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
cd build/extra
|
||||||
|
make DESTDIR=$pkgdir install
|
||||||
|
cd $srcdir/build/po
|
||||||
|
make DESTDIR=$pkgdir install
|
||||||
|
|
||||||
|
# Provided by digikam
|
||||||
|
rm $pkgdir/usr/share/locale/*/LC_MESSAGES/digikam.mo
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user