app-misc/ckb: 0.4.2 is in ::gentoo now
This commit is contained in:
parent
fcd946f464
commit
018effb2f0
|
@ -1 +0,0 @@
|
||||||
DIST ckb-0.4.2.tar.gz 883681 BLAKE2B b3d921010b1caa8cb870770c6cf3ff0e9f6c65ea742325995e26351331e3063a16e8a391f593bfc8b16663cef0580e087d776796ea69776465122b08e00e9382 SHA512 4c80101e935a4d5137b0fd6aaf7d97889913af0bbb8e3097e035e2420043d6525094c1e3f7b5676e8c50328454251ff3260f6aa9b81ec583a2e8136333ee6af8
|
|
|
@ -1,49 +0,0 @@
|
||||||
# Copyright 1999-2019 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
inherit desktop cmake-utils systemd
|
|
||||||
|
|
||||||
DESCRIPTION="Corsair K65/K70/K95 Driver"
|
|
||||||
HOMEPAGE="https://github.com/ckb-next/ckb-next"
|
|
||||||
SRC_URI="https://github.com/ckb-next/ckb-next/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
DEPEND="
|
|
||||||
>=dev-libs/quazip-0.7.2[qt5(+)]
|
|
||||||
dev-qt/qtcore:5
|
|
||||||
dev-qt/qtgui:5
|
|
||||||
dev-qt/qtnetwork:5
|
|
||||||
dev-qt/qtwidgets:5
|
|
||||||
virtual/libudev:=
|
|
||||||
x11-libs/libX11
|
|
||||||
"
|
|
||||||
RDEPEND="${DEPEND}"
|
|
||||||
|
|
||||||
DOCS=( CHANGELOG.md README.md )
|
|
||||||
S="${WORKDIR}/${PN}-next-${PV}"
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
local mycmakeargs=(
|
|
||||||
-DDISABLE_UPDATER=yes
|
|
||||||
)
|
|
||||||
cmake-utils_src_configure
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
newinitd "${FILESDIR}"/ckb.initd ckb-daemon
|
|
||||||
cmake-utils_src_install
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
xdg_icon_cache_update
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postrm() {
|
|
||||||
xdg_icon_cache_update
|
|
||||||
}
|
|
|
@ -1,29 +0,0 @@
|
||||||
#!/sbin/openrc-run
|
|
||||||
## Copyright 1999-2015 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
extra_started_commands="reload"
|
|
||||||
command="/usr/bin/ckb-daemon"
|
|
||||||
description="Controller for Corsair Keyboard Driver"
|
|
||||||
pidfile="/run/ckb.pid"
|
|
||||||
logfile="/var/run/ckb.log"
|
|
||||||
|
|
||||||
start() {
|
|
||||||
ebegin "Starting Corsair Keyboard Driver"
|
|
||||||
start-stop-daemon --start --exec "${command}" --pidfile "${pidfile}" --background \
|
|
||||||
--stdout "${logfile}" --stderr "${logfile}"
|
|
||||||
eend $?
|
|
||||||
}
|
|
||||||
|
|
||||||
stop() {
|
|
||||||
ebegin "Stopping Corsair Keyboard Driver"
|
|
||||||
start-stop-daemon --stop --exec "${command}" --pidfile "${pidfile}"
|
|
||||||
eend $?
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
reload() {
|
|
||||||
stop
|
|
||||||
sleep 3
|
|
||||||
start
|
|
||||||
}
|
|
|
@ -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>alarig@swordarmor.fr</email>
|
|
||||||
<name>Alarig Le Lay</name>
|
|
||||||
</maintainer>
|
|
||||||
</pkgmetadata>
|
|
Loading…
Reference in a new issue