commit:     514c88eb20df58994a51d38ca4e64e509ea18843
Author:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 14 21:23:19 2018 +0000
Commit:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Wed Feb 14 21:23:19 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=514c88eb

app-misc/ckb: Version bump to 0.2.9 (ckb-next)

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 app-misc/ckb/Manifest         |  1 +
 app-misc/ckb/ckb-0.2.9.ebuild | 46 +++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 47 insertions(+)

diff --git a/app-misc/ckb/Manifest b/app-misc/ckb/Manifest
index 1e408005d05..7e9e87b9639 100644
--- a/app-misc/ckb/Manifest
+++ b/app-misc/ckb/Manifest
@@ -1 +1,2 @@
 DIST ckb-0.2.6.tar.gz 526737 BLAKE2B 
c41d4e510fb9226b578d305fbcf1f899f0e4c4ce1334274fde365d50ed8365fff5fa60784a5bbc7b2a1f8c85b9812a78d9d4cf629bea88ea4c4104e2f75c3c65
 SHA512 
6d92b0e82865748d9731943462d2cb89c3ea0dea4170f8aebcf5e1ed491c5d635dcd69a4f1f385ab891846f2b3437e2cb154f5dae5f5446cf52e557ebf6343a6
+DIST ckb-0.2.9.tar.gz 664625 BLAKE2B 
37dc9c75876ca46fb10241da7b223ca67e5b9c0a998386f0f82eba15a97045e269b1f8a75dea18297865826bff241c21b255a507fd26e73747ee2656a228c4ce
 SHA512 
7910f089d7b01ceade5ae8282db931c9decb9296d4c9c5fc2419eb7fb4ba5a2c0f85721a3a6846ed24a72f61b18374baa7fd27e11329b5d2f65b21916e8b96e1

diff --git a/app-misc/ckb/ckb-0.2.9.ebuild b/app-misc/ckb/ckb-0.2.9.ebuild
new file mode 100644
index 00000000000..85f4055acf6
--- /dev/null
+++ b/app-misc/ckb/ckb-0.2.9.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit vcs-snapshot qmake-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"
+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/lib#/usr/libexec#" src/ckb/animscript.cpp || die
+}
+
+src_configure() {
+       eqmake5
+}
+
+src_install() {
+       dobin bin/ckb bin/ckb-daemon
+       dodir /usr/bin/ckb-animations
+       exeinto /usr/libexec/ckb-animations
+       doexe bin/ckb-animations/*
+
+       newinitd "${FILESDIR}"/ckb.initd ckb-daemon
+       domenu usr/ckb.desktop
+       doicon usr/ckb.png
+       systemd_dounit service/systemd/ckb-daemon.service
+}

Reply via email to