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: 1609168629.e4c17b8522686b57636ec9fd26d60141fd4d2662.soap@gentoo
1 commit: e4c17b8522686b57636ec9fd26d60141fd4d2662
2 Author: Jakov Smolic <jakov.smolic <AT> sartura <DOT> hr>
3 AuthorDate: Mon Dec 28 15:17:09 2020 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Mon Dec 28 15:17:09 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4c17b85
7
8 sci-libs/libccd: Sync live ebuild, fix incorrect EGIT_REPO_URI
9
10 Package-Manager: Portage-3.0.9, Repoman-3.0.1
11 Signed-off-by: Jakov Smolic <jakov.smolic <AT> sartura.hr>
12 Signed-off-by: David Seifert <soap <AT> gentoo.org>
13
14 sci-libs/libccd/libccd-9999.ebuild | 14 ++++----------
15 sci-libs/libccd/metadata.xml | 1 -
16 2 files changed, 4 insertions(+), 11 deletions(-)
17
18 diff --git a/sci-libs/libccd/libccd-9999.ebuild b/sci-libs/libccd/libccd-9999.ebuild
19 index 6f8c7c9f77b..8c95229c774 100644
20 --- a/sci-libs/libccd/libccd-9999.ebuild
21 +++ b/sci-libs/libccd/libccd-9999.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,23 +19,17 @@ 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_configure() {
50 local mycmakeargs=(
51 -DBUILD_DOCUMENTATION=$(usex doc ON OFF)
52 - -DBUILD_SHARED_LIBS=$(usex shared ON OFF)
53 -DENABLE_DOUBLE_PRECISION=$(usex double-precision ON OFF)
54 )
55
56 - local CMAKE_BUILD_TYPE="Release"
57 cmake_src_configure
58 }
59
60
61 diff --git a/sci-libs/libccd/metadata.xml b/sci-libs/libccd/metadata.xml
62 index 62004119dcc..30cf22a0286 100644
63 --- a/sci-libs/libccd/metadata.xml
64 +++ b/sci-libs/libccd/metadata.xml
65 @@ -11,7 +11,6 @@
66 implements algorithm Minkowski Portal Refinement (MPR, a.k.a. XenoCollide) as described in Game Programming Gems 7.
67 </longdescription>
68 <use>
69 - <flag name="shared">Build shared library</flag>
70 <flag name="double">Use double precision floats</flag>
71 <flag name="double-precision">More precise calculations at the expense of speed</flag>
72 </use>