diff options
Diffstat (limited to 'sys-apps/razercfg')
-rw-r--r-- | sys-apps/razercfg/Manifest | 1 | ||||
-rw-r--r-- | sys-apps/razercfg/razercfg-0.32.ebuild | 75 |
2 files changed, 0 insertions, 76 deletions
diff --git a/sys-apps/razercfg/Manifest b/sys-apps/razercfg/Manifest index 7949fad65e9a..c30a7fd42224 100644 --- a/sys-apps/razercfg/Manifest +++ b/sys-apps/razercfg/Manifest @@ -1,3 +1,2 @@ DIST razercfg-0.23.tar.bz2 69425 SHA256 44bdc48588c504a937d811e84a0ecb054e35d3e2e4980d7d76b3ea8c2f0d1b43 SHA512 79c795870efa960b42abc70710b4bebe793acb9e732943207ca4b34d35ba926af4877993db888829dbacedbe327324fba0ab2ef82ced1d653b4aee23e154fd8b WHIRLPOOL 11c57842daeb241d19b3546db0c4b3a98e59b565176f89227dd159f31b3037ce08130014dc35ae4db5dc81744a94a405252787b6a42c67129857f81f6eb0411c -DIST razercfg-0.32.tar.bz2 77778 SHA256 753c9b8cc60e3b5481d65d168d0d0f2737e83e2dacbbeb2684517a096064e2e1 SHA512 696baf66eec5d241918a073bd381018cb60bbccaa95e5889059e2b5f6ccc03270e1d414d947358d672cfa4a5a01a9e36e5f92d706807d6a7c2c3f8e2797d38f7 WHIRLPOOL 7761f88671cfde24ca9a705df658118bf5b69244c1fae8bf358601159203dcbd2f7774552c3fb794268e0031c4a4092c5848d6f324fb029b03551c49ba161f0a DIST razercfg-0.38.tar.bz2 99409 SHA256 8025a4765f2ff8e99104611e5d151f7a101b0f2692c9fc169ac237dd379bac6c SHA512 4619e19278fe97956043e2b628ed4c130b0e7ac2756a81335460cc520e0dea979fa6db3e927f414d24914409377782238a6ce9e1dba1868f6bfc34984a0ab456 WHIRLPOOL e0597d7d13d42b883f1f9294579151f30827225ca10c91bfe5de59dba12e8efecdf54b3e580296d37ab40e202a25f77a8349a5dbe64ebd47822e7f717e509d53 diff --git a/sys-apps/razercfg/razercfg-0.32.ebuild b/sys-apps/razercfg/razercfg-0.32.ebuild deleted file mode 100644 index f68e73ba77b0..000000000000 --- a/sys-apps/razercfg/razercfg-0.32.ebuild +++ /dev/null @@ -1,75 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -PYTHON_COMPAT=( python3_4 ) - -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 systemd +udev" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -RDEPEND="${PYTHON_DEPS} - qt4? ( >=dev-python/pyside-1.2.1[${PYTHON_USEDEP}] ) - systemd? ( sys-apps/systemd ) - udev? ( virtual/udev ) - pm-utils? ( sys-power/pm-utils ) - virtual/libusb:1" -DEPEND="${PYTHON_DEPS} - virtual/pkgconfig - dev-python/setuptools[${PYTHON_USEDEP}] - virtual/libusb:1" - -src_prepare() { - sed -i \ - -e '/udevadm control/{N;d}' \ - -e '/systemctl/{N;d}' \ - -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" -} - -src_configure() { - mycmakeargs="${mycmakeargs} -DPYTHON='${PYTHON}'" - cmake-utils_src_configure -} - -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 -} - -pkg_postinst() { - use udev && 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 -} |