summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Birchinger <joker@gentoo.org>2012-05-18 20:00:52 +0000
committerChristian Birchinger <joker@gentoo.org>2012-05-18 20:00:52 +0000
commit7378ee8bdfdb9f9ce92459a90a4e78cea035f3a1 (patch)
tree30962c12ffbc24ab9e024fdd4c3ebcd24817efc9 /sys-apps/razercfg
parentUpdate live ebuild, thanks to Nikoli for the input (diff)
downloadhistorical-7378ee8bdfdb9f9ce92459a90a4e78cea035f3a1.tar.gz
historical-7378ee8bdfdb9f9ce92459a90a4e78cea035f3a1.tar.bz2
historical-7378ee8bdfdb9f9ce92459a90a4e78cea035f3a1.zip
Version bump using the most recent git version
Package-Manager: portage-2.1.10.49/cvs/Linux x86_64
Diffstat (limited to 'sys-apps/razercfg')
-rw-r--r--sys-apps/razercfg/ChangeLog8
-rw-r--r--sys-apps/razercfg/Manifest4
-rw-r--r--sys-apps/razercfg/razercfg-0.17_p20111028.ebuild53
3 files changed, 63 insertions, 2 deletions
diff --git a/sys-apps/razercfg/ChangeLog b/sys-apps/razercfg/ChangeLog
index 0d283aad497e..ae6c3f62774b 100644
--- a/sys-apps/razercfg/ChangeLog
+++ b/sys-apps/razercfg/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-apps/razercfg
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/razercfg/ChangeLog,v 1.5 2012/04/30 12:38:02 joker Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/razercfg/ChangeLog,v 1.6 2012/05/18 20:00:52 joker Exp $
+
+*razercfg-0.17_p20111028 (18 May 2012)
+
+ 18 May 2012; Christian Birchinger <joker@gentoo.org>
+ +razercfg-0.17_p20111028.ebuild:
+ Version bump using the most recent git version
30 Apr 2012; Christian Birchinger <joker@gentoo.org> razercfg-0.16.ebuild,
razercfg-0.16-r1.ebuild, razercfg-0.17.ebuild:
diff --git a/sys-apps/razercfg/Manifest b/sys-apps/razercfg/Manifest
index c23fe4abb3ef..9bafff9d9790 100644
--- a/sys-apps/razercfg/Manifest
+++ b/sys-apps/razercfg/Manifest
@@ -2,8 +2,10 @@ AUX razercfg-0.16-pidlogfix.patch 345 RMD160 019e1a212d92c961db149c507ecbe2cc9a1
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
+DIST razercfg-0.17_p20111028.tar.bz2 64911 RMD160 f0d5031bb964dc5cb1811fb1edeb97ca35c9da8b SHA1 154272969e399afd0f0b161a49994eecb1813613 SHA256 d25d1ae5079641fbd8029b592257c21e5a5a671babd9efe27debe6d3da346ad9
EBUILD razercfg-0.16-r1.ebuild 1278 RMD160 ef62854cc8c009b428434808ed9a3d638c0a8108 SHA1 998ef1088cc34bb38a788544f5d53ae5054df9f4 SHA256 20d9cf255dd9d9e0645505fb721a548b8bec1e084a861a831fcca2d95ef4572b
EBUILD razercfg-0.16.ebuild 1195 RMD160 bbf94855b98baeca01b84ad99ce4b5cfbc278abc SHA1 037dfeb4586773bf41744bddd3492e0e5a52667c SHA256 0f95b01120078e414c4f440ae02d249028a97a31fe9af2813413996f3afd6071
EBUILD razercfg-0.17.ebuild 1398 RMD160 73b2b9f306b70eb8acaf9063c71cff4906ca0e9a SHA1 512c6f726f473478956f5865b02a1622aa5b528e SHA256 dae7f38b9215417e7aa2a3e7459f6019bdc9c6a5f7763362ec7718345303c378
-MISC ChangeLog 964 RMD160 340f15edb69bd4e624f638ef26d710db3a1697b6 SHA1 6fba2c057f43fa270a853bfac2db06a95b29d76b SHA256 61173adc91bddb1b76fd44e95b8c4c97a79bff0036668a4f1368a3c6667dc733
+EBUILD razercfg-0.17_p20111028.ebuild 1424 RMD160 242e769080b554965e86993ca4c7adf82f3563e5 SHA1 e6fb6bdc3c8076c9f87f3d7703ac9a39726174a7 SHA256 b045d4d8cdd499af45f971a2e310b4063b43bebdc5336bd662bd1e19f1f3c95d
+MISC ChangeLog 1144 RMD160 fa2543d88868e92419e666b4e9ddbe0a2e838661 SHA1 e0c10aa4a87bf0c6ed14450f1d6ac2132cd06b67 SHA256 5f20aaae53b3a1e67f7c9fe8912107b2d2c0c467362026012aa1c78ec6c8e324
MISC metadata.xml 904 RMD160 7cd4ca9336bacdfa49218ea69523da41cc0bae47 SHA1 0bfc20b9acfb277f3891fda11048a05a4ab2ee54 SHA256 5b25d7c848021f7153a4556c316e694db1cbda8f31d628fa6cfbff738520d621
diff --git a/sys-apps/razercfg/razercfg-0.17_p20111028.ebuild b/sys-apps/razercfg/razercfg-0.17_p20111028.ebuild
new file mode 100644
index 000000000000..e013f63ef803
--- /dev/null
+++ b/sys-apps/razercfg/razercfg-0.17_p20111028.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/razercfg/razercfg-0.17_p20111028.ebuild,v 1.1 2012/05/18 20:00:52 joker Exp $
+
+EAPI=4
+
+inherit cmake-utils multilib eutils
+
+DESCRIPTION="Utility for advanced configuration of Razer mice (DeathAdder, Krait, Lachesis)"
+
+HOMEPAGE="http://bues.ch/cms/hacking/razercfg.html"
+SRC_URI="http://dev.gentoo.org/~joker/distfiles/${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
+}