summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2014-03-19 08:22:18 +0000
committerTim Harder <radhermit@gentoo.org>2014-03-19 08:22:18 +0000
commit9b774d13edcbe2d2ccda3617c209896a4964ffd6 (patch)
tree5e0576a230546cb41c98694af5d4a4ecea492c47 /app-misc
parentVersion bump (diff)
downloadgentoo-2-9b774d13edcbe2d2ccda3617c209896a4964ffd6.tar.gz
gentoo-2-9b774d13edcbe2d2ccda3617c209896a4964ffd6.tar.bz2
gentoo-2-9b774d13edcbe2d2ccda3617c209896a4964ffd6.zip
Disable autostart (bug #494608).
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/solaar/ChangeLog9
-rw-r--r--app-misc/solaar/solaar-0.9.2-r2.ebuild54
2 files changed, 61 insertions, 2 deletions
diff --git a/app-misc/solaar/ChangeLog b/app-misc/solaar/ChangeLog
index 85e72fe8d45c..90a59658053b 100644
--- a/app-misc/solaar/ChangeLog
+++ b/app-misc/solaar/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-misc/solaar
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/solaar/ChangeLog,v 1.3 2013/12/17 22:19:43 radhermit Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/solaar/ChangeLog,v 1.4 2014/03/19 08:22:18 radhermit Exp $
+
+*solaar-0.9.2-r2 (19 Mar 2014)
+
+ 19 Mar 2014; Tim Harder <radhermit@gentoo.org> +solaar-0.9.2-r2.ebuild:
+ Disable autostart (bug #494608).
*solaar-0.9.2-r1 (17 Dec 2013)
diff --git a/app-misc/solaar/solaar-0.9.2-r2.ebuild b/app-misc/solaar/solaar-0.9.2-r2.ebuild
new file mode 100644
index 000000000000..556e2d379077
--- /dev/null
+++ b/app-misc/solaar/solaar-0.9.2-r2.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/solaar/solaar-0.9.2-r2.ebuild,v 1.1 2014/03/19 08:22:18 radhermit Exp $
+
+EAPI=5
+PYTHON_COMPAT=( python{2_7,3_2,3_3} )
+
+inherit distutils-r1 udev user linux-info gnome2-utils
+
+DESCRIPTION="A Linux device manager for Logitech's Unifying Receiver peripherals"
+HOMEPAGE="http://pwr.github.com/Solaar/"
+SRC_URI="https://github.com/pwr/Solaar/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc"
+
+RDEPEND=">=dev-python/pyudev-0.13[${PYTHON_USEDEP}]
+ dev-python/pygobject:3[${PYTHON_USEDEP}]"
+
+S=${WORKDIR}/Solaar-${PV}
+
+CONFIG_CHECK="~HID_LOGITECH_DJ ~HIDRAW"
+
+python_prepare_all() {
+ # don't autostart (bug #494608)
+ sed -i '/yield autostart_path/d' setup.py || die
+
+ distutils-r1_python_prepare_all
+}
+
+python_install_all() {
+ distutils-r1_python_install_all
+
+ udev_dorules rules.d/*.rules
+
+ if use doc; then
+ dodoc -r docs/*
+ fi
+}
+
+pkg_postinst() {
+ enewgroup plugdev
+
+ if [[ -z ${REPLACING_VERSIONS} ]] ; then
+ elog "Users must be in the plugdev group to use this application."
+ fi
+
+ gnome2_icon_cache_update
+}
+
+pkg_preinst() { gnome2_icon_savelist; }
+pkg_postrm() { gnome2_icon_cache_update; }