* [gentoo-commits] repo/gentoo:master commit in: sys-apps/openrazer/
@ 2022-09-20 23:23 Maciej Barć
0 siblings, 0 replies; 30+ messages in thread
From: Maciej Barć @ 2022-09-20 23:23 UTC (permalink / raw
To: gentoo-commits
commit: 296847fca87cfc85db83f73e26acc2fb97b92c9f
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 20 22:59:28 2022 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Tue Sep 20 23:22:58 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=296847fc
sys-apps/openrazer: new package; add version 3.4.0
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
sys-apps/openrazer/Manifest | 1 +
sys-apps/openrazer/metadata.xml | 17 ++++
sys-apps/openrazer/openrazer-3.4.0.ebuild | 145 ++++++++++++++++++++++++++++++
3 files changed, 163 insertions(+)
diff --git a/sys-apps/openrazer/Manifest b/sys-apps/openrazer/Manifest
new file mode 100644
index 000000000000..d02859ca045f
--- /dev/null
+++ b/sys-apps/openrazer/Manifest
@@ -0,0 +1 @@
+DIST openrazer-3.4.0.tar.gz 233490 BLAKE2B dc5236e75b998c72c4ebc2420d2c5f3d996af19e87d91d4d76dca7098c6120a12b642c314eca037973f140e4679ab42d0f25ce5225bc97d9839468f8325de56b SHA512 ba9efb3ce2736365e453328e81683368df0ef894ac44ac79c7b34c5bd782b9394170a9528d58db954da880f18a5e72a3d84810ec11b5b34845eee7daa9babd22
diff --git a/sys-apps/openrazer/metadata.xml b/sys-apps/openrazer/metadata.xml
new file mode 100644
index 000000000000..a3d8bb939e9f
--- /dev/null
+++ b/sys-apps/openrazer/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+
+<pkgmetadata>
+ <maintainer type="person">
+ <email>xgqt@gentoo.org</email>
+ <name>Maciej Barć</name>
+ </maintainer>
+ <use>
+ <flag name="client">Build the OpenRazer daemon client</flag>
+ <flag name="daemon">Build the OpenRazer daemon service</flag>
+ </use>
+ <upstream>
+ <bugs-to>https://github.com/openrazer/openrazer/issues/</bugs-to>
+ <remote-id type="github">openrazer/openrazer</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/sys-apps/openrazer/openrazer-3.4.0.ebuild b/sys-apps/openrazer/openrazer-3.4.0.ebuild
new file mode 100644
index 000000000000..35081c80dc4b
--- /dev/null
+++ b/sys-apps/openrazer/openrazer-3.4.0.ebuild
@@ -0,0 +1,145 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit desktop systemd udev xdg-utils distutils-r1 python-r1 linux-mod
+
+DESCRIPTION="Drivers and user-space daemon to control Razer devices on GNU/Linux"
+HOMEPAGE="https://openrazer.github.io/
+ https://github.com/openrazer/openrazer/"
+SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz
+ -> ${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+IUSE="+client +daemon"
+REQUIRED_USE="
+ client? ( daemon )
+ daemon? ( ${PYTHON_REQUIRED_USE} )
+ test? ( daemon )
+"
+
+RDEPEND="
+ client? ( dev-python/numpy[${PYTHON_USEDEP}] )
+ daemon? (
+ acct-group/plugdev
+ dev-python/daemonize[${PYTHON_USEDEP}]
+ dev-python/dbus-python[${PYTHON_USEDEP}]
+ dev-python/notify2[${PYTHON_USEDEP}]
+ dev-python/pygobject:3[${PYTHON_USEDEP}]
+ dev-python/pyudev[${PYTHON_USEDEP}]
+ dev-python/setproctitle[${PYTHON_USEDEP}]
+ x11-libs/gtk+:3[introspection]
+ x11-misc/xautomation
+ x11-misc/xdotool
+ )
+"
+BDEPEND="
+ ${RDEPEND}
+ virtual/linux-sources
+"
+
+DOCS=( README.md )
+
+# This is a bit weird, but it's end result is what we want.
+BUILD_TARGETS="clean driver"
+BUILD_PARAMS="-C ${S} SUBDIRS=${S}/driver KERNELDIR=${KERNEL_DIR}"
+MODULE_NAMES="
+ razeraccessory(hid:${S}/driver)
+ razerkbd(hid:${S}/driver)
+ razerkraken(hid:${S}/driver)
+ razermouse(hid:${S}/driver)
+"
+
+distutils_enable_tests unittest
+
+python_compile() {
+ if use daemon ; then
+ ( cd "${S}"/daemon || die ; distutils-r1_python_compile )
+ fi
+ if use client ; then
+ ( cd "${S}"/pylib || die ; distutils-r1_python_compile )
+ fi
+}
+
+python_install() {
+ if use daemon ; then
+ ( cd "${S}"/daemon || die ; distutils-r1_python_install )
+ python_scriptinto /usr/bin
+ python_newscript "${S}"/daemon/run_openrazer_daemon.py ${PN}-daemon
+ fi
+ if use client ; then
+ ( cd "${S}"/pylib || die ; distutils-r1_python_install )
+ fi
+}
+
+src_prepare() {
+ xdg_environment_reset
+ distutils-r1_src_prepare
+
+ # Remove bad tests.
+ rm "${S}"/daemon/tests/test_effect_sync.py || die
+}
+
+src_compile() {
+ linux-mod_src_compile
+ distutils-r1_src_compile
+
+ if use daemon ; then
+ emake -C "${S}"/daemon PREFIX=/usr service
+ fi
+}
+
+src_test() {
+ ( cd "${S}"/daemon/tests || die ; distutils-r1_src_test )
+}
+
+src_install() {
+ linux-mod_src_install
+ distutils-r1_src_install
+
+ udev_dorules "${S}"/install_files/udev/99-razer.rules
+ exeinto "$(get_udevdir)"
+ doexe "${S}"/install_files/udev/razer_mount
+
+ # Install configuration example so that the daemon does not complain.
+ insinto /usr/share/${PN}
+ newins "${S}"/daemon/resources/razer.conf razer.conf.example
+
+ if use daemon ; then
+ # systemd units
+ systemd_dounit "${S}"/daemon/org.razer.service
+ systemd_dounit "${S}"/daemon/${PN}-daemon.service
+ # Manpages
+ doman "${S}"/daemon/resources/man/${PN}-daemon.8
+ doman "${S}"/daemon/resources/man/razer.conf.5
+ # Autostart menu
+ newicon logo/${PN}-chroma.svg ${PN}-daemon.svg
+ domenu "${S}"/install_files/desktop/${PN}-daemon.desktop
+ fi
+}
+
+pkg_postinst() {
+ linux-mod_pkg_postinst
+ udev_reload
+
+ if use daemon ; then
+ xdg_icon_cache_update
+ xdg_desktop_database_update
+ fi
+}
+
+pkg_postrm() {
+ linux-mod_pkg_postrm
+ udev_reload
+
+ if use daemon ; then
+ xdg_icon_cache_update
+ xdg_desktop_database_update
+ fi
+}
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-apps/openrazer/
@ 2022-09-21 12:19 Maciej Barć
0 siblings, 0 replies; 30+ messages in thread
From: Maciej Barć @ 2022-09-21 12:19 UTC (permalink / raw
To: gentoo-commits
commit: ac0a308e2cc557390fd5db85673c1bb4eced3b46
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 21 12:13:03 2022 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Wed Sep 21 12:19:25 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac0a308e
sys-apps/openrazer: print short OpenRazer setup info
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
.../{openrazer-3.4.0.ebuild => openrazer-3.4.0-r1.ebuild} | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/sys-apps/openrazer/openrazer-3.4.0.ebuild b/sys-apps/openrazer/openrazer-3.4.0-r1.ebuild
similarity index 90%
rename from sys-apps/openrazer/openrazer-3.4.0.ebuild
rename to sys-apps/openrazer/openrazer-3.4.0-r1.ebuild
index 35081c80dc4b..08687a20fd3b 100644
--- a/sys-apps/openrazer/openrazer-3.4.0.ebuild
+++ b/sys-apps/openrazer/openrazer-3.4.0-r1.ebuild
@@ -5,7 +5,7 @@ EAPI=8
PYTHON_COMPAT=( python3_{8..10} )
-inherit desktop systemd udev xdg-utils distutils-r1 python-r1 linux-mod
+inherit desktop readme.gentoo-r1 systemd udev xdg-utils distutils-r1 python-r1 linux-mod
DESCRIPTION="Drivers and user-space daemon to control Razer devices on GNU/Linux"
HOMEPAGE="https://openrazer.github.io/
@@ -46,7 +46,10 @@ BDEPEND="
DOCS=( README.md )
-# This is a bit weird, but it's end result is what we want.
+DOC_CONTENTS="To successfully use OpenRazer: load desired kernel module
+(razeraccessory, razerkbd, razerkraken and/or razermouse),
+add Your user to the \"plugdev\" group and start the \"openrazer-daemon\"."
+
BUILD_TARGETS="clean driver"
BUILD_PARAMS="-C ${S} SUBDIRS=${S}/driver KERNELDIR=${KERNEL_DIR}"
MODULE_NAMES="
@@ -93,6 +96,8 @@ src_compile() {
if use daemon ; then
emake -C "${S}"/daemon PREFIX=/usr service
fi
+
+ readme.gentoo_create_doc
}
src_test() {
@@ -132,6 +137,8 @@ pkg_postinst() {
xdg_icon_cache_update
xdg_desktop_database_update
fi
+
+ readme.gentoo_print_elog
}
pkg_postrm() {
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-apps/openrazer/
@ 2022-09-21 14:06 Maciej Barć
0 siblings, 0 replies; 30+ messages in thread
From: Maciej Barć @ 2022-09-21 14:06 UTC (permalink / raw
To: gentoo-commits
commit: 141629cdb614260029be3def0a7241e3b460bac3
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 21 13:47:13 2022 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Wed Sep 21 14:06:25 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=141629cd
sys-apps/openrazer: correct dbus and systemd directories
and do not install the autostart menu desktop file
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
...{openrazer-3.4.0-r1.ebuild => openrazer-3.4.0-r2.ebuild} | 13 ++++++-------
1 file changed, 6 insertions(+), 7 deletions(-)
diff --git a/sys-apps/openrazer/openrazer-3.4.0-r1.ebuild b/sys-apps/openrazer/openrazer-3.4.0-r2.ebuild
similarity index 90%
rename from sys-apps/openrazer/openrazer-3.4.0-r1.ebuild
rename to sys-apps/openrazer/openrazer-3.4.0-r2.ebuild
index 08687a20fd3b..1af09bba0ae3 100644
--- a/sys-apps/openrazer/openrazer-3.4.0-r1.ebuild
+++ b/sys-apps/openrazer/openrazer-3.4.0-r2.ebuild
@@ -5,7 +5,7 @@ EAPI=8
PYTHON_COMPAT=( python3_{8..10} )
-inherit desktop readme.gentoo-r1 systemd udev xdg-utils distutils-r1 python-r1 linux-mod
+inherit readme.gentoo-r1 systemd udev xdg-utils distutils-r1 python-r1 linux-mod
DESCRIPTION="Drivers and user-space daemon to control Razer devices on GNU/Linux"
HOMEPAGE="https://openrazer.github.io/
@@ -117,15 +117,14 @@ src_install() {
newins "${S}"/daemon/resources/razer.conf razer.conf.example
if use daemon ; then
- # systemd units
- systemd_dounit "${S}"/daemon/org.razer.service
- systemd_dounit "${S}"/daemon/${PN}-daemon.service
+ # dbus service
+ insinto /usr/share/dbus-1/services
+ doins "${S}"/daemon/org.razer.service
+ # systemd unit
+ systemd_douserunit "${S}"/daemon/${PN}-daemon.service
# Manpages
doman "${S}"/daemon/resources/man/${PN}-daemon.8
doman "${S}"/daemon/resources/man/razer.conf.5
- # Autostart menu
- newicon logo/${PN}-chroma.svg ${PN}-daemon.svg
- domenu "${S}"/install_files/desktop/${PN}-daemon.desktop
fi
}
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-apps/openrazer/
@ 2022-10-03 2:07 Maciej Barć
0 siblings, 0 replies; 30+ messages in thread
From: Maciej Barć @ 2022-10-03 2:07 UTC (permalink / raw
To: gentoo-commits
commit: 7e49a1d4eb1c914508de2b83c0e979b5008aedc9
Author: Your Name <you <AT> example <DOT> com>
AuthorDate: Mon Oct 3 01:02:04 2022 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Mon Oct 3 02:07:17 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e49a1d4
sys-apps/openrazer: install openrazer-daemon.desktop
Signed-off-by: Steffen Winter <steffen.winter <AT> proton.me>
Closes: https://github.com/gentoo/gentoo/pull/27509
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
.../{openrazer-3.4.0-r2.ebuild => openrazer-3.4.0-r3.ebuild} | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/sys-apps/openrazer/openrazer-3.4.0-r2.ebuild b/sys-apps/openrazer/openrazer-3.4.0-r3.ebuild
similarity index 90%
rename from sys-apps/openrazer/openrazer-3.4.0-r2.ebuild
rename to sys-apps/openrazer/openrazer-3.4.0-r3.ebuild
index 1af09bba0ae3..7b19f04fe4bf 100644
--- a/sys-apps/openrazer/openrazer-3.4.0-r2.ebuild
+++ b/sys-apps/openrazer/openrazer-3.4.0-r3.ebuild
@@ -48,7 +48,10 @@ DOCS=( README.md )
DOC_CONTENTS="To successfully use OpenRazer: load desired kernel module
(razeraccessory, razerkbd, razerkraken and/or razermouse),
-add Your user to the \"plugdev\" group and start the \"openrazer-daemon\"."
+add your user to the \"plugdev\" group and start the OpenRazer daemon.
+To automatically start up the OpenRazer daemon on session login copy
+/usr/share/openrazer/openrazer-daemon.desktop file into Your user's
+~/.config/autostart/ directory."
BUILD_TARGETS="clean driver"
BUILD_PARAMS="-C ${S} SUBDIRS=${S}/driver KERNELDIR=${KERNEL_DIR}"
@@ -120,8 +123,14 @@ src_install() {
# dbus service
insinto /usr/share/dbus-1/services
doins "${S}"/daemon/org.razer.service
+
# systemd unit
systemd_douserunit "${S}"/daemon/${PN}-daemon.service
+
+ # xdg autostart example file
+ insinto /usr/share/${PN}
+ doins "${S}"/install_files/desktop/openrazer-daemon.desktop
+
# Manpages
doman "${S}"/daemon/resources/man/${PN}-daemon.8
doman "${S}"/daemon/resources/man/razer.conf.5
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-apps/openrazer/
@ 2022-11-20 15:47 Maciej Barć
0 siblings, 0 replies; 30+ messages in thread
From: Maciej Barć @ 2022-11-20 15:47 UTC (permalink / raw
To: gentoo-commits
commit: 686ec8c1f65ed93623d64941293a53491ad782b6
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 20 15:20:12 2022 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sun Nov 20 15:47:57 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=686ec8c1
sys-apps/openrazer: bump to 3.5.0
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
sys-apps/openrazer/Manifest | 1 +
sys-apps/openrazer/openrazer-3.5.0.ebuild | 160 ++++++++++++++++++++++++++++++
2 files changed, 161 insertions(+)
diff --git a/sys-apps/openrazer/Manifest b/sys-apps/openrazer/Manifest
index d02859ca045f..4f9366820557 100644
--- a/sys-apps/openrazer/Manifest
+++ b/sys-apps/openrazer/Manifest
@@ -1 +1,2 @@
DIST openrazer-3.4.0.tar.gz 233490 BLAKE2B dc5236e75b998c72c4ebc2420d2c5f3d996af19e87d91d4d76dca7098c6120a12b642c314eca037973f140e4679ab42d0f25ce5225bc97d9839468f8325de56b SHA512 ba9efb3ce2736365e453328e81683368df0ef894ac44ac79c7b34c5bd782b9394170a9528d58db954da880f18a5e72a3d84810ec11b5b34845eee7daa9babd22
+DIST openrazer-3.5.0.tar.gz 240079 BLAKE2B ac4565e01b7f8b4474d4cc2d64956dfce71a5ec96b1be1cec7d7418094d353d8156ea8ab30c7f87ccddb1fa92f18767e67ce931a4b58c7d248873bf6e86c1dbc SHA512 e7fb1b056777a779978f42739cf486e17dcf64024e612b270960981cf0a03b75de0e880497842a7c90b6e7727fd3cd35d4704e9abbe7a9f764957b0949a699ea
diff --git a/sys-apps/openrazer/openrazer-3.5.0.ebuild b/sys-apps/openrazer/openrazer-3.5.0.ebuild
new file mode 100644
index 000000000000..7b19f04fe4bf
--- /dev/null
+++ b/sys-apps/openrazer/openrazer-3.5.0.ebuild
@@ -0,0 +1,160 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit readme.gentoo-r1 systemd udev xdg-utils distutils-r1 python-r1 linux-mod
+
+DESCRIPTION="Drivers and user-space daemon to control Razer devices on GNU/Linux"
+HOMEPAGE="https://openrazer.github.io/
+ https://github.com/openrazer/openrazer/"
+SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz
+ -> ${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+IUSE="+client +daemon"
+REQUIRED_USE="
+ client? ( daemon )
+ daemon? ( ${PYTHON_REQUIRED_USE} )
+ test? ( daemon )
+"
+
+RDEPEND="
+ client? ( dev-python/numpy[${PYTHON_USEDEP}] )
+ daemon? (
+ acct-group/plugdev
+ dev-python/daemonize[${PYTHON_USEDEP}]
+ dev-python/dbus-python[${PYTHON_USEDEP}]
+ dev-python/notify2[${PYTHON_USEDEP}]
+ dev-python/pygobject:3[${PYTHON_USEDEP}]
+ dev-python/pyudev[${PYTHON_USEDEP}]
+ dev-python/setproctitle[${PYTHON_USEDEP}]
+ x11-libs/gtk+:3[introspection]
+ x11-misc/xautomation
+ x11-misc/xdotool
+ )
+"
+BDEPEND="
+ ${RDEPEND}
+ virtual/linux-sources
+"
+
+DOCS=( README.md )
+
+DOC_CONTENTS="To successfully use OpenRazer: load desired kernel module
+(razeraccessory, razerkbd, razerkraken and/or razermouse),
+add your user to the \"plugdev\" group and start the OpenRazer daemon.
+To automatically start up the OpenRazer daemon on session login copy
+/usr/share/openrazer/openrazer-daemon.desktop file into Your user's
+~/.config/autostart/ directory."
+
+BUILD_TARGETS="clean driver"
+BUILD_PARAMS="-C ${S} SUBDIRS=${S}/driver KERNELDIR=${KERNEL_DIR}"
+MODULE_NAMES="
+ razeraccessory(hid:${S}/driver)
+ razerkbd(hid:${S}/driver)
+ razerkraken(hid:${S}/driver)
+ razermouse(hid:${S}/driver)
+"
+
+distutils_enable_tests unittest
+
+python_compile() {
+ if use daemon ; then
+ ( cd "${S}"/daemon || die ; distutils-r1_python_compile )
+ fi
+ if use client ; then
+ ( cd "${S}"/pylib || die ; distutils-r1_python_compile )
+ fi
+}
+
+python_install() {
+ if use daemon ; then
+ ( cd "${S}"/daemon || die ; distutils-r1_python_install )
+ python_scriptinto /usr/bin
+ python_newscript "${S}"/daemon/run_openrazer_daemon.py ${PN}-daemon
+ fi
+ if use client ; then
+ ( cd "${S}"/pylib || die ; distutils-r1_python_install )
+ fi
+}
+
+src_prepare() {
+ xdg_environment_reset
+ distutils-r1_src_prepare
+
+ # Remove bad tests.
+ rm "${S}"/daemon/tests/test_effect_sync.py || die
+}
+
+src_compile() {
+ linux-mod_src_compile
+ distutils-r1_src_compile
+
+ if use daemon ; then
+ emake -C "${S}"/daemon PREFIX=/usr service
+ fi
+
+ readme.gentoo_create_doc
+}
+
+src_test() {
+ ( cd "${S}"/daemon/tests || die ; distutils-r1_src_test )
+}
+
+src_install() {
+ linux-mod_src_install
+ distutils-r1_src_install
+
+ udev_dorules "${S}"/install_files/udev/99-razer.rules
+ exeinto "$(get_udevdir)"
+ doexe "${S}"/install_files/udev/razer_mount
+
+ # Install configuration example so that the daemon does not complain.
+ insinto /usr/share/${PN}
+ newins "${S}"/daemon/resources/razer.conf razer.conf.example
+
+ if use daemon ; then
+ # dbus service
+ insinto /usr/share/dbus-1/services
+ doins "${S}"/daemon/org.razer.service
+
+ # systemd unit
+ systemd_douserunit "${S}"/daemon/${PN}-daemon.service
+
+ # xdg autostart example file
+ insinto /usr/share/${PN}
+ doins "${S}"/install_files/desktop/openrazer-daemon.desktop
+
+ # Manpages
+ doman "${S}"/daemon/resources/man/${PN}-daemon.8
+ doman "${S}"/daemon/resources/man/razer.conf.5
+ fi
+}
+
+pkg_postinst() {
+ linux-mod_pkg_postinst
+ udev_reload
+
+ if use daemon ; then
+ xdg_icon_cache_update
+ xdg_desktop_database_update
+ fi
+
+ readme.gentoo_print_elog
+}
+
+pkg_postrm() {
+ linux-mod_pkg_postrm
+ udev_reload
+
+ if use daemon ; then
+ xdg_icon_cache_update
+ xdg_desktop_database_update
+ fi
+}
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-apps/openrazer/
@ 2022-12-04 12:25 Maciej Barć
0 siblings, 0 replies; 30+ messages in thread
From: Maciej Barć @ 2022-12-04 12:25 UTC (permalink / raw
To: gentoo-commits
commit: f24736e9f04e6a0b45b323f955c1170a969a8f88
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 4 12:09:49 2022 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sun Dec 4 12:25:02 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f24736e9
sys-apps/openrazer: bump to 3.5.1
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
sys-apps/openrazer/Manifest | 1 +
sys-apps/openrazer/openrazer-3.5.1.ebuild | 160 ++++++++++++++++++++++++++++++
2 files changed, 161 insertions(+)
diff --git a/sys-apps/openrazer/Manifest b/sys-apps/openrazer/Manifest
index 4f9366820557..3ee4ef472e88 100644
--- a/sys-apps/openrazer/Manifest
+++ b/sys-apps/openrazer/Manifest
@@ -1,2 +1,3 @@
DIST openrazer-3.4.0.tar.gz 233490 BLAKE2B dc5236e75b998c72c4ebc2420d2c5f3d996af19e87d91d4d76dca7098c6120a12b642c314eca037973f140e4679ab42d0f25ce5225bc97d9839468f8325de56b SHA512 ba9efb3ce2736365e453328e81683368df0ef894ac44ac79c7b34c5bd782b9394170a9528d58db954da880f18a5e72a3d84810ec11b5b34845eee7daa9babd22
DIST openrazer-3.5.0.tar.gz 240079 BLAKE2B ac4565e01b7f8b4474d4cc2d64956dfce71a5ec96b1be1cec7d7418094d353d8156ea8ab30c7f87ccddb1fa92f18767e67ce931a4b58c7d248873bf6e86c1dbc SHA512 e7fb1b056777a779978f42739cf486e17dcf64024e612b270960981cf0a03b75de0e880497842a7c90b6e7727fd3cd35d4704e9abbe7a9f764957b0949a699ea
+DIST openrazer-3.5.1.tar.gz 240254 BLAKE2B 7f6b887c22c81c8cd3d7908f94748879aa4c89f6446e073aeaed0d33f8d58bd7b618768a9915a451d6659c0cdf428b52e055641420553a00f2cf41b0a9737487 SHA512 dc32f040f4b9ecbefbd2b4afc34edcc97fbda16f6dd9a64ed61d637233ea5d0e6f046685837635a177d3cab8506224c973ea26972a6ea7cc20d7bcce60065e39
diff --git a/sys-apps/openrazer/openrazer-3.5.1.ebuild b/sys-apps/openrazer/openrazer-3.5.1.ebuild
new file mode 100644
index 000000000000..7b19f04fe4bf
--- /dev/null
+++ b/sys-apps/openrazer/openrazer-3.5.1.ebuild
@@ -0,0 +1,160 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit readme.gentoo-r1 systemd udev xdg-utils distutils-r1 python-r1 linux-mod
+
+DESCRIPTION="Drivers and user-space daemon to control Razer devices on GNU/Linux"
+HOMEPAGE="https://openrazer.github.io/
+ https://github.com/openrazer/openrazer/"
+SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz
+ -> ${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+IUSE="+client +daemon"
+REQUIRED_USE="
+ client? ( daemon )
+ daemon? ( ${PYTHON_REQUIRED_USE} )
+ test? ( daemon )
+"
+
+RDEPEND="
+ client? ( dev-python/numpy[${PYTHON_USEDEP}] )
+ daemon? (
+ acct-group/plugdev
+ dev-python/daemonize[${PYTHON_USEDEP}]
+ dev-python/dbus-python[${PYTHON_USEDEP}]
+ dev-python/notify2[${PYTHON_USEDEP}]
+ dev-python/pygobject:3[${PYTHON_USEDEP}]
+ dev-python/pyudev[${PYTHON_USEDEP}]
+ dev-python/setproctitle[${PYTHON_USEDEP}]
+ x11-libs/gtk+:3[introspection]
+ x11-misc/xautomation
+ x11-misc/xdotool
+ )
+"
+BDEPEND="
+ ${RDEPEND}
+ virtual/linux-sources
+"
+
+DOCS=( README.md )
+
+DOC_CONTENTS="To successfully use OpenRazer: load desired kernel module
+(razeraccessory, razerkbd, razerkraken and/or razermouse),
+add your user to the \"plugdev\" group and start the OpenRazer daemon.
+To automatically start up the OpenRazer daemon on session login copy
+/usr/share/openrazer/openrazer-daemon.desktop file into Your user's
+~/.config/autostart/ directory."
+
+BUILD_TARGETS="clean driver"
+BUILD_PARAMS="-C ${S} SUBDIRS=${S}/driver KERNELDIR=${KERNEL_DIR}"
+MODULE_NAMES="
+ razeraccessory(hid:${S}/driver)
+ razerkbd(hid:${S}/driver)
+ razerkraken(hid:${S}/driver)
+ razermouse(hid:${S}/driver)
+"
+
+distutils_enable_tests unittest
+
+python_compile() {
+ if use daemon ; then
+ ( cd "${S}"/daemon || die ; distutils-r1_python_compile )
+ fi
+ if use client ; then
+ ( cd "${S}"/pylib || die ; distutils-r1_python_compile )
+ fi
+}
+
+python_install() {
+ if use daemon ; then
+ ( cd "${S}"/daemon || die ; distutils-r1_python_install )
+ python_scriptinto /usr/bin
+ python_newscript "${S}"/daemon/run_openrazer_daemon.py ${PN}-daemon
+ fi
+ if use client ; then
+ ( cd "${S}"/pylib || die ; distutils-r1_python_install )
+ fi
+}
+
+src_prepare() {
+ xdg_environment_reset
+ distutils-r1_src_prepare
+
+ # Remove bad tests.
+ rm "${S}"/daemon/tests/test_effect_sync.py || die
+}
+
+src_compile() {
+ linux-mod_src_compile
+ distutils-r1_src_compile
+
+ if use daemon ; then
+ emake -C "${S}"/daemon PREFIX=/usr service
+ fi
+
+ readme.gentoo_create_doc
+}
+
+src_test() {
+ ( cd "${S}"/daemon/tests || die ; distutils-r1_src_test )
+}
+
+src_install() {
+ linux-mod_src_install
+ distutils-r1_src_install
+
+ udev_dorules "${S}"/install_files/udev/99-razer.rules
+ exeinto "$(get_udevdir)"
+ doexe "${S}"/install_files/udev/razer_mount
+
+ # Install configuration example so that the daemon does not complain.
+ insinto /usr/share/${PN}
+ newins "${S}"/daemon/resources/razer.conf razer.conf.example
+
+ if use daemon ; then
+ # dbus service
+ insinto /usr/share/dbus-1/services
+ doins "${S}"/daemon/org.razer.service
+
+ # systemd unit
+ systemd_douserunit "${S}"/daemon/${PN}-daemon.service
+
+ # xdg autostart example file
+ insinto /usr/share/${PN}
+ doins "${S}"/install_files/desktop/openrazer-daemon.desktop
+
+ # Manpages
+ doman "${S}"/daemon/resources/man/${PN}-daemon.8
+ doman "${S}"/daemon/resources/man/razer.conf.5
+ fi
+}
+
+pkg_postinst() {
+ linux-mod_pkg_postinst
+ udev_reload
+
+ if use daemon ; then
+ xdg_icon_cache_update
+ xdg_desktop_database_update
+ fi
+
+ readme.gentoo_print_elog
+}
+
+pkg_postrm() {
+ linux-mod_pkg_postrm
+ udev_reload
+
+ if use daemon ; then
+ xdg_icon_cache_update
+ xdg_desktop_database_update
+ fi
+}
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-apps/openrazer/
@ 2022-12-08 2:50 Maciej Barć
0 siblings, 0 replies; 30+ messages in thread
From: Maciej Barć @ 2022-12-08 2:50 UTC (permalink / raw
To: gentoo-commits
commit: 37844ccfa07b3fd7b083c23241679a51e03ba143
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 8 02:49:35 2022 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Thu Dec 8 02:50:11 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37844ccf
sys-apps/openrazer: drop old vulnerable versions
Bug: https://bugs.gentoo.org/884801
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
sys-apps/openrazer/Manifest | 2 -
sys-apps/openrazer/openrazer-3.4.0-r3.ebuild | 160 ---------------------------
sys-apps/openrazer/openrazer-3.5.0.ebuild | 160 ---------------------------
3 files changed, 322 deletions(-)
diff --git a/sys-apps/openrazer/Manifest b/sys-apps/openrazer/Manifest
index 3ee4ef472e88..8465e776d599 100644
--- a/sys-apps/openrazer/Manifest
+++ b/sys-apps/openrazer/Manifest
@@ -1,3 +1 @@
-DIST openrazer-3.4.0.tar.gz 233490 BLAKE2B dc5236e75b998c72c4ebc2420d2c5f3d996af19e87d91d4d76dca7098c6120a12b642c314eca037973f140e4679ab42d0f25ce5225bc97d9839468f8325de56b SHA512 ba9efb3ce2736365e453328e81683368df0ef894ac44ac79c7b34c5bd782b9394170a9528d58db954da880f18a5e72a3d84810ec11b5b34845eee7daa9babd22
-DIST openrazer-3.5.0.tar.gz 240079 BLAKE2B ac4565e01b7f8b4474d4cc2d64956dfce71a5ec96b1be1cec7d7418094d353d8156ea8ab30c7f87ccddb1fa92f18767e67ce931a4b58c7d248873bf6e86c1dbc SHA512 e7fb1b056777a779978f42739cf486e17dcf64024e612b270960981cf0a03b75de0e880497842a7c90b6e7727fd3cd35d4704e9abbe7a9f764957b0949a699ea
DIST openrazer-3.5.1.tar.gz 240254 BLAKE2B 7f6b887c22c81c8cd3d7908f94748879aa4c89f6446e073aeaed0d33f8d58bd7b618768a9915a451d6659c0cdf428b52e055641420553a00f2cf41b0a9737487 SHA512 dc32f040f4b9ecbefbd2b4afc34edcc97fbda16f6dd9a64ed61d637233ea5d0e6f046685837635a177d3cab8506224c973ea26972a6ea7cc20d7bcce60065e39
diff --git a/sys-apps/openrazer/openrazer-3.4.0-r3.ebuild b/sys-apps/openrazer/openrazer-3.4.0-r3.ebuild
deleted file mode 100644
index 7b19f04fe4bf..000000000000
--- a/sys-apps/openrazer/openrazer-3.4.0-r3.ebuild
+++ /dev/null
@@ -1,160 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{8..10} )
-
-inherit readme.gentoo-r1 systemd udev xdg-utils distutils-r1 python-r1 linux-mod
-
-DESCRIPTION="Drivers and user-space daemon to control Razer devices on GNU/Linux"
-HOMEPAGE="https://openrazer.github.io/
- https://github.com/openrazer/openrazer/"
-SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz
- -> ${P}.tar.gz"
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-IUSE="+client +daemon"
-REQUIRED_USE="
- client? ( daemon )
- daemon? ( ${PYTHON_REQUIRED_USE} )
- test? ( daemon )
-"
-
-RDEPEND="
- client? ( dev-python/numpy[${PYTHON_USEDEP}] )
- daemon? (
- acct-group/plugdev
- dev-python/daemonize[${PYTHON_USEDEP}]
- dev-python/dbus-python[${PYTHON_USEDEP}]
- dev-python/notify2[${PYTHON_USEDEP}]
- dev-python/pygobject:3[${PYTHON_USEDEP}]
- dev-python/pyudev[${PYTHON_USEDEP}]
- dev-python/setproctitle[${PYTHON_USEDEP}]
- x11-libs/gtk+:3[introspection]
- x11-misc/xautomation
- x11-misc/xdotool
- )
-"
-BDEPEND="
- ${RDEPEND}
- virtual/linux-sources
-"
-
-DOCS=( README.md )
-
-DOC_CONTENTS="To successfully use OpenRazer: load desired kernel module
-(razeraccessory, razerkbd, razerkraken and/or razermouse),
-add your user to the \"plugdev\" group and start the OpenRazer daemon.
-To automatically start up the OpenRazer daemon on session login copy
-/usr/share/openrazer/openrazer-daemon.desktop file into Your user's
-~/.config/autostart/ directory."
-
-BUILD_TARGETS="clean driver"
-BUILD_PARAMS="-C ${S} SUBDIRS=${S}/driver KERNELDIR=${KERNEL_DIR}"
-MODULE_NAMES="
- razeraccessory(hid:${S}/driver)
- razerkbd(hid:${S}/driver)
- razerkraken(hid:${S}/driver)
- razermouse(hid:${S}/driver)
-"
-
-distutils_enable_tests unittest
-
-python_compile() {
- if use daemon ; then
- ( cd "${S}"/daemon || die ; distutils-r1_python_compile )
- fi
- if use client ; then
- ( cd "${S}"/pylib || die ; distutils-r1_python_compile )
- fi
-}
-
-python_install() {
- if use daemon ; then
- ( cd "${S}"/daemon || die ; distutils-r1_python_install )
- python_scriptinto /usr/bin
- python_newscript "${S}"/daemon/run_openrazer_daemon.py ${PN}-daemon
- fi
- if use client ; then
- ( cd "${S}"/pylib || die ; distutils-r1_python_install )
- fi
-}
-
-src_prepare() {
- xdg_environment_reset
- distutils-r1_src_prepare
-
- # Remove bad tests.
- rm "${S}"/daemon/tests/test_effect_sync.py || die
-}
-
-src_compile() {
- linux-mod_src_compile
- distutils-r1_src_compile
-
- if use daemon ; then
- emake -C "${S}"/daemon PREFIX=/usr service
- fi
-
- readme.gentoo_create_doc
-}
-
-src_test() {
- ( cd "${S}"/daemon/tests || die ; distutils-r1_src_test )
-}
-
-src_install() {
- linux-mod_src_install
- distutils-r1_src_install
-
- udev_dorules "${S}"/install_files/udev/99-razer.rules
- exeinto "$(get_udevdir)"
- doexe "${S}"/install_files/udev/razer_mount
-
- # Install configuration example so that the daemon does not complain.
- insinto /usr/share/${PN}
- newins "${S}"/daemon/resources/razer.conf razer.conf.example
-
- if use daemon ; then
- # dbus service
- insinto /usr/share/dbus-1/services
- doins "${S}"/daemon/org.razer.service
-
- # systemd unit
- systemd_douserunit "${S}"/daemon/${PN}-daemon.service
-
- # xdg autostart example file
- insinto /usr/share/${PN}
- doins "${S}"/install_files/desktop/openrazer-daemon.desktop
-
- # Manpages
- doman "${S}"/daemon/resources/man/${PN}-daemon.8
- doman "${S}"/daemon/resources/man/razer.conf.5
- fi
-}
-
-pkg_postinst() {
- linux-mod_pkg_postinst
- udev_reload
-
- if use daemon ; then
- xdg_icon_cache_update
- xdg_desktop_database_update
- fi
-
- readme.gentoo_print_elog
-}
-
-pkg_postrm() {
- linux-mod_pkg_postrm
- udev_reload
-
- if use daemon ; then
- xdg_icon_cache_update
- xdg_desktop_database_update
- fi
-}
diff --git a/sys-apps/openrazer/openrazer-3.5.0.ebuild b/sys-apps/openrazer/openrazer-3.5.0.ebuild
deleted file mode 100644
index 7b19f04fe4bf..000000000000
--- a/sys-apps/openrazer/openrazer-3.5.0.ebuild
+++ /dev/null
@@ -1,160 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{8..10} )
-
-inherit readme.gentoo-r1 systemd udev xdg-utils distutils-r1 python-r1 linux-mod
-
-DESCRIPTION="Drivers and user-space daemon to control Razer devices on GNU/Linux"
-HOMEPAGE="https://openrazer.github.io/
- https://github.com/openrazer/openrazer/"
-SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz
- -> ${P}.tar.gz"
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-IUSE="+client +daemon"
-REQUIRED_USE="
- client? ( daemon )
- daemon? ( ${PYTHON_REQUIRED_USE} )
- test? ( daemon )
-"
-
-RDEPEND="
- client? ( dev-python/numpy[${PYTHON_USEDEP}] )
- daemon? (
- acct-group/plugdev
- dev-python/daemonize[${PYTHON_USEDEP}]
- dev-python/dbus-python[${PYTHON_USEDEP}]
- dev-python/notify2[${PYTHON_USEDEP}]
- dev-python/pygobject:3[${PYTHON_USEDEP}]
- dev-python/pyudev[${PYTHON_USEDEP}]
- dev-python/setproctitle[${PYTHON_USEDEP}]
- x11-libs/gtk+:3[introspection]
- x11-misc/xautomation
- x11-misc/xdotool
- )
-"
-BDEPEND="
- ${RDEPEND}
- virtual/linux-sources
-"
-
-DOCS=( README.md )
-
-DOC_CONTENTS="To successfully use OpenRazer: load desired kernel module
-(razeraccessory, razerkbd, razerkraken and/or razermouse),
-add your user to the \"plugdev\" group and start the OpenRazer daemon.
-To automatically start up the OpenRazer daemon on session login copy
-/usr/share/openrazer/openrazer-daemon.desktop file into Your user's
-~/.config/autostart/ directory."
-
-BUILD_TARGETS="clean driver"
-BUILD_PARAMS="-C ${S} SUBDIRS=${S}/driver KERNELDIR=${KERNEL_DIR}"
-MODULE_NAMES="
- razeraccessory(hid:${S}/driver)
- razerkbd(hid:${S}/driver)
- razerkraken(hid:${S}/driver)
- razermouse(hid:${S}/driver)
-"
-
-distutils_enable_tests unittest
-
-python_compile() {
- if use daemon ; then
- ( cd "${S}"/daemon || die ; distutils-r1_python_compile )
- fi
- if use client ; then
- ( cd "${S}"/pylib || die ; distutils-r1_python_compile )
- fi
-}
-
-python_install() {
- if use daemon ; then
- ( cd "${S}"/daemon || die ; distutils-r1_python_install )
- python_scriptinto /usr/bin
- python_newscript "${S}"/daemon/run_openrazer_daemon.py ${PN}-daemon
- fi
- if use client ; then
- ( cd "${S}"/pylib || die ; distutils-r1_python_install )
- fi
-}
-
-src_prepare() {
- xdg_environment_reset
- distutils-r1_src_prepare
-
- # Remove bad tests.
- rm "${S}"/daemon/tests/test_effect_sync.py || die
-}
-
-src_compile() {
- linux-mod_src_compile
- distutils-r1_src_compile
-
- if use daemon ; then
- emake -C "${S}"/daemon PREFIX=/usr service
- fi
-
- readme.gentoo_create_doc
-}
-
-src_test() {
- ( cd "${S}"/daemon/tests || die ; distutils-r1_src_test )
-}
-
-src_install() {
- linux-mod_src_install
- distutils-r1_src_install
-
- udev_dorules "${S}"/install_files/udev/99-razer.rules
- exeinto "$(get_udevdir)"
- doexe "${S}"/install_files/udev/razer_mount
-
- # Install configuration example so that the daemon does not complain.
- insinto /usr/share/${PN}
- newins "${S}"/daemon/resources/razer.conf razer.conf.example
-
- if use daemon ; then
- # dbus service
- insinto /usr/share/dbus-1/services
- doins "${S}"/daemon/org.razer.service
-
- # systemd unit
- systemd_douserunit "${S}"/daemon/${PN}-daemon.service
-
- # xdg autostart example file
- insinto /usr/share/${PN}
- doins "${S}"/install_files/desktop/openrazer-daemon.desktop
-
- # Manpages
- doman "${S}"/daemon/resources/man/${PN}-daemon.8
- doman "${S}"/daemon/resources/man/razer.conf.5
- fi
-}
-
-pkg_postinst() {
- linux-mod_pkg_postinst
- udev_reload
-
- if use daemon ; then
- xdg_icon_cache_update
- xdg_desktop_database_update
- fi
-
- readme.gentoo_print_elog
-}
-
-pkg_postrm() {
- linux-mod_pkg_postrm
- udev_reload
-
- if use daemon ; then
- xdg_icon_cache_update
- xdg_desktop_database_update
- fi
-}
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-apps/openrazer/
@ 2023-01-16 1:57 Maciej Barć
0 siblings, 0 replies; 30+ messages in thread
From: Maciej Barć @ 2023-01-16 1:57 UTC (permalink / raw
To: gentoo-commits
commit: 5164b6253805d136e93bd55b5a53acaae5d77da5
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 16 01:37:28 2023 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Mon Jan 16 01:57:06 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5164b625
sys-apps/openrazer: enable python 3.11
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
sys-apps/openrazer/openrazer-3.5.1.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sys-apps/openrazer/openrazer-3.5.1.ebuild b/sys-apps/openrazer/openrazer-3.5.1.ebuild
index 14c2ecf82203..754d171d5932 100644
--- a/sys-apps/openrazer/openrazer-3.5.1.ebuild
+++ b/sys-apps/openrazer/openrazer-3.5.1.ebuild
@@ -3,9 +3,9 @@
EAPI=8
-PYTHON_COMPAT=( python3_{9..10} )
+PYTHON_COMPAT=( python3_{9..11} )
-inherit readme.gentoo-r1 systemd udev xdg-utils distutils-r1 python-r1 linux-mod
+inherit readme.gentoo-r1 systemd udev xdg-utils distutils-r1 linux-mod
DESCRIPTION="Drivers and user-space daemon to control Razer devices on GNU/Linux"
HOMEPAGE="https://openrazer.github.io/
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-apps/openrazer/
@ 2023-01-21 9:26 Arthur Zamarin
0 siblings, 0 replies; 30+ messages in thread
From: Arthur Zamarin @ 2023-01-21 9:26 UTC (permalink / raw
To: gentoo-commits
commit: 4190451522f14c636db86c8a635ca916c9d069c9
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 21 09:26:05 2023 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Jan 21 09:26:05 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41904515
sys-apps/openrazer: Stabilize 3.5.1 amd64, #891563
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
sys-apps/openrazer/openrazer-3.5.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys-apps/openrazer/openrazer-3.5.1.ebuild b/sys-apps/openrazer/openrazer-3.5.1.ebuild
index 754d171d5932..1c4a836bb8ba 100644
--- a/sys-apps/openrazer/openrazer-3.5.1.ebuild
+++ b/sys-apps/openrazer/openrazer-3.5.1.ebuild
@@ -15,7 +15,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz
LICENSE="GPL-2+"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
IUSE="+client +daemon"
REQUIRED_USE="
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-apps/openrazer/
@ 2023-05-01 17:47 Maciej Barć
0 siblings, 0 replies; 30+ messages in thread
From: Maciej Barć @ 2023-05-01 17:47 UTC (permalink / raw
To: gentoo-commits
commit: 2599ada83062ba361da3f5177ecfa4d98fac0cd7
Author: Peter Kaukov <peter <AT> kaukov <DOT> dev>
AuthorDate: Mon May 1 12:54:38 2023 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Mon May 1 17:47:01 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2599ada8
sys-apps/openrazer: add 3.6.0
Signed-off-by: Peter Kaukov <peter <AT> kaukov.dev>
Closes: https://github.com/gentoo/gentoo/pull/30822
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
sys-apps/openrazer/Manifest | 1 +
sys-apps/openrazer/openrazer-3.6.0.ebuild | 160 ++++++++++++++++++++++++++++++
2 files changed, 161 insertions(+)
diff --git a/sys-apps/openrazer/Manifest b/sys-apps/openrazer/Manifest
index 8465e776d599..ec8d1e387fb4 100644
--- a/sys-apps/openrazer/Manifest
+++ b/sys-apps/openrazer/Manifest
@@ -1 +1,2 @@
DIST openrazer-3.5.1.tar.gz 240254 BLAKE2B 7f6b887c22c81c8cd3d7908f94748879aa4c89f6446e073aeaed0d33f8d58bd7b618768a9915a451d6659c0cdf428b52e055641420553a00f2cf41b0a9737487 SHA512 dc32f040f4b9ecbefbd2b4afc34edcc97fbda16f6dd9a64ed61d637233ea5d0e6f046685837635a177d3cab8506224c973ea26972a6ea7cc20d7bcce60065e39
+DIST openrazer-3.6.0.tar.gz 243924 BLAKE2B 7b782990cf5afedb88adafe310bcba6512ff8009cee6bbf8e005f4780c711ccc724cacc3056f471002268c61e6d3bfce0ba6b5c72e502ad83b954c45f70b521a SHA512 fb08a8a38ce582099e6c1a98df73aacf9dd437beb4be9cc0e7e3e14f4da6e53de90058a8cc22daeda0bbcfe111b2bc5a38c0503e0020239d44dae2f199219695
diff --git a/sys-apps/openrazer/openrazer-3.6.0.ebuild b/sys-apps/openrazer/openrazer-3.6.0.ebuild
new file mode 100644
index 000000000000..754d171d5932
--- /dev/null
+++ b/sys-apps/openrazer/openrazer-3.6.0.ebuild
@@ -0,0 +1,160 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..11} )
+
+inherit readme.gentoo-r1 systemd udev xdg-utils distutils-r1 linux-mod
+
+DESCRIPTION="Drivers and user-space daemon to control Razer devices on GNU/Linux"
+HOMEPAGE="https://openrazer.github.io/
+ https://github.com/openrazer/openrazer/"
+SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz
+ -> ${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+IUSE="+client +daemon"
+REQUIRED_USE="
+ client? ( daemon )
+ daemon? ( ${PYTHON_REQUIRED_USE} )
+ test? ( daemon )
+"
+
+RDEPEND="
+ client? ( dev-python/numpy[${PYTHON_USEDEP}] )
+ daemon? (
+ acct-group/plugdev
+ dev-python/daemonize[${PYTHON_USEDEP}]
+ dev-python/dbus-python[${PYTHON_USEDEP}]
+ dev-python/notify2[${PYTHON_USEDEP}]
+ dev-python/pygobject:3[${PYTHON_USEDEP}]
+ dev-python/pyudev[${PYTHON_USEDEP}]
+ dev-python/setproctitle[${PYTHON_USEDEP}]
+ x11-libs/gtk+:3[introspection]
+ x11-misc/xautomation
+ x11-misc/xdotool
+ )
+"
+BDEPEND="
+ ${RDEPEND}
+ virtual/linux-sources
+"
+
+DOCS=( README.md )
+
+DOC_CONTENTS="To successfully use OpenRazer: load desired kernel module
+(razeraccessory, razerkbd, razerkraken and/or razermouse),
+add your user to the \"plugdev\" group and start the OpenRazer daemon.
+To automatically start up the OpenRazer daemon on session login copy
+/usr/share/openrazer/openrazer-daemon.desktop file into Your user's
+~/.config/autostart/ directory."
+
+BUILD_TARGETS="clean driver"
+BUILD_PARAMS="-C ${S} SUBDIRS=${S}/driver KERNELDIR=${KERNEL_DIR}"
+MODULE_NAMES="
+ razeraccessory(hid:${S}/driver)
+ razerkbd(hid:${S}/driver)
+ razerkraken(hid:${S}/driver)
+ razermouse(hid:${S}/driver)
+"
+
+distutils_enable_tests unittest
+
+python_compile() {
+ if use daemon ; then
+ ( cd "${S}"/daemon || die ; distutils-r1_python_compile )
+ fi
+ if use client ; then
+ ( cd "${S}"/pylib || die ; distutils-r1_python_compile )
+ fi
+}
+
+python_install() {
+ if use daemon ; then
+ ( cd "${S}"/daemon || die ; distutils-r1_python_install )
+ python_scriptinto /usr/bin
+ python_newscript "${S}"/daemon/run_openrazer_daemon.py ${PN}-daemon
+ fi
+ if use client ; then
+ ( cd "${S}"/pylib || die ; distutils-r1_python_install )
+ fi
+}
+
+src_prepare() {
+ xdg_environment_reset
+ distutils-r1_src_prepare
+
+ # Remove bad tests.
+ rm "${S}"/daemon/tests/test_effect_sync.py || die
+}
+
+src_compile() {
+ linux-mod_src_compile
+ distutils-r1_src_compile
+
+ if use daemon ; then
+ emake -C "${S}"/daemon PREFIX=/usr service
+ fi
+
+ readme.gentoo_create_doc
+}
+
+src_test() {
+ ( cd "${S}"/daemon/tests || die ; distutils-r1_src_test )
+}
+
+src_install() {
+ linux-mod_src_install
+ distutils-r1_src_install
+
+ udev_dorules "${S}"/install_files/udev/99-razer.rules
+ exeinto "$(get_udevdir)"
+ doexe "${S}"/install_files/udev/razer_mount
+
+ # Install configuration example so that the daemon does not complain.
+ insinto /usr/share/${PN}
+ newins "${S}"/daemon/resources/razer.conf razer.conf.example
+
+ if use daemon ; then
+ # dbus service
+ insinto /usr/share/dbus-1/services
+ doins "${S}"/daemon/org.razer.service
+
+ # systemd unit
+ systemd_douserunit "${S}"/daemon/${PN}-daemon.service
+
+ # xdg autostart example file
+ insinto /usr/share/${PN}
+ doins "${S}"/install_files/desktop/openrazer-daemon.desktop
+
+ # Manpages
+ doman "${S}"/daemon/resources/man/${PN}-daemon.8
+ doman "${S}"/daemon/resources/man/razer.conf.5
+ fi
+}
+
+pkg_postinst() {
+ linux-mod_pkg_postinst
+ udev_reload
+
+ if use daemon ; then
+ xdg_icon_cache_update
+ xdg_desktop_database_update
+ fi
+
+ readme.gentoo_print_elog
+}
+
+pkg_postrm() {
+ linux-mod_pkg_postrm
+ udev_reload
+
+ if use daemon ; then
+ xdg_icon_cache_update
+ xdg_desktop_database_update
+ fi
+}
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-apps/openrazer/
@ 2023-05-13 22:06 Maciej Barć
0 siblings, 0 replies; 30+ messages in thread
From: Maciej Barć @ 2023-05-13 22:06 UTC (permalink / raw
To: gentoo-commits
commit: 1b4426aafa91b9d4ac96ff3b7661812ebf464726
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sat May 13 21:41:13 2023 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sat May 13 22:06:53 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b4426aa
sys-apps/openrazer: bump to 3.6.1
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
sys-apps/openrazer/Manifest | 1 +
sys-apps/openrazer/openrazer-3.6.1.ebuild | 160 ++++++++++++++++++++++++++++++
2 files changed, 161 insertions(+)
diff --git a/sys-apps/openrazer/Manifest b/sys-apps/openrazer/Manifest
index ec8d1e387fb4..aa986006bcaa 100644
--- a/sys-apps/openrazer/Manifest
+++ b/sys-apps/openrazer/Manifest
@@ -1,2 +1,3 @@
DIST openrazer-3.5.1.tar.gz 240254 BLAKE2B 7f6b887c22c81c8cd3d7908f94748879aa4c89f6446e073aeaed0d33f8d58bd7b618768a9915a451d6659c0cdf428b52e055641420553a00f2cf41b0a9737487 SHA512 dc32f040f4b9ecbefbd2b4afc34edcc97fbda16f6dd9a64ed61d637233ea5d0e6f046685837635a177d3cab8506224c973ea26972a6ea7cc20d7bcce60065e39
DIST openrazer-3.6.0.tar.gz 243924 BLAKE2B 7b782990cf5afedb88adafe310bcba6512ff8009cee6bbf8e005f4780c711ccc724cacc3056f471002268c61e6d3bfce0ba6b5c72e502ad83b954c45f70b521a SHA512 fb08a8a38ce582099e6c1a98df73aacf9dd437beb4be9cc0e7e3e14f4da6e53de90058a8cc22daeda0bbcfe111b2bc5a38c0503e0020239d44dae2f199219695
+DIST openrazer-3.6.1.tar.gz 244061 BLAKE2B f5fa8bf4ec383cf92d3c9c66db6b2f6cc9e4cf1969558d187ff62e687316b861d3c0f0ba37f5addc0911a49794acc648ae2d6be6f519ea1d33afa3cc9ab7bd1b SHA512 1e1db191e4daa028fe177e9c50ddf2dfffdf7c8ba68d108a2e74232b9accb344dbc5c3352aba223434cf16d79c113e7ba19dc9f2e6672758153c25ba9391cbff
diff --git a/sys-apps/openrazer/openrazer-3.6.1.ebuild b/sys-apps/openrazer/openrazer-3.6.1.ebuild
new file mode 100644
index 000000000000..754d171d5932
--- /dev/null
+++ b/sys-apps/openrazer/openrazer-3.6.1.ebuild
@@ -0,0 +1,160 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..11} )
+
+inherit readme.gentoo-r1 systemd udev xdg-utils distutils-r1 linux-mod
+
+DESCRIPTION="Drivers and user-space daemon to control Razer devices on GNU/Linux"
+HOMEPAGE="https://openrazer.github.io/
+ https://github.com/openrazer/openrazer/"
+SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz
+ -> ${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+IUSE="+client +daemon"
+REQUIRED_USE="
+ client? ( daemon )
+ daemon? ( ${PYTHON_REQUIRED_USE} )
+ test? ( daemon )
+"
+
+RDEPEND="
+ client? ( dev-python/numpy[${PYTHON_USEDEP}] )
+ daemon? (
+ acct-group/plugdev
+ dev-python/daemonize[${PYTHON_USEDEP}]
+ dev-python/dbus-python[${PYTHON_USEDEP}]
+ dev-python/notify2[${PYTHON_USEDEP}]
+ dev-python/pygobject:3[${PYTHON_USEDEP}]
+ dev-python/pyudev[${PYTHON_USEDEP}]
+ dev-python/setproctitle[${PYTHON_USEDEP}]
+ x11-libs/gtk+:3[introspection]
+ x11-misc/xautomation
+ x11-misc/xdotool
+ )
+"
+BDEPEND="
+ ${RDEPEND}
+ virtual/linux-sources
+"
+
+DOCS=( README.md )
+
+DOC_CONTENTS="To successfully use OpenRazer: load desired kernel module
+(razeraccessory, razerkbd, razerkraken and/or razermouse),
+add your user to the \"plugdev\" group and start the OpenRazer daemon.
+To automatically start up the OpenRazer daemon on session login copy
+/usr/share/openrazer/openrazer-daemon.desktop file into Your user's
+~/.config/autostart/ directory."
+
+BUILD_TARGETS="clean driver"
+BUILD_PARAMS="-C ${S} SUBDIRS=${S}/driver KERNELDIR=${KERNEL_DIR}"
+MODULE_NAMES="
+ razeraccessory(hid:${S}/driver)
+ razerkbd(hid:${S}/driver)
+ razerkraken(hid:${S}/driver)
+ razermouse(hid:${S}/driver)
+"
+
+distutils_enable_tests unittest
+
+python_compile() {
+ if use daemon ; then
+ ( cd "${S}"/daemon || die ; distutils-r1_python_compile )
+ fi
+ if use client ; then
+ ( cd "${S}"/pylib || die ; distutils-r1_python_compile )
+ fi
+}
+
+python_install() {
+ if use daemon ; then
+ ( cd "${S}"/daemon || die ; distutils-r1_python_install )
+ python_scriptinto /usr/bin
+ python_newscript "${S}"/daemon/run_openrazer_daemon.py ${PN}-daemon
+ fi
+ if use client ; then
+ ( cd "${S}"/pylib || die ; distutils-r1_python_install )
+ fi
+}
+
+src_prepare() {
+ xdg_environment_reset
+ distutils-r1_src_prepare
+
+ # Remove bad tests.
+ rm "${S}"/daemon/tests/test_effect_sync.py || die
+}
+
+src_compile() {
+ linux-mod_src_compile
+ distutils-r1_src_compile
+
+ if use daemon ; then
+ emake -C "${S}"/daemon PREFIX=/usr service
+ fi
+
+ readme.gentoo_create_doc
+}
+
+src_test() {
+ ( cd "${S}"/daemon/tests || die ; distutils-r1_src_test )
+}
+
+src_install() {
+ linux-mod_src_install
+ distutils-r1_src_install
+
+ udev_dorules "${S}"/install_files/udev/99-razer.rules
+ exeinto "$(get_udevdir)"
+ doexe "${S}"/install_files/udev/razer_mount
+
+ # Install configuration example so that the daemon does not complain.
+ insinto /usr/share/${PN}
+ newins "${S}"/daemon/resources/razer.conf razer.conf.example
+
+ if use daemon ; then
+ # dbus service
+ insinto /usr/share/dbus-1/services
+ doins "${S}"/daemon/org.razer.service
+
+ # systemd unit
+ systemd_douserunit "${S}"/daemon/${PN}-daemon.service
+
+ # xdg autostart example file
+ insinto /usr/share/${PN}
+ doins "${S}"/install_files/desktop/openrazer-daemon.desktop
+
+ # Manpages
+ doman "${S}"/daemon/resources/man/${PN}-daemon.8
+ doman "${S}"/daemon/resources/man/razer.conf.5
+ fi
+}
+
+pkg_postinst() {
+ linux-mod_pkg_postinst
+ udev_reload
+
+ if use daemon ; then
+ xdg_icon_cache_update
+ xdg_desktop_database_update
+ fi
+
+ readme.gentoo_print_elog
+}
+
+pkg_postrm() {
+ linux-mod_pkg_postrm
+ udev_reload
+
+ if use daemon ; then
+ xdg_icon_cache_update
+ xdg_desktop_database_update
+ fi
+}
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-apps/openrazer/
@ 2023-06-07 15:50 Sam James
0 siblings, 0 replies; 30+ messages in thread
From: Sam James @ 2023-06-07 15:50 UTC (permalink / raw
To: gentoo-commits
commit: a5ac71c56aa0afea3c762feabc15eb40dc6a4e1d
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 7 15:50:16 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Jun 7 15:50:16 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5ac71c5
sys-apps/openrazer: Stabilize 3.6.0 amd64, #908012
Signed-off-by: Sam James <sam <AT> gentoo.org>
sys-apps/openrazer/openrazer-3.6.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys-apps/openrazer/openrazer-3.6.0.ebuild b/sys-apps/openrazer/openrazer-3.6.0.ebuild
index 754d171d5932..1c4a836bb8ba 100644
--- a/sys-apps/openrazer/openrazer-3.6.0.ebuild
+++ b/sys-apps/openrazer/openrazer-3.6.0.ebuild
@@ -15,7 +15,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz
LICENSE="GPL-2+"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
IUSE="+client +daemon"
REQUIRED_USE="
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-apps/openrazer/
@ 2023-06-17 15:13 Sam James
0 siblings, 0 replies; 30+ messages in thread
From: Sam James @ 2023-06-17 15:13 UTC (permalink / raw
To: gentoo-commits
commit: d82290f3d6e4c947ba24e77321f3e9327add9ac0
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 17 15:12:51 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jun 17 15:12:51 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d82290f3
sys-apps/openrazer: Stabilize 3.6.1 amd64, #908682
Signed-off-by: Sam James <sam <AT> gentoo.org>
sys-apps/openrazer/openrazer-3.6.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys-apps/openrazer/openrazer-3.6.1.ebuild b/sys-apps/openrazer/openrazer-3.6.1.ebuild
index 754d171d5932..1c4a836bb8ba 100644
--- a/sys-apps/openrazer/openrazer-3.6.1.ebuild
+++ b/sys-apps/openrazer/openrazer-3.6.1.ebuild
@@ -15,7 +15,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz
LICENSE="GPL-2+"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
IUSE="+client +daemon"
REQUIRED_USE="
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-apps/openrazer/
@ 2023-06-17 20:17 Maciej Barć
0 siblings, 0 replies; 30+ messages in thread
From: Maciej Barć @ 2023-06-17 20:17 UTC (permalink / raw
To: gentoo-commits
commit: e4e08176055954b3e15e9a1d794869135e2fd29a
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 17 20:12:43 2023 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sat Jun 17 20:17:53 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4e08176
sys-apps/openrazer: port to linux-mod-r1
Bug: https://bugs.gentoo.org/908692
Closes: https://bugs.gentoo.org/908695
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
sys-apps/openrazer/openrazer-3.6.1-r1.ebuild | 165 +++++++++++++++++++++++++++
1 file changed, 165 insertions(+)
diff --git a/sys-apps/openrazer/openrazer-3.6.1-r1.ebuild b/sys-apps/openrazer/openrazer-3.6.1-r1.ebuild
new file mode 100644
index 000000000000..f0e886f47110
--- /dev/null
+++ b/sys-apps/openrazer/openrazer-3.6.1-r1.ebuild
@@ -0,0 +1,165 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..11} )
+
+inherit readme.gentoo-r1 systemd udev xdg-utils distutils-r1 linux-mod-r1
+
+DESCRIPTION="Drivers and user-space daemon to control Razer devices on GNU/Linux"
+HOMEPAGE="https://openrazer.github.io/
+ https://github.com/openrazer/openrazer/"
+
+if [[ ${PV} == *9999* ]] ; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/${PN}/${PN}.git"
+else
+ SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz
+ -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="GPL-2+"
+SLOT="0"
+
+IUSE="+client +daemon"
+REQUIRED_USE="
+ client? ( daemon )
+ daemon? ( ${PYTHON_REQUIRED_USE} )
+ test? ( daemon )
+"
+
+RDEPEND="
+ client? ( dev-python/numpy[${PYTHON_USEDEP}] )
+ daemon? (
+ acct-group/plugdev
+ dev-python/daemonize[${PYTHON_USEDEP}]
+ dev-python/dbus-python[${PYTHON_USEDEP}]
+ dev-python/notify2[${PYTHON_USEDEP}]
+ dev-python/pygobject:3[${PYTHON_USEDEP}]
+ dev-python/pyudev[${PYTHON_USEDEP}]
+ dev-python/setproctitle[${PYTHON_USEDEP}]
+ x11-libs/gtk+:3[introspection]
+ x11-misc/xautomation
+ x11-misc/xdotool
+ )
+"
+BDEPEND="
+ ${RDEPEND}
+ virtual/linux-sources
+"
+
+DOCS=( README.md )
+
+DOC_CONTENTS="To successfully use OpenRazer: load desired kernel module
+(razeraccessory, razerkbd, razerkraken and/or razermouse),
+add your user to the \"plugdev\" group and start the OpenRazer daemon.
+To automatically start up the OpenRazer daemon on session login copy
+/usr/share/openrazer/openrazer-daemon.desktop file into Your user's
+~/.config/autostart/ directory."
+
+distutils_enable_tests unittest
+
+python_compile() {
+ if use daemon ; then
+ ( cd "${S}"/daemon || die ; distutils-r1_python_compile )
+ fi
+ if use client ; then
+ ( cd "${S}"/pylib || die ; distutils-r1_python_compile )
+ fi
+}
+
+python_install() {
+ if use daemon ; then
+ ( cd "${S}"/daemon || die ; distutils-r1_python_install )
+ python_scriptinto /usr/bin
+ python_newscript "${S}"/daemon/run_openrazer_daemon.py ${PN}-daemon
+ fi
+ if use client ; then
+ ( cd "${S}"/pylib || die ; distutils-r1_python_install )
+ fi
+}
+
+src_prepare() {
+ xdg_environment_reset
+ distutils-r1_src_prepare
+
+ # Remove bad tests.
+ rm "${S}"/daemon/tests/test_effect_sync.py || die
+}
+
+src_compile() {
+ local -a modargs=(
+ SUBDIRS="${S}"/driver
+ KERNELDIR="${KERNEL_DIR}"
+ )
+ local -a modlist=(
+ {razeraccessory,razerkbd,razerkraken,razermouse}="hid:${S}:driver"
+ )
+ linux-mod-r1_src_compile
+
+ distutils-r1_src_compile
+
+ if use daemon ; then
+ emake -C "${S}"/daemon PREFIX=/usr service
+ fi
+
+ readme.gentoo_create_doc
+}
+
+src_test() {
+ ( cd "${S}"/daemon/tests || die ; distutils-r1_src_test )
+}
+
+src_install() {
+ linux-mod-r1_src_install
+ distutils-r1_src_install
+
+ udev_dorules "${S}"/install_files/udev/99-razer.rules
+ exeinto "$(get_udevdir)"
+ doexe "${S}"/install_files/udev/razer_mount
+
+ # Install configuration example so that the daemon does not complain.
+ insinto /usr/share/${PN}
+ newins "${S}"/daemon/resources/razer.conf razer.conf.example
+
+ if use daemon ; then
+ # dbus service
+ insinto /usr/share/dbus-1/services
+ doins "${S}"/daemon/org.razer.service
+
+ # systemd unit
+ systemd_douserunit "${S}"/daemon/${PN}-daemon.service
+
+ # xdg autostart example file
+ insinto /usr/share/${PN}
+ doins "${S}"/install_files/desktop/openrazer-daemon.desktop
+
+ # Manpages
+ doman "${S}"/daemon/resources/man/${PN}-daemon.8
+ doman "${S}"/daemon/resources/man/razer.conf.5
+ fi
+}
+
+pkg_postinst() {
+ linux-mod-r1_pkg_postinst
+ udev_reload
+
+ if use daemon ; then
+ xdg_icon_cache_update
+ xdg_desktop_database_update
+ fi
+
+ readme.gentoo_print_elog
+}
+
+pkg_postrm() {
+ linux-mod-r1_pkg_postrm
+ udev_reload
+
+ if use daemon ; then
+ xdg_icon_cache_update
+ xdg_desktop_database_update
+ fi
+}
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-apps/openrazer/
@ 2023-06-17 20:17 Maciej Barć
0 siblings, 0 replies; 30+ messages in thread
From: Maciej Barć @ 2023-06-17 20:17 UTC (permalink / raw
To: gentoo-commits
commit: 6894be47c81af6554e6f224b115798c33a12cea9
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 17 19:35:00 2023 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sat Jun 17 20:17:52 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6894be47
sys-apps/openrazer: drop old 3.5.1
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
sys-apps/openrazer/Manifest | 1 -
sys-apps/openrazer/openrazer-3.5.1.ebuild | 160 ------------------------------
2 files changed, 161 deletions(-)
diff --git a/sys-apps/openrazer/Manifest b/sys-apps/openrazer/Manifest
index aa986006bcaa..bbd4765ef075 100644
--- a/sys-apps/openrazer/Manifest
+++ b/sys-apps/openrazer/Manifest
@@ -1,3 +1,2 @@
-DIST openrazer-3.5.1.tar.gz 240254 BLAKE2B 7f6b887c22c81c8cd3d7908f94748879aa4c89f6446e073aeaed0d33f8d58bd7b618768a9915a451d6659c0cdf428b52e055641420553a00f2cf41b0a9737487 SHA512 dc32f040f4b9ecbefbd2b4afc34edcc97fbda16f6dd9a64ed61d637233ea5d0e6f046685837635a177d3cab8506224c973ea26972a6ea7cc20d7bcce60065e39
DIST openrazer-3.6.0.tar.gz 243924 BLAKE2B 7b782990cf5afedb88adafe310bcba6512ff8009cee6bbf8e005f4780c711ccc724cacc3056f471002268c61e6d3bfce0ba6b5c72e502ad83b954c45f70b521a SHA512 fb08a8a38ce582099e6c1a98df73aacf9dd437beb4be9cc0e7e3e14f4da6e53de90058a8cc22daeda0bbcfe111b2bc5a38c0503e0020239d44dae2f199219695
DIST openrazer-3.6.1.tar.gz 244061 BLAKE2B f5fa8bf4ec383cf92d3c9c66db6b2f6cc9e4cf1969558d187ff62e687316b861d3c0f0ba37f5addc0911a49794acc648ae2d6be6f519ea1d33afa3cc9ab7bd1b SHA512 1e1db191e4daa028fe177e9c50ddf2dfffdf7c8ba68d108a2e74232b9accb344dbc5c3352aba223434cf16d79c113e7ba19dc9f2e6672758153c25ba9391cbff
diff --git a/sys-apps/openrazer/openrazer-3.5.1.ebuild b/sys-apps/openrazer/openrazer-3.5.1.ebuild
deleted file mode 100644
index 1c4a836bb8ba..000000000000
--- a/sys-apps/openrazer/openrazer-3.5.1.ebuild
+++ /dev/null
@@ -1,160 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{9..11} )
-
-inherit readme.gentoo-r1 systemd udev xdg-utils distutils-r1 linux-mod
-
-DESCRIPTION="Drivers and user-space daemon to control Razer devices on GNU/Linux"
-HOMEPAGE="https://openrazer.github.io/
- https://github.com/openrazer/openrazer/"
-SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz
- -> ${P}.tar.gz"
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="amd64 ~x86"
-
-IUSE="+client +daemon"
-REQUIRED_USE="
- client? ( daemon )
- daemon? ( ${PYTHON_REQUIRED_USE} )
- test? ( daemon )
-"
-
-RDEPEND="
- client? ( dev-python/numpy[${PYTHON_USEDEP}] )
- daemon? (
- acct-group/plugdev
- dev-python/daemonize[${PYTHON_USEDEP}]
- dev-python/dbus-python[${PYTHON_USEDEP}]
- dev-python/notify2[${PYTHON_USEDEP}]
- dev-python/pygobject:3[${PYTHON_USEDEP}]
- dev-python/pyudev[${PYTHON_USEDEP}]
- dev-python/setproctitle[${PYTHON_USEDEP}]
- x11-libs/gtk+:3[introspection]
- x11-misc/xautomation
- x11-misc/xdotool
- )
-"
-BDEPEND="
- ${RDEPEND}
- virtual/linux-sources
-"
-
-DOCS=( README.md )
-
-DOC_CONTENTS="To successfully use OpenRazer: load desired kernel module
-(razeraccessory, razerkbd, razerkraken and/or razermouse),
-add your user to the \"plugdev\" group and start the OpenRazer daemon.
-To automatically start up the OpenRazer daemon on session login copy
-/usr/share/openrazer/openrazer-daemon.desktop file into Your user's
-~/.config/autostart/ directory."
-
-BUILD_TARGETS="clean driver"
-BUILD_PARAMS="-C ${S} SUBDIRS=${S}/driver KERNELDIR=${KERNEL_DIR}"
-MODULE_NAMES="
- razeraccessory(hid:${S}/driver)
- razerkbd(hid:${S}/driver)
- razerkraken(hid:${S}/driver)
- razermouse(hid:${S}/driver)
-"
-
-distutils_enable_tests unittest
-
-python_compile() {
- if use daemon ; then
- ( cd "${S}"/daemon || die ; distutils-r1_python_compile )
- fi
- if use client ; then
- ( cd "${S}"/pylib || die ; distutils-r1_python_compile )
- fi
-}
-
-python_install() {
- if use daemon ; then
- ( cd "${S}"/daemon || die ; distutils-r1_python_install )
- python_scriptinto /usr/bin
- python_newscript "${S}"/daemon/run_openrazer_daemon.py ${PN}-daemon
- fi
- if use client ; then
- ( cd "${S}"/pylib || die ; distutils-r1_python_install )
- fi
-}
-
-src_prepare() {
- xdg_environment_reset
- distutils-r1_src_prepare
-
- # Remove bad tests.
- rm "${S}"/daemon/tests/test_effect_sync.py || die
-}
-
-src_compile() {
- linux-mod_src_compile
- distutils-r1_src_compile
-
- if use daemon ; then
- emake -C "${S}"/daemon PREFIX=/usr service
- fi
-
- readme.gentoo_create_doc
-}
-
-src_test() {
- ( cd "${S}"/daemon/tests || die ; distutils-r1_src_test )
-}
-
-src_install() {
- linux-mod_src_install
- distutils-r1_src_install
-
- udev_dorules "${S}"/install_files/udev/99-razer.rules
- exeinto "$(get_udevdir)"
- doexe "${S}"/install_files/udev/razer_mount
-
- # Install configuration example so that the daemon does not complain.
- insinto /usr/share/${PN}
- newins "${S}"/daemon/resources/razer.conf razer.conf.example
-
- if use daemon ; then
- # dbus service
- insinto /usr/share/dbus-1/services
- doins "${S}"/daemon/org.razer.service
-
- # systemd unit
- systemd_douserunit "${S}"/daemon/${PN}-daemon.service
-
- # xdg autostart example file
- insinto /usr/share/${PN}
- doins "${S}"/install_files/desktop/openrazer-daemon.desktop
-
- # Manpages
- doman "${S}"/daemon/resources/man/${PN}-daemon.8
- doman "${S}"/daemon/resources/man/razer.conf.5
- fi
-}
-
-pkg_postinst() {
- linux-mod_pkg_postinst
- udev_reload
-
- if use daemon ; then
- xdg_icon_cache_update
- xdg_desktop_database_update
- fi
-
- readme.gentoo_print_elog
-}
-
-pkg_postrm() {
- linux-mod_pkg_postrm
- udev_reload
-
- if use daemon ; then
- xdg_icon_cache_update
- xdg_desktop_database_update
- fi
-}
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-apps/openrazer/
@ 2023-06-17 20:17 Maciej Barć
0 siblings, 0 replies; 30+ messages in thread
From: Maciej Barć @ 2023-06-17 20:17 UTC (permalink / raw
To: gentoo-commits
commit: a7c8e78ea68aa0f29dbd347132b32fccc0284267
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 17 19:35:09 2023 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sat Jun 17 20:17:53 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7c8e78e
sys-apps/openrazer: drop old 3.6.0
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
sys-apps/openrazer/Manifest | 1 -
sys-apps/openrazer/openrazer-3.6.0.ebuild | 160 ------------------------------
2 files changed, 161 deletions(-)
diff --git a/sys-apps/openrazer/Manifest b/sys-apps/openrazer/Manifest
index bbd4765ef075..2dae6b72eaf4 100644
--- a/sys-apps/openrazer/Manifest
+++ b/sys-apps/openrazer/Manifest
@@ -1,2 +1 @@
-DIST openrazer-3.6.0.tar.gz 243924 BLAKE2B 7b782990cf5afedb88adafe310bcba6512ff8009cee6bbf8e005f4780c711ccc724cacc3056f471002268c61e6d3bfce0ba6b5c72e502ad83b954c45f70b521a SHA512 fb08a8a38ce582099e6c1a98df73aacf9dd437beb4be9cc0e7e3e14f4da6e53de90058a8cc22daeda0bbcfe111b2bc5a38c0503e0020239d44dae2f199219695
DIST openrazer-3.6.1.tar.gz 244061 BLAKE2B f5fa8bf4ec383cf92d3c9c66db6b2f6cc9e4cf1969558d187ff62e687316b861d3c0f0ba37f5addc0911a49794acc648ae2d6be6f519ea1d33afa3cc9ab7bd1b SHA512 1e1db191e4daa028fe177e9c50ddf2dfffdf7c8ba68d108a2e74232b9accb344dbc5c3352aba223434cf16d79c113e7ba19dc9f2e6672758153c25ba9391cbff
diff --git a/sys-apps/openrazer/openrazer-3.6.0.ebuild b/sys-apps/openrazer/openrazer-3.6.0.ebuild
deleted file mode 100644
index 1c4a836bb8ba..000000000000
--- a/sys-apps/openrazer/openrazer-3.6.0.ebuild
+++ /dev/null
@@ -1,160 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{9..11} )
-
-inherit readme.gentoo-r1 systemd udev xdg-utils distutils-r1 linux-mod
-
-DESCRIPTION="Drivers and user-space daemon to control Razer devices on GNU/Linux"
-HOMEPAGE="https://openrazer.github.io/
- https://github.com/openrazer/openrazer/"
-SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz
- -> ${P}.tar.gz"
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="amd64 ~x86"
-
-IUSE="+client +daemon"
-REQUIRED_USE="
- client? ( daemon )
- daemon? ( ${PYTHON_REQUIRED_USE} )
- test? ( daemon )
-"
-
-RDEPEND="
- client? ( dev-python/numpy[${PYTHON_USEDEP}] )
- daemon? (
- acct-group/plugdev
- dev-python/daemonize[${PYTHON_USEDEP}]
- dev-python/dbus-python[${PYTHON_USEDEP}]
- dev-python/notify2[${PYTHON_USEDEP}]
- dev-python/pygobject:3[${PYTHON_USEDEP}]
- dev-python/pyudev[${PYTHON_USEDEP}]
- dev-python/setproctitle[${PYTHON_USEDEP}]
- x11-libs/gtk+:3[introspection]
- x11-misc/xautomation
- x11-misc/xdotool
- )
-"
-BDEPEND="
- ${RDEPEND}
- virtual/linux-sources
-"
-
-DOCS=( README.md )
-
-DOC_CONTENTS="To successfully use OpenRazer: load desired kernel module
-(razeraccessory, razerkbd, razerkraken and/or razermouse),
-add your user to the \"plugdev\" group and start the OpenRazer daemon.
-To automatically start up the OpenRazer daemon on session login copy
-/usr/share/openrazer/openrazer-daemon.desktop file into Your user's
-~/.config/autostart/ directory."
-
-BUILD_TARGETS="clean driver"
-BUILD_PARAMS="-C ${S} SUBDIRS=${S}/driver KERNELDIR=${KERNEL_DIR}"
-MODULE_NAMES="
- razeraccessory(hid:${S}/driver)
- razerkbd(hid:${S}/driver)
- razerkraken(hid:${S}/driver)
- razermouse(hid:${S}/driver)
-"
-
-distutils_enable_tests unittest
-
-python_compile() {
- if use daemon ; then
- ( cd "${S}"/daemon || die ; distutils-r1_python_compile )
- fi
- if use client ; then
- ( cd "${S}"/pylib || die ; distutils-r1_python_compile )
- fi
-}
-
-python_install() {
- if use daemon ; then
- ( cd "${S}"/daemon || die ; distutils-r1_python_install )
- python_scriptinto /usr/bin
- python_newscript "${S}"/daemon/run_openrazer_daemon.py ${PN}-daemon
- fi
- if use client ; then
- ( cd "${S}"/pylib || die ; distutils-r1_python_install )
- fi
-}
-
-src_prepare() {
- xdg_environment_reset
- distutils-r1_src_prepare
-
- # Remove bad tests.
- rm "${S}"/daemon/tests/test_effect_sync.py || die
-}
-
-src_compile() {
- linux-mod_src_compile
- distutils-r1_src_compile
-
- if use daemon ; then
- emake -C "${S}"/daemon PREFIX=/usr service
- fi
-
- readme.gentoo_create_doc
-}
-
-src_test() {
- ( cd "${S}"/daemon/tests || die ; distutils-r1_src_test )
-}
-
-src_install() {
- linux-mod_src_install
- distutils-r1_src_install
-
- udev_dorules "${S}"/install_files/udev/99-razer.rules
- exeinto "$(get_udevdir)"
- doexe "${S}"/install_files/udev/razer_mount
-
- # Install configuration example so that the daemon does not complain.
- insinto /usr/share/${PN}
- newins "${S}"/daemon/resources/razer.conf razer.conf.example
-
- if use daemon ; then
- # dbus service
- insinto /usr/share/dbus-1/services
- doins "${S}"/daemon/org.razer.service
-
- # systemd unit
- systemd_douserunit "${S}"/daemon/${PN}-daemon.service
-
- # xdg autostart example file
- insinto /usr/share/${PN}
- doins "${S}"/install_files/desktop/openrazer-daemon.desktop
-
- # Manpages
- doman "${S}"/daemon/resources/man/${PN}-daemon.8
- doman "${S}"/daemon/resources/man/razer.conf.5
- fi
-}
-
-pkg_postinst() {
- linux-mod_pkg_postinst
- udev_reload
-
- if use daemon ; then
- xdg_icon_cache_update
- xdg_desktop_database_update
- fi
-
- readme.gentoo_print_elog
-}
-
-pkg_postrm() {
- linux-mod_pkg_postrm
- udev_reload
-
- if use daemon ; then
- xdg_icon_cache_update
- xdg_desktop_database_update
- fi
-}
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-apps/openrazer/
@ 2023-07-07 11:58 Maciej Barć
0 siblings, 0 replies; 30+ messages in thread
From: Maciej Barć @ 2023-07-07 11:58 UTC (permalink / raw
To: gentoo-commits
commit: 80cbc74f1ed01bc9bbe52defb850252d6ec5ea16
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 7 11:58:14 2023 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Fri Jul 7 11:58:49 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80cbc74f
sys-apps/openrazer: remove outdated linux-mod-r1_pkg_postrm call
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
sys-apps/openrazer/openrazer-3.6.1-r1.ebuild | 1 -
1 file changed, 1 deletion(-)
diff --git a/sys-apps/openrazer/openrazer-3.6.1-r1.ebuild b/sys-apps/openrazer/openrazer-3.6.1-r1.ebuild
index f0e886f47110..d3f1a25658b7 100644
--- a/sys-apps/openrazer/openrazer-3.6.1-r1.ebuild
+++ b/sys-apps/openrazer/openrazer-3.6.1-r1.ebuild
@@ -155,7 +155,6 @@ pkg_postinst() {
}
pkg_postrm() {
- linux-mod-r1_pkg_postrm
udev_reload
if use daemon ; then
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-apps/openrazer/
@ 2023-07-08 21:22 Maciej Barć
0 siblings, 0 replies; 30+ messages in thread
From: Maciej Barć @ 2023-07-08 21:22 UTC (permalink / raw
To: gentoo-commits
commit: 641f4641b6556dd36545a11f20b460b3ddb35084
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 8 19:32:13 2023 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sat Jul 8 21:22:16 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=641f4641
sys-apps/openrazer: port to DISTUTILS_USE_PEP517
Closes: https://bugs.gentoo.org/10034
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
...r-3.6.1-r1.ebuild => openrazer-3.6.1-r2.ebuild} | 43 +++++++++++++---------
1 file changed, 25 insertions(+), 18 deletions(-)
diff --git a/sys-apps/openrazer/openrazer-3.6.1-r1.ebuild b/sys-apps/openrazer/openrazer-3.6.1-r2.ebuild
similarity index 85%
rename from sys-apps/openrazer/openrazer-3.6.1-r1.ebuild
rename to sys-apps/openrazer/openrazer-3.6.1-r2.ebuild
index d3f1a25658b7..a2efe041bbf6 100644
--- a/sys-apps/openrazer/openrazer-3.6.1-r1.ebuild
+++ b/sys-apps/openrazer/openrazer-3.6.1-r2.ebuild
@@ -3,7 +3,8 @@
EAPI=8
-PYTHON_COMPAT=( python3_{9..11} )
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..11} )
inherit readme.gentoo-r1 systemd udev xdg-utils distutils-r1 linux-mod-r1
@@ -62,28 +63,30 @@ To automatically start up the OpenRazer daemon on session login copy
distutils_enable_tests unittest
python_compile() {
- if use daemon ; then
- ( cd "${S}"/daemon || die ; distutils-r1_python_compile )
- fi
+ cd "${S}"/daemon || die
+
+ distutils_pep517_install "${BUILD_DIR}"/install
+
if use client ; then
- ( cd "${S}"/pylib || die ; distutils-r1_python_compile )
+ cd "${S}"/pylib || die
+
+ distutils_pep517_install "${BUILD_DIR}"/install
fi
}
python_install() {
- if use daemon ; then
- ( cd "${S}"/daemon || die ; distutils-r1_python_install )
- python_scriptinto /usr/bin
- python_newscript "${S}"/daemon/run_openrazer_daemon.py ${PN}-daemon
- fi
- if use client ; then
- ( cd "${S}"/pylib || die ; distutils-r1_python_install )
- fi
+ distutils-r1_python_install
+
+ python_scriptinto /usr/bin
+ python_newscript "${S}"/daemon/run_openrazer_daemon.py ${PN}-daemon
}
src_prepare() {
xdg_environment_reset
- distutils-r1_src_prepare
+
+ if use daemon ; then
+ distutils-r1_src_prepare
+ fi
# Remove bad tests.
rm "${S}"/daemon/tests/test_effect_sync.py || die
@@ -99,9 +102,9 @@ src_compile() {
)
linux-mod-r1_src_compile
- distutils-r1_src_compile
-
if use daemon ; then
+ distutils-r1_src_compile
+
emake -C "${S}"/daemon PREFIX=/usr service
fi
@@ -109,12 +112,13 @@ src_compile() {
}
src_test() {
- ( cd "${S}"/daemon/tests || die ; distutils-r1_src_test )
+ cd "${S}"/daemon/tests || die
+
+ distutils-r1_src_test
}
src_install() {
linux-mod-r1_src_install
- distutils-r1_src_install
udev_dorules "${S}"/install_files/udev/99-razer.rules
exeinto "$(get_udevdir)"
@@ -125,6 +129,9 @@ src_install() {
newins "${S}"/daemon/resources/razer.conf razer.conf.example
if use daemon ; then
+ # Python libraries/scripts, "client" also requires USE="daemon"
+ distutils-r1_src_install
+
# dbus service
insinto /usr/share/dbus-1/services
doins "${S}"/daemon/org.razer.service
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-apps/openrazer/
@ 2023-08-12 7:52 Arthur Zamarin
0 siblings, 0 replies; 30+ messages in thread
From: Arthur Zamarin @ 2023-08-12 7:52 UTC (permalink / raw
To: gentoo-commits
commit: 4f32280b9db2c209d4ecb655f896607a44881501
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 12 07:52:27 2023 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Aug 12 07:52:27 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f32280b
sys-apps/openrazer: Stabilize 3.6.1-r2 amd64, #912048
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
sys-apps/openrazer/openrazer-3.6.1-r2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys-apps/openrazer/openrazer-3.6.1-r2.ebuild b/sys-apps/openrazer/openrazer-3.6.1-r2.ebuild
index a2efe041bbf6..188c2e445376 100644
--- a/sys-apps/openrazer/openrazer-3.6.1-r2.ebuild
+++ b/sys-apps/openrazer/openrazer-3.6.1-r2.ebuild
@@ -18,7 +18,7 @@ if [[ ${PV} == *9999* ]] ; then
else
SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz
-> ${P}.tar.gz"
- KEYWORDS="~amd64 ~x86"
+ KEYWORDS="amd64 ~x86"
fi
LICENSE="GPL-2+"
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-apps/openrazer/
@ 2023-08-29 20:03 Maciej Barć
0 siblings, 0 replies; 30+ messages in thread
From: Maciej Barć @ 2023-08-29 20:03 UTC (permalink / raw
To: gentoo-commits
commit: 7c3ee8af014870a0e339b2497212a6c26ae18963
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 29 19:01:50 2023 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Tue Aug 29 20:03:27 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c3ee8af
sys-apps/openrazer: call default when not using distutils
Closes: https://bugs.gentoo.org/913220
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
sys-apps/openrazer/openrazer-3.6.1-r2.ebuild | 2 ++
1 file changed, 2 insertions(+)
diff --git a/sys-apps/openrazer/openrazer-3.6.1-r2.ebuild b/sys-apps/openrazer/openrazer-3.6.1-r2.ebuild
index 188c2e445376..d8b3f16dadcc 100644
--- a/sys-apps/openrazer/openrazer-3.6.1-r2.ebuild
+++ b/sys-apps/openrazer/openrazer-3.6.1-r2.ebuild
@@ -86,6 +86,8 @@ src_prepare() {
if use daemon ; then
distutils-r1_src_prepare
+ else
+ default
fi
# Remove bad tests.
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-apps/openrazer/
@ 2023-08-29 20:03 Maciej Barć
0 siblings, 0 replies; 30+ messages in thread
From: Maciej Barć @ 2023-08-29 20:03 UTC (permalink / raw
To: gentoo-commits
commit: e21650c99060bdd8ad66067a3bad6eb60d778303
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 29 18:44:45 2023 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Tue Aug 29 20:03:27 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e21650c9
sys-apps/openrazer: drop old 3.6.1
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
sys-apps/openrazer/openrazer-3.6.1.ebuild | 160 ------------------------------
1 file changed, 160 deletions(-)
diff --git a/sys-apps/openrazer/openrazer-3.6.1.ebuild b/sys-apps/openrazer/openrazer-3.6.1.ebuild
deleted file mode 100644
index 1c4a836bb8ba..000000000000
--- a/sys-apps/openrazer/openrazer-3.6.1.ebuild
+++ /dev/null
@@ -1,160 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{9..11} )
-
-inherit readme.gentoo-r1 systemd udev xdg-utils distutils-r1 linux-mod
-
-DESCRIPTION="Drivers and user-space daemon to control Razer devices on GNU/Linux"
-HOMEPAGE="https://openrazer.github.io/
- https://github.com/openrazer/openrazer/"
-SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz
- -> ${P}.tar.gz"
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="amd64 ~x86"
-
-IUSE="+client +daemon"
-REQUIRED_USE="
- client? ( daemon )
- daemon? ( ${PYTHON_REQUIRED_USE} )
- test? ( daemon )
-"
-
-RDEPEND="
- client? ( dev-python/numpy[${PYTHON_USEDEP}] )
- daemon? (
- acct-group/plugdev
- dev-python/daemonize[${PYTHON_USEDEP}]
- dev-python/dbus-python[${PYTHON_USEDEP}]
- dev-python/notify2[${PYTHON_USEDEP}]
- dev-python/pygobject:3[${PYTHON_USEDEP}]
- dev-python/pyudev[${PYTHON_USEDEP}]
- dev-python/setproctitle[${PYTHON_USEDEP}]
- x11-libs/gtk+:3[introspection]
- x11-misc/xautomation
- x11-misc/xdotool
- )
-"
-BDEPEND="
- ${RDEPEND}
- virtual/linux-sources
-"
-
-DOCS=( README.md )
-
-DOC_CONTENTS="To successfully use OpenRazer: load desired kernel module
-(razeraccessory, razerkbd, razerkraken and/or razermouse),
-add your user to the \"plugdev\" group and start the OpenRazer daemon.
-To automatically start up the OpenRazer daemon on session login copy
-/usr/share/openrazer/openrazer-daemon.desktop file into Your user's
-~/.config/autostart/ directory."
-
-BUILD_TARGETS="clean driver"
-BUILD_PARAMS="-C ${S} SUBDIRS=${S}/driver KERNELDIR=${KERNEL_DIR}"
-MODULE_NAMES="
- razeraccessory(hid:${S}/driver)
- razerkbd(hid:${S}/driver)
- razerkraken(hid:${S}/driver)
- razermouse(hid:${S}/driver)
-"
-
-distutils_enable_tests unittest
-
-python_compile() {
- if use daemon ; then
- ( cd "${S}"/daemon || die ; distutils-r1_python_compile )
- fi
- if use client ; then
- ( cd "${S}"/pylib || die ; distutils-r1_python_compile )
- fi
-}
-
-python_install() {
- if use daemon ; then
- ( cd "${S}"/daemon || die ; distutils-r1_python_install )
- python_scriptinto /usr/bin
- python_newscript "${S}"/daemon/run_openrazer_daemon.py ${PN}-daemon
- fi
- if use client ; then
- ( cd "${S}"/pylib || die ; distutils-r1_python_install )
- fi
-}
-
-src_prepare() {
- xdg_environment_reset
- distutils-r1_src_prepare
-
- # Remove bad tests.
- rm "${S}"/daemon/tests/test_effect_sync.py || die
-}
-
-src_compile() {
- linux-mod_src_compile
- distutils-r1_src_compile
-
- if use daemon ; then
- emake -C "${S}"/daemon PREFIX=/usr service
- fi
-
- readme.gentoo_create_doc
-}
-
-src_test() {
- ( cd "${S}"/daemon/tests || die ; distutils-r1_src_test )
-}
-
-src_install() {
- linux-mod_src_install
- distutils-r1_src_install
-
- udev_dorules "${S}"/install_files/udev/99-razer.rules
- exeinto "$(get_udevdir)"
- doexe "${S}"/install_files/udev/razer_mount
-
- # Install configuration example so that the daemon does not complain.
- insinto /usr/share/${PN}
- newins "${S}"/daemon/resources/razer.conf razer.conf.example
-
- if use daemon ; then
- # dbus service
- insinto /usr/share/dbus-1/services
- doins "${S}"/daemon/org.razer.service
-
- # systemd unit
- systemd_douserunit "${S}"/daemon/${PN}-daemon.service
-
- # xdg autostart example file
- insinto /usr/share/${PN}
- doins "${S}"/install_files/desktop/openrazer-daemon.desktop
-
- # Manpages
- doman "${S}"/daemon/resources/man/${PN}-daemon.8
- doman "${S}"/daemon/resources/man/razer.conf.5
- fi
-}
-
-pkg_postinst() {
- linux-mod_pkg_postinst
- udev_reload
-
- if use daemon ; then
- xdg_icon_cache_update
- xdg_desktop_database_update
- fi
-
- readme.gentoo_print_elog
-}
-
-pkg_postrm() {
- linux-mod_pkg_postrm
- udev_reload
-
- if use daemon ; then
- xdg_icon_cache_update
- xdg_desktop_database_update
- fi
-}
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-apps/openrazer/
@ 2023-11-02 22:11 Maciej Barć
0 siblings, 0 replies; 30+ messages in thread
From: Maciej Barć @ 2023-11-02 22:11 UTC (permalink / raw
To: gentoo-commits
commit: b54d614223d414b152b19e20eea7d7808b91302e
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 2 15:11:01 2023 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Thu Nov 2 22:11:18 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b54d6142
sys-apps/openrazer: bump to 3.7.0
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
sys-apps/openrazer/Manifest | 1 +
sys-apps/openrazer/openrazer-3.7.0.ebuild | 175 ++++++++++++++++++++++++++++++
2 files changed, 176 insertions(+)
diff --git a/sys-apps/openrazer/Manifest b/sys-apps/openrazer/Manifest
index 2dae6b72eaf4..871aeb6113e9 100644
--- a/sys-apps/openrazer/Manifest
+++ b/sys-apps/openrazer/Manifest
@@ -1 +1,2 @@
DIST openrazer-3.6.1.tar.gz 244061 BLAKE2B f5fa8bf4ec383cf92d3c9c66db6b2f6cc9e4cf1969558d187ff62e687316b861d3c0f0ba37f5addc0911a49794acc648ae2d6be6f519ea1d33afa3cc9ab7bd1b SHA512 1e1db191e4daa028fe177e9c50ddf2dfffdf7c8ba68d108a2e74232b9accb344dbc5c3352aba223434cf16d79c113e7ba19dc9f2e6672758153c25ba9391cbff
+DIST openrazer-3.7.0.tar.gz 249201 BLAKE2B fd3d98b1d3c46623392a5cd42c8cafd605a7e2a6ec3d42f1f8f3c27b20fe06a149d55c45615a574957a14b66d20371cc9ddfd551c44659bd3887e53a3ad44570 SHA512 5067510fc22040f7a351556499db85a728863d97b56cdb26ea15adebe062403d2a4927c9bdcd620bddeb3388f1db184c0036dd121495b27ddb0d8d80cc17aafb
diff --git a/sys-apps/openrazer/openrazer-3.7.0.ebuild b/sys-apps/openrazer/openrazer-3.7.0.ebuild
new file mode 100644
index 000000000000..2ef77708a548
--- /dev/null
+++ b/sys-apps/openrazer/openrazer-3.7.0.ebuild
@@ -0,0 +1,175 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..11} )
+
+inherit readme.gentoo-r1 systemd udev xdg-utils distutils-r1 linux-mod-r1
+
+DESCRIPTION="Drivers and user-space daemon to control Razer devices on GNU/Linux"
+HOMEPAGE="https://openrazer.github.io/
+ https://github.com/openrazer/openrazer/"
+
+if [[ "${PV}" == *9999* ]] ; then
+ inherit git-r3
+
+ EGIT_REPO_URI="https://github.com/${PN}/${PN}.git"
+else
+ SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz
+ -> ${P}.tar.gz"
+
+ KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="GPL-2+"
+SLOT="0"
+
+IUSE="+client +daemon"
+REQUIRED_USE="
+ client? ( daemon )
+ daemon? ( ${PYTHON_REQUIRED_USE} )
+ test? ( daemon )
+"
+
+RDEPEND="
+ client? ( dev-python/numpy[${PYTHON_USEDEP}] )
+ daemon? (
+ acct-group/plugdev
+ dev-python/daemonize[${PYTHON_USEDEP}]
+ dev-python/dbus-python[${PYTHON_USEDEP}]
+ dev-python/notify2[${PYTHON_USEDEP}]
+ dev-python/pygobject:3[${PYTHON_USEDEP}]
+ dev-python/pyudev[${PYTHON_USEDEP}]
+ dev-python/setproctitle[${PYTHON_USEDEP}]
+ x11-libs/gtk+:3[introspection]
+ x11-misc/xautomation
+ x11-misc/xdotool
+ )
+"
+BDEPEND="
+ ${RDEPEND}
+ virtual/linux-sources
+"
+
+DOCS=( README.md )
+
+DOC_CONTENTS="To successfully use OpenRazer: load desired kernel module
+(razeraccessory, razerkbd, razerkraken and/or razermouse),
+add your user to the \"plugdev\" group and start the OpenRazer daemon.
+To automatically start up the OpenRazer daemon on session login copy
+/usr/share/openrazer/openrazer-daemon.desktop file into Your user's
+~/.config/autostart/ directory."
+
+distutils_enable_tests unittest
+
+python_compile() {
+ cd "${S}/daemon" || die
+
+ distutils_pep517_install "${BUILD_DIR}/install"
+
+ if use client ; then
+ cd "${S}/pylib" || die
+
+ distutils_pep517_install "${BUILD_DIR}/install"
+ fi
+}
+
+python_install() {
+ distutils-r1_python_install
+
+ python_scriptinto /usr/bin
+ python_newscript daemon/run_openrazer_daemon.py "${PN}-daemon"
+}
+
+src_prepare() {
+ xdg_environment_reset
+
+ if use daemon ; then
+ distutils-r1_src_prepare
+ else
+ default
+ fi
+
+ # Remove bad tests.
+ rm daemon/tests/test_effect_sync.py || die
+}
+
+src_compile() {
+ local -a modargs=(
+ SUBDIRS="${S}/driver"
+ KERNELDIR="${KERNEL_DIR}"
+ )
+ local -a modlist=(
+ {razeraccessory,razerkbd,razerkraken,razermouse}="hid:${S}:driver"
+ )
+ linux-mod-r1_src_compile
+
+ if use daemon ; then
+ distutils-r1_src_compile
+
+ emake -C "${S}/daemon" PREFIX=/usr service
+ fi
+
+ readme.gentoo_create_doc
+}
+
+src_test() {
+ cd daemon/tests || die
+
+ distutils-r1_src_test
+}
+
+src_install() {
+ linux-mod-r1_src_install
+
+ udev_dorules install_files/udev/99-razer.rules
+ exeinto "$(get_udevdir)"
+ doexe install_files/udev/razer_mount
+
+ # Install configuration example so that the daemon does not complain.
+ insinto /usr/share/${PN}
+ newins daemon/resources/razer.conf razer.conf.example
+
+ if use daemon ; then
+ # Python libraries/scripts, "client" also requires USE="daemon"
+ distutils-r1_src_install
+
+ # dbus service
+ insinto /usr/share/dbus-1/services
+ doins daemon/org.razer.service
+
+ # systemd unit
+ systemd_douserunit "daemon/${PN}-daemon.service"
+
+ # xdg autostart example file
+ insinto /usr/share/${PN}
+ doins install_files/desktop/openrazer-daemon.desktop
+
+ # Manpages
+ doman daemon/resources/man/${PN}-daemon.8
+ doman daemon/resources/man/razer.conf.5
+ fi
+}
+
+pkg_postinst() {
+ linux-mod-r1_pkg_postinst
+ udev_reload
+
+ if use daemon ; then
+ xdg_icon_cache_update
+ xdg_desktop_database_update
+ fi
+
+ readme.gentoo_print_elog
+}
+
+pkg_postrm() {
+ udev_reload
+
+ if use daemon ; then
+ xdg_icon_cache_update
+ xdg_desktop_database_update
+ fi
+}
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-apps/openrazer/
@ 2023-12-08 8:31 Maciej Barć
0 siblings, 0 replies; 30+ messages in thread
From: Maciej Barć @ 2023-12-08 8:31 UTC (permalink / raw
To: gentoo-commits
commit: 1f01fb76a953bfe603948433801be9877bb34f74
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 8 08:30:42 2023 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Fri Dec 8 08:31:15 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f01fb76
sys-apps/openrazer: Stabilize 3.7.0 amd64, #919339
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
sys-apps/openrazer/openrazer-3.7.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys-apps/openrazer/openrazer-3.7.0.ebuild b/sys-apps/openrazer/openrazer-3.7.0.ebuild
index 2ef77708a548..f6e5fa460d6b 100644
--- a/sys-apps/openrazer/openrazer-3.7.0.ebuild
+++ b/sys-apps/openrazer/openrazer-3.7.0.ebuild
@@ -20,7 +20,7 @@ else
SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz
-> ${P}.tar.gz"
- KEYWORDS="~amd64 ~x86"
+ KEYWORDS="amd64 ~x86"
fi
LICENSE="GPL-2+"
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-apps/openrazer/
@ 2023-12-16 21:45 Maciej Barć
0 siblings, 0 replies; 30+ messages in thread
From: Maciej Barć @ 2023-12-16 21:45 UTC (permalink / raw
To: gentoo-commits
commit: f44394e09751ab1aca75eae5f2c7076705dadc93
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 16 18:50:09 2023 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sat Dec 16 21:44:58 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f44394e0
sys-apps/openrazer: drop old 3.6.1-r2
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
sys-apps/openrazer/Manifest | 1 -
sys-apps/openrazer/openrazer-3.6.1-r2.ebuild | 173 ---------------------------
2 files changed, 174 deletions(-)
diff --git a/sys-apps/openrazer/Manifest b/sys-apps/openrazer/Manifest
index 871aeb6113e9..313a88ad4c65 100644
--- a/sys-apps/openrazer/Manifest
+++ b/sys-apps/openrazer/Manifest
@@ -1,2 +1 @@
-DIST openrazer-3.6.1.tar.gz 244061 BLAKE2B f5fa8bf4ec383cf92d3c9c66db6b2f6cc9e4cf1969558d187ff62e687316b861d3c0f0ba37f5addc0911a49794acc648ae2d6be6f519ea1d33afa3cc9ab7bd1b SHA512 1e1db191e4daa028fe177e9c50ddf2dfffdf7c8ba68d108a2e74232b9accb344dbc5c3352aba223434cf16d79c113e7ba19dc9f2e6672758153c25ba9391cbff
DIST openrazer-3.7.0.tar.gz 249201 BLAKE2B fd3d98b1d3c46623392a5cd42c8cafd605a7e2a6ec3d42f1f8f3c27b20fe06a149d55c45615a574957a14b66d20371cc9ddfd551c44659bd3887e53a3ad44570 SHA512 5067510fc22040f7a351556499db85a728863d97b56cdb26ea15adebe062403d2a4927c9bdcd620bddeb3388f1db184c0036dd121495b27ddb0d8d80cc17aafb
diff --git a/sys-apps/openrazer/openrazer-3.6.1-r2.ebuild b/sys-apps/openrazer/openrazer-3.6.1-r2.ebuild
deleted file mode 100644
index d8b3f16dadcc..000000000000
--- a/sys-apps/openrazer/openrazer-3.6.1-r2.ebuild
+++ /dev/null
@@ -1,173 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..11} )
-
-inherit readme.gentoo-r1 systemd udev xdg-utils distutils-r1 linux-mod-r1
-
-DESCRIPTION="Drivers and user-space daemon to control Razer devices on GNU/Linux"
-HOMEPAGE="https://openrazer.github.io/
- https://github.com/openrazer/openrazer/"
-
-if [[ ${PV} == *9999* ]] ; then
- inherit git-r3
- EGIT_REPO_URI="https://github.com/${PN}/${PN}.git"
-else
- SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz
- -> ${P}.tar.gz"
- KEYWORDS="amd64 ~x86"
-fi
-
-LICENSE="GPL-2+"
-SLOT="0"
-
-IUSE="+client +daemon"
-REQUIRED_USE="
- client? ( daemon )
- daemon? ( ${PYTHON_REQUIRED_USE} )
- test? ( daemon )
-"
-
-RDEPEND="
- client? ( dev-python/numpy[${PYTHON_USEDEP}] )
- daemon? (
- acct-group/plugdev
- dev-python/daemonize[${PYTHON_USEDEP}]
- dev-python/dbus-python[${PYTHON_USEDEP}]
- dev-python/notify2[${PYTHON_USEDEP}]
- dev-python/pygobject:3[${PYTHON_USEDEP}]
- dev-python/pyudev[${PYTHON_USEDEP}]
- dev-python/setproctitle[${PYTHON_USEDEP}]
- x11-libs/gtk+:3[introspection]
- x11-misc/xautomation
- x11-misc/xdotool
- )
-"
-BDEPEND="
- ${RDEPEND}
- virtual/linux-sources
-"
-
-DOCS=( README.md )
-
-DOC_CONTENTS="To successfully use OpenRazer: load desired kernel module
-(razeraccessory, razerkbd, razerkraken and/or razermouse),
-add your user to the \"plugdev\" group and start the OpenRazer daemon.
-To automatically start up the OpenRazer daemon on session login copy
-/usr/share/openrazer/openrazer-daemon.desktop file into Your user's
-~/.config/autostart/ directory."
-
-distutils_enable_tests unittest
-
-python_compile() {
- cd "${S}"/daemon || die
-
- distutils_pep517_install "${BUILD_DIR}"/install
-
- if use client ; then
- cd "${S}"/pylib || die
-
- distutils_pep517_install "${BUILD_DIR}"/install
- fi
-}
-
-python_install() {
- distutils-r1_python_install
-
- python_scriptinto /usr/bin
- python_newscript "${S}"/daemon/run_openrazer_daemon.py ${PN}-daemon
-}
-
-src_prepare() {
- xdg_environment_reset
-
- if use daemon ; then
- distutils-r1_src_prepare
- else
- default
- fi
-
- # Remove bad tests.
- rm "${S}"/daemon/tests/test_effect_sync.py || die
-}
-
-src_compile() {
- local -a modargs=(
- SUBDIRS="${S}"/driver
- KERNELDIR="${KERNEL_DIR}"
- )
- local -a modlist=(
- {razeraccessory,razerkbd,razerkraken,razermouse}="hid:${S}:driver"
- )
- linux-mod-r1_src_compile
-
- if use daemon ; then
- distutils-r1_src_compile
-
- emake -C "${S}"/daemon PREFIX=/usr service
- fi
-
- readme.gentoo_create_doc
-}
-
-src_test() {
- cd "${S}"/daemon/tests || die
-
- distutils-r1_src_test
-}
-
-src_install() {
- linux-mod-r1_src_install
-
- udev_dorules "${S}"/install_files/udev/99-razer.rules
- exeinto "$(get_udevdir)"
- doexe "${S}"/install_files/udev/razer_mount
-
- # Install configuration example so that the daemon does not complain.
- insinto /usr/share/${PN}
- newins "${S}"/daemon/resources/razer.conf razer.conf.example
-
- if use daemon ; then
- # Python libraries/scripts, "client" also requires USE="daemon"
- distutils-r1_src_install
-
- # dbus service
- insinto /usr/share/dbus-1/services
- doins "${S}"/daemon/org.razer.service
-
- # systemd unit
- systemd_douserunit "${S}"/daemon/${PN}-daemon.service
-
- # xdg autostart example file
- insinto /usr/share/${PN}
- doins "${S}"/install_files/desktop/openrazer-daemon.desktop
-
- # Manpages
- doman "${S}"/daemon/resources/man/${PN}-daemon.8
- doman "${S}"/daemon/resources/man/razer.conf.5
- fi
-}
-
-pkg_postinst() {
- linux-mod-r1_pkg_postinst
- udev_reload
-
- if use daemon ; then
- xdg_icon_cache_update
- xdg_desktop_database_update
- fi
-
- readme.gentoo_print_elog
-}
-
-pkg_postrm() {
- udev_reload
-
- if use daemon ; then
- xdg_icon_cache_update
- xdg_desktop_database_update
- fi
-}
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-apps/openrazer/
@ 2024-04-14 15:33 Maciej Barć
0 siblings, 0 replies; 30+ messages in thread
From: Maciej Barć @ 2024-04-14 15:33 UTC (permalink / raw
To: gentoo-commits
commit: a7c283f64b80a51fab504b5a35642267682256a7
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 14 14:58:09 2024 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sun Apr 14 15:33:41 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7c283f6
sys-apps/openrazer: bump to 3.8.0
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
sys-apps/openrazer/Manifest | 1 +
sys-apps/openrazer/openrazer-3.8.0.ebuild | 175 ++++++++++++++++++++++++++++++
2 files changed, 176 insertions(+)
diff --git a/sys-apps/openrazer/Manifest b/sys-apps/openrazer/Manifest
index 313a88ad4c65..04ef4147383d 100644
--- a/sys-apps/openrazer/Manifest
+++ b/sys-apps/openrazer/Manifest
@@ -1 +1,2 @@
DIST openrazer-3.7.0.tar.gz 249201 BLAKE2B fd3d98b1d3c46623392a5cd42c8cafd605a7e2a6ec3d42f1f8f3c27b20fe06a149d55c45615a574957a14b66d20371cc9ddfd551c44659bd3887e53a3ad44570 SHA512 5067510fc22040f7a351556499db85a728863d97b56cdb26ea15adebe062403d2a4927c9bdcd620bddeb3388f1db184c0036dd121495b27ddb0d8d80cc17aafb
+DIST openrazer-3.8.0.tar.gz 250649 BLAKE2B 7266bff9d1614d72b051370aae4cce917adc8d601b788a93eea11db8d11d9c993527aed9b588c5f1c7b248e0e4fa560faf3c095c551bca2a1126ea6b01189154 SHA512 5ec059017591e8942f4c623deb4fa394c4c1d8a0eb14f80491c00976848964c07b4f56bb542f9e5cea84818b296fd05c768feb9eef3d1c9e8e087e5497319fe5
diff --git a/sys-apps/openrazer/openrazer-3.8.0.ebuild b/sys-apps/openrazer/openrazer-3.8.0.ebuild
new file mode 100644
index 000000000000..847563f1745f
--- /dev/null
+++ b/sys-apps/openrazer/openrazer-3.8.0.ebuild
@@ -0,0 +1,175 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit readme.gentoo-r1 systemd udev xdg-utils distutils-r1 linux-mod-r1
+
+DESCRIPTION="Drivers and user-space daemon to control Razer devices on GNU/Linux"
+HOMEPAGE="https://openrazer.github.io/
+ https://github.com/openrazer/openrazer/"
+
+if [[ "${PV}" == *9999* ]] ; then
+ inherit git-r3
+
+ EGIT_REPO_URI="https://github.com/${PN}/${PN}.git"
+else
+ SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz
+ -> ${P}.tar.gz"
+
+ KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="GPL-2+"
+SLOT="0"
+
+IUSE="+client +daemon"
+REQUIRED_USE="
+ client? ( daemon )
+ daemon? ( ${PYTHON_REQUIRED_USE} )
+ test? ( daemon )
+"
+
+RDEPEND="
+ client? ( dev-python/numpy[${PYTHON_USEDEP}] )
+ daemon? (
+ acct-group/plugdev
+ dev-python/daemonize[${PYTHON_USEDEP}]
+ dev-python/dbus-python[${PYTHON_USEDEP}]
+ dev-python/notify2[${PYTHON_USEDEP}]
+ dev-python/pygobject:3[${PYTHON_USEDEP}]
+ dev-python/pyudev[${PYTHON_USEDEP}]
+ dev-python/setproctitle[${PYTHON_USEDEP}]
+ x11-libs/gtk+:3[introspection]
+ x11-misc/xautomation
+ x11-misc/xdotool
+ )
+"
+BDEPEND="
+ ${RDEPEND}
+ virtual/linux-sources
+"
+
+DOCS=( README.md )
+
+DOC_CONTENTS="To successfully use OpenRazer: load desired kernel module
+(razeraccessory, razerkbd, razerkraken and/or razermouse),
+add your user to the \"plugdev\" group and start the OpenRazer daemon.
+To automatically start up the OpenRazer daemon on session login copy
+/usr/share/openrazer/openrazer-daemon.desktop file into Your user's
+~/.config/autostart/ directory."
+
+distutils_enable_tests unittest
+
+python_compile() {
+ cd "${S}/daemon" || die
+
+ distutils_pep517_install "${BUILD_DIR}/install"
+
+ if use client ; then
+ cd "${S}/pylib" || die
+
+ distutils_pep517_install "${BUILD_DIR}/install"
+ fi
+}
+
+python_install() {
+ distutils-r1_python_install
+
+ python_scriptinto /usr/bin
+ python_newscript daemon/run_openrazer_daemon.py "${PN}-daemon"
+}
+
+src_prepare() {
+ xdg_environment_reset
+
+ if use daemon ; then
+ distutils-r1_src_prepare
+ else
+ default
+ fi
+
+ # Remove bad tests.
+ rm daemon/tests/test_effect_sync.py || die
+}
+
+src_compile() {
+ local -a modargs=(
+ SUBDIRS="${S}/driver"
+ KERNELDIR="${KERNEL_DIR}"
+ )
+ local -a modlist=(
+ {razeraccessory,razerkbd,razerkraken,razermouse}="hid:${S}:driver"
+ )
+ linux-mod-r1_src_compile
+
+ if use daemon ; then
+ distutils-r1_src_compile
+
+ emake -C "${S}/daemon" PREFIX=/usr service
+ fi
+
+ readme.gentoo_create_doc
+}
+
+src_test() {
+ cd daemon/tests || die
+
+ distutils-r1_src_test
+}
+
+src_install() {
+ linux-mod-r1_src_install
+
+ udev_dorules install_files/udev/99-razer.rules
+ exeinto "$(get_udevdir)"
+ doexe install_files/udev/razer_mount
+
+ # Install configuration example so that the daemon does not complain.
+ insinto /usr/share/${PN}
+ newins daemon/resources/razer.conf razer.conf.example
+
+ if use daemon ; then
+ # Python libraries/scripts, "client" also requires USE="daemon"
+ distutils-r1_src_install
+
+ # dbus service
+ insinto /usr/share/dbus-1/services
+ doins daemon/org.razer.service
+
+ # systemd unit
+ systemd_douserunit "daemon/${PN}-daemon.service"
+
+ # xdg autostart example file
+ insinto /usr/share/${PN}
+ doins install_files/desktop/openrazer-daemon.desktop
+
+ # Manpages
+ doman daemon/resources/man/${PN}-daemon.8
+ doman daemon/resources/man/razer.conf.5
+ fi
+}
+
+pkg_postinst() {
+ linux-mod-r1_pkg_postinst
+ udev_reload
+
+ if use daemon ; then
+ xdg_icon_cache_update
+ xdg_desktop_database_update
+ fi
+
+ readme.gentoo_print_elog
+}
+
+pkg_postrm() {
+ udev_reload
+
+ if use daemon ; then
+ xdg_icon_cache_update
+ xdg_desktop_database_update
+ fi
+}
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-apps/openrazer/
@ 2024-04-14 15:33 Maciej Barć
0 siblings, 0 replies; 30+ messages in thread
From: Maciej Barć @ 2024-04-14 15:33 UTC (permalink / raw
To: gentoo-commits
commit: 3c7df911473928ed1988a813331b308cb61506e4
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 14 14:56:42 2024 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sun Apr 14 15:33:41 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c7df911
sys-apps/openrazer: enable py3.12 compat
Closes: https://bugs.gentoo.org/929817
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
.../openrazer/{openrazer-3.7.0.ebuild => openrazer-3.7.0-r1.ebuild} | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sys-apps/openrazer/openrazer-3.7.0.ebuild b/sys-apps/openrazer/openrazer-3.7.0-r1.ebuild
similarity index 98%
rename from sys-apps/openrazer/openrazer-3.7.0.ebuild
rename to sys-apps/openrazer/openrazer-3.7.0-r1.ebuild
index f6e5fa460d6b..878518347eef 100644
--- a/sys-apps/openrazer/openrazer-3.7.0.ebuild
+++ b/sys-apps/openrazer/openrazer-3.7.0-r1.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{10..12} )
inherit readme.gentoo-r1 systemd udev xdg-utils distutils-r1 linux-mod-r1
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-apps/openrazer/
@ 2024-06-01 3:46 Ionen Wolkens
0 siblings, 0 replies; 30+ messages in thread
From: Ionen Wolkens @ 2024-06-01 3:46 UTC (permalink / raw
To: gentoo-commits
commit: fcc8987f8b5ddf2d6736aff6d5d7fd58e9f96083
Author: Matoro Mahri <matoro_gentoo <AT> matoro <DOT> tk>
AuthorDate: Sat Jun 1 03:14:25 2024 +0000
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Sat Jun 1 03:45:57 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fcc8987f
sys-apps/openrazer: Stabilize 3.8.0 amd64, #932117
Signed-off-by: Matoro Mahri <matoro_gentoo <AT> matoro.tk>
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
sys-apps/openrazer/openrazer-3.8.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys-apps/openrazer/openrazer-3.8.0.ebuild b/sys-apps/openrazer/openrazer-3.8.0.ebuild
index 847563f1745f..878518347eef 100644
--- a/sys-apps/openrazer/openrazer-3.8.0.ebuild
+++ b/sys-apps/openrazer/openrazer-3.8.0.ebuild
@@ -20,7 +20,7 @@ else
SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz
-> ${P}.tar.gz"
- KEYWORDS="~amd64 ~x86"
+ KEYWORDS="amd64 ~x86"
fi
LICENSE="GPL-2+"
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-apps/openrazer/
@ 2024-06-22 19:05 Maciej Barć
0 siblings, 0 replies; 30+ messages in thread
From: Maciej Barć @ 2024-06-22 19:05 UTC (permalink / raw
To: gentoo-commits
commit: 754d058b5468c9575cf6ca4f7bbbe703f259d2aa
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 22 18:48:44 2024 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sat Jun 22 19:04:35 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=754d058b
sys-apps/openrazer: drop old 3.7.0-r1
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
sys-apps/openrazer/Manifest | 1 -
sys-apps/openrazer/openrazer-3.7.0-r1.ebuild | 175 ---------------------------
2 files changed, 176 deletions(-)
diff --git a/sys-apps/openrazer/Manifest b/sys-apps/openrazer/Manifest
index 04ef4147383d..eac4e187f090 100644
--- a/sys-apps/openrazer/Manifest
+++ b/sys-apps/openrazer/Manifest
@@ -1,2 +1 @@
-DIST openrazer-3.7.0.tar.gz 249201 BLAKE2B fd3d98b1d3c46623392a5cd42c8cafd605a7e2a6ec3d42f1f8f3c27b20fe06a149d55c45615a574957a14b66d20371cc9ddfd551c44659bd3887e53a3ad44570 SHA512 5067510fc22040f7a351556499db85a728863d97b56cdb26ea15adebe062403d2a4927c9bdcd620bddeb3388f1db184c0036dd121495b27ddb0d8d80cc17aafb
DIST openrazer-3.8.0.tar.gz 250649 BLAKE2B 7266bff9d1614d72b051370aae4cce917adc8d601b788a93eea11db8d11d9c993527aed9b588c5f1c7b248e0e4fa560faf3c095c551bca2a1126ea6b01189154 SHA512 5ec059017591e8942f4c623deb4fa394c4c1d8a0eb14f80491c00976848964c07b4f56bb542f9e5cea84818b296fd05c768feb9eef3d1c9e8e087e5497319fe5
diff --git a/sys-apps/openrazer/openrazer-3.7.0-r1.ebuild b/sys-apps/openrazer/openrazer-3.7.0-r1.ebuild
deleted file mode 100644
index 878518347eef..000000000000
--- a/sys-apps/openrazer/openrazer-3.7.0-r1.ebuild
+++ /dev/null
@@ -1,175 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..12} )
-
-inherit readme.gentoo-r1 systemd udev xdg-utils distutils-r1 linux-mod-r1
-
-DESCRIPTION="Drivers and user-space daemon to control Razer devices on GNU/Linux"
-HOMEPAGE="https://openrazer.github.io/
- https://github.com/openrazer/openrazer/"
-
-if [[ "${PV}" == *9999* ]] ; then
- inherit git-r3
-
- EGIT_REPO_URI="https://github.com/${PN}/${PN}.git"
-else
- SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz
- -> ${P}.tar.gz"
-
- KEYWORDS="amd64 ~x86"
-fi
-
-LICENSE="GPL-2+"
-SLOT="0"
-
-IUSE="+client +daemon"
-REQUIRED_USE="
- client? ( daemon )
- daemon? ( ${PYTHON_REQUIRED_USE} )
- test? ( daemon )
-"
-
-RDEPEND="
- client? ( dev-python/numpy[${PYTHON_USEDEP}] )
- daemon? (
- acct-group/plugdev
- dev-python/daemonize[${PYTHON_USEDEP}]
- dev-python/dbus-python[${PYTHON_USEDEP}]
- dev-python/notify2[${PYTHON_USEDEP}]
- dev-python/pygobject:3[${PYTHON_USEDEP}]
- dev-python/pyudev[${PYTHON_USEDEP}]
- dev-python/setproctitle[${PYTHON_USEDEP}]
- x11-libs/gtk+:3[introspection]
- x11-misc/xautomation
- x11-misc/xdotool
- )
-"
-BDEPEND="
- ${RDEPEND}
- virtual/linux-sources
-"
-
-DOCS=( README.md )
-
-DOC_CONTENTS="To successfully use OpenRazer: load desired kernel module
-(razeraccessory, razerkbd, razerkraken and/or razermouse),
-add your user to the \"plugdev\" group and start the OpenRazer daemon.
-To automatically start up the OpenRazer daemon on session login copy
-/usr/share/openrazer/openrazer-daemon.desktop file into Your user's
-~/.config/autostart/ directory."
-
-distutils_enable_tests unittest
-
-python_compile() {
- cd "${S}/daemon" || die
-
- distutils_pep517_install "${BUILD_DIR}/install"
-
- if use client ; then
- cd "${S}/pylib" || die
-
- distutils_pep517_install "${BUILD_DIR}/install"
- fi
-}
-
-python_install() {
- distutils-r1_python_install
-
- python_scriptinto /usr/bin
- python_newscript daemon/run_openrazer_daemon.py "${PN}-daemon"
-}
-
-src_prepare() {
- xdg_environment_reset
-
- if use daemon ; then
- distutils-r1_src_prepare
- else
- default
- fi
-
- # Remove bad tests.
- rm daemon/tests/test_effect_sync.py || die
-}
-
-src_compile() {
- local -a modargs=(
- SUBDIRS="${S}/driver"
- KERNELDIR="${KERNEL_DIR}"
- )
- local -a modlist=(
- {razeraccessory,razerkbd,razerkraken,razermouse}="hid:${S}:driver"
- )
- linux-mod-r1_src_compile
-
- if use daemon ; then
- distutils-r1_src_compile
-
- emake -C "${S}/daemon" PREFIX=/usr service
- fi
-
- readme.gentoo_create_doc
-}
-
-src_test() {
- cd daemon/tests || die
-
- distutils-r1_src_test
-}
-
-src_install() {
- linux-mod-r1_src_install
-
- udev_dorules install_files/udev/99-razer.rules
- exeinto "$(get_udevdir)"
- doexe install_files/udev/razer_mount
-
- # Install configuration example so that the daemon does not complain.
- insinto /usr/share/${PN}
- newins daemon/resources/razer.conf razer.conf.example
-
- if use daemon ; then
- # Python libraries/scripts, "client" also requires USE="daemon"
- distutils-r1_src_install
-
- # dbus service
- insinto /usr/share/dbus-1/services
- doins daemon/org.razer.service
-
- # systemd unit
- systemd_douserunit "daemon/${PN}-daemon.service"
-
- # xdg autostart example file
- insinto /usr/share/${PN}
- doins install_files/desktop/openrazer-daemon.desktop
-
- # Manpages
- doman daemon/resources/man/${PN}-daemon.8
- doman daemon/resources/man/razer.conf.5
- fi
-}
-
-pkg_postinst() {
- linux-mod-r1_pkg_postinst
- udev_reload
-
- if use daemon ; then
- xdg_icon_cache_update
- xdg_desktop_database_update
- fi
-
- readme.gentoo_print_elog
-}
-
-pkg_postrm() {
- udev_reload
-
- if use daemon ; then
- xdg_icon_cache_update
- xdg_desktop_database_update
- fi
-}
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-apps/openrazer/
@ 2024-10-06 19:53 Maciej Barć
0 siblings, 0 replies; 30+ messages in thread
From: Maciej Barć @ 2024-10-06 19:53 UTC (permalink / raw
To: gentoo-commits
commit: 85fd19eaffc93dbc318b93cb223fd18713de646c
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 6 19:07:19 2024 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sun Oct 6 19:51:35 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85fd19ea
sys-apps/openrazer: bump to 3.9.0
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
sys-apps/openrazer/Manifest | 1 +
sys-apps/openrazer/openrazer-3.9.0.ebuild | 175 ++++++++++++++++++++++++++++++
2 files changed, 176 insertions(+)
diff --git a/sys-apps/openrazer/Manifest b/sys-apps/openrazer/Manifest
index eac4e187f090..791a774d8043 100644
--- a/sys-apps/openrazer/Manifest
+++ b/sys-apps/openrazer/Manifest
@@ -1 +1,2 @@
DIST openrazer-3.8.0.tar.gz 250649 BLAKE2B 7266bff9d1614d72b051370aae4cce917adc8d601b788a93eea11db8d11d9c993527aed9b588c5f1c7b248e0e4fa560faf3c095c551bca2a1126ea6b01189154 SHA512 5ec059017591e8942f4c623deb4fa394c4c1d8a0eb14f80491c00976848964c07b4f56bb542f9e5cea84818b296fd05c768feb9eef3d1c9e8e087e5497319fe5
+DIST openrazer-3.9.0.tar.gz 252984 BLAKE2B d1e7392e7fbdcf8825ef2699a6f8c5cffbfd87739fabf4053eb67eaecb286fc695ffba4cde72afa0de0f459b9ce98754192096cf0cc168b80a9f77a54a0753bf SHA512 0d56e03cb9cc07ec080de654699d0b56de26931ff941d2694dfdfd6bdac6ed9dd5c0d88d9064dbe57135b7bf5dd2a01e6e51cb6a04d2b2b17a9dad22ed923fa7
diff --git a/sys-apps/openrazer/openrazer-3.9.0.ebuild b/sys-apps/openrazer/openrazer-3.9.0.ebuild
new file mode 100644
index 000000000000..878518347eef
--- /dev/null
+++ b/sys-apps/openrazer/openrazer-3.9.0.ebuild
@@ -0,0 +1,175 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit readme.gentoo-r1 systemd udev xdg-utils distutils-r1 linux-mod-r1
+
+DESCRIPTION="Drivers and user-space daemon to control Razer devices on GNU/Linux"
+HOMEPAGE="https://openrazer.github.io/
+ https://github.com/openrazer/openrazer/"
+
+if [[ "${PV}" == *9999* ]] ; then
+ inherit git-r3
+
+ EGIT_REPO_URI="https://github.com/${PN}/${PN}.git"
+else
+ SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz
+ -> ${P}.tar.gz"
+
+ KEYWORDS="amd64 ~x86"
+fi
+
+LICENSE="GPL-2+"
+SLOT="0"
+
+IUSE="+client +daemon"
+REQUIRED_USE="
+ client? ( daemon )
+ daemon? ( ${PYTHON_REQUIRED_USE} )
+ test? ( daemon )
+"
+
+RDEPEND="
+ client? ( dev-python/numpy[${PYTHON_USEDEP}] )
+ daemon? (
+ acct-group/plugdev
+ dev-python/daemonize[${PYTHON_USEDEP}]
+ dev-python/dbus-python[${PYTHON_USEDEP}]
+ dev-python/notify2[${PYTHON_USEDEP}]
+ dev-python/pygobject:3[${PYTHON_USEDEP}]
+ dev-python/pyudev[${PYTHON_USEDEP}]
+ dev-python/setproctitle[${PYTHON_USEDEP}]
+ x11-libs/gtk+:3[introspection]
+ x11-misc/xautomation
+ x11-misc/xdotool
+ )
+"
+BDEPEND="
+ ${RDEPEND}
+ virtual/linux-sources
+"
+
+DOCS=( README.md )
+
+DOC_CONTENTS="To successfully use OpenRazer: load desired kernel module
+(razeraccessory, razerkbd, razerkraken and/or razermouse),
+add your user to the \"plugdev\" group and start the OpenRazer daemon.
+To automatically start up the OpenRazer daemon on session login copy
+/usr/share/openrazer/openrazer-daemon.desktop file into Your user's
+~/.config/autostart/ directory."
+
+distutils_enable_tests unittest
+
+python_compile() {
+ cd "${S}/daemon" || die
+
+ distutils_pep517_install "${BUILD_DIR}/install"
+
+ if use client ; then
+ cd "${S}/pylib" || die
+
+ distutils_pep517_install "${BUILD_DIR}/install"
+ fi
+}
+
+python_install() {
+ distutils-r1_python_install
+
+ python_scriptinto /usr/bin
+ python_newscript daemon/run_openrazer_daemon.py "${PN}-daemon"
+}
+
+src_prepare() {
+ xdg_environment_reset
+
+ if use daemon ; then
+ distutils-r1_src_prepare
+ else
+ default
+ fi
+
+ # Remove bad tests.
+ rm daemon/tests/test_effect_sync.py || die
+}
+
+src_compile() {
+ local -a modargs=(
+ SUBDIRS="${S}/driver"
+ KERNELDIR="${KERNEL_DIR}"
+ )
+ local -a modlist=(
+ {razeraccessory,razerkbd,razerkraken,razermouse}="hid:${S}:driver"
+ )
+ linux-mod-r1_src_compile
+
+ if use daemon ; then
+ distutils-r1_src_compile
+
+ emake -C "${S}/daemon" PREFIX=/usr service
+ fi
+
+ readme.gentoo_create_doc
+}
+
+src_test() {
+ cd daemon/tests || die
+
+ distutils-r1_src_test
+}
+
+src_install() {
+ linux-mod-r1_src_install
+
+ udev_dorules install_files/udev/99-razer.rules
+ exeinto "$(get_udevdir)"
+ doexe install_files/udev/razer_mount
+
+ # Install configuration example so that the daemon does not complain.
+ insinto /usr/share/${PN}
+ newins daemon/resources/razer.conf razer.conf.example
+
+ if use daemon ; then
+ # Python libraries/scripts, "client" also requires USE="daemon"
+ distutils-r1_src_install
+
+ # dbus service
+ insinto /usr/share/dbus-1/services
+ doins daemon/org.razer.service
+
+ # systemd unit
+ systemd_douserunit "daemon/${PN}-daemon.service"
+
+ # xdg autostart example file
+ insinto /usr/share/${PN}
+ doins install_files/desktop/openrazer-daemon.desktop
+
+ # Manpages
+ doman daemon/resources/man/${PN}-daemon.8
+ doman daemon/resources/man/razer.conf.5
+ fi
+}
+
+pkg_postinst() {
+ linux-mod-r1_pkg_postinst
+ udev_reload
+
+ if use daemon ; then
+ xdg_icon_cache_update
+ xdg_desktop_database_update
+ fi
+
+ readme.gentoo_print_elog
+}
+
+pkg_postrm() {
+ udev_reload
+
+ if use daemon ; then
+ xdg_icon_cache_update
+ xdg_desktop_database_update
+ fi
+}
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-apps/openrazer/
@ 2024-11-13 18:16 Maciej Barć
0 siblings, 0 replies; 30+ messages in thread
From: Maciej Barć @ 2024-11-13 18:16 UTC (permalink / raw
To: gentoo-commits
commit: 5aaac21c68d5d7b166e9b8f21b009257f84a88f5
Author: idealseal <realidealseal <AT> protonmail <DOT> com>
AuthorDate: Tue Nov 12 17:47:06 2024 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Wed Nov 13 18:07:05 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5aaac21c
sys-apps/openrazer: enable py3.13
Signed-off-by: idealseal <realidealseal <AT> protonmail.com>
Closes: https://github.com/gentoo/gentoo/pull/39288
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
.../openrazer/{openrazer-3.8.0.ebuild => openrazer-3.8.0-r1.ebuild} | 2 +-
.../openrazer/{openrazer-3.9.0.ebuild => openrazer-3.9.0-r1.ebuild} | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/sys-apps/openrazer/openrazer-3.8.0.ebuild b/sys-apps/openrazer/openrazer-3.8.0-r1.ebuild
similarity index 99%
rename from sys-apps/openrazer/openrazer-3.8.0.ebuild
rename to sys-apps/openrazer/openrazer-3.8.0-r1.ebuild
index 878518347eef..849f914ba1ab 100644
--- a/sys-apps/openrazer/openrazer-3.8.0.ebuild
+++ b/sys-apps/openrazer/openrazer-3.8.0-r1.ebuild
@@ -4,7 +4,7 @@
EAPI=8
DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_COMPAT=( python3_{10..13} )
inherit readme.gentoo-r1 systemd udev xdg-utils distutils-r1 linux-mod-r1
diff --git a/sys-apps/openrazer/openrazer-3.9.0.ebuild b/sys-apps/openrazer/openrazer-3.9.0-r1.ebuild
similarity index 99%
rename from sys-apps/openrazer/openrazer-3.9.0.ebuild
rename to sys-apps/openrazer/openrazer-3.9.0-r1.ebuild
index 847563f1745f..399101f11d6f 100644
--- a/sys-apps/openrazer/openrazer-3.9.0.ebuild
+++ b/sys-apps/openrazer/openrazer-3.9.0-r1.ebuild
@@ -4,7 +4,7 @@
EAPI=8
DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_COMPAT=( python3_{10..13} )
inherit readme.gentoo-r1 systemd udev xdg-utils distutils-r1 linux-mod-r1
^ permalink raw reply related [flat|nested] 30+ messages in thread
end of thread, other threads:[~2024-11-13 18:16 UTC | newest]
Thread overview: 30+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-01 3:46 [gentoo-commits] repo/gentoo:master commit in: sys-apps/openrazer/ Ionen Wolkens
-- strict thread matches above, loose matches on Subject: below --
2024-11-13 18:16 Maciej Barć
2024-10-06 19:53 Maciej Barć
2024-06-22 19:05 Maciej Barć
2024-04-14 15:33 Maciej Barć
2024-04-14 15:33 Maciej Barć
2023-12-16 21:45 Maciej Barć
2023-12-08 8:31 Maciej Barć
2023-11-02 22:11 Maciej Barć
2023-08-29 20:03 Maciej Barć
2023-08-29 20:03 Maciej Barć
2023-08-12 7:52 Arthur Zamarin
2023-07-08 21:22 Maciej Barć
2023-07-07 11:58 Maciej Barć
2023-06-17 20:17 Maciej Barć
2023-06-17 20:17 Maciej Barć
2023-06-17 20:17 Maciej Barć
2023-06-17 15:13 Sam James
2023-06-07 15:50 Sam James
2023-05-13 22:06 Maciej Barć
2023-05-01 17:47 Maciej Barć
2023-01-21 9:26 Arthur Zamarin
2023-01-16 1:57 Maciej Barć
2022-12-08 2:50 Maciej Barć
2022-12-04 12:25 Maciej Barć
2022-11-20 15:47 Maciej Barć
2022-10-03 2:07 Maciej Barć
2022-09-21 14:06 Maciej Barć
2022-09-21 12:19 Maciej Barć
2022-09-20 23:23 Maciej Barć
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox