From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2FF9D1584F2 for ; Mon, 17 Mar 2025 04:26:02 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 10ADE343143 for ; Mon, 17 Mar 2025 04:26:02 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 094EC1103C7; Mon, 17 Mar 2025 04:26:01 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id EFEAA11037F for ; Mon, 17 Mar 2025 04:26:00 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9823F340DF9 for ; Mon, 17 Mar 2025 04:26:00 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 000EE1C96 for ; Mon, 17 Mar 2025 04:25:58 +0000 (UTC) From: "John Helmert III" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "John Helmert III" Message-ID: <1742185511.cfa1b57e2b01c00ad8adbdd13a7c4112f5dda840.ajak@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/ckb/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-misc/ckb/Manifest app-misc/ckb/ckb-0.6.1.ebuild X-VCS-Directories: app-misc/ckb/ X-VCS-Committer: ajak X-VCS-Committer-Name: John Helmert III X-VCS-Revision: cfa1b57e2b01c00ad8adbdd13a7c4112f5dda840 X-VCS-Branch: master Date: Mon, 17 Mar 2025 04:25:58 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 88daa624-19bc-466c-a02f-19cd33c3fc67 X-Archives-Hash: 2351ea48702a2e857397170c7a2850a7 commit: cfa1b57e2b01c00ad8adbdd13a7c4112f5dda840 Author: Mario Haustein hrz tu-chemnitz de> AuthorDate: Wed Mar 12 19:37:23 2025 +0000 Commit: John Helmert III gentoo org> CommitDate: Mon Mar 17 04:25:11 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cfa1b57e app-misc/ckb: add 0.6.1 Signed-off-by: Mario Haustein hrz.tu-chemnitz.de> Closes: https://github.com/gentoo/gentoo/pull/41039 Signed-off-by: John Helmert III gentoo.org> app-misc/ckb/Manifest | 1 + app-misc/ckb/ckb-0.6.1.ebuild | 72 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 73 insertions(+) diff --git a/app-misc/ckb/Manifest b/app-misc/ckb/Manifest index 506618ec257a..40e36f597b9c 100644 --- a/app-misc/ckb/Manifest +++ b/app-misc/ckb/Manifest @@ -1,2 +1,3 @@ DIST ckb-0.6.0.tar.gz 1835972 BLAKE2B a6d905cf4a62e9395e008628a2b585681f4fa4af52305a11e49d2f00db990a966be79f97e0ae684031a45bf77b372548b64e2b0f87e344eaa0eb67c07117f89c SHA512 34236199d420b663bb71db9400622bb868a3a0b384b58d5da3f80d2bd7ec9586d4e4ac9caad0b047b8440dc4200e4dd6077f4e0d1edb5a75a1327bf9c9ba9392 DIST ckb-0.6.0_p20250131.tar.gz 1862119 BLAKE2B bcf24f725e16defcbcaf4e8a98fdb3406fbb22a732210a42d05275c77565fba11b6fe8275a7dc8cfcc2678abd4bc0689e6b174380dd8eb5d72cde74a5a4a70f3 SHA512 bd80c34f3ec0e290358b4e77b7583439aa363442015208579ded2c83a09174f1ab9c19e6d31f6c7a6f67235f1a1f4ea52f207330965960f97c7ab3e711929456 +DIST ckb-0.6.1.tar.gz 1861827 BLAKE2B 1efc2e3db0d5ab81871f36f687db8b91ad0cd5ca400968829fc5cf406ab615d04882772fb25c8e8351ecd87ed32d754190bbdf902552839dfe5540bdb713c541 SHA512 8f7f4eacd1cd3c255f5c57c277f255e30e6ed1ac7635c4aa7d52193bd63f997f6ba9489641c10be8fc8607045537a75816fa9d937585f3c072af6ed0e8240d7f diff --git a/app-misc/ckb/ckb-0.6.1.ebuild b/app-misc/ckb/ckb-0.6.1.ebuild new file mode 100644 index 000000000000..6a24a2714caa --- /dev/null +++ b/app-misc/ckb/ckb-0.6.1.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake udev xdg + +DESCRIPTION="Corsair K65/K70/K95 Driver" +HOMEPAGE="https://github.com/ckb-next/ckb-next" + +if [[ ${PV} == "9999" ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/ckb-next/ckb-next.git" +else + SRC_URI="https://github.com/ckb-next/ckb-next/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" + S="${WORKDIR}/${PN}-next-${PV}" +fi + +LICENSE="GPL-2" +SLOT="0" +IUSE="systemd" + +RDEPEND=" + dev-libs/quazip:0=[qt6(-)] + dev-qt/qtbase:6[dbus,gui,network,opengl,widgets] + || ( + media-libs/libpulse + media-sound/apulse[sdk] + ) + virtual/libudev:= + x11-libs/libxcb:= + x11-libs/xcb-util-wm" +DEPEND="${RDEPEND}" +BDEPEND="dev-qt/qttools:6[linguist]" + +src_configure() { + local mycmakeargs=( + -DDISABLE_UPDATER=yes + -DFORCE_INIT_SYSTEM=$(usex systemd systemd openrc) + # upstream has a knob that enables automagically using Qt6 with + # a Qt5 fallback + -DPREFER_QT6=yes + # but Qt itself has a more reliable knob for the + # default version to use + -DQT_DEFAULT_MAJOR_VERSION=6 + ) + cmake_src_configure +} + +src_install() { + cmake_src_install + dodoc CHANGELOG.md +} + +pkg_postinst() { + udev_reload + + if [[ -z "${REPLACING_VERSIONS}" ]]; then + elog "The ckb daemon will have to be started before use:" + elog + if use systemd ; then + elog "# systemctl start ckb-next-daemon" + else + elog "# rc-config start ckb-next-daemon" + fi + fi +} + +pkg_postrm() { + udev_reload +}