mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-09 04:51:27 +02:00
openrazer: remove, in Gentoo
This commit is contained in:
parent
188543e48c
commit
adcdf8f031
4 changed files with 0 additions and 188 deletions
|
|
@ -1,2 +0,0 @@
|
|||
DIST openrazer-3.2.0.tar.gz 221817 BLAKE2B 3cc269bba306856923b6d5474266e653a05bc90616c93d0edb1fc31b69177af8c119a062434c81fdb70ad0013b066bb9cc2392cea5bde2e841b44eef5e965bd6 SHA512 847b90545cacab4ad73818a82b1277d622faaaf488ec28cfe1f826d976bee9d605a1b2c53afd1c628592b330486e378fb70d711bc7d2804a4bc198b507a7e0c2
|
||||
DIST openrazer-3.3.0.tar.gz 228431 BLAKE2B 796d6a714ddb678e359dcf09d968291ad7ec69fdda729ef5838ffa84615dc4fc501be8d8a9a0cfff9182c97d5acfc5511af0c95a50f92447339a6cf05900eea9 SHA512 b27be82e57e252abd57c1168e8c1fde940d4fb4deea165979f7d711a438bec34cfedcc81ae5ef107db0626182a9629141cb2c6023cd09fcbd822a36c17d737fa
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>blshkv@pentoo.ch</email>
|
||||
<name>Anton Bolshakov</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
|
|
@ -1,87 +0,0 @@
|
|||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{9..10} )
|
||||
|
||||
inherit distutils-r1 linux-mod udev
|
||||
|
||||
DESCRIPTION="Razer Drivers for Linux"
|
||||
HOMEPAGE="https://openrazer.github.io/"
|
||||
SRC_URI="https://github.com/openrazer/openrazer/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND="media-libs/libsdl2
|
||||
media-libs/sdl2-image
|
||||
sci-libs/fftw:3.0
|
||||
dev-python/daemonize[$PYTHON_USEDEP]
|
||||
dev-python/dbus-python[$PYTHON_USEDEP]
|
||||
dev-python/notify2[$PYTHON_USEDEP]
|
||||
dev-python/numpy[$PYTHON_USEDEP]
|
||||
dev-python/pygobject:*[$PYTHON_USEDEP]
|
||||
dev-python/python-evdev[$PYTHON_USEDEP]
|
||||
dev-python/pyudev[$PYTHON_USEDEP]
|
||||
dev-python/setproctitle[$PYTHON_USEDEP]
|
||||
x11-misc/xautomation
|
||||
x11-misc/xdotool"
|
||||
DEPEND="${RDEPEND}
|
||||
app-misc/jq"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
RESTRICT="test"
|
||||
|
||||
BUILD_TARGETS="clean driver"
|
||||
BUILD_PARAMS="-C ${S} KERNELDIR=${KERNEL_DIR}"
|
||||
MODULE_NAMES="razerkbd(kernel/driver/hid:${S}/driver)
|
||||
razermouse(kernel/driver/hid:${S}/driver)
|
||||
razerkraken(kernel/driver/hid:${S}/driver)
|
||||
razeraccessory(kernel/driver/hid:${S}/driver)"
|
||||
# razercore(kernel/driver/hid:${S}/driver)"
|
||||
# razermousemat(kernel/driver/hid:${S}/driver)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
# Fix jobserver unavailable
|
||||
sed -i -e '/daemon install$/s/make/$(MAKE)/' \
|
||||
-e '/pylib install$/s/@make/$(MAKE)/' \
|
||||
Makefile || die "sed failed for Makefile"
|
||||
# Do not to install compressed files
|
||||
sed -i '/gzip/d' daemon/Makefile || die "sed failed for daemon/Makefile"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
linux-mod_src_compile
|
||||
|
||||
compile_python() {
|
||||
pushd pylib
|
||||
distutils-r1_python_compile
|
||||
popd
|
||||
|
||||
pushd daemon
|
||||
distutils-r1_python_compile
|
||||
popd
|
||||
}
|
||||
python_foreach_impl compile_python
|
||||
}
|
||||
|
||||
src_install() {
|
||||
linux-mod_src_install
|
||||
|
||||
udev_dorules install_files/udev/99-razer.rules
|
||||
exeinto "$(get_udevdir)"
|
||||
doexe install_files/udev/razer_mount
|
||||
|
||||
mypython_install() {
|
||||
pushd pylib
|
||||
distutils-r1_python_install
|
||||
popd
|
||||
|
||||
pushd daemon
|
||||
distutils-r1_python_install
|
||||
emake DESTDIR="${D}" install-resources
|
||||
popd
|
||||
}
|
||||
python_foreach_impl mypython_install
|
||||
}
|
||||
|
|
@ -1,91 +0,0 @@
|
|||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{9..10} )
|
||||
|
||||
inherit distutils-r1 linux-mod udev
|
||||
|
||||
DESCRIPTION="Razer Drivers for Linux"
|
||||
HOMEPAGE="https://openrazer.github.io/"
|
||||
SRC_URI="https://github.com/openrazer/openrazer/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND="media-libs/libsdl2
|
||||
media-libs/sdl2-image
|
||||
sci-libs/fftw:3.0
|
||||
dev-python/daemonize[$PYTHON_USEDEP]
|
||||
dev-python/dbus-python[$PYTHON_USEDEP]
|
||||
dev-python/notify2[$PYTHON_USEDEP]
|
||||
dev-python/numpy[$PYTHON_USEDEP]
|
||||
dev-python/pygobject:*[$PYTHON_USEDEP]
|
||||
dev-python/python-evdev[$PYTHON_USEDEP]
|
||||
dev-python/pyudev[$PYTHON_USEDEP]
|
||||
dev-python/setproctitle[$PYTHON_USEDEP]
|
||||
x11-misc/xautomation
|
||||
x11-misc/xdotool"
|
||||
DEPEND="${RDEPEND}
|
||||
app-misc/jq"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
RESTRICT="test"
|
||||
|
||||
BUILD_TARGETS="clean driver"
|
||||
BUILD_PARAMS="-C ${S} KERNELDIR=${KERNEL_DIR}"
|
||||
MODULE_NAMES="razerkbd(kernel/driver/hid:${S}/driver)
|
||||
razermouse(kernel/driver/hid:${S}/driver)
|
||||
razerkraken(kernel/driver/hid:${S}/driver)
|
||||
razeraccessory(kernel/driver/hid:${S}/driver)"
|
||||
# razercore(kernel/driver/hid:${S}/driver)"
|
||||
# razermousemat(kernel/driver/hid:${S}/driver)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
# Fix jobserver unavailable
|
||||
sed -i -e '/daemon install$/s/make/$(MAKE)/' \
|
||||
-e '/pylib install$/s/@make/$(MAKE)/' \
|
||||
Makefile || die "sed failed for Makefile"
|
||||
# Do not to install compressed files
|
||||
sed -i '/gzip/d' daemon/Makefile || die "sed failed for daemon/Makefile"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
linux-mod_src_compile
|
||||
|
||||
compile_python() {
|
||||
pushd pylib
|
||||
distutils-r1_python_compile
|
||||
popd
|
||||
|
||||
pushd daemon
|
||||
distutils-r1_python_compile
|
||||
popd
|
||||
}
|
||||
python_foreach_impl compile_python
|
||||
}
|
||||
|
||||
src_install() {
|
||||
linux-mod_src_install
|
||||
|
||||
udev_dorules install_files/udev/99-razer.rules
|
||||
exeinto "$(get_udevdir)"
|
||||
doexe install_files/udev/razer_mount
|
||||
|
||||
mypython_install() {
|
||||
pushd pylib
|
||||
distutils-r1_python_install
|
||||
popd
|
||||
|
||||
pushd daemon
|
||||
distutils-r1_python_install
|
||||
emake DESTDIR="${D}" install-resources
|
||||
popd
|
||||
}
|
||||
python_foreach_impl mypython_install
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
udev_reload
|
||||
}
|
||||
Loading…
Reference in a new issue