[arch-commits] Commit in hexer-hobu/repos (3 files)
Felix Yan
felixonmars at archlinux.org
Tue Jul 7 16:48:52 UTC 2020
Date: Tuesday, July 7, 2020 @ 16:48:52
Author: felixonmars
Revision: 659426
archrelease: copy trunk to community-staging-x86_64
Added:
hexer-hobu/repos/community-staging-x86_64/
hexer-hobu/repos/community-staging-x86_64/1c528390ec47588661c86e773dcef771787fc564.patch
(from rev 659425, hexer-hobu/trunk/1c528390ec47588661c86e773dcef771787fc564.patch)
hexer-hobu/repos/community-staging-x86_64/PKGBUILD
(from rev 659425, hexer-hobu/trunk/PKGBUILD)
------------------------------------------------+
1c528390ec47588661c86e773dcef771787fc564.patch | 47 +++++++++++++++++++++++
PKGBUILD | 36 +++++++++++++++++
2 files changed, 83 insertions(+)
Copied: hexer-hobu/repos/community-staging-x86_64/1c528390ec47588661c86e773dcef771787fc564.patch (from rev 659425, hexer-hobu/trunk/1c528390ec47588661c86e773dcef771787fc564.patch)
===================================================================
--- community-staging-x86_64/1c528390ec47588661c86e773dcef771787fc564.patch (rev 0)
+++ community-staging-x86_64/1c528390ec47588661c86e773dcef771787fc564.patch 2020-07-07 16:48:52 UTC (rev 659426)
@@ -0,0 +1,47 @@
+From 427f770374ec2a583426aa371105f8c0780a729b Mon Sep 17 00:00:00 2001
+From: Pete Gadomski <pete.gadomski at gmail.com>
+Date: Tue, 25 Apr 2017 16:08:00 +0000
+Subject: [PATCH 1/2] Add cmath and limits headers to utils
+
+---
+ include/hexer/Utils.hpp | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/include/hexer/Utils.hpp b/include/hexer/Utils.hpp
+index 8c26fd3..fd7ed30 100644
+--- a/include/hexer/Utils.hpp
++++ b/include/hexer/Utils.hpp
+@@ -15,6 +15,9 @@
+
+ #pragma once
+
++#include <cmath>
++#include <limits>
++
+ namespace hexer
+ {
+
+
+From e06d361eec613ed046592d378a01bf0a0694a6f8 Mon Sep 17 00:00:00 2001
+From: Pete Gadomski <pete.gadomski at gmail.com>
+Date: Tue, 25 Apr 2017 16:08:24 +0000
+Subject: [PATCH 2/2] Link with dl for curse on non-win32
+
+---
+ apps/CMakeLists.txt | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/apps/CMakeLists.txt b/apps/CMakeLists.txt
+index 3ce66d7..11f5d02 100644
+--- a/apps/CMakeLists.txt
++++ b/apps/CMakeLists.txt
+@@ -17,6 +17,9 @@ endif()
+ if(CURSE)
+ add_executable(${CURSE} curse.cpp lasfile.hpp las.hpp las.cpp OGR.hpp OGR.cpp mmaplib.hpp pdal_util_export.hpp ProgramArgs.hpp Utils.cpp Utils.hpp )
+ target_link_libraries(${CURSE} ${HEXER_LIB_NAME} ${HEXERBOOST_LIB_NAME})
++ if(NOT WIN32)
++ target_link_libraries(${CURSE} dl)
++ endif()
+ endif()
+
+ install(TARGETS ${HEXER_UTILITIES}
Copied: hexer-hobu/repos/community-staging-x86_64/PKGBUILD (from rev 659425, hexer-hobu/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2020-07-07 16:48:52 UTC (rev 659426)
@@ -0,0 +1,36 @@
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+pkgname=hexer-hobu
+pkgver=1.4.0
+pkgrel=4
+pkgdesc="LAS and OGR hexagonal density and boundary surface generation"
+arch=('x86_64')
+url="https://github.com/hobu/hexer"
+license=(LGPL)
+depends=(gdal)
+makedepends=(cmake)
+source=("https://github.com/hobu/hexer/archive/${pkgver}.tar.gz"
+ 1c528390ec47588661c86e773dcef771787fc564.patch)
+sha512sums=('4db94af7fe0a2cc3cd26202c4ec88fadd88408c92d14e11ac117af51ee267aa87cd82aa18b29867f318d272f644be60a826e7fb3c72908baba4124499f39579c'
+ 'a79efd591f97913e1e32a8dfc7dd7247203a0992196d9f095a16a8a110175190e527cf943d6329eafa65ec5dded88c283f017605368ee521fe28caba3802ccf8')
+
+prepare() {
+ cd hexer-${pkgver}
+
+ patch -Np1 < ${srcdir}/1c528390ec47588661c86e773dcef771787fc564.patch
+}
+
+build() {
+ mkdir -p hexer-${pkgver}/build
+ cd hexer-${pkgver}/build
+
+ cmake -DCMAKE_INSTALL_PREFIX=/usr ..
+ make
+}
+
+package() {
+ cd hexer-${pkgver}/build
+
+ make DESTDIR="$pkgdir/" install
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list