PKGBUILDs/extra/lensfun/PKGBUILD

32 lines
917 B
Bash
Raw Normal View History

2013-02-11 21:14:48 +00:00
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
2015-01-11 02:35:06 +00:00
# - disable sse, sse2
2013-02-11 21:14:48 +00:00
pkgname=lensfun
2022-02-28 20:52:58 +00:00
pkgver=0.3.3
pkgrel=1
epoch=1
pkgdesc='Database of photographic lenses and a library that allows advanced access to the database'
2018-08-06 12:48:48 +00:00
arch=(x86_64)
2022-02-28 20:52:58 +00:00
url='https://lensfun.github.io/'
license=(LGPL3)
depends=(glib2)
makedepends=(python libpng doxygen cmake)
2017-11-11 14:27:18 +00:00
optdepends=('python: for lensfun-update-data and lensfun-add-adapter')
2022-02-28 20:52:58 +00:00
source=(https://github.com/lensfun/lensfun/archive/v$pkgver/$pkgname-$pkgver.tar.gz)
sha256sums=('57ba5a0377f24948972339e18be946af12eda22b7c707eb0ddd26586370f6765')
2013-04-16 15:09:36 +00:00
build() {
2022-02-28 20:52:58 +00:00
cmake -B build -S $pkgname-$pkgver \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_CXX_FLAGS="$CXXFLAGS -fno-delete-null-pointer-checks" \
-DBUILD_FOR_SSE=off \
-DBUILD_FOR_SSE2=off
cmake --build build
2013-02-11 21:14:48 +00:00
}
package() {
2022-02-28 20:52:58 +00:00
DESTDIR="$pkgdir" cmake --install build
2013-02-11 21:14:48 +00:00
}