mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-27 07:52:55 +02:00
New package: oversteer-0.8.3
This commit is contained in:
parent
efeb5f267e
commit
9c5e09a01b
2 changed files with 37 additions and 0 deletions
22
srcpkgs/oversteer/patches/python3-required-modules.patch
Normal file
22
srcpkgs/oversteer/patches/python3-required-modules.patch
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
Removes an unnecessary block from meson.build that checks for python
|
||||||
|
modules and would force python3-* packages into makedepends instead of depends.
|
||||||
|
|
||||||
|
diff --git a/meson.build b/meson.build
|
||||||
|
index b47c7ed..3d91713 100644
|
||||||
|
--- a/meson.build
|
||||||
|
+++ b/meson.build
|
||||||
|
@@ -10,14 +10,6 @@ pkgdatadir = join_paths(prefix, get_option('datadir'), meson.project_name())
|
||||||
|
py_installation = pymod.find_installation(get_option('python'))
|
||||||
|
py_path = py_installation.get_install_dir()
|
||||||
|
|
||||||
|
-python3_required_modules = ['gi', 'pyudev', 'xdg', 'evdev', 'gettext', 'matplotlib', 'scipy', 'numpy']
|
||||||
|
-foreach p : python3_required_modules
|
||||||
|
- script = 'import importlib.util; import sys; exit(1) if importlib.util.find_spec(\''+ p +'\') is None else exit(0)'
|
||||||
|
- if run_command(py_installation, '-c', script, check: true).returncode() != 0
|
||||||
|
- error('Required Python3 module \'' + p + '\' not found')
|
||||||
|
- endif
|
||||||
|
-endforeach
|
||||||
|
-
|
||||||
|
udev_rules_dir = get_option('udev_rules_dir')
|
||||||
|
if udev_rules_dir == ''
|
||||||
|
if prefix == '/usr/local'
|
15
srcpkgs/oversteer/template
Normal file
15
srcpkgs/oversteer/template
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
# Template file for 'oversteer'
|
||||||
|
pkgname=oversteer
|
||||||
|
version=0.8.3
|
||||||
|
revision=1
|
||||||
|
build_style=meson
|
||||||
|
hostmakedepends="pkg-config gettext desktop-file-utils"
|
||||||
|
makedepends="eudev-libudev-devel"
|
||||||
|
depends="python3-gobject python3-pyudev python3-xdg python3-evdev
|
||||||
|
python3-matplotlib python3-scipy python3-numpy"
|
||||||
|
short_desc="Graphical Steering Wheel Manager for Linux"
|
||||||
|
maintainer="Hendrik Boll <fanyx@posteo.net>"
|
||||||
|
license="GPL-3.0-or-later"
|
||||||
|
homepage="https://github.com/berarma/oversteer"
|
||||||
|
distfiles="https://github.com/berarma/oversteer/archive/v${version}.tar.gz"
|
||||||
|
checksum=becf6ba62a3344037b448c49a543c17de5013829c4514d5fe8b9671c08e8e183
|
Loading…
Add table
Reference in a new issue