summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2018-01-13 12:24:31 +1100
committerMichael Palimaka <kensington@gentoo.org>2018-01-13 12:24:48 +1100
commit34a0563085ccf00d206d851761730aaa7c6f0aee (patch)
tree6b660a6b5d60dd8d7a9e42c6e89bb275b7dda257 /sys-apps/razercfg
parentprofiles: Mask media-sound/mp3diags for removal (diff)
downloadgentoo-34a0563085ccf00d206d851761730aaa7c6f0aee.tar.gz
gentoo-34a0563085ccf00d206d851761730aaa7c6f0aee.tar.bz2
gentoo-34a0563085ccf00d206d851761730aaa7c6f0aee.zip
sys-apps/razercfg: remove 0.23 and 0.39-r0
Package-Manager: Portage-2.3.14, Repoman-2.3.6
Diffstat (limited to 'sys-apps/razercfg')
-rw-r--r--sys-apps/razercfg/Manifest1
-rw-r--r--sys-apps/razercfg/files/razerd.init.d-r125
-rw-r--r--sys-apps/razercfg/razercfg-0.23.ebuild57
-rw-r--r--sys-apps/razercfg/razercfg-0.39.ebuild82
4 files changed, 0 insertions, 165 deletions
diff --git a/sys-apps/razercfg/Manifest b/sys-apps/razercfg/Manifest
index 56cb2710dc84..53abff612834 100644
--- a/sys-apps/razercfg/Manifest
+++ b/sys-apps/razercfg/Manifest
@@ -1,2 +1 @@
-DIST razercfg-0.23.tar.bz2 69425 BLAKE2B d233a102871f8cbd19398c154e52e9a2400dc9c935c180e8a228a860c53c0cc185a4d3003f3f07e7d6f628d10a40b267c6a28b3e5b351b368cd15c96b7eca42a SHA512 79c795870efa960b42abc70710b4bebe793acb9e732943207ca4b34d35ba926af4877993db888829dbacedbe327324fba0ab2ef82ced1d653b4aee23e154fd8b
DIST razercfg-0.39.tar.bz2 178142 BLAKE2B cf2d92d24a0dbfdae4045c2dab30a64bc4de64d730c075a4d852790ff62bcbadd714953fac925e69b671355cbdfdec7ce9db5693fbfa8e2aab69de6247c95c1a SHA512 165fee898a01b7f0086eb6705ef9f24fd8b8836025c071f7851a493181b8d193d0db70fc1731a8586de1f1c795aab4d20bb4ee8526b612c66ba3c434c6e10137
diff --git a/sys-apps/razercfg/files/razerd.init.d-r1 b/sys-apps/razercfg/files/razerd.init.d-r1
deleted file mode 100644
index 304d91196bc0..000000000000
--- a/sys-apps/razercfg/files/razerd.init.d-r1
+++ /dev/null
@@ -1,25 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-depend() {
- use logger
-}
-
-PIDFILE=/run/razerd/razerd.pid
-
-start() {
- ebegin "Starting razerd"
- start-stop-daemon --start \
- --pidfile ${PIDFILE} \
- --exec /usr/sbin/razerd \
- -- --background --pidfile ${PIDFILE}
- eend $?
-}
-
-stop() {
- ebegin "Stopping razerd"
- start-stop-daemon --stop --pidfile ${PIDFILE}
- eend $?
-}
-
diff --git a/sys-apps/razercfg/razercfg-0.23.ebuild b/sys-apps/razercfg/razercfg-0.23.ebuild
deleted file mode 100644
index f902f7fa366b..000000000000
--- a/sys-apps/razercfg/razercfg-0.23.ebuild
+++ /dev/null
@@ -1,57 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_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"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-RDEPEND="${PYTHON_DEPS}
- pm-utils? ( sys-power/pm-utils )
- qt4? ( dev-python/PyQt4 )"
-DEPEND="${RDEPEND}"
-
-src_prepare() {
- cmake-utils_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
-}
diff --git a/sys-apps/razercfg/razercfg-0.39.ebuild b/sys-apps/razercfg/razercfg-0.39.ebuild
deleted file mode 100644
index 05d798d71a69..000000000000
--- a/sys-apps/razercfg/razercfg-0.39.ebuild
+++ /dev/null
@@ -1,82 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python3_4 python3_5 python3_6 )
-
-inherit cmake-utils multilib udev python-single-r1
-
-DESCRIPTION="Utility for advanced configuration of Razer mice"
-
-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() {
- cmake-utils_src_prepare
-
- sed -i CMakeLists.txt \
- -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:' \
- || die "sed failed"
-
- sed -i librazer/CMakeLists.txt \
- -e '/ldconfig/{N;d}' \
- -e "s:DESTINATION lib:DESTINATION $(get_libdir):" \
- || die "sed failed"
-
- sed -i razercfg.desktop.template \
- -e '/^Categories=/s/=.*$/=Qt;Settings/' \
- || die 'sed failed'
-}
-
-src_configure() {
- mycmakeargs=( -DPYTHON="${PYTHON}" )
- cmake-utils_src_configure
-}
-
-src_install() {
- cmake-utils_src_install
- newinitd "${FILESDIR}"/razerd.init.d-r2 razerd
- dodoc README.* HACKING.* razer.conf
-
- if ! use qt4; then
- rm "${D}"/usr/bin/qrazercfg{,-applet} || die
- rm "${D}"/usr/share/icons/hicolor/scalable/apps/razercfg* || die
- rm "${D}"/usr/share/applications/razercfg.desktop || die
- fi
-
- if ! use pm-utils; then
- rm "${D}/usr/$(get_libdir)/pm-utils/sleep.d/80razer" || die
- fi
-}
-
-pkg_postinst() {
- if use udev ; then
- udevadm control --reload-rules
- udevadm trigger --subsystem-match=usb
- fi
-
- if [[ -e "${ROOT}"usr/bin/pyrazer.pyc ]]; then
- eerror "A stale ${ROOT}usr/bin/pyrazer.pyc exists and will prevent"
- eerror "the Python frontends from working until removed manually."
- fi
-}