summaryrefslogtreecommitdiff
path: root/app-misc/ckb
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-07-29 04:38:41 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-07-29 04:38:41 +0100
commitd5c5aa9b48bd6a821f5e0a1a98474ac35fb21360 (patch)
tree9de3699cbe327fb5dd93a6ec37b895f9fdb94494 /app-misc/ckb
parentc6a12f3c8604a9269cfb82d666fc716df0e67792 (diff)
gentoo auto-resync : 29:07:2023 - 04:38:40
Diffstat (limited to 'app-misc/ckb')
-rw-r--r--app-misc/ckb/Manifest4
-rw-r--r--app-misc/ckb/ckb-0.6.0.ebuild72
-rw-r--r--app-misc/ckb/ckb-9999.ebuild1
3 files changed, 75 insertions, 2 deletions
diff --git a/app-misc/ckb/Manifest b/app-misc/ckb/Manifest
index bf2afad87099..cab07646f468 100644
--- a/app-misc/ckb/Manifest
+++ b/app-misc/ckb/Manifest
@@ -1,4 +1,6 @@
DIST ckb-0.5.0.tar.gz 1868880 BLAKE2B 867923f4eaf5d0e9d4ec14c5bd5952d88436c12a0d615528e083705cff7346a654dc801e743519e5482e8beb1cd28284710000e69b20032856b0e22d48792ee3 SHA512 d4e46466df4cdac7f4d4be05072592101780c94af261ec1b0bf6ec8bb1f97f892fb5da17dd91cf5f9b45fe128547cc7393c13e29843d6a7ae0de7a4688a5cdb1
+DIST ckb-0.6.0.tar.gz 1835972 BLAKE2B a6d905cf4a62e9395e008628a2b585681f4fa4af52305a11e49d2f00db990a966be79f97e0ae684031a45bf77b372548b64e2b0f87e344eaa0eb67c07117f89c SHA512 34236199d420b663bb71db9400622bb868a3a0b384b58d5da3f80d2bd7ec9586d4e4ac9caad0b047b8440dc4200e4dd6077f4e0d1edb5a75a1327bf9c9ba9392
EBUILD ckb-0.5.0-r1.ebuild 1390 BLAKE2B aa692e11f58277dcf21b0c1585c88612173c78e9d18d2931eef64a9e2c2ba1d7846387a83e13d658f7b02c7fc4566137f92920aeca0265fafdbf86edba912cb5 SHA512 3062729bc4735aa8fac53f7b30ab5559f4afac3c5fcbae6f76f8e4a34589433ce35c1ca5c929b73c79e426f0a9f0087b3554afdd0f17dbc191ef45d8b1f50714
-EBUILD ckb-9999.ebuild 1388 BLAKE2B 75213a2bb32fe211beac5c89438884a63c2631cf45c9e6182e0b05848e88a62b4d69713aebebc37268c7316948898cf2eac7e47b5a7f413f58803264b720860e SHA512 2ff7dc992709f309c12387921fe85b93de48c4f068e33869cc5902d5c86f1d27cf04ba031eb12435f8b227751b35bed0180ae08d3cb3d6723b9138758e00cced
+EBUILD ckb-0.6.0.ebuild 1371 BLAKE2B f440295e5d768353aa8224e3c1a49c59039f4c58efe1d74d3bf23377950b22ca464972744ef4f00e28f4da658180ecd2e93c91fbf7cf18e589ac275adb62172a SHA512 beb51fc89c6c58ef9896523eb3e915f5a41acb1b641c31bcf0a7a1cc92c1e2cd354dd6e1aef71dbc1e1394100c5667e008583d53f3380609376a979045efecfa
+EBUILD ckb-9999.ebuild 1371 BLAKE2B f440295e5d768353aa8224e3c1a49c59039f4c58efe1d74d3bf23377950b22ca464972744ef4f00e28f4da658180ecd2e93c91fbf7cf18e589ac275adb62172a SHA512 beb51fc89c6c58ef9896523eb3e915f5a41acb1b641c31bcf0a7a1cc92c1e2cd354dd6e1aef71dbc1e1394100c5667e008583d53f3380609376a979045efecfa
MISC metadata.xml 330 BLAKE2B 1620c787b0b2ede7874f1b8dba4aa6629f436217278024965a9e5a715cb3196b8630351a1b742f7f05177dc7a22b76caf16cc0ed8fd52dec2e81c54dc1f7f3db SHA512 241b50400569870e01576e52b871aded1ab05853677a05ac42a54eb03295ec9e197a6a592e9182c1169dc9e1f963b9439bce6a2c75eddf5ea7168e07ca362dae
diff --git a/app-misc/ckb/ckb-0.6.0.ebuild b/app-misc/ckb/ckb-0.6.0.ebuild
new file mode 100644
index 000000000000..278944d48117
--- /dev/null
+++ b/app-misc/ckb/ckb-0.6.0.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2023 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=[qt5(+)]
+ 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-libs/libpulse
+ media-sound/apulse[sdk]
+ )
+ virtual/libudev:=
+ 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
index dd93356ee5b1..278944d48117 100644
--- a/app-misc/ckb/ckb-9999.ebuild
+++ b/app-misc/ckb/ckb-9999.ebuild
@@ -35,7 +35,6 @@ RDEPEND="
media-sound/apulse[sdk]
)
virtual/libudev:=
- x11-libs/libX11
x11-libs/libxcb:=
x11-libs/xcb-util-wm"
DEPEND="${RDEPEND}"