* [Buildroot] [PATCH 1/1] package/qhull: bump to version 8.0.2
@ 2021-03-23 19:18 Fabrice Fontaine
2021-04-04 14:45 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Fabrice Fontaine @ 2021-03-23 19:18 UTC (permalink / raw)
To: buildroot
- Static libs are supported since version 8.0.2 and
https://github.com/qhull/qhull/commit/613debeaea72ee66626dace9ba1a2eff11b5d37d
- Update hash of COPYING, update year and authors with
https://github.com/qhull/qhull/commit/4733a95be0298919a646a1d6044c1bee7a552880
- Update indentation in hash file (two spaces)
https://github.com/qhull/qhull/releases/tag/v8.0.2
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
package/qhull/Config.in | 6 +++---
package/qhull/qhull.hash | 8 ++++----
package/qhull/qhull.mk | 15 +++++++++++++--
3 files changed, 20 insertions(+), 9 deletions(-)
diff --git a/package/qhull/Config.in b/package/qhull/Config.in
index 0a4b60ffbe..cfd67b0d38 100644
--- a/package/qhull/Config.in
+++ b/package/qhull/Config.in
@@ -1,7 +1,6 @@
config BR2_PACKAGE_QHULL
bool "qhull"
depends on BR2_INSTALL_LIBSTDCPP
- depends on !BR2_STATIC_LIBS
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_4 # needs gcc >= 4.4
help
Qhull computes the convex hull, Delaunay triangulation,
@@ -15,5 +14,6 @@ config BR2_PACKAGE_QHULL
http://www.qhull.org
-comment "qhull needs a toolchain w/ C++, dynamic library, gcc >= 4.4"
- depends on !BR2_INSTALL_LIBSTDCPP || BR2_STATIC_LIBS || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_4
+comment "qhull needs a toolchain w/ C++, gcc >= 4.4"
+ depends on !BR2_INSTALL_LIBSTDCPP || \
+ !BR2_TOOLCHAIN_GCC_AT_LEAST_4_4
diff --git a/package/qhull/qhull.hash b/package/qhull/qhull.hash
index b97c25a3f7..f7d8c9e729 100644
--- a/package/qhull/qhull.hash
+++ b/package/qhull/qhull.hash
@@ -1,5 +1,5 @@
-# From http://www.qhull.org/download/qhull-2019.1.md5sum
-md5 53c04f9c89b491b17b10c7ea1eaa4cc8 qhull-2019-src-7.3.2.tgz
+# From http://www.qhull.org/download/qhull-2020-src-8.0.2-tgz.md5sum
+md5 ed767244864488d5e9a22dfa788663a9 qhull-2020-src-8.0.2-tgz
# Locally computed
-sha256 2b7990558c363076261564f61b74db4d0d73b71869755108a469038c07dc43fb qhull-2019-src-7.3.2.tgz
-sha256 34db0c0c4f931861d720555c9cd7a2e228d1290ba29af0f2ee80c41bb2038afb COPYING.txt
+sha256 b5c2d7eb833278881b952c8a52d20179eab87766b00b865000469a45c1838b7e qhull-2020-src-8.0.2.tgz
+sha256 106d55c931fd6a84822e5345d900273d059f1c27310d02567ccb313c5d18c55d COPYING.txt
diff --git a/package/qhull/qhull.mk b/package/qhull/qhull.mk
index fcf517634b..c11bed0373 100644
--- a/package/qhull/qhull.mk
+++ b/package/qhull/qhull.mk
@@ -4,11 +4,22 @@
#
################################################################################
-QHULL_VERSION = 7.3.2
+QHULL_VERSION = 8.0.2
QHULL_SITE = http://www.qhull.org/download
-QHULL_SOURCE = qhull-2019-src-$(QHULL_VERSION).tgz
+QHULL_SOURCE = qhull-2020-src-$(QHULL_VERSION).tgz
QHULL_INSTALL_STAGING = YES
QHULL_LICENSE = BSD-Style
QHULL_LICENSE_FILES = COPYING.txt
+# BUILD_SHARED_LIBS is handled in pkg-cmake.mk as it is a generic cmake variable
+# although BUILD_STATIC_LIBS=ON is default, make it explicit,
+# cmake and static/shared libs is confusing enough already.
+ifeq ($(BR2_STATIC_LIBS),y)
+QHULL_CONF_OPTS += -DBUILD_STATIC_LIBS=ON
+else ifeq ($(BR2_SHARED_STATIC_LIBS),y)
+QHULL_CONF_OPTS += -DBUILD_STATIC_LIBS=ON
+else ifeq ($(BR2_SHARED_LIBS),y)
+QHULL_CONF_OPTS += -DBUILD_STATIC_LIBS=OFF
+endif
+
$(eval $(cmake-package))
--
2.30.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH 1/1] package/qhull: bump to version 8.0.2
2021-03-23 19:18 [Buildroot] [PATCH 1/1] package/qhull: bump to version 8.0.2 Fabrice Fontaine
@ 2021-04-04 14:45 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2021-04-04 14:45 UTC (permalink / raw)
To: buildroot
On Tue, 23 Mar 2021 20:18:26 +0100
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:
> - Static libs are supported since version 8.0.2 and
> https://github.com/qhull/qhull/commit/613debeaea72ee66626dace9ba1a2eff11b5d37d
> - Update hash of COPYING, update year and authors with
> https://github.com/qhull/qhull/commit/4733a95be0298919a646a1d6044c1bee7a552880
> - Update indentation in hash file (two spaces)
>
> https://github.com/qhull/qhull/releases/tag/v8.0.2
>
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
> package/qhull/Config.in | 6 +++---
> package/qhull/qhull.hash | 8 ++++----
> package/qhull/qhull.mk | 15 +++++++++++++--
> 3 files changed, 20 insertions(+), 9 deletions(-)
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-04-04 14:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-23 19:18 [Buildroot] [PATCH 1/1] package/qhull: bump to version 8.0.2 Fabrice Fontaine
2021-04-04 14:45 ` Thomas Petazzoni
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.