commit:     f3289db827ce28f6ddc2e6378118218eb7070a65
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Jan  5 23:35:15 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Jan  5 23:44:22 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f3289db8

media-libs/qhull: various fixes

* Drop static-libs
* Expose subslot (and revbump) which changed

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-libs/qhull/qhull-2015.2.ebuild                       |  4 ++--
 .../qhull/{qhull-2020.2.ebuild => qhull-2020.2-r1.ebuild}  | 14 +++++++-------
 2 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/media-libs/qhull/qhull-2015.2.ebuild 
b/media-libs/qhull/qhull-2015.2.ebuild
index 4539170beac..ba369993be4 100644
--- a/media-libs/qhull/qhull-2015.2.ebuild
+++ b/media-libs/qhull/qhull-2015.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -9,7 +9,7 @@ DESCRIPTION="Geometry library"
 HOMEPAGE="http://www.qhull.org";
 SRC_URI="http://www.qhull.org/download/${PN}-2015-src-7.2.0.tgz -> ${P}.tar.gz"
 
-SLOT="0"
+SLOT="0/7"
 LICENSE="BSD"
 KEYWORDS="amd64 arm arm64 ~ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos 
~x64-macos ~x86-macos"
 IUSE="doc static-libs"

diff --git a/media-libs/qhull/qhull-2020.2.ebuild 
b/media-libs/qhull/qhull-2020.2-r1.ebuild
similarity index 82%
rename from media-libs/qhull/qhull-2020.2.ebuild
rename to media-libs/qhull/qhull-2020.2-r1.ebuild
index 31da6061ee1..63124afc11d 100644
--- a/media-libs/qhull/qhull-2020.2.ebuild
+++ b/media-libs/qhull/qhull-2020.2-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -9,10 +9,10 @@ DESCRIPTION="Geometry library"
 HOMEPAGE="http://www.qhull.org";
 SRC_URI="https://github.com/qhull/qhull/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
-SLOT="0"
+SLOT="0/8"
 LICENSE="BSD"
 KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux 
~ppc-macos ~x64-macos ~x86-macos"
-IUSE="doc static-libs"
+IUSE="doc"
 
 DOCS=( Announce.txt File_id.diz README.txt REGISTER.txt )
 
@@ -28,12 +28,12 @@ src_prepare() {
 }
 
 src_configure() {
-       CMAKE_BUILD_TYPE=Release
-
-       mycmakeargs+=(
-               -DBUILD_STATIC_LIBS=$(usex static-libs)
+       local mycmakeargs=(
+               -DBUILD_STATIC_LIBS=OFF
+               -DLINK_APPS_SHARED=ON
                -DDOC_INSTALL_DIR="${EPREFIX}"/usr/share/doc/${PF}
                -DLIB_INSTALL_DIR="${EPREFIX}/usr/$(get_libdir)"
        )
+
        cmake_src_configure
 }

Reply via email to