diff options
author | Christian Birchinger <joker@gentoo.org> | 2011-10-05 16:46:24 +0000 |
---|---|---|
committer | Christian Birchinger <joker@gentoo.org> | 2011-10-05 16:46:24 +0000 |
commit | 681b52d566e3dad6e19b2d6b3e74e43270d6f8f6 (patch) | |
tree | 8f712258e74fde7947bc400be2b965afbb7026eb /sys-apps/razercfg | |
parent | ppc/ppc64 stable wrt #369909 (diff) | |
download | historical-681b52d566e3dad6e19b2d6b3e74e43270d6f8f6.tar.gz historical-681b52d566e3dad6e19b2d6b3e74e43270d6f8f6.tar.bz2 historical-681b52d566e3dad6e19b2d6b3e74e43270d6f8f6.zip |
Version bump with pm-utils support
Package-Manager: portage-2.1.10.11/cvs/Linux x86_64
Diffstat (limited to 'sys-apps/razercfg')
-rw-r--r-- | sys-apps/razercfg/ChangeLog | 8 | ||||
-rw-r--r-- | sys-apps/razercfg/Manifest | 6 | ||||
-rw-r--r-- | sys-apps/razercfg/metadata.xml | 6 | ||||
-rw-r--r-- | sys-apps/razercfg/razercfg-0.17.ebuild | 53 |
4 files changed, 70 insertions, 3 deletions
diff --git a/sys-apps/razercfg/ChangeLog b/sys-apps/razercfg/ChangeLog index 8f3dff2eb977..42ee47add15f 100644 --- a/sys-apps/razercfg/ChangeLog +++ b/sys-apps/razercfg/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-apps/razercfg # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/razercfg/ChangeLog,v 1.2 2011/09/26 23:09:30 joker Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/razercfg/ChangeLog,v 1.3 2011/10/05 16:46:24 joker Exp $ + +*razercfg-0.17 (05 Oct 2011) + + 05 Oct 2011; Christian Birchinger <joker@gentoo.org> +razercfg-0.17.ebuild, + metadata.xml: + Version bump with pm-utils support *razercfg-0.16-r1 (26 Sep 2011) diff --git a/sys-apps/razercfg/Manifest b/sys-apps/razercfg/Manifest index e770b267dd15..3dbc5fd542d4 100644 --- a/sys-apps/razercfg/Manifest +++ b/sys-apps/razercfg/Manifest @@ -1,7 +1,9 @@ AUX razercfg-0.16-pidlogfix.patch 345 RMD160 019e1a212d92c961db149c507ecbe2cc9a15aefe SHA1 535c9aa4e036c6da87096309bedad7e1139b9d8e SHA256 643c7e51a1846e1e0457ab4f8c5d2bc2ea593d10ba55ba8ca425cd39778abbfb AUX razerd.init.d 562 RMD160 792ee4e416dfa9f958f8fb86a4ca0fd5de4c24df SHA1 9e963083c331e7e9a5841e9608fc4bb85e433089 SHA256 6abd13e57031ae4c826a9680832b6d648e768dea1c1a02b7f560041789f21d33 DIST razercfg-0.16.tar.bz2 56767 RMD160 35550e7ae418c6aa42b9b7cc7d55fe191cd6fc34 SHA1 325a63f447cf64b2426076cc7f1c07581e4f128d SHA256 54f5a1f72f1bd1974065ad9b45f30a9ed526498cab088a75c0d818a9bd64b5c7 +DIST razercfg-0.17.tar.bz2 57411 RMD160 793b0d4e5bb24c32d9afafdf624697e5156e9091 SHA1 1e57a4afaeafd809fd03710b569a76c8c2d5a850 SHA256 8a8e8ece935f331573c27228cda355aabb04bc1a1f5272519b8a32b0dc567edc EBUILD razercfg-0.16-r1.ebuild 1297 RMD160 a25292cd7510c93e31ff308d97ea2509fdb134bd SHA1 cd44a29647ca622f761ad5f801736a66ea4eeaef SHA256 06563e5fde38ec925de50607695e23711bc77c840b005282bce36c94df00d033 EBUILD razercfg-0.16.ebuild 1214 RMD160 f13f2779cef79c3958db4ec2e3e7cdf8036bdd6e SHA1 cf5bc4f9f68ea19bc9bd1a0b142a49770769c8b4 SHA256 76ae10f048fa0de9b2e60c747af4b1a408d1ed33318ebb0fea6616a5ea560814 -MISC ChangeLog 577 RMD160 a5877d335efc413944a117b75159cb558c39f07f SHA1 9dad0ead2541b5f4c89d03fc6561556b28b0c313 SHA256 31d5b837acc545eca9b3d3ea72089bc0f396ab70d1e98fb6e3320d5f12a24605 -MISC metadata.xml 689 RMD160 cfa704a9bb766645261b09953f0da8c8857d6925 SHA1 0c0ccaf390c91493e8a00eb81094f8cf70954319 SHA256 4530ee848658ef390ea329f3e01ed1455cc757d7fd004b5bc3f3ef48218083b2 +EBUILD razercfg-0.17.ebuild 1417 RMD160 33fec56aba11b09950a1a409487745cfaed8f572 SHA1 40894d2159724244a1d706507dd0800c782a4901 SHA256 c30adb9d1245013ec47f64407e13f6cdfe0e493b968f1d72242420c9a73a87eb +MISC ChangeLog 739 RMD160 e90dfba7676a18d868de98bc49bcdc2e6ba27ef0 SHA1 c5861651fa88613c5400bc59341215a9b068deb1 SHA256 bc211191626f789ee0627a6159f2a5e541d3a3bd0e466701ee204fb185d0d614 +MISC metadata.xml 925 RMD160 e7b72a8c9f648eed976908c8c1a471bbc6d7e7c9 SHA1 fc78446a01180a760f989a9825d425ce1621f9b9 SHA256 04c92619b72204d130695b3a98943f12b92ed9bd2cc434f45564e385c2381d04 diff --git a/sys-apps/razercfg/metadata.xml b/sys-apps/razercfg/metadata.xml index a6367ca6d998..ea2731b354c9 100644 --- a/sys-apps/razercfg/metadata.xml +++ b/sys-apps/razercfg/metadata.xml @@ -5,6 +5,7 @@ <email>joker@gentoo.org</email> <name>Christian Birchinger</name> </maintainer> +<herd>no-herd</herd> <longdescription> Utility to for advanced configuration of the following Razer mice: Krait, Lachesis, DeathAdder (Classic, 3500 DPI, Black Edition), Copperhead, Naga, Boomslang CE. The @@ -12,4 +13,9 @@ tool architecture is based on "razerd", which is a background daemon doing all o the lowlevel privileged hardware accesses. The user interface tools are "razercfg", a commandline tool; and "qrazercfg", a QT4 based graphical device configuration tool. </longdescription> +<use> + <flag name='pm-utils'>Installs the pm-utils hooks for suspend/resume and + requires <pkg>sys-power/pm-utils</pkg></flag> + <flag name='qt4'>Installs a qt UI. Requires <pkg>dev-python/pygtk</pkg></flag> +</use> </pkgmetadata> diff --git a/sys-apps/razercfg/razercfg-0.17.ebuild b/sys-apps/razercfg/razercfg-0.17.ebuild new file mode 100644 index 000000000000..0b7d7c76997e --- /dev/null +++ b/sys-apps/razercfg/razercfg-0.17.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/razercfg/razercfg-0.17.ebuild,v 1.1 2011/10/05 16:46:24 joker Exp $ + +EAPI=4 + +inherit cmake-utils multilib eutils + +DESCRIPTION="Utility for advanced configuration of Razer mice (DeathAdder, Krait, Lachesis)" + +HOMEPAGE="http://bu3sch.de/joomla/index.php/razer-nextgen-config-tool" +SRC_URI="http://bu3sch.de/${PN}/${P}.tar.bz2" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+pm-utils qt4" + +RDEPEND="${DEPEND} + pm-utils? ( sys-power/pm-utils ) + qt4? ( dev-python/PyQt4 ) + dev-lang/python" + +DEPEND="${DEPEND}" + +src_prepare() { + sed -i \ + -e '/ldconfig/{N;d}' \ + -e '/udevadm control/{N;d}' \ + -e "s:/etc/udev/rules.d/:/$(get_libdir)/udev/rules.d/:" \ + -e 's:01-razer-udev.rules:40-razercfg.rules:' \ + -e "s:/etc/pm/sleep.d:/usr/$(get_libdir)/pm-utils/sleep.d/:" \ + -e 's:50-razer:80razer:' \ + librazer/CMakeLists.txt \ + || die "sed failed" +} + +src_install() { + cmake-utils_src_install + newinitd "${FILESDIR}"/razerd.init.d razerd + dodoc README razer.conf + + if ! use qt4; then + rm "${D}"/usr/bin/qrazercfg + else + make_desktop_entry qrazercfg "Razer Mouse Settings" mouse "Qt;Settings" + fi + + use pm-utils || rm "${D}"/usr/$(get_libdir)/pm-utils/sleep.d/80razer +} + +pkg_postinst() { + udevadm control --reload-rules && udevadm trigger --subsystem-match=usb +} |