summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Birchinger <joker@gentoo.org>2014-01-08 13:55:08 +0000
committerChristian Birchinger <joker@gentoo.org>2014-01-08 13:55:08 +0000
commitd8d083e754fd6cecfbc5e9a77c7703417d0d7ff1 (patch)
treed15f033a85316624f27f745afa20a7c49e27d4c4 /sys-apps/razercfg
parentAdd 0.3.1 release, improve python-related code. Thanks to 0xd34df00d. (diff)
downloadhistorical-d8d083e754fd6cecfbc5e9a77c7703417d0d7ff1.tar.gz
historical-d8d083e754fd6cecfbc5e9a77c7703417d0d7ff1.tar.bz2
historical-d8d083e754fd6cecfbc5e9a77c7703417d0d7ff1.zip
Force Python 2.x because the included scripts don't support Python 3.x
Package-Manager: portage-2.2.7/cvs/Linux x86_64 Manifest-Sign-Key: 0x0151863A67652900!
Diffstat (limited to 'sys-apps/razercfg')
-rw-r--r--sys-apps/razercfg/ChangeLog8
-rw-r--r--sys-apps/razercfg/Manifest31
-rw-r--r--sys-apps/razercfg/razercfg-0.22-r1.ebuild56
3 files changed, 79 insertions, 16 deletions
diff --git a/sys-apps/razercfg/ChangeLog b/sys-apps/razercfg/ChangeLog
index 3c11560937f4..566ecbeaa01f 100644
--- a/sys-apps/razercfg/ChangeLog
+++ b/sys-apps/razercfg/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-apps/razercfg
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/razercfg/ChangeLog,v 1.18 2014/01/03 19:14:35 joker Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/razercfg/ChangeLog,v 1.19 2014/01/08 13:55:02 joker Exp $
+
+*razercfg-0.22-r1 (08 Jan 2014)
+
+ 08 Jan 2014; Christian Birchinger <joker@gentoo.org>
+ +razercfg-0.22-r1.ebuild:
+ Force Python 2.x because the included scripts don't support Python 3.x
*razercfg-0.22 (03 Jan 2014)
diff --git a/sys-apps/razercfg/Manifest b/sys-apps/razercfg/Manifest
index ef4be1e6db30..5f68ebfad532 100644
--- a/sys-apps/razercfg/Manifest
+++ b/sys-apps/razercfg/Manifest
@@ -14,25 +14,26 @@ EBUILD razercfg-0.19.ebuild 1396 SHA256 c7914e7b2f0d88d5fdaadb81a22c5c1293be4760
EBUILD razercfg-0.19_p20121013.ebuild 1559 SHA256 0e0048cd92227dbcb136d0157e1f308f24acf769f5a272cc03a7b19ccf72c96c SHA512 d3e8be35ef7e93aab401d38e2e42d307185d9f401237acfbb11eb0616254da2a92272fb15596fe8d716e9825da1d048cfeae83cf6bccfde3bff86321314f5884 WHIRLPOOL 8e7bb9205445eb7bfc348a7b7dbc008585f0b315019ef8ccf46e8e442b4b4009a54615a24546af26959bbdf45e29912b79a5c34cc176334e0aab16ef77344f80
EBUILD razercfg-0.20.ebuild 1396 SHA256 60426806ac58b8c46365877e6d21409e8cf938eaaf0038ec893679ec88f104f2 SHA512 9e21d54e7efccea4f206e7f9200c6c25471ee4a0a0f6cd336e2030975109aa93992d2a2fe6e71b8cc2f947d4d8dd69092dac866d369314fb7dcfc4c1654cd8df WHIRLPOOL a7233b8f2fa2442636ea99f0a23224d64933281e22c466848cafe5fb983b9304011cc8e53649acdc82e85a2e61f33a8c65086e2a9175af6114ceeb9e43ac2466
EBUILD razercfg-0.21.ebuild 1396 SHA256 6396fa020b1ad6026ecf0ea2ebe36cb2dbf4d9f60f3a6f66a09962b2264ab79f SHA512 b51a3442f0a299405dbf4fa77846911d9836c491ea9ec0f836c6d4d1ead9f10fa8640630d5d658333ffa081eec112274a9dc6fc6e7039088958b07059865ced9 WHIRLPOOL 528274624499d5a30ff8958a87ddfc7d20bea92e95c780118a19e5fffab178adc8783a915f9af974e74df72a7627361bedfbf94dd0e4f7a84eb81531132ff528
+EBUILD razercfg-0.22-r1.ebuild 1473 SHA256 d895cf3a622b50284d5bfe143521b7d5862a5c359f0569e61d3ae5f4f58d1f2c SHA512 8f8bad6444302d7997e815415c6cd4efcbcbfcaef5f2448a2594bf492b042fe0422973366b01a876d77b8d004ad5f6379454581777cc1b6812977bc2176977bc WHIRLPOOL c471cc7058bf65bba82aa3fde9261e60dab0ece84304a868868414a523a87a44adccae30292d27edda67a67f04eaacf8b2a9498166d46891e198ac61a3f2af28
EBUILD razercfg-0.22.ebuild 1399 SHA256 133af33a33b711a4844b2b66b9d4cc56b6450b7f5dbeef94ef3ac0107ebcc16f SHA512 1ffc85f9857c394b44136a9a35096c7ac289a3544a2cc023429874681edbd1d214014af24cfd173e6b39d13a5d24a0a64686c16c5378ad3596dd9d60f59dbcc3 WHIRLPOOL 048ea52f7c61e610a0eff02d90da1b0c0759307e49d590f8d663de72124731aa6957068104e0b2de3f7309ebfb229c4f487115048a21b6014e734e835d484968
-MISC ChangeLog 3049 SHA256 474de0b754dba1077c88ee6e3261dc0e9cb741042b835061324dbba6d895a61e SHA512 bf4eabb246da564d83c497a40aaa41614e319483de52875815886e231a5165d7ac87d2871584fd90faaf4a95e0efd0c43cc4cbb508b8391d70e5df87fa7ebd73 WHIRLPOOL 041ee5cdd21c3aeedcc9bb8c8fb175faa362313eed83fc0dd0dbaf8dd6a3825282fe7195786eda55b230268d673999c5bc9ebf911906e87b8fb9e168f932eca9
+MISC ChangeLog 3239 SHA256 0cb4e13f83b93d67dc8d325d0f8dbd01730f237b8361bc40da8c50265c5be58d SHA512 6f36d9c151f75ed3d7619bec2a2bd92437317d0a81f87dbd0df96ff9eb7596672651902ba099b484133df837eede6fb82af5a398b3e30c2d32f7933a06a4e188 WHIRLPOOL 37de6246d56fa1cb488ceff2f9ec0e4364cf481b1a90a27069c26236465c498899ce38211194a7868fd233986fb34556971dd8bce9f5b0443f68358a23319033
MISC metadata.xml 904 SHA256 5b25d7c848021f7153a4556c316e694db1cbda8f31d628fa6cfbff738520d621 SHA512 f5d43e4b625958c0be9f31c847d7e4631bf1100cb26d0fa19ee5d4a8d43b1b0f0b8c72462562c3ea4bbb867a852aa8d81debc0b02fef3c7ace8f213439dcb585 WHIRLPOOL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qJ+I1kzmV8aqCYKzs
-=RJ2l
+MTUxODYzQTY3NjUyOTAwAAoJEAFRhjpnZSkARc0P/0Bl0Qr5/pBRvz3kqbqfdkAg
+A9kTg7A9StWHikyIh+Y1AILmK+xXZtaleBGlBuz1fHxTqmXTxl9slV7ppGoLC2jq
+zEkiFcAJ1NeIuQq0JpNAnYF/FmnYSGB6kTmFBgBH8Bx807wZVIBtwaDI6MVEnc0S
+gEVVxcOUalKVcxPsJk0Ogc30cCKrZputcy3Z+4HIcuHq8nvsKsYzSlvehvTR3BDr
+4ftfcVm0M20CL911YDaRaO6pktfJzMEKcTm5wT6YrUhk3eflbgsVhJSAN5079VYv
+blhSTfOm9SJeCk+qucuy7JPh2bCu9PN8j4P4Ee/kTrKPoMaDeOCSqpFwa7LjtgTU
+0BRgKjLiK3LqHfD0/IJTW+BQLvIyJujx2xgYempueULRjDVedVJT2DHF354ZgQBS
+IM4R24Bv6viBTquZdx69twCzFg8Mdwuv8tT9z+X2MtBbCSj2qNF7UeYnDzvucX31
+GUPJA4LgpOAuQk2+V1j+X5h0XD1zE4AcmqQazDUx0vN8ODTwBvOiovOyGCKdbvht
+TqwPFP9jZoBh08iL7F/JvgPPJObmLwWFdFBOgUz/wjTj9B+D9vU7nwewP6fgoQOx
+TLzGORBv/CPHvhWXNOP0ksE3PdaME93/knfyWtQxglgH7YPNrFoc6fgs0+rvB5Z7
+SHqIQjXxAaca4q4bRO6g
+=TqpQ
-----END PGP SIGNATURE-----
diff --git a/sys-apps/razercfg/razercfg-0.22-r1.ebuild b/sys-apps/razercfg/razercfg-0.22-r1.ebuild
new file mode 100644
index 000000000000..36e6d2fec870
--- /dev/null
+++ b/sys-apps/razercfg/razercfg-0.22-r1.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/razercfg/razercfg-0.22-r1.ebuild,v 1.1 2014/01/08 13:55:02 joker Exp $
+
+EAPI=5
+
+PYTHON_COMPAT=( python{2_6,2_7} )
+
+inherit cmake-utils multilib eutils udev python-single-r1
+
+DESCRIPTION="Utility for advanced configuration of Razer mice (DeathAdder, Krait, Lachesis)"
+
+HOMEPAGE="http://bues.ch/cms/hacking/razercfg.html"
+SRC_URI="http://bues.ch/${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 )"
+
+DEPEND="${DEPEND}"
+
+src_prepare() {
+ sed -i \
+ -e '/ldconfig/{N;d}' \
+ -e '/udevadm control/{N;d}' \
+ -e "s:/etc/udev/rules.d/:$(get_udevdir)/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-r1 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
+
+ python_fix_shebang "${ED}"usr/bin
+}
+
+pkg_postinst() {
+ udevadm control --reload-rules && udevadm trigger --subsystem-match=usb
+}