mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
32 lines
953 B
Bash
32 lines
953 B
Bash
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
# - disable sse, sse2
|
|
|
|
pkgname=lensfun
|
|
pkgver=0.3.95
|
|
pkgrel=1
|
|
pkgdesc="Database of photographic lenses and a library that allows advanced access to the database"
|
|
arch=(x86_64)
|
|
url="https://lensfun.sourceforge.net"
|
|
license=('LGPL3')
|
|
depends=('glib2')
|
|
makedepends=('python' 'libpng' 'doxygen' 'cmake')
|
|
optdepends=('python: for lensfun-update-data and lensfun-add-adapter')
|
|
source=("https://sourceforge.net/projects/lensfun/files/${pkgver}/${pkgname}-${pkgver}.tar.gz")
|
|
sha256sums=('82c29c833c1604c48ca3ab8a35e86b7189b8effac1b1476095c0529afb702808')
|
|
|
|
build() {
|
|
cd $pkgname-$pkgver
|
|
cmake . \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_CXX_FLAGS="${CXXFLAGS} -fno-delete-null-pointer-checks" \
|
|
-DBUILD_FOR_SSE=off \
|
|
-DBUILD_FOR_SSE2=off
|
|
make all
|
|
}
|
|
|
|
package() {
|
|
cd $pkgname-$pkgver
|
|
make DESTDIR="$pkgdir" install
|
|
}
|