sysutils/g15daemon: New port: Daemon for Logitech G15 Keyboards
PR: 252987
This commit is contained in:
parent
3f82468681
commit
a9bf6e0571
@ -432,6 +432,7 @@
|
||||
SUBDIR += fusefs-zip
|
||||
SUBDIR += fvcool
|
||||
SUBDIR += fwup
|
||||
SUBDIR += g15daemon
|
||||
SUBDIR += gaffitter
|
||||
SUBDIR += ganglia-monitor-core
|
||||
SUBDIR += ganglia-webfrontend
|
||||
|
31
sysutils/g15daemon/Makefile
Normal file
31
sysutils/g15daemon/Makefile
Normal file
@ -0,0 +1,31 @@
|
||||
PORTNAME= g15daemon
|
||||
PORTVERSION= 3.0.4
|
||||
CATEGORIES= sysutils
|
||||
MASTER_SITES= https://gitlab.com/menelkir/${PORTNAME}/-/archive/${PORTVERSION}/
|
||||
|
||||
MAINTAINER= menelkir@itroll.org
|
||||
COMMENT= Daemon for Logitech G15 Keyboards
|
||||
|
||||
LICENSE= GPLv2
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
LIB_DEPENDS+= libg15.so:sysutils/libg15 \
|
||||
libg15render.so:sysutils/libg15render \
|
||||
libinput.so:x11/libinput
|
||||
|
||||
USES= gmake localbase libtool
|
||||
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS+= --sysconfdir=${LOCALBASE}/etc
|
||||
|
||||
USE_RC_SUBR= g15daemon
|
||||
|
||||
INSTALL_TARGET= install-strip
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|/etc|${PREFIX}/etc|' \
|
||||
${WRKSRC}/g15daemon/main.c
|
||||
|
||||
.include <bsd.port.mk>
|
3
sysutils/g15daemon/distinfo
Normal file
3
sysutils/g15daemon/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1628795795
|
||||
SHA256 (g15daemon-3.0.4.tar.gz) = 04acbfdc833e5af535ac2e15aad9aba2be381de09191736687b153cbd9c94fe7
|
||||
SIZE (g15daemon-3.0.4.tar.gz) = 453663
|
27
sysutils/g15daemon/files/g15daemon.in
Normal file
27
sysutils/g15daemon/files/g15daemon.in
Normal file
@ -0,0 +1,27 @@
|
||||
#!/bin/sh
|
||||
|
||||
# $FreeBSD$
|
||||
#
|
||||
# PROVIDE: g15daemon
|
||||
# REQUIRE: LOGIN
|
||||
# KEYWORD: shutdown
|
||||
#
|
||||
# Add these lines to /etc/rc.conf.local or /etc/rc.conf
|
||||
# to enable this service:
|
||||
#
|
||||
# g15daemon_enable (bool): Set to NO by default.
|
||||
# Set it to YES to enable doormand.
|
||||
|
||||
. /etc/rc.subr
|
||||
|
||||
name=g15daemon
|
||||
rcvar=g15daemon_enable
|
||||
|
||||
load_rc_config $name
|
||||
|
||||
: ${daemon_enable:="NO"}
|
||||
|
||||
command=%%PREFIX%%/sbin/${name}
|
||||
pidfile=/var/run/${name}.pid
|
||||
|
||||
run_rc_command "$1"
|
7
sysutils/g15daemon/pkg-descr
Normal file
7
sysutils/g15daemon/pkg-descr
Normal file
@ -0,0 +1,7 @@
|
||||
G15daemon takes control of the G15 keyboard, allowing the use of all keys
|
||||
through the uinput device driver. It also controls the use of the
|
||||
keyboard's LCD display, allows multiple, simultaneous client applications
|
||||
to connect, and gives the user the ability to switch between client apps
|
||||
at the press of a button.
|
||||
|
||||
WWW: https://gitlab.com/menelkir/g15daemon
|
16
sysutils/g15daemon/pkg-plist
Normal file
16
sysutils/g15daemon/pkg-plist
Normal file
@ -0,0 +1,16 @@
|
||||
include/g15daemon.h
|
||||
include/g15daemon_client.h
|
||||
lib/g15daemon/3.0/plugins/g15plugin_clock.a
|
||||
lib/g15daemon/3.0/plugins/g15plugin_clock.so
|
||||
lib/g15daemon/3.0/plugins/g15plugin_tcpserver.a
|
||||
lib/g15daemon/3.0/plugins/g15plugin_tcpserver.so
|
||||
lib/g15daemon/3.0/plugins/g15plugin_uinput.a
|
||||
lib/g15daemon/3.0/plugins/g15plugin_uinput.so
|
||||
lib/libg15daemon_client.a
|
||||
lib/libg15daemon_client.so
|
||||
lib/libg15daemon_client.so.3
|
||||
lib/libg15daemon_client.so.3.0.0
|
||||
man/man1/g15daemon.1.gz
|
||||
man/man3/g15daemon_client_devel.3.gz
|
||||
sbin/g15daemon
|
||||
%%DATADIR%%/splash/g15logo3.wbmp
|
Loading…
Reference in New Issue
Block a user