mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 18:42:12 +08:00
kdegraphics-libkexiv2: Update
This commit is contained in:
parent
4d4adbaa21
commit
57a1c2ae05
@ -1,7 +1,6 @@
|
||||
|
||||
|
||||
|
||||
# Maintainer: Manuel Tortosa <manutortosa@chakra-project@org>
|
||||
# Maintainer: Manuel Tortosa <manutortosa@chakra-project@org>
|
||||
# Contributors: H W Tovetjärn (totte) <totte@tott.es>
|
||||
# Andrea Scarpino <andrea@archlinux.org>
|
||||
|
||||
# Include global configuration
|
||||
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||||
@ -10,30 +9,41 @@ pkgname=kdegraphics-libkexiv2
|
||||
_pkgname=libkexiv2
|
||||
pkgver=${_kdever}
|
||||
pkgrel=1
|
||||
pkgdesc="Wrapper around exiv2"
|
||||
pkgdesc='Wrapper around the Exiv2 library for image metadata manipulation'
|
||||
arch=('x86_64')
|
||||
url='http://www.kde.org'
|
||||
license=('GPL' 'LGPL' 'FDL')
|
||||
depends=("kdelibs>=${_kdever}" 'lcms' 'libjpeg' 'exiv2')
|
||||
makedepends=('pkg-config' 'cmake' 'automoc4')
|
||||
url='https://projects.kde.org/projects/kde/kdegraphics/libs/libkexiv2'
|
||||
license=('GPL'
|
||||
'LGPL'
|
||||
'FDL')
|
||||
depends=("kdelibs>=${_kdever}"
|
||||
'lcms'
|
||||
'libjpeg'
|
||||
'exiv2')
|
||||
makedepends=('pkg-config'
|
||||
'cmake'
|
||||
'automoc4')
|
||||
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')
|
||||
provides=('libkexiv2')
|
||||
conflicts=('libkexiv2')
|
||||
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