diff options
author | Christian Birchinger <joker@gentoo.org> | 2012-05-18 20:00:52 +0000 |
---|---|---|
committer | Christian Birchinger <joker@gentoo.org> | 2012-05-18 20:00:52 +0000 |
commit | b33f6bae184b8cdd32511cd72f0f507118c2535f (patch) | |
tree | d15d8f7b4cd7ea2ab9b76c8734b2415f987224de /sys-apps/razercfg | |
parent | Stable for amd64, wrt bug #414605 (diff) | |
download | gentoo-2-b33f6bae184b8cdd32511cd72f0f507118c2535f.tar.gz gentoo-2-b33f6bae184b8cdd32511cd72f0f507118c2535f.tar.bz2 gentoo-2-b33f6bae184b8cdd32511cd72f0f507118c2535f.zip |
Version bump using the most recent git version
(Portage version: 2.1.10.49/cvs/Linux x86_64)
Diffstat (limited to 'sys-apps/razercfg')
-rw-r--r-- | sys-apps/razercfg/ChangeLog | 8 | ||||
-rw-r--r-- | sys-apps/razercfg/razercfg-0.17_p20111028.ebuild | 53 |
2 files changed, 60 insertions, 1 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/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 +} |