extra/lensfun to 0.3.2-6

This commit is contained in:
Kevin Mihelich 2017-11-11 14:27:18 +00:00
parent 164c53d5a9
commit 09176bee00

View file

@ -6,17 +6,18 @@
pkgname=lensfun
pkgver=0.3.2
pkgrel=3
pkgrel=6
pkgdesc="Database of photographic lenses and a library that allows advanced access to the database"
arch=(i686 x86_64)
url="http://lensfun.sourceforge.net"
url="https://lensfun.sourceforge.net"
license=('LGPL3')
depends=('glibc' 'glib2')
depends=('glib2')
makedepends=('python' 'libpng' 'doxygen' 'cmake')
source=("http://sourceforge.net/projects/lensfun/files/${pkgver}/${pkgname}-${pkgver}.tar.gz"
optdepends=('python: for lensfun-update-data and lensfun-add-adapter')
source=("https://sourceforge.net/projects/lensfun/files/${pkgver}/${pkgname}-${pkgver}.tar.gz"
lensfun-fix-python-install-dir.patch)
sha1sums=('1d978b15aa7304d66a4931fa37ca9f8f89396c16'
'7bf2b17d0fb85800857eaf990541ea9eccca2f77')
sha256sums=('ae8bcad46614ca47f5bda65b00af4a257a9564a61725df9c74cb260da544d331'
'11e0f9ce2d5c5fef4373ce6adbb19dbcbcd8a10efa02447db9c92b03798d5654')
prepare() {
cd $pkgname-$pkgver
@ -30,6 +31,7 @@ build() {
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_LIBDIR=lib \
-DCMAKE_CXX_FLAGS="${CXXFLAGS} -fno-delete-null-pointer-checks" \
-DBUILD_FOR_SSE=off \
-DBUILD_FOR_SSE2=off
make all