summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiziano Müller <dev-zero@gentoo.org>2009-03-02 09:49:03 +0000
committerTiziano Müller <dev-zero@gentoo.org>2009-03-02 09:49:03 +0000
commit89713bb0c5fa407f8f2ce24c247f2ccfb0697d3a (patch)
tree3b374de278d97396eec262dcbec69661603c292c /net-wireless
parentReplaced USE_RUBY="any" with explicit version. Adding ~amd64. (diff)
downloadhistorical-89713bb0c5fa407f8f2ce24c247f2ccfb0697d3a.tar.gz
historical-89713bb0c5fa407f8f2ce24c247f2ccfb0697d3a.tar.bz2
historical-89713bb0c5fa407f8f2ce24c247f2ccfb0697d3a.zip
Added gnome USE flag for gconf-python dependency. Added pkg_postrm/postinst functions calling mod_python_optimize/cleanup and setting python_need_rebuild.
Package-Manager: portage-2.1.6.7/cvs/Linux x86_64
Diffstat (limited to 'net-wireless')
-rw-r--r--net-wireless/blueman/ChangeLog7
-rw-r--r--net-wireless/blueman/Manifest4
-rw-r--r--net-wireless/blueman/blueman-1.02.ebuild29
3 files changed, 34 insertions, 6 deletions
diff --git a/net-wireless/blueman/ChangeLog b/net-wireless/blueman/ChangeLog
index d03a47747bdb..9f02984a8364 100644
--- a/net-wireless/blueman/ChangeLog
+++ b/net-wireless/blueman/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-wireless/blueman
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/blueman/ChangeLog,v 1.1 2009/03/01 09:09:17 dev-zero Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/blueman/ChangeLog,v 1.2 2009/03/02 09:49:03 dev-zero Exp $
+
+ 02 Mar 2009; Tiziano Müller <dev-zero@gentoo.org> blueman-1.02.ebuild:
+ Added gnome USE flag for gconf-python dependency. Added
+ pkg_postrm/postinst functions calling mod_python_optimize/cleanup and
+ setting python_need_rebuild.
*blueman-1.02 (01 Mar 2009)
diff --git a/net-wireless/blueman/Manifest b/net-wireless/blueman/Manifest
index 194fc3771b80..508eed345606 100644
--- a/net-wireless/blueman/Manifest
+++ b/net-wireless/blueman/Manifest
@@ -1,4 +1,4 @@
DIST blueman-1.02.tar.gz 693626 RMD160 54e3ed01dc03b2a41f54b52882e0a8beca4de5c7 SHA1 1783d3fe47f21d86e83bc75678fd1c1259963d98 SHA256 9d8ea39eb2335647286d5af9f5f32adae427a0444075fa8c917593e68743c579
-EBUILD blueman-1.02.ebuild 1204 RMD160 383f19194240cbfff1f9a75ce3ee94e77a2f8295 SHA1 6f63ae4a1fa42748ca00ddf28a05bbd7a018b544 SHA256 b2a6b22a554fcd3a7f604720fa14dfa02faad48f6e604c2bf840399e58c1319c
-MISC ChangeLog 406 RMD160 3fccdaa8dbc4182c44e9cd7371145b65d97145cc SHA1 88fcbb9c5fb394bf4c7872394405d6bae4afb7a4 SHA256 7a027f02738b89e50548323403cd64bb210d0dec8cd4f0280880b398197e224f
+EBUILD blueman-1.02.ebuild 1647 RMD160 d27aeade4e8e87351a625b8df8a1dac1f1a4028b SHA1 d7b25f71d5650296f67f0554564f729acbbace6b SHA256 8d0d6c3147b08ff7b87eab34e54659b1dd257d0477e2edfeb0f1882399e7512e
+MISC ChangeLog 642 RMD160 a1f4f8f6b39f7536329d8448580a8238fde85372 SHA1 2dee5161beaf5cc52e9a9cb87ba550ea9d566355 SHA256 ac6477bfe420dc0027a769740fa1e593cf4681b13ad80ca3824ca6bd428360b9
MISC metadata.xml 389 RMD160 927c639a1d47d4ce89bfa7f141efbcd4630a72e5 SHA1 de4e94bb8c1958a3cee35a79e24641fd49405f95 SHA256 5da178f7b84f7858ca7bee032dcff7c963c46d42800c2929e3e0a4daecd413eb
diff --git a/net-wireless/blueman/blueman-1.02.ebuild b/net-wireless/blueman/blueman-1.02.ebuild
index ac79da518aec..fb0af3d7acd1 100644
--- a/net-wireless/blueman/blueman-1.02.ebuild
+++ b/net-wireless/blueman/blueman-1.02.ebuild
@@ -1,16 +1,18 @@
# 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.02.ebuild,v 1.2 2009/03/01 09:10:16 dev-zero Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/blueman/blueman-1.02.ebuild,v 1.3 2009/03/02 09:49:03 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"
-IUSE="network nls"
+IUSE="gnome network nls"
CDEPEND="dev-libs/glib:2
>=x11-libs/gtk+-2.12:2
@@ -29,10 +31,16 @@ RDEPEND="${CDEPEND}
>=app-mobilephone/obex-data-server-0.4.4
gnome-extra/policykit-gnome
x11-misc/notification-daemon
- dev-python/gconf-python
+ gnome? ( dev-python/gconf-python )
sys-apps/dbus
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 $(use_enable nls)
}
@@ -40,4 +48,19 @@ src_configure() {
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
+}
+
+pkg_postinst() {
+ python_version
+ python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages/blueman
+ python_need_rebuild
+}
+
+pkg_postrm() {
+ python_mod_cleanup
}