=app-misc/ckb-next-9999 is now builds with cmake

This commit is contained in:
Sergey Morozov 2018-03-18 20:25:18 +03:00
parent 091636238e
commit f33f0ff73b
2 changed files with 2 additions and 33 deletions

View File

@ -1 +1 @@
EBUILD ckb-next-9999.ebuild 1289 SHA256 ec0d58aed18b1fb8b131df37c5d11d4023f05a83698e5223fa05548867c64c90 SHA512 9cdd7a9b6054bf326f9b1dba0dbdc65ae6f0c6fd2370915ccac03208592d4e73776b14ac583cc791acc9fc53656361876369b08839c4b961bf422dcd1c467656 WHIRLPOOL 565dd321b0200442f48fb1ececf7b7eb2fca96950f5936fc74f4d708cd14d8bdf656e620b96110f1b2b83f08703e4fe491ceb5d892a87b79b554d4056e1860c2
EBUILD ckb-next-9999.ebuild 490 BLAKE2B d3f121155223c53bfa4963c4b35e735e6eebdb62a07a8d0af3f02ef942639747c0d2698747fd681515cae1f1357c8662bc0e0e1842bf29b95684ed6b271fc10f SHA512 9417e77c9d232becb49c7d409f2242f00848d140e4b1ab35624d29b1b1769392070c6147e8133d3762016b4cd34d5c6bc8fec885f2c218fc772648c637844cc6

View File

@ -3,7 +3,7 @@
EAPI=5
inherit qmake-utils systemd git-r3 udev
inherit cmake-utils systemd git-r3 udev
DESCRIPTION="Corsair K65/K70/K95 Driver"
HOMEPAGE="https://github.com/ckb-next/ckb-next"
@ -20,34 +20,3 @@ DEPEND=">=dev-libs/quazip-0.7.2[qt5(+)]
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
udev_dorules udev/99-ckb-daemon.rules
}
pkg_postinst() {
udev_reload
}