diff options
author | Nirbheek Chauhan <nirbheek@gentoo.org> | 2011-04-24 12:40:46 +0000 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek@gentoo.org> | 2011-04-24 12:40:46 +0000 |
commit | a14d280c7c792595e754090892faf15e534d9218 (patch) | |
tree | 1b685faebc53c7b49229b3e685d7b45314e8ce2b /net-libs/libsocialweb | |
parent | Unmask USE=introspection on a few packages. This list will grow till the use.... (diff) | |
download | gentoo-2-a14d280c7c792595e754090892faf15e534d9218.tar.gz gentoo-2-a14d280c7c792595e754090892faf15e534d9218.tar.bz2 gentoo-2-a14d280c7c792595e754090892faf15e534d9218.zip |
Move libsocialweb from the gnome overlay to tree
(Portage version: 2.1.9.46/cvs/Linux x86_64)
Diffstat (limited to 'net-libs/libsocialweb')
-rw-r--r-- | net-libs/libsocialweb/ChangeLog | 10 | ||||
-rw-r--r-- | net-libs/libsocialweb/libsocialweb-0.25.16.ebuild | 80 | ||||
-rw-r--r-- | net-libs/libsocialweb/metadata.xml | 14 |
3 files changed, 104 insertions, 0 deletions
diff --git a/net-libs/libsocialweb/ChangeLog b/net-libs/libsocialweb/ChangeLog new file mode 100644 index 000000000000..ee5be3237744 --- /dev/null +++ b/net-libs/libsocialweb/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for net-libs/libsocialweb +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-libs/libsocialweb/ChangeLog,v 1.1 2011/04/24 12:40:46 nirbheek Exp $ + +*libsocialweb-0.25.16 (24 Apr 2011) + + 24 Apr 2011; Nirbheek Chauhan <nirbheek@gentoo.org> + +libsocialweb-0.25.16.ebuild, +metadata.xml: + Move libsocialweb from the gnome overlay to tree + diff --git a/net-libs/libsocialweb/libsocialweb-0.25.16.ebuild b/net-libs/libsocialweb/libsocialweb-0.25.16.ebuild new file mode 100644 index 000000000000..8a32b52242a6 --- /dev/null +++ b/net-libs/libsocialweb/libsocialweb-0.25.16.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-libs/libsocialweb/libsocialweb-0.25.16.ebuild,v 1.1 2011/04/24 12:40:46 nirbheek Exp $ + +EAPI="3" +GCONF_DEBUG="no" +GNOME2_LA_PUNT="yes" +PYTHON_DEPEND="2" + +inherit gnome2 python + +DESCRIPTION="Social web services integration framework" +HOMEPAGE="http://git.gnome.org/browse/libsocialweb" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc connman +gnome +introspection +networkmanager vala" + +# NOTE: coverage testing should not be enabled +RDEPEND=">=dev-libs/glib-2.14:2 + >=net-libs/rest-0.7.10 + + gnome-base/gconf:2 + gnome-base/libgnome-keyring + dev-libs/dbus-glib + dev-libs/json-glib + net-libs/libsoup:2.4 + + gnome? ( >=net-libs/libsoup-gnome-2.25.1:2.4 ) + introspection? ( >=dev-libs/gobject-introspection-0.9.6 ) + networkmanager? ( net-misc/networkmanager ) + !networkmanager? ( connman? ( net-misc/connman ) )" +DEPEND="${RDEPEND} + >=dev-util/gtk-doc-am-1.15 + >=dev-util/intltool-0.40 + dev-util/pkgconfig + sys-devel/gettext + doc? ( + dev-libs/libxslt + >=dev-util/gtk-doc-1.15 ) + vala? ( + >=dev-lang/vala-0.10.0:0.12[vapigen] + >=dev-libs/gobject-introspection-0.9.6 )" + +pkg_setup() { + # TODO: enable sys-apps/keyutils support (--without-kernel-keyring) + G2CONF="${G2CONF} + --disable-static + --disable-gcov + --without-kernel-keyring + --enable-all-services + $(use_enable introspection) + $(use_enable vala vala-bindings) + $(use_with gnome) + VALAC=$(type -P valac-0.12) + VAPIGEN=$(type -P vapigen-0.12) + --with-online=always" + + # NetworkManager always overrides connman support + use connman && G2CONF="${G2CONF} --with-online=connman" + use networkmanager && G2CONF="${G2CONF} --with-online=networkmanager" + + # Introspection is needed for vala bindings + # FIXME: Replace with USE_REQUIRED when python.eclass gets EAPI=4 support + if use vala && ! use introspection; then + ewarn "Introspection support is needed for Vala bindings, auto-enabling..." + G2CONF="${G2CONF} --enable-introspection" + fi + + DOCS="AUTHORS README TODO" + + python_set_active_version 2 +} + +src_prepare() { + gnome2_src_prepare + + python_convert_shebangs 2 "${S}/tools/glib-ginterface-gen.py" +} diff --git a/net-libs/libsocialweb/metadata.xml b/net-libs/libsocialweb/metadata.xml new file mode 100644 index 000000000000..a61df5f4ae5f --- /dev/null +++ b/net-libs/libsocialweb/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>gnome</herd> + <use> + <flag name="connman">Use <pkg>net-misc/connman</pkg> for getting network + connection status information</flag> + <flag name="gnome">Extract proxy information using + <pkg>net-libs/libsoup-gnome</pkg></flag> + <flag name="introspection">Use <pkg>dev-libs/gobject-introspection</pkg> + for introspection</flag> + <flag name="vala">Build bindings for <pkg>dev-lang/vala</pkg></flag> + </use> +</pkgmetadata> |