diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2019-08-17 00:18:45 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2019-08-17 00:19:20 +0200 |
commit | 90c3e358250f3c76c625fd120432db1caa070479 (patch) | |
tree | f404523456491019f2b982074b0744c1df3b7e9c /dev-libs/libical | |
parent | profiles: base: Add dev-libs/libical[glib] to package.use.stable.mask (diff) | |
download | gentoo-90c3e358250f3c76c625fd120432db1caa070479.tar.gz gentoo-90c3e358250f3c76c625fd120432db1caa070479.tar.bz2 gentoo-90c3e358250f3c76c625fd120432db1caa070479.zip |
dev-libs/libical: Add USE glib
Bug: https://bugs.gentoo.org/689434
Package-Manager: Portage-2.3.71, Repoman-2.3.17
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'dev-libs/libical')
-rw-r--r-- | dev-libs/libical/libical-3.0.5.ebuild | 13 | ||||
-rw-r--r-- | dev-libs/libical/metadata.xml | 3 |
2 files changed, 9 insertions, 7 deletions
diff --git a/dev-libs/libical/libical-3.0.5.ebuild b/dev-libs/libical/libical-3.0.5.ebuild index c15ce6147212..8b595cd6c716 100644 --- a/dev-libs/libical/libical-3.0.5.ebuild +++ b/dev-libs/libical/libical-3.0.5.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.gz" LICENSE="|| ( MPL-2.0 LGPL-2.1 )" SLOT="0/3" KEYWORDS="alpha amd64 arm arm64 ~hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" -IUSE="berkdb doc examples static-libs test" +IUSE="berkdb doc examples glib static-libs test" BDEPEND=" dev-lang/perl @@ -22,14 +22,14 @@ BDEPEND=" test? ( ${PYTHON_DEPS} ) " # TODO: disabled until useful -# glib? ( -# dev-libs/glib:2 -# dev-libs/libxml2:2 -# ) # introspection? ( dev-libs/gobject-introspection:= ) DEPEND=" dev-libs/icu:= berkdb? ( sys-libs/db:= ) + glib? ( + dev-libs/glib:2 + dev-libs/libxml2:2 + ) " RDEPEND="${DEPEND} sys-libs/timezone-data @@ -57,7 +57,7 @@ src_prepare() { src_configure() { local mycmakeargs=( - -DICAL_GLIB=OFF + -DICAL_GLIB=$(usex glib) -DICAL_GLIB_VAPI=OFF -DGOBJECT_INTROSPECTION=OFF $(cmake-utils_use_find_package berkdb BDB) @@ -65,7 +65,6 @@ src_configure() { -DSHARED_ONLY=$(usex !static-libs) ) # TODO: disabled until useful -# -DICAL_GLIB=$(usex glib) # -DGOBJECT_INTROSPECTION=$(usex introspection) cmake-utils_src_configure } diff --git a/dev-libs/libical/metadata.xml b/dev-libs/libical/metadata.xml index 002b34042a96..fcf112716f75 100644 --- a/dev-libs/libical/metadata.xml +++ b/dev-libs/libical/metadata.xml @@ -8,4 +8,7 @@ <upstream> <remote-id type="github">libical/libical</remote-id> </upstream> + <use> + <flag name="glib">Enable dev-libs/glib interface support</flag> + </use> </pkgmetadata> |