lensfun: cleaned up

This commit is contained in:
Tim Biermann 2020-11-03 19:07:18 +00:00
parent 54b4e6de51
commit 8d109fe22f
Signed by: tb
GPG Key ID: 42F8B4E30B673606
2 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF3xaTxNKWWPQZSpD29AlT7oaZ4oaHX02SHqCUJd35hyx4KEafDchSjIiNZCp7zXeGTAqY4phW9e2Mg32/zZJoEQQ=
SHA256 (Pkgfile) = 547e03456ee161e1360f7e769bd28fdd9f63687f4ac370b6b04afa87598cc084
RWSagIOpLGJF3wV6e8V51AXxR7d2i510QVlwdMZ4QLPAxgrqpLIRtZG7o/VKm4SXMwdqhJUA26UieSZOQvSXrZaUeebgQBSdMQA=
SHA256 (Pkgfile) = 0a3091ed62726b60c2d3878b6ba8c2ac86495b1c0172571e45beec1b8adfb2bd
SHA256 (.footprint) = 04abd4549e0b16e2332cbb2314fadbdc962ee902b9193df64425b39c456df854
SHA256 (lensfun-0.3.2.tar.gz) = ae8bcad46614ca47f5bda65b00af4a257a9564a61725df9c74cb260da544d331
SHA256 (lensfun-fix-python-install-dir.patch) = 11e0f9ce2d5c5fef4373ce6adbb19dbcbcd8a10efa02447db9c92b03798d5654

View File

@ -7,14 +7,14 @@ name=lensfun
version=0.3.2
release=1
source=(https://github.com/lensfun/lensfun/archive/v$version/$name-$version.tar.gz
lensfun-fix-python-install-dir.patch)
lensfun-fix-python-install-dir.patch)
build() {
patch -p1 -d $name-$version -i $SRC/lensfun-fix-python-install-dir.patch
cmake -S$name-$version -Bbuild -GNinja \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_LIBDIR=lib \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_CXX_FLAGS="${CXXFLAGS} -fno-delete-null-pointer-checks"
cmake --build build
DESTDIR=$PKG cmake --install build