Skip to content

Commit

Permalink
dev-libs/libgdata: fix automagic gtk+ detection
Browse files Browse the repository at this point in the history
Triggers build failures on systems without latest gtk+.

Package-Manager: Portage-2.3.6, Repoman-2.3.2
  • Loading branch information
EvaSDK committed Jul 2, 2017
1 parent 82f05d1 commit f93cb2a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions dev-libs/libgdata/libgdata-0.17.8.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ REQUIRED_USE="

KEYWORDS="alpha amd64 ~arm ~arm64 hppa ~ia64 ~ppc ~ppc64 ~sparc x86"

# configure checks for gtk:3, but only uses it for demos which are not installed
RDEPEND="
>=dev-libs/glib-2.38.0:2
>=dev-libs/json-glib-0.15
Expand All @@ -46,13 +45,16 @@ src_prepare() {
}

src_configure() {
# configure checks for gtk:3, but only uses it for demos which are not installed
gnome2_src_configure \
$(use_enable crypt gnome) \
$(use_enable gnome-online-accounts goa) \
$(use_enable introspection) \
$(use_enable vala) \
$(use_enable static-libs static) \
$(use_enable test always-build-tests)
$(use_enable test always-build-tests) \
GTK_CFLAGS= \
GTK_LIBS=
}

src_test() {
Expand Down

0 comments on commit f93cb2a

Please sign in to comment.