kdegraphics-libkdcraw: Update

This commit is contained in:
totte 2013-12-18 11:23:57 +00:00
parent f39acb0501
commit 4d4adbaa21

View File

@ -1,7 +1,6 @@
# Maintainer: Manuel Tortosa <manutortosa@chakra-project@org>
# Contributors: H W Tovetjärn (totte) <totte@tott.es>
# Andrea Scarpino <andrea@archlinux.org>
# Maintainer: Manuel Tortosa <manutortosa@chakra-project@org>
# Include global configuration # Include global configuration
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
@ -10,30 +9,42 @@ pkgname=kdegraphics-libkdcraw
_pkgname=libkdcraw _pkgname=libkdcraw
pkgver=${_kdever} pkgver=${_kdever}
pkgrel=1 pkgrel=1
pkgdesc="A library for decoding RAW picture files" pkgdesc="A C++ library for decoding RAW picture files"
arch=('x86_64') arch=('x86_64')
url='http://www.kde.org' url="https://projects.kde.org/projects/kde/kdegraphics/libs/libkdcraw"
license=('GPL' 'LGPL' 'FDL') license=('GPL'
depends=("kdelibs>=${_kdever}" 'lcms' 'libjpeg') 'LGPL'
makedepends=('pkg-config' 'cmake' 'automoc4') 'FDL')
depends=("kdelibs>=${_kdever}"
'lcms'
'libjpeg'
'libraw')
makedepends=('pkg-config'
'cmake'
'automoc4')
source=("$_mirror/${_pkgname}-$_kdever.tar.xz") source=("$_mirror/${_pkgname}-$_kdever.tar.xz")
sha1sums=(`grep ${_pkgname}-$_kdever.tar.xz ../checksums.txt | cut -d " " -f1`) sha1sums=(`grep ${_pkgname}-$_kdever.tar.xz ../checksums.txt | cut -d " " -f1`)
groups=("kde" "kdegraphics" "kde-uninstall") groups=('kde'
conflicts=('kdegraphics-doc' 'libkdcraw') 'kdegraphics'
'kde-uninstall')
conflicts=('kdegraphics-doc'
'libkdcraw')
provides=('libkdcraw') provides=('libkdcraw')
options=('docs' '!header' 'debug' 'log') options=('docs'
'!header'
'debug'
'log')
build() { build() {
cd ${srcdir}/${_pkgname}-${pkgver} cd ${srcdir}/${_pkgname}-${pkgver}
cmake . -DCMAKE_BUILD_TYPE=${_build_type} \ cmake . \
-DCMAKE_INSTALL_PREFIX=${_installprefix} \ -DCMAKE_BUILD_TYPE=${_build_type} \
-DCMAKE_SKIP_RPATH=ON \ -DCMAKE_INSTALL_PREFIX=${_installprefix} \
-DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed' -DCMAKE_SKIP_RPATH=ON \
-DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed'
} }
package() { package() {
cd ${srcdir}/${_pkgname}-${pkgver} cd ${srcdir}/${_pkgname}-${pkgver}
make DESTDIR=${pkgdir} install || return 1 make DESTDIR=${pkgdir} install
} }