Skip to content

Commit

Permalink
dev-libs/libical: Drop USE=glib,introspection until useful
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.19, Repoman-2.3.6
  • Loading branch information
a17r committed Jan 6, 2018
1 parent bae8b40 commit 77befa8
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 13 deletions.
24 changes: 14 additions & 10 deletions dev-libs/libical/libical-3.0.1.ebuild
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 1999-2017 Gentoo Foundation
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6
Expand All @@ -13,16 +13,17 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="|| ( MPL-1.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 glib introspection static-libs test"

IUSE="berkdb doc examples static-libs test"

# TODO: disabled until useful
# glib? (
# dev-libs/glib:2
# dev-libs/libxml2:2
# )
# introspection? ( dev-libs/gobject-introspection:= )
COMMON_DEPEND="
dev-libs/icu:=
berkdb? ( sys-libs/db:= )
glib? (
dev-libs/glib:2
dev-libs/libxml2:2
)
introspection? ( dev-libs/gobject-introspection:= )
"
DEPEND="${COMMON_DEPEND}
dev-lang/perl
Expand Down Expand Up @@ -53,11 +54,14 @@ src_prepare() {

src_configure() {
local mycmakeargs=(
-DICAL_GLIB=OFF
-DGOBJECT_INTROSPECTION=OFF
$(cmake-utils_use_find_package berkdb BDB)
-DICAL_GLIB=$(usex glib)
-DGOBJECT_INTROSPECTION=$(usex introspection)
-DSHARED_ONLY=$(usex !static-libs)
)
# TODO: disabled until useful
# -DICAL_GLIB=$(usex glib)
# -DGOBJECT_INTROSPECTION=$(usex introspection)
cmake-utils_src_configure
}

Expand Down
3 changes: 0 additions & 3 deletions dev-libs/libical/metadata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,4 @@
<upstream>
<remote-id type="github">libical/libical</remote-id>
</upstream>
<use>
<flag name="glib">Enable <pkg>dev-libs/glib</pkg> GObject interface support</flag>
</use>
</pkgmetadata>

0 comments on commit 77befa8

Please sign in to comment.