diff options
author | Tiziano Müller <dev-zero@gentoo.org> | 2009-04-23 08:01:42 +0000 |
---|---|---|
committer | Tiziano Müller <dev-zero@gentoo.org> | 2009-04-23 08:01:42 +0000 |
commit | 871c1e8968dc072d298475ac574c7d2fd34013f5 (patch) | |
tree | 8d509ccc337bea781e4f80fcf0d3fa9a7c00b669 /net-wireless/blueman/blueman-1.10.ebuild | |
parent | Hardcoding on ruby18, bug 267156 (diff) | |
download | gentoo-2-871c1e8968dc072d298475ac574c7d2fd34013f5.tar.gz gentoo-2-871c1e8968dc072d298475ac574c7d2fd34013f5.tar.bz2 gentoo-2-871c1e8968dc072d298475ac574c7d2fd34013f5.zip |
Version bump (bug #266901).
(Portage version: 2.2_rc31/cvs/Linux x86_64)
Diffstat (limited to 'net-wireless/blueman/blueman-1.10.ebuild')
-rw-r--r-- | net-wireless/blueman/blueman-1.10.ebuild | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/net-wireless/blueman/blueman-1.10.ebuild b/net-wireless/blueman/blueman-1.10.ebuild new file mode 100644 index 000000000000..03d56642e223 --- /dev/null +++ b/net-wireless/blueman/blueman-1.10.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/blueman/blueman-1.10.ebuild,v 1.1 2009/04/23 08:01:42 dev-zero Exp $ + +EAPI="2" + +inherit multilib python + +DESCRIPTION="GTK+ Bluetooth Manager, designed to be simple and intuitive for everyday bluetooth tasks." +HOMEPAGE="http://blueman-project.org/" +SRC_URI="http://download.tuxfamily.org/${PN}/${P}.tar.gz" +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="gnome network nls" + +CDEPEND="dev-libs/glib:2 + >=x11-libs/gtk+-2.12:2 + x11-libs/startup-notification + >=dev-lang/python-2.5 + dev-python/pygobject + net-wireless/bluez" +DEPEND="${CDEPEND} + nls? ( dev-util/intltool sys-devel/gettext ) + dev-util/pkgconfig + >=dev-python/pyrex-0.9.8" +RDEPEND="${CDEPEND} + >=app-mobilephone/obex-data-server-0.4.4 + gnome-extra/policykit-gnome + x11-misc/notification-daemon + sys-apps/dbus + dev-python/pygtk + dev-python/notify-python + dev-python/dbus-python + gnome? ( dev-python/gconf-python ) + network? ( || ( net-dns/dnsmasq =net-misc/dhcp-3* ) )" + +src_prepare() { + # disable pyc compiling + rm py-compile + ln -s $(type -P true) py-compile +} + +src_configure() { + econf \ + --with-no-runtime-deps-check \ + $(use_enable nls) +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + dodoc AUTHORS ChangeLog NEWS README + + if ! use gnome ; then + python_version + rm "${D}/usr/$(get_libdir)/python${PYVER}/site-packages/blueman/plugins/config/Gconf.py" + fi + + python_need_rebuild +} + +pkg_postinst() { + python_version + python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages/blueman +} + +pkg_postrm() { + python_mod_cleanup +} |