mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 18:42:12 +08:00
kdegraphics-libkipi: Update
This commit is contained in:
parent
57a1c2ae05
commit
5b9b819ba3
@ -1,7 +1,5 @@
|
||||
|
||||
|
||||
|
||||
# Maintainer: Manuel Tortosa <manutortosa@chakra-project@org>
|
||||
# Maintainer: Manuel Tortosa <manutortosa@chakra-project@org>
|
||||
# Contributors: H W Tovetjärn (totte) <totte@tott.es>
|
||||
|
||||
# Include global configuration
|
||||
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||||
@ -10,30 +8,38 @@ pkgname=kdegraphics-libkipi
|
||||
_pkgname=libkipi
|
||||
pkgver=${_kdever}
|
||||
pkgrel=1
|
||||
pkgdesc="An interface to use kipi-plugins from a KDE application"
|
||||
pkgdesc='An interface to use kipi-plugins from a KDE application'
|
||||
arch=('x86_64')
|
||||
url='http://www.kde.org'
|
||||
license=('GPL' 'LGPL' 'FDL')
|
||||
url='https://projects.kde.org/projects/kde/kdegraphics/libs/libkipi'
|
||||
license=('GPL'
|
||||
'LGPL'
|
||||
'FDL')
|
||||
depends=("kdelibs>=${_kdever}")
|
||||
makedepends=('cmake' 'automoc4' 'pkg-config')
|
||||
makedepends=('cmake'
|
||||
'automoc4'
|
||||
'pkg-config')
|
||||
source=("$_mirror/${_pkgname}-$_kdever.tar.xz")
|
||||
sha1sums=(`grep ${_pkgname}-$_kdever.tar.xz ../checksums.txt | cut -d " " -f1`)
|
||||
groups=("kde" "kdegraphics" "kde-uninstall")
|
||||
groups=('kde'
|
||||
'kdegraphics'
|
||||
'kde-uninstall')
|
||||
install=${_pkgname}.install
|
||||
provides=('libkipi')
|
||||
options=('docs' '!header' 'debug' 'log')
|
||||
options=('docs'
|
||||
'!header'
|
||||
'debug'
|
||||
'log')
|
||||
|
||||
build() {
|
||||
cd ${srcdir}/${_pkgname}-${pkgver}
|
||||
cmake . -DCMAKE_BUILD_TYPE=${_build_type} \
|
||||
-DCMAKE_INSTALL_PREFIX=${_installprefix} \
|
||||
-DCMAKE_SKIP_RPATH=ON \
|
||||
-DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed'
|
||||
|
||||
cd ${srcdir}/${_pkgname}-${pkgver}
|
||||
cmake . \
|
||||
-DCMAKE_BUILD_TYPE=${_build_type} \
|
||||
-DCMAKE_INSTALL_PREFIX=${_installprefix} \
|
||||
-DCMAKE_SKIP_RPATH=ON \
|
||||
-DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed'
|
||||
}
|
||||
|
||||
package() {
|
||||
cd ${srcdir}/${_pkgname}-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
|
||||
cd ${srcdir}/${_pkgname}-${pkgver}
|
||||
make DESTDIR=${pkgdir} install
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user