forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dev-libs/libgdata: Version bump to 0.17.13
Signed-off-by: Matt Turner <[email protected]>
- Loading branch information
Showing
2 changed files
with
65 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
DIST libgdata-0.17.12.tar.xz 845420 BLAKE2B 636ff5ba7df48f671cdb5da09c011f620619051e30470bb3ebb400f8c093e89885e0c3c7ac54e569cff2c350bd08f7e346f1529c07c41f570b7255002fc69c44 SHA512 22571c9b0cecbaf617fc8fa43a312bba4eaf36267264546f55c9c9067514cc6ae1db755536c7413427ebf6121115512dcab4201549c128fb1a25afe75a3daa2b | ||
DIST libgdata-0.17.13.tar.xz 849888 BLAKE2B a364f6175828dcf6d870ddf8489da3703b987587639675ed5cbe851de8761d918da9ef91531d2b992ef5188b51f00f4bc13c3ce3b36afe6d07c4e162a93b2889 SHA512 b074097bd3cc78951638f0d726a948c9ba994c64c85c0cfe713c3d87419a9a96b66688bde88732dfb529325dca2b8251bd161337532bffaf9564f7f5819b9343 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
# Copyright 1999-2020 Gentoo Authors | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=7 | ||
VALA_USE_DEPEND="vapigen" | ||
|
||
inherit gnome.org meson vala xdg | ||
|
||
DESCRIPTION="GLib-based library for accessing online service APIs using the GData protocol" | ||
HOMEPAGE="https://wiki.gnome.org/Projects/libgdata" | ||
|
||
LICENSE="LGPL-2.1+" | ||
SLOT="0/22" # subslot = libgdata soname version | ||
|
||
IUSE="+crypt gnome-online-accounts gtk-doc +introspection test vala" | ||
REQUIRED_USE="vala? ( introspection )" | ||
RESTRICT="!test? ( test )" | ||
|
||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" | ||
|
||
RDEPEND=" | ||
>=dev-libs/glib-2.44.0:2 | ||
>=dev-libs/json-glib-0.15[introspection?] | ||
>=dev-libs/libxml2-2:2 | ||
>=net-libs/libsoup-2.55.90:2.4[introspection?,vala?] | ||
crypt? ( app-crypt/gcr:= ) | ||
gnome-online-accounts? ( >=net-libs/gnome-online-accounts-3.8:=[introspection?,vala?] ) | ||
introspection? ( >=dev-libs/gobject-introspection-1.54:= ) | ||
" | ||
DEPEND="${RDEPEND}" | ||
BDEPEND=" | ||
dev-util/glib-utils | ||
gtk-doc? ( >=dev-util/gtk-doc-1.25 | ||
app-text/docbook-xml-dtd:4.3 ) | ||
>=sys-devel/gettext-0.19.8 | ||
virtual/pkgconfig | ||
test? ( >=net-libs/uhttpmock-0.5.0 | ||
>=x11-libs/gdk-pixbuf-2.14:2 | ||
) | ||
vala? ( $(vala_depend) ) | ||
" | ||
|
||
src_prepare() { | ||
use vala && vala_src_prepare | ||
xdg_src_prepare | ||
# Don't waste time building a couple small demos that aren't installed | ||
sed -i -e '/subdir.*demos/d' meson.build || die | ||
} | ||
|
||
src_configure() { | ||
local emesonargs=( | ||
-Dgtk=disabled # only for demos | ||
$(meson_feature crypt gnome) | ||
$(meson_feature gnome-online-accounts goa) | ||
-Doauth1=disabled | ||
$(meson_use test always_build_tests) | ||
-Dinstalled_tests=false | ||
-Dman=true | ||
$(meson_use gtk-doc gtk_doc) | ||
$(meson_use introspection) | ||
$(meson_use vala vapi) | ||
) | ||
meson_src_configure | ||
} |