Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/libccd/
Date: Mon, 28 Dec 2020 15:17:51
Message-Id: 1609168628.665810256bb91588c6cee21b1d007db1685c68d4.soap@gentoo
1 commit: 665810256bb91588c6cee21b1d007db1685c68d4
2 Author: Jakov Smolic <jakov.smolic <AT> sartura <DOT> hr>
3 AuthorDate: Mon Dec 28 15:17:08 2020 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Mon Dec 28 15:17:08 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66581025
7
8 sci-libs/libccd: Disable static libs
9
10 Closes: https://bugs.gentoo.org/725422
11 Package-Manager: Portage-3.0.9, Repoman-3.0.1
12 Signed-off-by: Jakov Smolic <jakov.smolic <AT> sartura.hr>
13 Signed-off-by: David Seifert <soap <AT> gentoo.org>
14
15 sci-libs/libccd/libccd-2.1.ebuild | 14 ++++----------
16 1 file changed, 4 insertions(+), 10 deletions(-)
17
18 diff --git a/sci-libs/libccd/libccd-2.1.ebuild b/sci-libs/libccd/libccd-2.1.ebuild
19 index 8691045954d..cdc23db2921 100644
20 --- a/sci-libs/libccd/libccd-2.1.ebuild
21 +++ b/sci-libs/libccd/libccd-2.1.ebuild
22 @@ -5,9 +5,9 @@ EAPI=7
23
24 inherit cmake
25
26 -if [ "${PV}" = "9999" ] ; then
27 +if [[ ${PV} == *9999 ]] ; then
28 inherit git-r3
29 - EGIT_REPO_URI="https://github.com/danfis/libccd/${PN}.git"
30 + EGIT_REPO_URI="https://github.com/danfis/libccd.git"
31 else
32 SRC_URI="https://github.com/danfis/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
33 KEYWORDS="~amd64 ~arm"
34 @@ -19,14 +19,10 @@ HOMEPAGE="http://libccd.danfis.cz/
35
36 LICENSE="BSD"
37 SLOT="0"
38 -IUSE="+double-precision doc +shared test"
39 +IUSE="+double-precision doc test"
40 RESTRICT="!test? ( test )"
41
42 -RDEPEND=""
43 -
44 -DEPEND="${RDEPEND}
45 - doc? ( dev-python/sphinx )
46 -"
47 +BDEPEND="doc? ( dev-python/sphinx )"
48
49 src_prepare() {
50 # upstream issue 72
51 @@ -40,11 +36,9 @@ src_prepare() {
52 src_configure() {
53 local mycmakeargs=(
54 -DBUILD_DOCUMENTATION=$(usex doc ON OFF)
55 - -DBUILD_SHARED_LIBS=$(usex shared ON OFF)
56 -DENABLE_DOUBLE_PRECISION=$(usex double-precision ON OFF)
57 )
58
59 - local CMAKE_BUILD_TYPE="Release"
60 cmake_src_configure
61 }