From: "John Helmert III" <ajak@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/ckb/
Date: Fri, 8 Jul 2022 20:14:06 +0000 (UTC) [thread overview]
Message-ID: <1657311208.5884d982100e6c0f44aa772397c89ddd3097e69d.ajak@gentoo> (raw)
commit: 5884d982100e6c0f44aa772397c89ddd3097e69d
Author: Mario Haustein <mario.haustein <AT> hrz <DOT> tu-chemnitz <DOT> de>
AuthorDate: Fri Jul 8 17:00:18 2022 +0000
Commit: John Helmert III <ajak <AT> gentoo <DOT> org>
CommitDate: Fri Jul 8 20:13:28 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5884d982
app-misc/ckb: version bump 0.5.0, minor improvements
* inherit udec.eclass and reload udev
* build with media-sound/apulse when pulseaudio USE flag is not set
Closes: https://bugs.gentoo.org/769347
Closes: https://bugs.gentoo.org/854747
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Mario Haustein <mario.haustein <AT> hrz.tu-chemnitz.de>
Closes: https://github.com/gentoo/gentoo/pull/26290
Signed-off-by: John Helmert III <ajak <AT> gentoo.org>
app-misc/ckb/Manifest | 1 +
app-misc/ckb/ckb-0.5.0.ebuild | 73 +++++++++++++++++++++++++++++++++++++++++++
app-misc/ckb/ckb-9999.ebuild | 73 +++++++++++++++++++++++++++++++++++++++++++
3 files changed, 147 insertions(+)
diff --git a/app-misc/ckb/Manifest b/app-misc/ckb/Manifest
index c7a3775bb634..2d5a0b1a5219 100644
--- a/app-misc/ckb/Manifest
+++ b/app-misc/ckb/Manifest
@@ -1 +1,2 @@
DIST ckb-0.4.4.tar.gz 1593244 BLAKE2B 99476d3be98b3edac540b67b275a1ebec440f2a55d8bedd9bbdc815abd15bbeb3d035c703faa2dfdf9f4dcb70f49024c82b2990b1151b0ad5b78b741430d80f9 SHA512 b03d301a6b984957b5a3047769f25311c479f7992c59222b0ce9314b3204dac2d937c26997b97ec2ee1fdc79e3208c76a57a5c603dc1cd99ffb39fd426f58385
+DIST ckb-0.5.0.tar.gz 1868880 BLAKE2B 867923f4eaf5d0e9d4ec14c5bd5952d88436c12a0d615528e083705cff7346a654dc801e743519e5482e8beb1cd28284710000e69b20032856b0e22d48792ee3 SHA512 d4e46466df4cdac7f4d4be05072592101780c94af261ec1b0bf6ec8bb1f97f892fb5da17dd91cf5f9b45fe128547cc7393c13e29843d6a7ae0de7a4688a5cdb1
diff --git a/app-misc/ckb/ckb-0.5.0.ebuild b/app-misc/ckb/ckb-0.5.0.ebuild
new file mode 100644
index 000000000000..4629a34e2bd8
--- /dev/null
+++ b/app-misc/ckb/ckb-0.5.0.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2022 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/libdbusmenu-qt
+ dev-libs/quazip:0=
+ dev-qt/qtcore:5
+ dev-qt/qtdbus:5
+ dev-qt/qtgui:5
+ dev-qt/qtnetwork:5
+ dev-qt/qtwidgets:5
+ dev-qt/qtx11extras:5
+ || (
+ media-sound/pulseaudio
+ media-sound/apulse[sdk]
+ )
+ virtual/libudev:=
+ x11-libs/libX11
+ x11-libs/libxcb:=
+ x11-libs/xcb-util-wm"
+DEPEND="${RDEPEND}"
+BDEPEND="dev-qt/linguist-tools:5"
+
+src_configure() {
+ local mycmakeargs=(
+ -DDISABLE_UPDATER=yes
+ -DFORCE_INIT_SYSTEM=$(usex systemd systemd openrc)
+ )
+ 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
+}
diff --git a/app-misc/ckb/ckb-9999.ebuild b/app-misc/ckb/ckb-9999.ebuild
new file mode 100644
index 000000000000..4629a34e2bd8
--- /dev/null
+++ b/app-misc/ckb/ckb-9999.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2022 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/libdbusmenu-qt
+ dev-libs/quazip:0=
+ dev-qt/qtcore:5
+ dev-qt/qtdbus:5
+ dev-qt/qtgui:5
+ dev-qt/qtnetwork:5
+ dev-qt/qtwidgets:5
+ dev-qt/qtx11extras:5
+ || (
+ media-sound/pulseaudio
+ media-sound/apulse[sdk]
+ )
+ virtual/libudev:=
+ x11-libs/libX11
+ x11-libs/libxcb:=
+ x11-libs/xcb-util-wm"
+DEPEND="${RDEPEND}"
+BDEPEND="dev-qt/linguist-tools:5"
+
+src_configure() {
+ local mycmakeargs=(
+ -DDISABLE_UPDATER=yes
+ -DFORCE_INIT_SYSTEM=$(usex systemd systemd openrc)
+ )
+ 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
+}
next reply other threads:[~2022-07-08 20:14 UTC|newest]
Thread overview: 44+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-08 20:14 John Helmert III [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-03-21 4:01 [gentoo-commits] repo/gentoo:master commit in: app-misc/ckb/ John Helmert III
2025-03-20 0:06 Sam James
2025-03-17 4:25 John Helmert III
2025-03-17 4:25 John Helmert III
2025-02-18 5:23 John Helmert III
2024-07-28 18:51 John Helmert III
2024-07-28 2:39 Sam James
2023-12-21 21:43 John Helmert III
2023-09-11 4:41 John Helmert III
2023-07-28 21:13 John Helmert III
2023-07-28 21:12 John Helmert III
2023-07-28 21:12 John Helmert III
2023-06-10 22:56 Andreas Sturmlechner
2022-09-10 0:29 Sam James
2022-09-09 17:24 John Helmert III
2022-09-09 16:09 Andrew Ammerlaan
2022-03-02 2:43 John Helmert III
2021-10-17 16:08 John Helmert III
2021-09-25 20:48 John Helmert III
2021-09-25 20:48 John Helmert III
2021-04-21 21:14 Tony Vroon
2021-04-12 15:30 Tony Vroon
2021-02-23 19:53 Andreas Sturmlechner
2021-02-15 3:36 Sam James
2021-02-03 16:08 Tony Vroon
2019-11-25 13:44 Tony Vroon
2019-04-22 10:41 Andreas Sturmlechner
2019-04-22 10:41 Andreas Sturmlechner
2019-04-10 8:37 Manuel Rüger
2018-02-15 0:33 Manuel Rüger
2018-02-14 21:23 Manuel Rüger
2016-10-24 21:54 Manuel Rüger
2016-09-05 2:08 Manuel Rüger
2016-06-25 9:10 Manuel Rüger
2016-04-10 14:13 Manuel Rüger
2016-03-06 21:19 Manuel Rüger
2016-02-09 20:22 Manuel Rüger
2016-02-09 20:22 Manuel Rüger
2016-01-17 14:10 Manuel Rüger
2016-01-17 14:10 Manuel Rüger
2015-11-11 7:46 Manuel Rüger
2015-09-19 22:20 Manuel Rüger
2015-08-27 13:10 Manuel Rüger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1657311208.5884d982100e6c0f44aa772397c89ddd3097e69d.ajak@gentoo \
--to=ajak@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox