2012-02-08 10:13:10 +04:00
|
|
|
# Copyright 1999-2012 Gentoo Foundation
|
2011-11-09 11:33:19 +04:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
2012-10-10 16:24:46 +04:00
|
|
|
# $Header: /var/cvsroot/gentoo-x86/net-im/telepathy-logger/telepathy-logger-0.4.0-r1.ebuild,v 1.1 2012/10/09 23:45:43 tetromino Exp $
|
2011-11-09 11:33:19 +04:00
|
|
|
|
2011-11-21 10:02:00 +04:00
|
|
|
EAPI="4"
|
2011-11-09 11:33:19 +04:00
|
|
|
PYTHON_DEPEND="2:2.5"
|
2012-10-10 16:24:46 +04:00
|
|
|
GCONF_DEBUG="no"
|
|
|
|
GNOME2_LA_PUNT="yes"
|
2011-11-09 11:33:19 +04:00
|
|
|
|
2012-10-10 16:24:46 +04:00
|
|
|
inherit gnome2 python virtualx
|
2011-11-09 11:33:19 +04:00
|
|
|
|
|
|
|
DESCRIPTION="Telepathy Logger is a session daemon that should be activated whenever telepathy is being used."
|
|
|
|
HOMEPAGE="http://telepathy.freedesktop.org/wiki/Logger"
|
|
|
|
SRC_URI="http://telepathy.freedesktop.org/releases/${PN}/${P}.tar.bz2"
|
|
|
|
|
2012-10-10 16:24:46 +04:00
|
|
|
LICENSE="LGPL-2.1+"
|
2011-11-09 11:33:19 +04:00
|
|
|
SLOT="0"
|
2012-10-10 16:24:46 +04:00
|
|
|
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86 ~x86-linux"
|
|
|
|
IUSE="+introspection"
|
2011-11-09 11:33:19 +04:00
|
|
|
|
|
|
|
RDEPEND=">=dev-libs/glib-2.25.11:2
|
|
|
|
>=sys-apps/dbus-1.1
|
|
|
|
>=dev-libs/dbus-glib-0.82
|
2012-10-10 16:24:46 +04:00
|
|
|
>=net-libs/telepathy-glib-0.18.0[introspection?]
|
2011-11-09 11:33:19 +04:00
|
|
|
dev-libs/libxml2
|
|
|
|
dev-libs/libxslt
|
|
|
|
dev-db/sqlite:3
|
2012-10-10 16:24:46 +04:00
|
|
|
introspection? ( >=dev-libs/gobject-introspection-0.9.6 )"
|
2011-11-09 11:33:19 +04:00
|
|
|
DEPEND="${RDEPEND}
|
2012-10-10 16:24:46 +04:00
|
|
|
dev-util/gtk-doc-am
|
2011-11-09 11:33:19 +04:00
|
|
|
>=dev-util/intltool-0.35
|
2012-10-10 16:24:46 +04:00
|
|
|
virtual/pkgconfig"
|
2012-02-13 09:23:03 +04:00
|
|
|
|
2011-11-09 11:33:19 +04:00
|
|
|
pkg_setup() {
|
2012-10-10 16:24:46 +04:00
|
|
|
DOCS="AUTHORS ChangeLog NEWS README"
|
|
|
|
G2CONF="${G2CONF}
|
|
|
|
$(use_enable introspection)
|
|
|
|
--enable-debug
|
|
|
|
--enable-public-extensions
|
|
|
|
--disable-coding-style-checks
|
|
|
|
--disable-Werror
|
|
|
|
--disable-static"
|
|
|
|
|
2011-11-09 11:33:19 +04:00
|
|
|
python_set_active_version 2
|
2011-11-21 10:02:00 +04:00
|
|
|
python_pkg_setup
|
2011-11-09 11:33:19 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
src_prepare() {
|
|
|
|
python_convert_shebangs -r 2 .
|
2012-10-10 16:24:46 +04:00
|
|
|
gnome2_src_prepare
|
2011-11-09 11:33:19 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
src_test() {
|
2012-02-13 09:23:03 +04:00
|
|
|
gnome2_environment_reset
|
2011-11-09 11:33:19 +04:00
|
|
|
Xemake check || die "make check failed"
|
|
|
|
}
|