From: "Ben Kohler" <bkohler@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/cpu-x/
Date: Mon, 16 Oct 2023 15:25:51 +0000 (UTC) [thread overview]
Message-ID: <1697469939.965508bf58d17f27a48dcacdadfb2aa4a041d35f.bkohler@gentoo> (raw)
commit: 965508bf58d17f27a48dcacdadfb2aa4a041d35f
Author: Ben Kohler <bkohler <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 16 15:17:13 2023 +0000
Commit: Ben Kohler <bkohler <AT> gentoo <DOT> org>
CommitDate: Mon Oct 16 15:25:39 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=965508bf
sys-apps/cpu-x: add 5.0.0
Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org>
sys-apps/cpu-x/Manifest | 1 +
sys-apps/cpu-x/cpu-x-5.0.0.ebuild | 81 +++++++++++++++++++++++++++++++++++++++
2 files changed, 82 insertions(+)
diff --git a/sys-apps/cpu-x/Manifest b/sys-apps/cpu-x/Manifest
index b2bc123ec5aa..5e533fa03b88 100644
--- a/sys-apps/cpu-x/Manifest
+++ b/sys-apps/cpu-x/Manifest
@@ -1,3 +1,4 @@
DIST cpu-x-4.5.1.tar.gz 1916681 BLAKE2B cf0e14050a884cbd763fb5bfe56a93db4c3e4bf0322f55304d6fe09d5b38210ee4139641654aee205761d3327f1b498d0dc88640c6432c4a9b0c62193c0671da SHA512 25b2d51ae093c5cb607aa77e05be0f62df3dc1d2022d96a2cfe935fedcbe2f5f85d9da16e1df05377a7e02280365c165ee93a2c22d1e4364d008bd669a69b2ec
DIST cpu-x-4.5.2.tar.gz 1919087 BLAKE2B d4f1564496f2aded5b40f1cce0ca3e5213486b266b4375035294d5564b9a4a59a2cb3ff87fd27280b2f32a3fe233a2f5dcc09d9a1acbefd16d270c0ff871b96e SHA512 a1700293930d7030f5240296f98c40d0e3e7e228678ebb3f87eebaa1939eec9905171ea3716968cad117dc6e4f173ebabe66c5f175b55e45b42b3d373a6f30e5
DIST cpu-x-4.5.3.tar.gz 1910854 BLAKE2B 98bb905e24d11ba4f599badd8f9de272fc0b8cd63cd000b7e0e09d7b98da7663d34abe62451aa8d617520fb62d43ae29cae049a14cdf840330be8b404ed7b61a SHA512 3f3e4f1d31e4e84bdeb68e448a1dabd2e22965caed1668300945a1d9150f77422b685a7a0bad997371ba08a3b0ac7fe3eab3aa1d0b485942347a72eb81d21b4f
+DIST cpu-x-5.0.0.tar.gz 1973209 BLAKE2B d34e99d899fe7a4c1d86b70af9059ad20a8edf7fc16864ad652ace8234aee86019c1359c46a19a230d759ed3a35636faee50df45613cc118ef683603eeeb54fc SHA512 c4fd7247c83987ab1c84586317a95327809510ed1289cd32cc16cd4d46c8d6af58f8496342e9172ad06cb8189d3e4c82a4826e9c8054fa2dc8cdd166ac29436d
diff --git a/sys-apps/cpu-x/cpu-x-5.0.0.ebuild b/sys-apps/cpu-x/cpu-x-5.0.0.ebuild
new file mode 100644
index 000000000000..09a6bef8d7cb
--- /dev/null
+++ b/sys-apps/cpu-x/cpu-x-5.0.0.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_PN="CPU-X"
+
+inherit cmake gnome2-utils xdg
+
+DESCRIPTION="A Free software that gathers information on CPU, motherboard and more"
+HOMEPAGE="https://thetumultuousunicornofdarkness.github.io/CPU-X/"
+SRC_URI="https://github.com/TheTumultuousUnicornOfDarkness/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="-* ~amd64"
+IUSE="+cpu force-libstatgrab +gpu gui +ncurses +nls opencl +pci test vulkan"
+RESTRICT="!test? ( test )"
+
+COMMON_DEPEND="
+ dev-libs/glib:2
+ x11-libs/cairo
+ x11-libs/gdk-pixbuf:2
+ x11-libs/pango
+ force-libstatgrab? ( sys-libs/libstatgrab )
+ !force-libstatgrab? ( sys-process/procps:= )
+ gui? ( >=x11-libs/gtk+-3.12:3 )
+ cpu? ( >=dev-libs/libcpuid-0.6.0:= )
+ gpu? ( >=media-libs/glfw-3.3
+ media-libs/libglvnd )
+ pci? ( sys-apps/pciutils )
+ ncurses? ( sys-libs/ncurses:=[tinfo] )
+ opencl? ( virtual/opencl )
+ vulkan? ( media-libs/vulkan-loader )
+"
+
+DEPEND="
+ test? (
+ sys-apps/grep[pcre]
+ sys-apps/mawk
+ sys-apps/nawk
+ )
+
+ ${COMMON_DEPEND}
+"
+
+BDEPEND="
+ dev-lang/nasm
+ nls? ( sys-devel/gettext )
+"
+
+RDEPEND="${COMMON_DEPEND}"
+
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+src_configure() {
+ local mycmakeargs=(
+ -DFORCE_LIBSTATGRAB=$(usex force-libstatgrab)
+ -DWITH_GETTEXT=$(usex nls)
+ -DWITH_GTK=$(usex gui)
+ -DWITH_LIBCPUID=$(usex cpu)
+ -DWITH_LIBGLFW=$(usex gpu)
+ -DWITH_LIBPCI=$(usex pci)
+ -DWITH_LIBSTATGRAB=OFF
+ -DWITH_NCURSES=$(usex ncurses)
+ -DWITH_OPENCL=$(usex opencl)
+ -DWITH_VULKAN=$(usex vulkan)
+ )
+ use gui && mycmakeargs+=( -DGSETTINGS_COMPILE=OFF )
+
+ cmake_src_configure
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+ gnome2_schemas_update
+}
+
+pkg_postrm() {
+ xdg_pkg_postrm
+ gnome2_schemas_update
+}
next reply other threads:[~2023-10-16 15:25 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-16 15:25 Ben Kohler [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-08-25 19:08 [gentoo-commits] repo/gentoo:master commit in: sys-apps/cpu-x/ Ben Kohler
2025-07-03 12:34 Ben Kohler
2025-05-13 17:25 Ben Kohler
2025-04-10 19:29 Ben Kohler
2025-04-10 19:29 Ben Kohler
2025-03-13 17:45 Ben Kohler
2025-02-27 17:01 Ben Kohler
2024-12-03 16:44 Ben Kohler
2024-10-08 16:04 Ben Kohler
2024-04-30 14:31 Ben Kohler
2024-01-06 15:33 Ben Kohler
2024-01-06 15:33 Ben Kohler
2023-11-13 12:55 Ben Kohler
2023-11-06 12:34 Ben Kohler
2023-10-27 18:00 Ben Kohler
2023-10-27 18:00 Ben Kohler
2023-10-16 15:25 Ben Kohler
2023-10-16 15:25 Ben Kohler
2023-06-24 12:24 Ben Kohler
2023-05-23 2:52 Sam James
2023-04-03 13:15 Ben Kohler
2023-04-03 13:15 Ben Kohler
2023-04-03 13:15 Ben Kohler
2022-11-12 23:21 Ben Kohler
2022-11-12 23:21 Ben Kohler
2022-11-01 15:56 Ben Kohler
2022-11-01 15:56 Ben Kohler
2022-10-25 12:50 Ben Kohler
2022-10-10 16:16 Ben Kohler
2022-09-29 14:32 Ben Kohler
2022-09-29 14:32 Ben Kohler
2022-08-29 13:00 Ben Kohler
2022-08-19 19:07 Ben Kohler
2022-08-19 16:36 Ben Kohler
2022-08-19 15:56 Ben Kohler
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=1697469939.965508bf58d17f27a48dcacdadfb2aa4a041d35f.bkohler@gentoo \
--to=bkohler@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