From patchwork Fri Apr 18 22:30:01 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Davide Viti X-Patchwork-Id: 340429 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id 4058B1400EF for ; Sat, 19 Apr 2014 08:30:15 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 2194632FA6; Fri, 18 Apr 2014 22:30:14 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1eT2mMkXxPBe; Fri, 18 Apr 2014 22:30:10 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 858D432FB7; Fri, 18 Apr 2014 22:30:10 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id E70BA1CEABB for ; Fri, 18 Apr 2014 22:30:08 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id E2A988D5C9 for ; Fri, 18 Apr 2014 22:30:08 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XahciOIVqStw for ; Fri, 18 Apr 2014 22:30:08 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from cp-out9.libero.it (cp-out9.libero.it [151.1.108.66]) by whitealder.osuosl.org (Postfix) with ESMTP id D54D18D418 for ; Fri, 18 Apr 2014 22:30:07 +0000 (UTC) X-CTCH-Spam: Unknown X-CTCH-RefID: str=0001.0A0C0201.5351A76E.0042,ss=1,re=0.000,fgs=0 X-libjamoibt: 1555 Received: from bubu.zinosat.dyndns (151.16.112.153) by cp-out9.libero.it (8.5.133) id 53075E3D06AEDE15; Sat, 19 Apr 2014 00:30:06 +0200 Received: from zino by bubu.zinosat.dyndns with local (Exim 4.80) (envelope-from ) id 1WbHIJ-0007wo-GD; Sat, 19 Apr 2014 00:30:04 +0200 From: Davide Viti To: buildroot@busybox.net Date: Sat, 19 Apr 2014 00:30:01 +0200 Message-Id: <1397860201-30520-1-git-send-email-zinosat@tiscali.it> X-Mailer: git-send-email 1.7.10.4 Cc: Davide Viti Subject: [Buildroot] [v3] qhull: new package X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net From: Davide Viti Signed-off-by: Davide Viti --- Changes v2 -> v3: - "depends on !BR2_PREFER_STATIC_LIB" instead of "!BR2_bfin" (kos_tom on IRC) - add comment (kos_tom on IRC) Changes v1 -> v2: - add dependency on BR2_INSTALL_LIBSTDCPP (Thomas Petazzoni) - no need to specify "QHULL_SITE_METHOD = git" - add "depends on !BR2_bfin" (see [1]) package/Config.in | 1 + package/qhull/Config.in | 19 +++++++++++++++++++ package/qhull/qhull.mk | 14 ++++++++++++++ 3 files changed, 34 insertions(+) create mode 100644 package/qhull/Config.in create mode 100644 package/qhull/qhull.mk diff --git a/package/Config.in b/package/Config.in index 748d28e..44c35ea 100644 --- a/package/Config.in +++ b/package/Config.in @@ -820,6 +820,7 @@ source "package/p11-kit/Config.in" source "package/poco/Config.in" source "package/protobuf/Config.in" source "package/protobuf-c/Config.in" +source "package/qhull/Config.in" source "package/schifra/Config.in" source "package/startup-notification/Config.in" source "package/tz/Config.in" diff --git a/package/qhull/Config.in b/package/qhull/Config.in new file mode 100644 index 0000000..4f172bd --- /dev/null +++ b/package/qhull/Config.in @@ -0,0 +1,19 @@ +config BR2_PACKAGE_QHULL + bool "qhull" + depends on BR2_INSTALL_LIBSTDCPP + depends on !BR2_PREFER_STATIC_LIB + help + Qhull computes the convex hull, Delaunay triangulation, + Voronoi diagram, halfspace intersection about a point, + furthest-site Delaunay triangulation, and furthest-site + Voronoi diagram. The source code runs in 2-d, 3-d, 4-d, and + higher dimensions. Qhull implements the Quickhull algorithm + for computing the convex hull. It handles roundoff errors + from floating point arithmetic. It computes volumes, surface + areas, and approximations to the convex hull. + + http://www.qhull.org + +comment "qhull needs a toolchain w/ C++, dynamic library" + depends on !BR2_INSTALL_LIBSTDCPP + depends on BR2_PREFER_STATIC_LIB diff --git a/package/qhull/qhull.mk b/package/qhull/qhull.mk new file mode 100644 index 0000000..f2bc771 --- /dev/null +++ b/package/qhull/qhull.mk @@ -0,0 +1,14 @@ +############################################################################### +# +# qhull +# +############################################################################### + +QHULL_VERSION = 60d55819729d7b49391dde0271e15a56c70992b9 +QHULL_SITE = git://gitorious.org/qhull/qhull.git +QHULL_INSTALL_STAGING = YES +QHULL_LICENSE = BSD-Style +QHULL_LICENSE_FILES = COPYING.txt +QHULL_CONF_OPT = -DCMAKE_BUILD_TYPE=Release + +$(eval $(cmake-package))