New package: logiops-0.3.2
Co-authored-by: Duncaen <duncaen@voidlinux.org> Closes: https://github.com/void-linux/void-packages/pull/42849
This commit is contained in:
parent
716ead03e4
commit
380f9f12df
|
@ -0,0 +1,5 @@
|
|||
#!/bin/sh
|
||||
exec 2>&1
|
||||
[ -r conf ] && . ./conf
|
||||
modprobe -q hid_logitech_hidpp || exit 1
|
||||
exec logid ${OPTS}
|
|
@ -0,0 +1,29 @@
|
|||
# Template file for 'logiops'
|
||||
pkgname=logiops
|
||||
version=0.3.2
|
||||
revision=1
|
||||
_ipcgull_rev=4f22a43e3380dc1e9c0a490201f4d745390b623f
|
||||
build_style=cmake
|
||||
hostmakedepends="pkg-config"
|
||||
makedepends="libevdev-devel eudev-libudev-devel libconfig-devel libconfig++-devel
|
||||
glib-devel"
|
||||
short_desc="Unofficial userspace driver for HID++ Logitech devices"
|
||||
maintainer="T0mstone <realt0mstone@gmail.com>"
|
||||
license="GPL-3.0-or-later"
|
||||
homepage="https://github.com/PixlOne/logiops"
|
||||
changelog="https://github.com/PixlOne/logiops/releases/tag/v${version}"
|
||||
distfiles="https://github.com/PixlOne/logiops/archive/refs/tags/v${version}.tar.gz
|
||||
https://github.com/PixlOne/ipcgull/archive/${_ipcgull_rev}.tar.gz"
|
||||
checksum="6c7210a84f9695a7530030dba9fff7e44765c971c7ef06461ff9c8646a64c036
|
||||
67068523dc0ea4750d501309d8041ca3511fa3e22fa1c453a3bc9f2ea5c95f45"
|
||||
skip_extraction="${_ipcgull_rev}.tar.gz"
|
||||
|
||||
post_extract() {
|
||||
bsdtar xzf "$XBPS_SRCDISTDIR/$pkgname-$version/$_ipcgull_rev.tar.gz" \
|
||||
--strip-components=1 -C "$wrksrc/src/ipcgull"
|
||||
}
|
||||
|
||||
post_install() {
|
||||
vsconf logid.example.cfg logid.cfg
|
||||
vsv logid
|
||||
}
|
Loading…
Reference in New Issue