Add ckb-next/ckb-next-9999
This commit is contained in:
parent
c712e35e2c
commit
35ac01b583
|
@ -0,0 +1 @@
|
|||
EBUILD ckb-next-9999.ebuild 1214 SHA256 abdc78db1e0f68b8ca332057d464ea7074a605b778879c378dd2667d0b3be275 SHA512 160e6367a87f8b9e6d08e039078e4d305dc80ce35437c3674370a529c115ad7850296212651b1dc9b85d031bf4682657b496cb911afcf3799946d88c0f709820 WHIRLPOOL 9668c66a35ef60ee2487a6016b523f1283870d2fd9563b7dd555a765517358a9566a1aebf4154387723cc25b8cb19d2f7e5ff4e401431d026608dcbb64416d91
|
|
@ -0,0 +1,48 @@
|
|||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit qmake-utils systemd git-r3
|
||||
|
||||
DESCRIPTION="Corsair K65/K70/K95 Driver"
|
||||
HOMEPAGE="https://github.com/mattanger/ckb-next"
|
||||
EGIT_REPO_URI="https://github.com/mattanger/ckb-next.git"
|
||||
|
||||
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"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
DOCS=( README.md BUILD.md DAEMON.md )
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e "s/-Werror=all//" src/ckb-daemon/ckb-daemon.pro || die
|
||||
sed -i -e "/quazip/d" -e "s/^.*QUAZIP_STATIC/LIBS += -lquazip5/" src/ckb/ckb.pro || die
|
||||
sed -i -e "s/\#\!\/usr\/bin\/openrc-run/\#\!\/sbin\/openrc-run/" service/openrc/ckb-daemon || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
eqmake5
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin bin/ckb bin/ckb-daemon
|
||||
dodir /usr/bin/ckb-animations
|
||||
exeinto /usr/bin/ckb-animations
|
||||
doexe bin/ckb-animations/*
|
||||
|
||||
#newinitd "${FILESDIR}"/ckb.initd ckb-daemon
|
||||
newinitd service/openrc/ckb-daemon ckb-daemon
|
||||
domenu usr/ckb.desktop
|
||||
doicon usr/ckb.png
|
||||
systemd_dounit service/systemd/ckb-daemon.service
|
||||
dosym /usr/bin/ckb-animations /usr/lib/ckb-animations
|
||||
}
|
Loading…
Reference in New Issue