Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 737812 | Differences between
and this patch

Collapse All | Expand All

(-)file_not_specified_in_diff (-9 / +15 lines)
Line  Link Here
0
-- /var/db/repos/gentoo/dev-libs/libbson/libbson-1.17.0.ebuild 2020-08-06 16:39:16.000000000 +0200
0
++ dev-libs/libbson/libbson-1.17.0.ebuild      2020-08-23 11:23:29.000000000 +0200
Lines 3-9 Link Here
3
EAPI=7
3
EAPI=7
4
inherit cmake-utils
4
inherit cmake
5
DESCRIPTION="Library routines related to building,parsing and iterating BSON documents"
5
DESCRIPTION="Library routines related to building,parsing and iterating BSON documents"
6
HOMEPAGE="https://github.com/mongodb/mongo-c-driver/tree/master/src/libbson"
6
HOMEPAGE="https://github.com/mongodb/mongo-c-driver/tree/master/src/libbson"
Lines 12-24 Link Here
12
LICENSE="Apache-2.0"
12
LICENSE="Apache-2.0"
13
SLOT="0"
13
SLOT="0"
14
KEYWORDS="~amd64 ~hppa ~ppc ~sparc ~x86"
14
KEYWORDS="~amd64 ~hppa ~ppc ~sparc ~x86"
15
IUSE="examples static-libs"
15
IUSE="doc examples static-libs"
16
DEPEND="dev-python/sphinx"
16
BDEPEND="doc? ( dev-python/sphinx:= )"
17
# patch out documentation
18
# otherwise you get file collisions:
19
# /usr/share/mongo-c-driver/*
20
# from the mongo-c-driver package
21
#
17
PATCHES=(
22
PATCHES=(
18
       "${FILESDIR}/${PN}-1.14.0-no-docs.patch"
23
       "${FILESDIR}/${PN}-1.14.0-no-docs.patch"
19
       "${FILESDIR}/${PN}-1.16.2-sphinx.patch"
20
)
24
)
21
S="${WORKDIR}/mongo-c-driver-${PV}"
25
S="${WORKDIR}/mongo-c-driver-${PV}"
Lines 26-40 Link Here
26
src_configure() {
30
src_configure() {
27
       local mycmakeargs=(
31
       local mycmakeargs=(
28
               -DENABLE_BSON=ON
32
               -DENABLE_BSON=ON
29
               -DENABLE_EXAMPLES=OFF
33
               -DENABLE_EXAMPLES="$(usex examples ON OFF)"
30
               -DENABLE_MAN_PAGES=ON
34
               -DENABLE_HTML_DOCS="$(usex doc ON OFF)"
35
               -DENABLE_MAN_PAGES="$(usex doc ON OFF)"
31
               -DENABLE_MONGOC=OFF
36
               -DENABLE_MONGOC=OFF
37
               -DENABLE_PIC="$(usex pic ON OFF)"
32
               -DENABLE_TESTS=OFF
38
               -DENABLE_TESTS=OFF
33
               -DENABLE_STATIC="$(usex static-libs ON OFF)"
39
               -DENABLE_STATIC="$(usex static-libs ON OFF)"
34
               -DENABLE_UNINSTALL=OFF
40
               -DENABLE_UNINSTALL=OFF
35
       )
41
       )
36
       cmake-utils_src_configure
42
       cmake_src_configure
37
}
43
}
38
src_install() {
44
src_install() {
Lines 43-47 Link Here
43
               dodoc src/libbson/examples/*.c
49
               dodoc src/libbson/examples/*.c
44
       fi
50
       fi
45
       cmake-utils_src_install
51
       cmake_src_install
46
}
52
}

Return to bug 737812