mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-19 00:21:40 +00:00
extra/lensfun to 0.3.4-3
This commit is contained in:
parent
e34569c9a4
commit
6120a1be00
1 changed files with 12 additions and 3 deletions
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
pkgname=lensfun
|
pkgname=lensfun
|
||||||
pkgver=0.3.4
|
pkgver=0.3.4
|
||||||
pkgrel=2
|
pkgrel=3
|
||||||
epoch=1
|
epoch=1
|
||||||
pkgdesc='Database of photographic lenses and a library that allows advanced access to the database'
|
pkgdesc='Database of photographic lenses and a library that allows advanced access to the database'
|
||||||
arch=(x86_64)
|
arch=(x86_64)
|
||||||
|
@ -14,13 +14,22 @@ license=(LGPL3)
|
||||||
depends=(glib2)
|
depends=(glib2)
|
||||||
makedepends=(python-setuptools python-build python-installer python-wheel libpng doxygen cmake)
|
makedepends=(python-setuptools python-build python-installer python-wheel libpng doxygen cmake)
|
||||||
optdepends=('python: for lensfun-update-data and lensfun-add-adapter')
|
optdepends=('python: for lensfun-update-data and lensfun-add-adapter')
|
||||||
source=(https://github.com/lensfun/lensfun/archive/v$pkgver/$pkgname-$pkgver.tar.gz)
|
source=(https://github.com/lensfun/lensfun/archive/v$pkgver/$pkgname-$pkgver.tar.gz
|
||||||
sha256sums=('dafb39c08ef24a0e2abd00d05d7341b1bf1f0c38bfcd5a4c69cf5f0ecb6db112')
|
fix-python-module-install.patch)
|
||||||
|
sha256sums=('dafb39c08ef24a0e2abd00d05d7341b1bf1f0c38bfcd5a4c69cf5f0ecb6db112'
|
||||||
|
'e29af58568f6d68f728bc68dba08587e7a7678f6547ab4259f59f20f0efac13a')
|
||||||
|
|
||||||
|
prepare() {
|
||||||
|
# Fix Python module installation
|
||||||
|
patch -d $pkgname-$pkgver -p1 < fix-python-module-install.patch
|
||||||
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cmake -B build -S $pkgname-$pkgver \
|
cmake -B build -S $pkgname-$pkgver \
|
||||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||||
|
-DCMAKE_BUILD_TYPE=None \
|
||||||
-DCMAKE_CXX_FLAGS="$CXXFLAGS -fno-delete-null-pointer-checks" \
|
-DCMAKE_CXX_FLAGS="$CXXFLAGS -fno-delete-null-pointer-checks" \
|
||||||
|
-DINSTALL_PYTHON_MODULE=OFF \
|
||||||
-DBUILD_FOR_SSE=off \
|
-DBUILD_FOR_SSE=off \
|
||||||
-DBUILD_FOR_SSE2=off
|
-DBUILD_FOR_SSE2=off
|
||||||
cmake --build build
|
cmake --build build
|
||||||
|
|
Loading…
Reference in a new issue