joker 14/06/20 13:43:08 Modified: metadata.xml ChangeLog Added: razercfg-0.26.ebuild Log: Version bump. Frontends switched to Python 3.x only. (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0x0151863A67652900!)
Revision Changes Path 1.5 sys-apps/razercfg/metadata.xml file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/razercfg/metadata.xml?rev=1.5&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/razercfg/metadata.xml?rev=1.5&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/razercfg/metadata.xml?r1=1.4&r2=1.5 Index: metadata.xml =================================================================== RCS file: /var/cvsroot/gentoo-x86/sys-apps/razercfg/metadata.xml,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- metadata.xml 20 Feb 2012 04:29:59 -0000 1.4 +++ metadata.xml 20 Jun 2014 13:43:08 -0000 1.5 @@ -6,15 +6,17 @@ <name>Christian Birchinger</name> </maintainer> <longdescription> -Utility to for advanced configuration of the following Razer mice: Krait, Lachesis, -DeathAdder (Classic, 3500 DPI, Black Edition), Copperhead, Naga, Boomslang CE. The -tool architecture is based on "razerd", which is a background daemon doing all of -the lowlevel privileged hardware accesses. The user interface tools are "razercfg", -a commandline tool; and "qrazercfg", a QT4 based graphical device configuration tool. +Utility to for advanced configuration of the following Razer mice: Copperhead +Lachesis (Classic), DeathAdder (Classic, 3500 DPI, Black Edition, 2013), Taipan +Naga (Classic, 2012, 2014, Hex), Krait, Boomslang CE. The tool architecture is +based on "razerd", which is a background daemon doing all of the lowlevel +privilege 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> + <flag name='qt4'>Installs a qt UI. Requires <pkg>dev-python/pyside</pkg></flag> </use> </pkgmetadata> 1.25 sys-apps/razercfg/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/razercfg/ChangeLog?rev=1.25&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/razercfg/ChangeLog?rev=1.25&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/razercfg/ChangeLog?r1=1.24&r2=1.25 Index: ChangeLog =================================================================== RCS file: /var/cvsroot/gentoo-x86/sys-apps/razercfg/ChangeLog,v retrieving revision 1.24 retrieving revision 1.25 diff -u -r1.24 -r1.25 --- ChangeLog 20 Apr 2014 15:19:55 -0000 1.24 +++ ChangeLog 20 Jun 2014 13:43:08 -0000 1.25 @@ -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.24 2014/04/20 15:19:55 joker Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/razercfg/ChangeLog,v 1.25 2014/06/20 13:43:08 joker Exp $ + +*razercfg-0.26 (20 Jun 2014) + + 20 Jun 2014; Christian Birchinger <[email protected]> +razercfg-0.26.ebuild, + +files/razerd.init.d-r2, metadata.xml: + Version bump. Frontends switched to Python 3.x only *razercfg-0.25 (20 Apr 2014) 1.1 sys-apps/razercfg/razercfg-0.26.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/razercfg/razercfg-0.26.ebuild?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/razercfg/razercfg-0.26.ebuild?rev=1.1&content-type=text/plain Index: razercfg-0.26.ebuild =================================================================== # 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.26.ebuild,v 1.1 2014/06/20 13:43:08 joker Exp $ EAPI=5 PYTHON_COMPAT=( python{3_2,3_3} ) 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="qt4? ( >=dev-python/pyside-1.2.1[${PYTHON_USEDEP}] ) pm-utils? ( sys-power/pm-utils )" DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" src_prepare() { sed -i \ -e '/udevadm control/{N;d}' \ -e '/systemctl/{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:' \ CMakeLists.txt \ || die "sed failed" sed -i \ -e '/ldconfig/{N;d}' \ -e "s:DESTINATION lib:DESTINATION $(get_libdir):" \ librazer/CMakeLists.txt \ || die "sed failed" # setup.py creates a totaly wrong interperter path for python_fix_shebang sed -i \ -e 's:build -b:build -e /usr/bin/python3 -b:' \ ui/CMakeLists.txt \ || die "sed failed" } src_install() { cmake-utils_src_install newinitd "${FILESDIR}"/razerd.init.d-r2 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 if [[ -e "${ROOT}"usr/bin/pyrazer.pyc ]]; then echo eerror "A stale ${ROOT}usr/bin/pyrazer.pyc exists and will prevent" eerror "the Python frontends from working until removed manually." echo fi }
