* [gentoo-commits] repo/gentoo:master commit in: sys-apps/razercfg/
@ 2016-06-11 20:39 Pacho Ramos
0 siblings, 0 replies; 19+ messages in thread
From: Pacho Ramos @ 2016-06-11 20:39 UTC (permalink / raw
To: gentoo-commits
commit: c74322ac185b8c98ffd1aa3e0f4fdc435f4282ad
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 11 20:36:18 2016 +0000
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Sat Jun 11 20:38:47 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c74322ac
sys-apps/razercfg: Cleanup due to #261692
Package-Manager: portage-2.3.0_rc1
sys-apps/razercfg/metadata.xml | 4 ----
1 file changed, 4 deletions(-)
diff --git a/sys-apps/razercfg/metadata.xml b/sys-apps/razercfg/metadata.xml
index 6716766..5d516fe 100644
--- a/sys-apps/razercfg/metadata.xml
+++ b/sys-apps/razercfg/metadata.xml
@@ -1,10 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<maintainer type="person">
-<email>joker@gentoo.org</email>
-<name>Christian Birchinger</name>
-</maintainer>
<longdescription>
Utility to for advanced configuration of the following Razer mice: Copperhead
Lachesis (Classic), DeathAdder (Classic, 3500 DPI, Black Edition, 2013), Taipan
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-apps/razercfg/
@ 2016-07-07 19:48 Austin English
0 siblings, 0 replies; 19+ messages in thread
From: Austin English @ 2016-07-07 19:48 UTC (permalink / raw
To: gentoo-commits
commit: 199aa6a2944fe0adb11084c997c5e0833c6e2d79
Author: Austin English <wizardedit <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 7 19:29:40 2016 +0000
Commit: Austin English <wizardedit <AT> gentoo <DOT> org>
CommitDate: Thu Jul 7 19:47:00 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=199aa6a2
sys-apps/razercfg: add maintainer-needed
Package-Manager: portage-2.2.28
sys-apps/razercfg/metadata.xml | 1 +
1 file changed, 1 insertion(+)
diff --git a/sys-apps/razercfg/metadata.xml b/sys-apps/razercfg/metadata.xml
index 5d516fe..101f51b 100644
--- a/sys-apps/razercfg/metadata.xml
+++ b/sys-apps/razercfg/metadata.xml
@@ -10,6 +10,7 @@ privilege hardware accesses. The user interface tools are "razercfg", a
commandline tool; and "qrazercfg", a QT4 based graphical device configuration
tool.
</longdescription>
+<!-- maintainer-needed -->
<use>
<flag name="pm-utils">Installs the pm-utils hooks for suspend/resume and
requires <pkg>sys-power/pm-utils</pkg></flag>
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-apps/razercfg/
@ 2017-03-24 15:14 Wolfram Schlich
0 siblings, 0 replies; 19+ messages in thread
From: Wolfram Schlich @ 2017-03-24 15:14 UTC (permalink / raw
To: gentoo-commits
commit: 72326d772f2903464cd47de6fd2b2c8fa3684bdc
Author: Wolfram Schlich <wschlich <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 24 15:04:10 2017 +0000
Commit: Wolfram Schlich <wschlich <AT> gentoo <DOT> org>
CommitDate: Fri Mar 24 15:14:18 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72326d77
sys-apps/razercfg: version bump
Package-Manager: Portage-2.3.3, Repoman-2.3.1
sys-apps/razercfg/Manifest | 1 +
sys-apps/razercfg/razercfg-0.38.ebuild | 79 ++++++++++++++++++++++++++++++++++
2 files changed, 80 insertions(+)
diff --git a/sys-apps/razercfg/Manifest b/sys-apps/razercfg/Manifest
index a17fcd30a0a..7949fad65e9 100644
--- a/sys-apps/razercfg/Manifest
+++ b/sys-apps/razercfg/Manifest
@@ -1,2 +1,3 @@
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.38.ebuild b/sys-apps/razercfg/razercfg-0.38.ebuild
new file mode 100644
index 00000000000..34deb45cd9f
--- /dev/null
+++ b/sys-apps/razercfg/razercfg-0.38.ebuild
@@ -0,0 +1,79 @@
+# 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"
+
+RDEPEND="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="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"
+
+ if use qt4; then
+ sed -i \
+ -e '/^Categories=/s/=.*$/=Qt;Settings/' \
+ razercfg.desktop.template
+ fi
+}
+
+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.html HACKING.html razer.conf
+
+ if ! use qt4; then
+ rm "${D}"/usr/bin/qrazercfg
+ rm "${D}"/usr/share/icons/hicolor/scalable/apps/razercfg*
+ rm "${D}"/usr/share/applications/razercfg.desktop
+ 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
+}
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-apps/razercfg/
@ 2017-04-20 16:41 David Seifert
0 siblings, 0 replies; 19+ messages in thread
From: David Seifert @ 2017-04-20 16:41 UTC (permalink / raw
To: gentoo-commits
commit: 6b6eb8d6e5413f66dcbcd180d862c1239c3ce857
Author: David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 20 16:21:44 2017 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Thu Apr 20 16:40:40 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b6eb8d6
sys-apps/razercfg: [QA] Add missing python metadata variables
Package-Manager: Portage-2.3.5, Repoman-2.3.2
sys-apps/razercfg/razercfg-0.23.ebuild | 8 ++++----
sys-apps/razercfg/razercfg-0.32.ebuild | 10 ++++++----
sys-apps/razercfg/razercfg-0.38.ebuild | 8 +++++---
3 files changed, 15 insertions(+), 11 deletions(-)
diff --git a/sys-apps/razercfg/razercfg-0.23.ebuild b/sys-apps/razercfg/razercfg-0.23.ebuild
index 4827e3d7c76..da7963b40fd 100644
--- a/sys-apps/razercfg/razercfg-0.23.ebuild
+++ b/sys-apps/razercfg/razercfg-0.23.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -15,12 +15,12 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 x86"
IUSE="+pm-utils qt4"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-RDEPEND="${DEPEND}
+RDEPEND="${PYTHON_DEPS}
pm-utils? ( sys-power/pm-utils )
qt4? ( dev-python/PyQt4 )"
-
-DEPEND="${DEPEND}"
+DEPEND="${RDEPEND}"
src_prepare() {
sed -i \
diff --git a/sys-apps/razercfg/razercfg-0.32.ebuild b/sys-apps/razercfg/razercfg-0.32.ebuild
index e4c71b338a0..f68e73ba77b 100644
--- a/sys-apps/razercfg/razercfg-0.32.ebuild
+++ b/sys-apps/razercfg/razercfg-0.32.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -15,14 +15,16 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="+pm-utils qt4 systemd +udev"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-RDEPEND="qt4? ( >=dev-python/pyside-1.2.1[${PYTHON_USEDEP}] )
+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="virtual/pkgconfig
+DEPEND="${PYTHON_DEPS}
+ virtual/pkgconfig
dev-python/setuptools[${PYTHON_USEDEP}]
virtual/libusb:1"
diff --git a/sys-apps/razercfg/razercfg-0.38.ebuild b/sys-apps/razercfg/razercfg-0.38.ebuild
index 34deb45cd9f..946e89282b9 100644
--- a/sys-apps/razercfg/razercfg-0.38.ebuild
+++ b/sys-apps/razercfg/razercfg-0.38.ebuild
@@ -15,14 +15,16 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="+pm-utils qt4 systemd +udev"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-RDEPEND="qt4? ( >=dev-python/pyside-1.2.1[${PYTHON_USEDEP}] )
+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="virtual/pkgconfig
+DEPEND="${PYTHON_DEPS}
+ virtual/pkgconfig
dev-python/setuptools[${PYTHON_USEDEP}]
virtual/libusb:1"
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-apps/razercfg/
@ 2017-05-06 20:25 Michael Orlitzky
0 siblings, 0 replies; 19+ messages in thread
From: Michael Orlitzky @ 2017-05-06 20:25 UTC (permalink / raw
To: gentoo-commits
commit: 6a932ef24959e63283efbc2043a6e9fd93dc8a54
Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Sat May 6 19:54:08 2017 +0000
Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Sat May 6 20:20:41 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a932ef2
sys-apps/razercfg: new version 0.39 with updated python compatibility.
This new version updates the ebuild to EAPI=6 and cleans up some minor
issues in the ebuild. It also adds new PYTHON_COMPAT targets for
python3_5 and python3_6 which were specifically requested.
Thanks are due to two users, Perfect Gentleman and Pablo Cholaky, who
submitted an updated ebuild and a patch, respectively.
Gentoo-Bug: 602874
Gentoo-Bug: 614152
Package-Manager: Portage-2.3.3, Repoman-2.3.1
sys-apps/razercfg/Manifest | 2 +-
.../{razercfg-0.38.ebuild => razercfg-0.39.ebuild} | 45 +++++++++++-----------
2 files changed, 24 insertions(+), 23 deletions(-)
diff --git a/sys-apps/razercfg/Manifest b/sys-apps/razercfg/Manifest
index c30a7fd4222..243e3091441 100644
--- a/sys-apps/razercfg/Manifest
+++ b/sys-apps/razercfg/Manifest
@@ -1,2 +1,2 @@
DIST razercfg-0.23.tar.bz2 69425 SHA256 44bdc48588c504a937d811e84a0ecb054e35d3e2e4980d7d76b3ea8c2f0d1b43 SHA512 79c795870efa960b42abc70710b4bebe793acb9e732943207ca4b34d35ba926af4877993db888829dbacedbe327324fba0ab2ef82ced1d653b4aee23e154fd8b WHIRLPOOL 11c57842daeb241d19b3546db0c4b3a98e59b565176f89227dd159f31b3037ce08130014dc35ae4db5dc81744a94a405252787b6a42c67129857f81f6eb0411c
-DIST razercfg-0.38.tar.bz2 99409 SHA256 8025a4765f2ff8e99104611e5d151f7a101b0f2692c9fc169ac237dd379bac6c SHA512 4619e19278fe97956043e2b628ed4c130b0e7ac2756a81335460cc520e0dea979fa6db3e927f414d24914409377782238a6ce9e1dba1868f6bfc34984a0ab456 WHIRLPOOL e0597d7d13d42b883f1f9294579151f30827225ca10c91bfe5de59dba12e8efecdf54b3e580296d37ab40e202a25f77a8349a5dbe64ebd47822e7f717e509d53
+DIST razercfg-0.39.tar.bz2 178142 SHA256 b8554a529fc02a05f515b56d335c326d660058d6fcdb2e3c4929b9b9dedf614d SHA512 165fee898a01b7f0086eb6705ef9f24fd8b8836025c071f7851a493181b8d193d0db70fc1731a8586de1f1c795aab4d20bb4ee8526b612c66ba3c434c6e10137 WHIRLPOOL eb5122226ad79594ea9396e141b9f7d98b52298fc09f06bcdd92be53101af6430a56864aa285c10b52ae004f734385c9155ba2d995ad661f764855e4a724ae05
diff --git a/sys-apps/razercfg/razercfg-0.38.ebuild b/sys-apps/razercfg/razercfg-0.39.ebuild
similarity index 62%
rename from sys-apps/razercfg/razercfg-0.38.ebuild
rename to sys-apps/razercfg/razercfg-0.39.ebuild
index 946e89282b9..22ec48cf5ca 100644
--- a/sys-apps/razercfg/razercfg-0.38.ebuild
+++ b/sys-apps/razercfg/razercfg-0.39.ebuild
@@ -1,13 +1,13 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=6
-PYTHON_COMPAT=( python3_4 )
+PYTHON_COMPAT=( python3_4 python3_5 python3_6 )
-inherit cmake-utils multilib eutils udev python-single-r1
+inherit cmake-utils multilib udev python-single-r1
-DESCRIPTION="Utility for advanced configuration of Razer mice (DeathAdder, Krait, Lachesis)"
+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"
@@ -29,53 +29,54 @@ DEPEND="${PYTHON_DEPS}
virtual/libusb:1"
src_prepare() {
- sed -i \
+ default
+
+ 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:' \
- CMakeLists.txt \
|| die "sed failed"
- sed -i \
+ sed -i librazer/CMakeLists.txt \
-e '/ldconfig/{N;d}' \
-e "s:DESTINATION lib:DESTINATION $(get_libdir):" \
- librazer/CMakeLists.txt \
|| die "sed failed"
- if use qt4; then
- sed -i \
- -e '/^Categories=/s/=.*$/=Qt;Settings/' \
- razercfg.desktop.template
- fi
+ sed -i razercfg.desktop.template \
+ -e '/^Categories=/s/=.*$/=Qt;Settings/' \
+ || die 'sed failed'
}
src_configure() {
- mycmakeargs="${mycmakeargs} -DPYTHON='${PYTHON}'"
+ mycmakeargs=( -DPYTHON="${PYTHON}" )
cmake-utils_src_configure
}
src_install() {
cmake-utils_src_install
newinitd "${FILESDIR}"/razerd.init.d-r2 razerd
- dodoc README.html HACKING.html razer.conf
+ dodoc README.* HACKING.* razer.conf
if ! use qt4; then
- rm "${D}"/usr/bin/qrazercfg
- rm "${D}"/usr/share/icons/hicolor/scalable/apps/razercfg*
- rm "${D}"/usr/share/applications/razercfg.desktop
+ 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
- use pm-utils || rm "${D}"/usr/$(get_libdir)/pm-utils/sleep.d/80razer
+ if ! use pm-utils; then
+ rm "${D}/usr/$(get_libdir)/pm-utils/sleep.d/80razer" || die
+ fi
}
pkg_postinst() {
- use udev && udevadm control --reload-rules && udevadm trigger --subsystem-match=usb
+ if use udev ; then
+ udevadm control --reload-rules
+ udevadm trigger --subsystem-match=usb
+ fi
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
}
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-apps/razercfg/
@ 2017-05-06 20:25 Michael Orlitzky
0 siblings, 0 replies; 19+ messages in thread
From: Michael Orlitzky @ 2017-05-06 20:25 UTC (permalink / raw
To: gentoo-commits
commit: d16954c7b5022fadb161cda04de64913845daa0e
Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Sat May 6 15:26:18 2017 +0000
Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Sat May 6 20:15:14 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d16954c7
sys-apps/razercfg: remove unused version 0.32.
Package-Manager: Portage-2.3.3, Repoman-2.3.1
sys-apps/razercfg/Manifest | 1 -
sys-apps/razercfg/razercfg-0.32.ebuild | 75 ----------------------------------
2 files changed, 76 deletions(-)
diff --git a/sys-apps/razercfg/Manifest b/sys-apps/razercfg/Manifest
index 7949fad65e9..c30a7fd4222 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 f68e73ba77b..00000000000
--- 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
-}
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-apps/razercfg/
@ 2017-10-16 3:34 David Seifert
0 siblings, 0 replies; 19+ messages in thread
From: David Seifert @ 2017-10-16 3:34 UTC (permalink / raw
To: gentoo-commits
commit: 7338001732c2dad89bd8bd65a3e78f2ba30e76d2
Author: David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 16 03:10:48 2017 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Mon Oct 16 03:10:48 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73380017
sys-apps/razercfg: [QA] Add cmake-utils_src_prepare
Package-Manager: Portage-2.3.11, Repoman-2.3.3
sys-apps/razercfg/razercfg-0.23.ebuild | 2 ++
sys-apps/razercfg/razercfg-0.39-r1.ebuild | 2 +-
sys-apps/razercfg/razercfg-0.39.ebuild | 2 +-
3 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/sys-apps/razercfg/razercfg-0.23.ebuild b/sys-apps/razercfg/razercfg-0.23.ebuild
index da7963b40fd..f902f7fa366 100644
--- a/sys-apps/razercfg/razercfg-0.23.ebuild
+++ b/sys-apps/razercfg/razercfg-0.23.ebuild
@@ -23,6 +23,8 @@ RDEPEND="${PYTHON_DEPS}
DEPEND="${RDEPEND}"
src_prepare() {
+ cmake-utils_src_prepare
+
sed -i \
-e '/ldconfig/{N;d}' \
-e '/udevadm control/{N;d}' \
diff --git a/sys-apps/razercfg/razercfg-0.39-r1.ebuild b/sys-apps/razercfg/razercfg-0.39-r1.ebuild
index ec711690643..c9cb4bdaf9e 100644
--- a/sys-apps/razercfg/razercfg-0.39-r1.ebuild
+++ b/sys-apps/razercfg/razercfg-0.39-r1.ebuild
@@ -33,7 +33,7 @@ DEPEND="${PYTHON_DEPS}
PATCHES=( "${FILESDIR}/${P}-unit-variables.patch" )
src_prepare() {
- default
+ cmake-utils_src_prepare
sed -i CMakeLists.txt \
-e '/udevadm control/{N;d}' \
diff --git a/sys-apps/razercfg/razercfg-0.39.ebuild b/sys-apps/razercfg/razercfg-0.39.ebuild
index 22ec48cf5ca..05d798d71a6 100644
--- a/sys-apps/razercfg/razercfg-0.39.ebuild
+++ b/sys-apps/razercfg/razercfg-0.39.ebuild
@@ -29,7 +29,7 @@ DEPEND="${PYTHON_DEPS}
virtual/libusb:1"
src_prepare() {
- default
+ cmake-utils_src_prepare
sed -i CMakeLists.txt \
-e '/udevadm control/{N;d}' \
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-apps/razercfg/
@ 2018-03-22 14:57 Andreas Sturmlechner
0 siblings, 0 replies; 19+ messages in thread
From: Andreas Sturmlechner @ 2018-03-22 14:57 UTC (permalink / raw
To: gentoo-commits
commit: af75e838cf636a72a9034f0c31966bf8ba5dd648
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 22 14:56:42 2018 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Thu Mar 22 14:57:04 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af75e838
sys-apps/razercfg: Drop USE=qt4
Qt4 is dead and going away.
Package-Manager: Portage-2.3.24, Repoman-2.3.6
sys-apps/razercfg/metadata.xml | 1 -
sys-apps/razercfg/razercfg-0.39-r1.ebuild | 13 +++++--------
2 files changed, 5 insertions(+), 9 deletions(-)
diff --git a/sys-apps/razercfg/metadata.xml b/sys-apps/razercfg/metadata.xml
index 101f51bc68a..77b7acea528 100644
--- a/sys-apps/razercfg/metadata.xml
+++ b/sys-apps/razercfg/metadata.xml
@@ -14,6 +14,5 @@ tool.
<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/pyside</pkg></flag>
</use>
</pkgmetadata>
diff --git a/sys-apps/razercfg/razercfg-0.39-r1.ebuild b/sys-apps/razercfg/razercfg-0.39-r1.ebuild
index c9cb4bdaf9e..f39e614cb88 100644
--- a/sys-apps/razercfg/razercfg-0.39-r1.ebuild
+++ b/sys-apps/razercfg/razercfg-0.39-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -14,14 +14,13 @@ SRC_URI="https://bues.ch/${PN}/${P}.tar.bz2"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="+pm-utils qt4 +udev"
+IUSE="+pm-utils +udev"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RDEPEND="${PYTHON_DEPS}
virtual/libusb:1
pm-utils? ( sys-power/pm-utils )
- qt4? ( >=dev-python/pyside-1.2.1[${PYTHON_USEDEP}] )
udev? ( virtual/udev )
"
DEPEND="${PYTHON_DEPS}
@@ -67,11 +66,9 @@ 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
+ 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
if ! use pm-utils; then
rm "${D%/}/usr/$(get_libdir)/pm-utils/sleep.d/80razer" || die
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-apps/razercfg/
@ 2020-02-09 16:42 Michał Górny
0 siblings, 0 replies; 19+ messages in thread
From: Michał Górny @ 2020-02-09 16:42 UTC (permalink / raw
To: gentoo-commits
commit: 232e9175dc6eda983796fc066861e68ffa9412fa
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 7 20:19:05 2020 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Feb 9 16:37:04 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=232e9175
sys-apps/razercfg: Switch to PYTHON_MULTI_USEDEP API
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
.../razercfg/{razercfg-0.39-r1.ebuild => razercfg-0.39-r2.ebuild} | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/sys-apps/razercfg/razercfg-0.39-r1.ebuild b/sys-apps/razercfg/razercfg-0.39-r2.ebuild
similarity index 96%
rename from sys-apps/razercfg/razercfg-0.39-r1.ebuild
rename to sys-apps/razercfg/razercfg-0.39-r2.ebuild
index a5023d50259..2d13385579e 100644
--- a/sys-apps/razercfg/razercfg-0.39-r1.ebuild
+++ b/sys-apps/razercfg/razercfg-0.39-r2.ebuild
@@ -24,7 +24,9 @@ RDEPEND="${PYTHON_DEPS}
udev? ( virtual/udev )
"
DEPEND="${PYTHON_DEPS}
- dev-python/setuptools[${PYTHON_USEDEP}]
+ $(python_gen_cond_dep '
+ dev-python/setuptools[${PYTHON_MULTI_USEDEP}]
+ ')
virtual/libusb:1
virtual/pkgconfig
"
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-apps/razercfg/
@ 2020-07-24 8:28 Joonas Niilola
0 siblings, 0 replies; 19+ messages in thread
From: Joonas Niilola @ 2020-07-24 8:28 UTC (permalink / raw
To: gentoo-commits
commit: fbe4d7edd5babecb7e886fdbdfb2efbfe19da98a
Author: Alexey Korepanov <kaikaikai <AT> yandex <DOT> ru>
AuthorDate: Sat Jul 4 16:55:43 2020 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Fri Jul 24 08:28:14 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fbe4d7ed
sys-apps/razercfg: version bump 0.42
Closes: https://bugs.gentoo.org/657772
Signed-off-by: Alexey Korepanov <kaikaikai <AT> yandex.ru>
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
sys-apps/razercfg/Manifest | 1 +
sys-apps/razercfg/metadata.xml | 15 +++---
sys-apps/razercfg/razercfg-0.42.ebuild | 96 ++++++++++++++++++++++++++++++++++
3 files changed, 105 insertions(+), 7 deletions(-)
diff --git a/sys-apps/razercfg/Manifest b/sys-apps/razercfg/Manifest
index 53abff61283..d8ef4efa14f 100644
--- a/sys-apps/razercfg/Manifest
+++ b/sys-apps/razercfg/Manifest
@@ -1 +1,2 @@
DIST razercfg-0.39.tar.bz2 178142 BLAKE2B cf2d92d24a0dbfdae4045c2dab30a64bc4de64d730c075a4d852790ff62bcbadd714953fac925e69b671355cbdfdec7ce9db5693fbfa8e2aab69de6247c95c1a SHA512 165fee898a01b7f0086eb6705ef9f24fd8b8836025c071f7851a493181b8d193d0db70fc1731a8586de1f1c795aab4d20bb4ee8526b612c66ba3c434c6e10137
+DIST razercfg-0.42.tar.xz 103300 BLAKE2B 83f9432edf4deda78514dd1e2a65e04981d3646c543ebf3b74060f5d6ee5f9c3ddec5b0c544c11c9968c790172ae2bd4d4503adaf1428ca31337fdcd33d8545c SHA512 3856f4133b620fb639a46a5bb02fe8e6c47ae3928a04fe9d1bbef2792a44fdd4f5dff2efa43a1e43d75312025d3c65c626e331e723092e4e0b8d6622657fb197
diff --git a/sys-apps/razercfg/metadata.xml b/sys-apps/razercfg/metadata.xml
index 77b7acea528..ba604d21bb6 100644
--- a/sys-apps/razercfg/metadata.xml
+++ b/sys-apps/razercfg/metadata.xml
@@ -2,17 +2,18 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<longdescription>
-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.
+The next generation Razer device configuration tool bringing the Razer gaming
+experience to the free OpenSource world.
+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 Qt based graphical device
+configuration tool.
</longdescription>
<!-- maintainer-needed -->
<use>
<flag name="pm-utils">Installs the pm-utils hooks for suspend/resume and
requires <pkg>sys-power/pm-utils</pkg></flag>
+ <flag name="gui">Installs GUI configuration utility and status bar applet.
+ Requires <pkg>dev-python/PyQt5</pkg></flag>
</use>
</pkgmetadata>
diff --git a/sys-apps/razercfg/razercfg-0.42.ebuild b/sys-apps/razercfg/razercfg-0.42.ebuild
new file mode 100644
index 00000000000..1236531897a
--- /dev/null
+++ b/sys-apps/razercfg/razercfg-0.42.ebuild
@@ -0,0 +1,96 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7,8} )
+
+inherit cmake python-single-r1 systemd tmpfiles udev
+
+DESCRIPTION="Utility for advanced configuration of Razer mice"
+HOMEPAGE="https://bues.ch/cms/hacking/razercfg.html https://github.com/mbuesch/razer"
+SRC_URI="https://bues.ch/${PN}/${P}.tar.xz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="gui +udev"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND="${PYTHON_DEPS}
+ virtual/libusb:1
+"
+BDEPEND="virtual/pkgconfig"
+RDEPEND="${DEPEND}
+ gui? (
+ $(python_gen_cond_dep '
+ dev-python/PyQt5[${PYTHON_USEDEP}]
+ ')
+ )
+ udev? ( virtual/udev )
+"
+
+PATCHES=( "${FILESDIR}/${PN}-0.39-unit-variables.patch" )
+
+src_prepare() {
+ cmake_src_prepare
+
+ sed -i librazer/CMakeLists.txt \
+ -e '/ldconfig/{N;d}' \
+ -e "s:DESTINATION lib:DESTINATION $(get_libdir):" \
+ || die
+
+ sed -i ui/razercfg.desktop.template \
+ -e '/^Categories=/s/=.*$/=Qt;Settings/' \
+ || die
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DPYTHON="${PYTHON}"
+ -DSYSTEMD_UNIT_DIR="$(systemd_get_systemunitdir)"
+ -DUDEV_DIR="$(get_udevdir)"
+ )
+ RAZERCFG_PKG_BUILD=1 cmake_src_configure
+}
+
+src_install() {
+ RAZERCFG_PKG_BUILD=1 cmake_src_install
+
+ python_optimize
+
+ newinitd "${FILESDIR}"/razerd.init.d-r2 razerd
+ dodoc README.* HACKING.* razer.conf
+
+ if ! use gui; then
+ rm "${D}"/usr/bin/qrazercfg{,-applet} || die
+ rm -r "${D}"/usr/share/icons || die
+ rm -r "${D}"/usr/share/applications || die
+ fi
+
+ # sys-power/pm-utils is deprecated, so we delete related files
+ # (they contain a hook for resume from suspend)
+ # TODO: test resume from suspend
+ rm -r "${D}/etc/pm" || die
+}
+
+pkg_postinst() {
+ if use udev ; then
+ udevadm control --reload-rules
+ udevadm trigger --subsystem-match=usb
+ fi
+
+ xdg_icon_cache_update
+
+ tmpfiles_process razerd.conf
+
+ 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
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+}
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-apps/razercfg/
@ 2020-07-24 8:28 Joonas Niilola
0 siblings, 0 replies; 19+ messages in thread
From: Joonas Niilola @ 2020-07-24 8:28 UTC (permalink / raw
To: gentoo-commits
commit: 73e30602cecce7fe1d75fc5d7d5b02d17e6447d5
Author: Alexey Korepanov <kaikaikai <AT> yandex <DOT> ru>
AuthorDate: Tue Jul 21 08:28:20 2020 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Fri Jul 24 08:28:14 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73e30602
sys-apps/razercfg: add myself as maintainer
Signed-off-by: Alexey Korepanov <kaikaikai <AT> yandex.ru>
Closes: https://github.com/gentoo/gentoo/pull/16589
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
sys-apps/razercfg/metadata.xml | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/sys-apps/razercfg/metadata.xml b/sys-apps/razercfg/metadata.xml
index ba604d21bb6..5eb400d0a04 100644
--- a/sys-apps/razercfg/metadata.xml
+++ b/sys-apps/razercfg/metadata.xml
@@ -9,7 +9,10 @@ all of the lowlevel privileged hardware accesses. The user interface tools are
"razercfg", a commandline tool; and "qrazercfg", a Qt based graphical device
configuration tool.
</longdescription>
-<!-- maintainer-needed -->
+<maintainer type="person">
+ <email>kaikaikai@yandex.ru</email>
+ <name>Alexey Korepanov</name>
+</maintainer>
<use>
<flag name="pm-utils">Installs the pm-utils hooks for suspend/resume and
requires <pkg>sys-power/pm-utils</pkg></flag>
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-apps/razercfg/
@ 2020-07-24 8:28 Joonas Niilola
0 siblings, 0 replies; 19+ messages in thread
From: Joonas Niilola @ 2020-07-24 8:28 UTC (permalink / raw
To: gentoo-commits
commit: 71c180195fb9460f251c62ec7fde663857ef2d97
Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 24 08:24:43 2020 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Fri Jul 24 08:28:15 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71c18019
sys-apps/razercfg: fix metadata.xml style
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
sys-apps/razercfg/metadata.xml | 40 ++++++++++++++++++++++------------------
1 file changed, 22 insertions(+), 18 deletions(-)
diff --git a/sys-apps/razercfg/metadata.xml b/sys-apps/razercfg/metadata.xml
index 5eb400d0a04..e10f5181e6f 100644
--- a/sys-apps/razercfg/metadata.xml
+++ b/sys-apps/razercfg/metadata.xml
@@ -1,22 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<longdescription>
-The next generation Razer device configuration tool bringing the Razer gaming
-experience to the free OpenSource world.
-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 Qt based graphical device
-configuration tool.
-</longdescription>
-<maintainer type="person">
- <email>kaikaikai@yandex.ru</email>
- <name>Alexey Korepanov</name>
-</maintainer>
-<use>
- <flag name="pm-utils">Installs the pm-utils hooks for suspend/resume and
- requires <pkg>sys-power/pm-utils</pkg></flag>
- <flag name="gui">Installs GUI configuration utility and status bar applet.
- Requires <pkg>dev-python/PyQt5</pkg></flag>
-</use>
+ <maintainer type="person">
+ <email>kaikaikai@yandex.ru</email>
+ <name>Alexey Korepanov</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <use>
+ <flag name="pm-utils">Installs the pm-utils hooks for suspend/resume and
+ requires <pkg>sys-power/pm-utils</pkg></flag>
+ <flag name="gui">Installs GUI configuration utility and status bar applet.
+ Requires <pkg>dev-python/PyQt5</pkg></flag>
+ </use>
+ <longdescription>
+ The next generation Razer device configuration tool bringing the Razer gaming
+ experience to the free OpenSource world.
+ 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 Qt based graphical device
+ configuration tool.
+ </longdescription>
</pkgmetadata>
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-apps/razercfg/
@ 2021-01-01 1:56 Michał Górny
0 siblings, 0 replies; 19+ messages in thread
From: Michał Górny @ 2021-01-01 1:56 UTC (permalink / raw
To: gentoo-commits
commit: 0528c59d2f8f01efd3bf492f2795e2c6e36e0295
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 1 01:54:06 2021 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Jan 1 01:55:57 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0528c59d
sys-apps/razercfg: Remove old (py3.6)
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
sys-apps/razercfg/Manifest | 1 -
sys-apps/razercfg/metadata.xml | 2 -
sys-apps/razercfg/razercfg-0.39-r2.ebuild | 90 -------------------------------
3 files changed, 93 deletions(-)
diff --git a/sys-apps/razercfg/Manifest b/sys-apps/razercfg/Manifest
index d8ef4efa14f..5699716bb14 100644
--- a/sys-apps/razercfg/Manifest
+++ b/sys-apps/razercfg/Manifest
@@ -1,2 +1 @@
-DIST razercfg-0.39.tar.bz2 178142 BLAKE2B cf2d92d24a0dbfdae4045c2dab30a64bc4de64d730c075a4d852790ff62bcbadd714953fac925e69b671355cbdfdec7ce9db5693fbfa8e2aab69de6247c95c1a SHA512 165fee898a01b7f0086eb6705ef9f24fd8b8836025c071f7851a493181b8d193d0db70fc1731a8586de1f1c795aab4d20bb4ee8526b612c66ba3c434c6e10137
DIST razercfg-0.42.tar.xz 103300 BLAKE2B 83f9432edf4deda78514dd1e2a65e04981d3646c543ebf3b74060f5d6ee5f9c3ddec5b0c544c11c9968c790172ae2bd4d4503adaf1428ca31337fdcd33d8545c SHA512 3856f4133b620fb639a46a5bb02fe8e6c47ae3928a04fe9d1bbef2792a44fdd4f5dff2efa43a1e43d75312025d3c65c626e331e723092e4e0b8d6622657fb197
diff --git a/sys-apps/razercfg/metadata.xml b/sys-apps/razercfg/metadata.xml
index e10f5181e6f..c8db6971140 100644
--- a/sys-apps/razercfg/metadata.xml
+++ b/sys-apps/razercfg/metadata.xml
@@ -10,8 +10,6 @@
<name>Proxy Maintainers</name>
</maintainer>
<use>
- <flag name="pm-utils">Installs the pm-utils hooks for suspend/resume and
- requires <pkg>sys-power/pm-utils</pkg></flag>
<flag name="gui">Installs GUI configuration utility and status bar applet.
Requires <pkg>dev-python/PyQt5</pkg></flag>
</use>
diff --git a/sys-apps/razercfg/razercfg-0.39-r2.ebuild b/sys-apps/razercfg/razercfg-0.39-r2.ebuild
deleted file mode 100644
index 2d13385579e..00000000000
--- a/sys-apps/razercfg/razercfg-0.39-r2.ebuild
+++ /dev/null
@@ -1,90 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python3_6 )
-
-inherit cmake-utils python-single-r1 systemd udev
-
-DESCRIPTION="Utility for advanced configuration of Razer mice"
-HOMEPAGE="https://bues.ch/cms/hacking/razercfg.html"
-SRC_URI="https://bues.ch/${PN}/${P}.tar.bz2"
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="+pm-utils +udev"
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-RDEPEND="${PYTHON_DEPS}
- virtual/libusb:1
- pm-utils? ( sys-power/pm-utils )
- udev? ( virtual/udev )
-"
-DEPEND="${PYTHON_DEPS}
- $(python_gen_cond_dep '
- dev-python/setuptools[${PYTHON_MULTI_USEDEP}]
- ')
- virtual/libusb:1
- virtual/pkgconfig
-"
-
-PATCHES=( "${FILESDIR}/${P}-unit-variables.patch" )
-
-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 -i librazer/CMakeLists.txt \
- -e '/ldconfig/{N;d}' \
- -e "s:DESTINATION lib:DESTINATION $(get_libdir):" \
- || die
-
- sed -i razercfg.desktop.template \
- -e '/^Categories=/s/=.*$/=Qt;Settings/' \
- || die
-}
-
-src_configure() {
- local mycmakeargs=(
- -DPYTHON="${PYTHON}"
- -DSYSTEMD_UNIT_DIR="$(systemd_get_systemunitdir)"
- -DUDEV_DIR="$(get_udevdir)"
- )
- RAZERCFG_PKG_BUILD=1 cmake-utils_src_configure
-}
-
-src_install() {
- RAZERCFG_PKG_BUILD=1 cmake-utils_src_install
-
- newinitd "${FILESDIR}"/razerd.init.d-r2 razerd
- dodoc README.* HACKING.* razer.conf
-
- 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
-
- 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
-}
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-apps/razercfg/
@ 2021-05-23 16:34 Michał Górny
0 siblings, 0 replies; 19+ messages in thread
From: Michał Górny @ 2021-05-23 16:34 UTC (permalink / raw
To: gentoo-commits
commit: 768657ad107286b9d8c18cec119730a48d90a4dc
Author: Zamarin Arthur <arthurzam <AT> gmail <DOT> com>
AuthorDate: Sun May 23 15:54:17 2021 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun May 23 16:34:18 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=768657ad
sys-apps/razercfg: bump to python 3.9
Signed-off-by: Zamarin Arthur <arthurzam <AT> gmail.com>
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
sys-apps/razercfg/razercfg-0.42.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sys-apps/razercfg/razercfg-0.42.ebuild b/sys-apps/razercfg/razercfg-0.42.ebuild
index e44853ff4bc..251955d1640 100644
--- a/sys-apps/razercfg/razercfg-0.42.ebuild
+++ b/sys-apps/razercfg/razercfg-0.42.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-PYTHON_COMPAT=( python3_{7,8} )
+PYTHON_COMPAT=( python3_{7..9} )
inherit cmake python-single-r1 systemd tmpfiles udev
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-apps/razercfg/
@ 2021-09-03 1:53 Sam James
0 siblings, 0 replies; 19+ messages in thread
From: Sam James @ 2021-09-03 1:53 UTC (permalink / raw
To: gentoo-commits
commit: c18b20f402a9523894a65ab1a143e30b0511eac2
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 2 21:10:44 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Sep 2 23:52:15 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c18b20f4
sys-apps/razercfg: [QA] fix IndirectInherits
Signed-off-by: Sam James <sam <AT> gentoo.org>
sys-apps/razercfg/razercfg-0.42.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys-apps/razercfg/razercfg-0.42.ebuild b/sys-apps/razercfg/razercfg-0.42.ebuild
index 251955d1640..7a759a878d9 100644
--- a/sys-apps/razercfg/razercfg-0.42.ebuild
+++ b/sys-apps/razercfg/razercfg-0.42.ebuild
@@ -5,7 +5,7 @@ EAPI=7
PYTHON_COMPAT=( python3_{7..9} )
-inherit cmake python-single-r1 systemd tmpfiles udev
+inherit cmake python-single-r1 systemd tmpfiles udev xdg-utils
DESCRIPTION="Utility for advanced configuration of Razer mice"
HOMEPAGE="https://bues.ch/cms/hacking/razercfg.html https://github.com/mbuesch/razer"
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-apps/razercfg/
@ 2022-05-26 1:14 Sam James
0 siblings, 0 replies; 19+ messages in thread
From: Sam James @ 2022-05-26 1:14 UTC (permalink / raw
To: gentoo-commits
commit: ea3aac109133c85c2ce8c83ff4db3eb91c91f571
Author: Alexey Korepanov <kaikaikai <AT> yandex <DOT> ru>
AuthorDate: Tue May 24 08:21:40 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu May 26 01:13:52 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea3aac10
sys-apps/razercfg: bump PYTHON_COMPAT to 3.10
Closes: https://bugs.gentoo.org/846311
Signed-off-by: Alexey Korepanov <kaikaikai <AT> yandex.ru>
Closes: https://github.com/gentoo/gentoo/pull/25615
Signed-off-by: Sam James <sam <AT> gentoo.org>
sys-apps/razercfg/razercfg-0.42.ebuild | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/sys-apps/razercfg/razercfg-0.42.ebuild b/sys-apps/razercfg/razercfg-0.42.ebuild
index 7a759a878d94..eade9c4b6c2d 100644
--- a/sys-apps/razercfg/razercfg-0.42.ebuild
+++ b/sys-apps/razercfg/razercfg-0.42.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
-PYTHON_COMPAT=( python3_{7..9} )
+PYTHON_COMPAT=( python3_{8..10} )
inherit cmake python-single-r1 systemd tmpfiles udev xdg-utils
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-apps/razercfg/
@ 2023-05-04 4:18 Viorel Munteanu
0 siblings, 0 replies; 19+ messages in thread
From: Viorel Munteanu @ 2023-05-04 4:18 UTC (permalink / raw
To: gentoo-commits
commit: f079d7dc8c00f63d39d3168c163f3ac2b4efa7e1
Author: Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
AuthorDate: Thu May 4 04:17:47 2023 +0000
Commit: Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Thu May 4 04:17:47 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f079d7dc
sys-apps/razercfg: drop to maintainer-needed
Closes: https://bugs.gentoo.org/905659
Signed-off-by: Viorel Munteanu <ceamac <AT> gentoo.org>
sys-apps/razercfg/metadata.xml | 36 ++++++++++++++++--------------------
1 file changed, 16 insertions(+), 20 deletions(-)
diff --git a/sys-apps/razercfg/metadata.xml b/sys-apps/razercfg/metadata.xml
index 2cf35e12e9e9..fe2db70cfb0d 100644
--- a/sys-apps/razercfg/metadata.xml
+++ b/sys-apps/razercfg/metadata.xml
@@ -1,24 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <maintainer type="person" proxied="yes">
- <email>kaikaikai@yandex.ru</email>
- <name>Alexey Korepanov</name>
- </maintainer>
- <maintainer type="project" proxied="proxy">
- <email>proxy-maint@gentoo.org</email>
- <name>Proxy Maintainers</name>
- </maintainer>
- <use>
- <flag name="gui">Installs GUI configuration utility and status bar applet.
- Requires <pkg>dev-python/PyQt5</pkg></flag>
- </use>
- <longdescription>
- The next generation Razer device configuration tool bringing the Razer gaming
- experience to the free OpenSource world.
- 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 Qt based graphical device
- configuration tool.
- </longdescription>
+ <!-- maintainer-needed -->
+ <use>
+ <flag name="gui">Installs GUI configuration utility and status bar applet.
+ Requires <pkg>dev-python/PyQt5</pkg></flag>
+ </use>
+ <upstream>
+ <remote-id type="github">mbuesch/razer</remote-id>
+ </upstream>
+ <longdescription>
+ The next generation Razer device configuration tool bringing the Razer gaming
+ experience to the free OpenSource world.
+ 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 Qt based graphical device
+ configuration tool.
+ </longdescription>
</pkgmetadata>
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-apps/razercfg/
@ 2023-10-04 19:37 Sam James
0 siblings, 0 replies; 19+ messages in thread
From: Sam James @ 2023-10-04 19:37 UTC (permalink / raw
To: gentoo-commits
commit: 1938edbd945efdfbf977f01b8755e54e8a345b7c
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 4 19:27:38 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Oct 4 19:27:51 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1938edbd
sys-apps/razercfg: don't redefine _FORTIFY_SOURCE
Closes: https://bugs.gentoo.org/898046
Signed-off-by: Sam James <sam <AT> gentoo.org>
sys-apps/razercfg/razercfg-0.42-r1.ebuild | 99 +++++++++++++++++++++++++++++++
1 file changed, 99 insertions(+)
diff --git a/sys-apps/razercfg/razercfg-0.42-r1.ebuild b/sys-apps/razercfg/razercfg-0.42-r1.ebuild
new file mode 100644
index 000000000000..d4ebc90bca0f
--- /dev/null
+++ b/sys-apps/razercfg/razercfg-0.42-r1.ebuild
@@ -0,0 +1,99 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..10} )
+
+inherit cmake python-single-r1 systemd tmpfiles udev xdg-utils
+
+DESCRIPTION="Utility for advanced configuration of Razer mice"
+HOMEPAGE="https://bues.ch/cms/hacking/razercfg.html https://github.com/mbuesch/razer"
+SRC_URI="https://bues.ch/${PN}/${P}.tar.xz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="gui +udev"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND="${PYTHON_DEPS}
+ virtual/libusb:1
+"
+BDEPEND="virtual/pkgconfig"
+RDEPEND="${DEPEND}
+ gui? (
+ $(python_gen_cond_dep '
+ dev-python/PyQt5[${PYTHON_USEDEP}]
+ ')
+ )
+ udev? ( virtual/udev )
+"
+
+PATCHES=( "${FILESDIR}/${PN}-0.39-unit-variables.patch" )
+
+src_prepare() {
+ cmake_src_prepare
+
+ # Don't clobber toolchain defaults
+ sed -i -e '/-D_FORTIFY_SOURCE=2/d' scripts/cmake.global || die
+
+ sed -i librazer/CMakeLists.txt \
+ -e '/ldconfig/{N;d}' \
+ -e "s:DESTINATION lib:DESTINATION $(get_libdir):" \
+ || die
+
+ sed -i ui/razercfg.desktop.template \
+ -e '/^Categories=/s/=.*$/=Qt;Settings/' \
+ || die
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DPYTHON="${PYTHON}"
+ -DSYSTEMD_UNIT_DIR="$(systemd_get_systemunitdir)"
+ -DUDEV_DIR="$(get_udevdir)"
+ )
+ RAZERCFG_PKG_BUILD=1 cmake_src_configure
+}
+
+src_install() {
+ RAZERCFG_PKG_BUILD=1 cmake_src_install
+
+ python_optimize
+
+ newinitd "${FILESDIR}"/razerd.init.d-r2 razerd
+ dodoc README.* HACKING.* razer.conf
+
+ if ! use gui; then
+ rm "${D}"/usr/bin/qrazercfg{,-applet} || die
+ rm -r "${D}"/usr/share/icons || die
+ rm -r "${D}"/usr/share/applications || die
+ fi
+
+ # sys-power/pm-utils is deprecated, so we delete related files
+ # (they contain a hook for resume from suspend)
+ # TODO: test resume from suspend
+ rm -r "${D}/etc/pm" || die
+}
+
+pkg_postinst() {
+ if use udev ; then
+ udevadm control --reload-rules
+ udevadm trigger --subsystem-match=usb
+ fi
+
+ xdg_icon_cache_update
+
+ tmpfiles_process razerd.conf
+
+ 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
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+}
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-apps/razercfg/
@ 2024-06-14 9:00 Arthur Zamarin
0 siblings, 0 replies; 19+ messages in thread
From: Arthur Zamarin @ 2024-06-14 9:00 UTC (permalink / raw
To: gentoo-commits
commit: aecf9386138d24585d8cce65aaed5c982f3d8c70
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 14 08:43:13 2024 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Jun 14 08:43:13 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aecf9386
sys-apps/razercfg: drop 0.42
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
sys-apps/razercfg/razercfg-0.42.ebuild | 96 ----------------------------------
1 file changed, 96 deletions(-)
diff --git a/sys-apps/razercfg/razercfg-0.42.ebuild b/sys-apps/razercfg/razercfg-0.42.ebuild
deleted file mode 100644
index a7e7db3cb1d6..000000000000
--- a/sys-apps/razercfg/razercfg-0.42.ebuild
+++ /dev/null
@@ -1,96 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{9..10} )
-
-inherit cmake python-single-r1 systemd tmpfiles udev xdg-utils
-
-DESCRIPTION="Utility for advanced configuration of Razer mice"
-HOMEPAGE="https://bues.ch/cms/hacking/razercfg.html https://github.com/mbuesch/razer"
-SRC_URI="https://bues.ch/${PN}/${P}.tar.xz"
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="gui +udev"
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-DEPEND="${PYTHON_DEPS}
- virtual/libusb:1
-"
-BDEPEND="virtual/pkgconfig"
-RDEPEND="${DEPEND}
- gui? (
- $(python_gen_cond_dep '
- dev-python/PyQt5[${PYTHON_USEDEP}]
- ')
- )
- udev? ( virtual/udev )
-"
-
-PATCHES=( "${FILESDIR}/${PN}-0.39-unit-variables.patch" )
-
-src_prepare() {
- cmake_src_prepare
-
- sed -i librazer/CMakeLists.txt \
- -e '/ldconfig/{N;d}' \
- -e "s:DESTINATION lib:DESTINATION $(get_libdir):" \
- || die
-
- sed -i ui/razercfg.desktop.template \
- -e '/^Categories=/s/=.*$/=Qt;Settings/' \
- || die
-}
-
-src_configure() {
- local mycmakeargs=(
- -DPYTHON="${PYTHON}"
- -DSYSTEMD_UNIT_DIR="$(systemd_get_systemunitdir)"
- -DUDEV_DIR="$(get_udevdir)"
- )
- RAZERCFG_PKG_BUILD=1 cmake_src_configure
-}
-
-src_install() {
- RAZERCFG_PKG_BUILD=1 cmake_src_install
-
- python_optimize
-
- newinitd "${FILESDIR}"/razerd.init.d-r2 razerd
- dodoc README.* HACKING.* razer.conf
-
- if ! use gui; then
- rm "${D}"/usr/bin/qrazercfg{,-applet} || die
- rm -r "${D}"/usr/share/icons || die
- rm -r "${D}"/usr/share/applications || die
- fi
-
- # sys-power/pm-utils is deprecated, so we delete related files
- # (they contain a hook for resume from suspend)
- # TODO: test resume from suspend
- rm -r "${D}/etc/pm" || die
-}
-
-pkg_postinst() {
- if use udev ; then
- udevadm control --reload-rules
- udevadm trigger --subsystem-match=usb
- fi
-
- xdg_icon_cache_update
-
- tmpfiles_process razerd.conf
-
- 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
-}
-
-pkg_postrm() {
- xdg_icon_cache_update
-}
^ permalink raw reply related [flat|nested] 19+ messages in thread
end of thread, other threads:[~2024-06-14 9:00 UTC | newest]
Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-02-09 16:42 [gentoo-commits] repo/gentoo:master commit in: sys-apps/razercfg/ Michał Górny
-- strict thread matches above, loose matches on Subject: below --
2024-06-14 9:00 Arthur Zamarin
2023-10-04 19:37 Sam James
2023-05-04 4:18 Viorel Munteanu
2022-05-26 1:14 Sam James
2021-09-03 1:53 Sam James
2021-05-23 16:34 Michał Górny
2021-01-01 1:56 Michał Górny
2020-07-24 8:28 Joonas Niilola
2020-07-24 8:28 Joonas Niilola
2020-07-24 8:28 Joonas Niilola
2018-03-22 14:57 Andreas Sturmlechner
2017-10-16 3:34 David Seifert
2017-05-06 20:25 Michael Orlitzky
2017-05-06 20:25 Michael Orlitzky
2017-04-20 16:41 David Seifert
2017-03-24 15:14 Wolfram Schlich
2016-07-07 19:48 Austin English
2016-06-11 20:39 Pacho Ramos
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox