Package: qhull8.0-shlibs Version: 2020.2 Revision: 2 Description: Calculate convex hulls and related structures License: BSD Maintainer: None DescDetail: << Qhull computes convex hulls, Delaunay triangulations, halfspace intersections about a point, Voronoi diagrams, furthest-site Delaunay triangulations, and furthest-site Voronoi diagrams. It runs in 2-d, 3-d, 4-d, and higher dimensions. It implements the Quickhull algorithm for computing the convex hull. Qhull handles roundoff errors from floating point arithmetic. It computes volumes, surface areas, and approximations to the convex hull. << DescUsage: << This package contains the shared libraries. << DescPackaging: << * Previous maintainer: Alexander Hansen * The prior static-only qhull package was maintained by Stefan Langerman . * Patch library install_name to be a full and not relative path. * Steal some debian patches, especially to retain the legacy libqhull from older versions that upstream says it will continue to support, not just the new libqhull_r. This allows easy migration from older package libversions. Also their patch to convert libqhullcpp to shared (rather than static). If you need either the legacy lib or the cpp lib, be sure you depend on package-version 2020.2-2 (2020.2-1 only had the _r library). << BuildDepends: << cmake, fink (>= 0.32), fink-buildenv-modules << Source: https://github.com/qhull/qhull/archive/%v.tar.gz SourceRename: qhull-%v.tar.gz Source-Checksum: SHA256(59356b229b768e6e2b09a701448bfa222c37b797a84f87f864f97462d8dbc7c5) Source2: mirror:debian:pool/main/q/qhull/qhull_2020.2-4.debian.tar.xz Source2-Checksum: SHA256(30f9bcae788a3e1ff2e23eef2251390f5008aef6b4fcda977996ebf34cd6a44a) PatchFile: %n.patch PatchFile-MD5: d01385e1d7a5a16ac40551e7962cc0f6 PatchScript: << #!/bin/sh -ev for f in \ 0002-Fix-privacy-breach.patch \ 0003-Use-local-version-of-function-index.patch \ 0004-Build-qhullcpp-as-shared-library.patch \ 0006-Build-deprecated-libqhull-for-now.patch \ ; do patch -p1 < ../debian/patches/$f done %{default_script} << GCC: 4.0 CompileScript: << #!/bin/sh -ev . %p/sbin/fink-buildenv-cmake.sh mkdir finkbuild cd finkbuild cmake $FINK_CMAKE_ARGS \ -DBIN_INSTALL_DIR=%p/bin \ -DDOC_INSTALL_DIR=%p/share/doc/qhull \ -DMAN_INSTALL_DIR=%p/share/man/man1 \ .. make -w << InfoTest: << TestScript: << #!/bin/sh -ev export PATH=$PATH:%b/bin export DYLD_LIBRARY_PATH=%b/lib cd finkbuild ctest || exit 2 << << InstallScript: << #!/bin/sh -ev cd finkbuild make install DESTDIR=%d << Shlibs: << %p/lib/libqhull.8.0.dylib 8.0.0 %n (>= 2020.2-2) %p/lib/libqhull_r.8.0.dylib 8.0.0 %n (>= 2020.2-1) %p/lib/libqhullcpp.8.0.dylib 8.0.0 %n (>= 2020.2-2) << DocFiles: Announce.txt COPYING.txt README.txt REGISTER.txt Homepage: http://www.qhull.org/ SplitOff: << Package: qhull Conflicts: qhull, qhull5, qhull6, qhull6.3, qhull6.3.1 Replaces: qhull, qhull5, qhull6, qhull6.3, qhull6.3.1 Files: << bin share/doc/qhull share/man << DocFiles: Announce.txt COPYING.txt README.txt REGISTER.txt index.htm DescUsage: << This package contains the executables, manpages, and other documentation. << DescPackaging: << * Upstream has decided to build the executables statically, so Depends: %N is not required. << << SplitOff2: << Package: qhull8.0-dev BuildDependsOnly: true Depends: %N (= %v-%r) Conflicts: qhull5-dev, qhull6-dev, qhull6.3-dev, qhull6.3.1-dev, qhull8.0-dev Replaces: qhull5-dev, qhull6-dev, qhull6.3-dev, qhull6.3.1-dev, qhull8.0-dev Files: << include lib/cmake lib/libqhull.dylib lib/libqhull_r.dylib lib/libqhullcpp.dylib lib/lib*.a lib/pkgconfig << DocFiles: Announce.txt COPYING.txt README.txt REGISTER.txt DescUsage: << This package contains the header files, static libraries, and the unversioned dylibs. << <<