summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2013-12-17 22:19:43 +0000
committerTim Harder <radhermit@gentoo.org>2013-12-17 22:19:43 +0000
commitc8cb76c5fba2fb46d7b2f7271497976a9e67df45 (patch)
tree41b68945ba6b61a97bbb536756bd00420c38f54c /app-misc/solaar
parentVersion bump, tidy old, fixes #494550 (diff)
downloadgentoo-2-c8cb76c5fba2fb46d7b2f7271497976a9e67df45.tar.gz
gentoo-2-c8cb76c5fba2fb46d7b2f7271497976a9e67df45.tar.bz2
gentoo-2-c8cb76c5fba2fb46d7b2f7271497976a9e67df45.zip
Add warning for enabling CONFIG_HIDRAW (bug #494304) and specify pygobject slot dep.
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)
Diffstat (limited to 'app-misc/solaar')
-rw-r--r--app-misc/solaar/ChangeLog8
-rw-r--r--app-misc/solaar/solaar-0.9.2-r1.ebuild47
2 files changed, 54 insertions, 1 deletions
diff --git a/app-misc/solaar/ChangeLog b/app-misc/solaar/ChangeLog
index ddaaafdccffa..85e72fe8d45c 100644
--- a/app-misc/solaar/ChangeLog
+++ b/app-misc/solaar/ChangeLog
@@ -1,6 +1,12 @@
# 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.2 2013/08/27 20:55:41 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/solaar/ChangeLog,v 1.3 2013/12/17 22:19:43 radhermit Exp $
+
+*solaar-0.9.2-r1 (17 Dec 2013)
+
+ 17 Dec 2013; Tim Harder <radhermit@gentoo.org> +solaar-0.9.2-r1.ebuild:
+ Add warning for enabling CONFIG_HIDRAW (bug #494304) and specify pygobject
+ slot dep.
*solaar-0.9.2 (27 Aug 2013)
diff --git a/app-misc/solaar/solaar-0.9.2-r1.ebuild b/app-misc/solaar/solaar-0.9.2-r1.ebuild
new file mode 100644
index 000000000000..d32547ac4ee8
--- /dev/null
+++ b/app-misc/solaar/solaar-0.9.2-r1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2013 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-r1.ebuild,v 1.1 2013/12/17 22:19:43 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_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; }