public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
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: Thu, 27 Feb 2025 17:01:18 +0000 (UTC)	[thread overview]
Message-ID: <1740675661.c08c6474b650e66f056a00cb98d64c0f4df15cde.bkohler@gentoo> (raw)

commit:     c08c6474b650e66f056a00cb98d64c0f4df15cde
Author:     Ben Kohler <bkohler <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 27 16:19:40 2025 +0000
Commit:     Ben Kohler <bkohler <AT> gentoo <DOT> org>
CommitDate: Thu Feb 27 17:01:01 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c08c6474

sys-apps/cpu-x: add 5.1.2

Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org>

 sys-apps/cpu-x/Manifest           |  1 +
 sys-apps/cpu-x/cpu-x-5.1.2.ebuild | 83 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 84 insertions(+)

diff --git a/sys-apps/cpu-x/Manifest b/sys-apps/cpu-x/Manifest
index 07f730a5e25b..1e0e4b07c6ec 100644
--- a/sys-apps/cpu-x/Manifest
+++ b/sys-apps/cpu-x/Manifest
@@ -3,3 +3,4 @@ DIST cpu-x-5.0.3.tar.gz 1988476 BLAKE2B f1f693d6c7df5f8f342ac8326539febcc95df1cc
 DIST cpu-x-5.0.4.tar.gz 1995465 BLAKE2B 6e3982040400a2bbdb7fba0cac24f1b183792693fff13fd223d1194a5bc57acd9b0dde407016f4f0039705759f0e57da472dc634a237e9d89c7c7d23e9cfa6b9 SHA512 134f8a8fe6782279f7288d891a66b3d426b0e173de3d5445367c94029aa9d33348d037f5bca25690aff16f00d261777a71de6847991e564578099b03ff398453
 DIST cpu-x-5.1.0.tar.gz 2705947 BLAKE2B 8f5989170ebba7b943bc4bf5d3550ff2a7f9d527305d2ee4ad9ffa39cebcf089098b6ed0340c001d0926d0a093fd559273b3b61b404cc21ece3aea937097c1f5 SHA512 7f0ce6123cdd957663aa1012194cee12a09cdd3a44b0bcdfecad36315a3b1c1e5e6461ffa0d9613c0ff275332d4aae0499f8687d1acbcd921703971508819ed6
 DIST cpu-x-5.1.1.tar.gz 2721238 BLAKE2B bfd0f1e919e3ca3663b54b41f50dadc6c0ebc2329bad58253ef26f5af0c1f5b3ce713f7309be25c16990d056df415aa5ce76e5fb9bcb975675568a856290c45c SHA512 8601946feaed567e144350c69761a46a7f5ff1aa47c1d550afca11d6b3eb7546b125c56ecd4f266a33d5ee8a6ef09eba01f7c6570dde25c4f1989971eb6dbb27
+DIST cpu-x-5.1.2.tar.gz 2727723 BLAKE2B 570762bd7c58ebb6b168b7dab78b9a58a55b5619c69e0ac0b30d51600b5bf5c4962be8c353f51b0a3f330f536af99dbfae8b08ee17f43b12cc6c30f76bb018a5 SHA512 3c07efbebc44b3a085daea161ce0144a786b76ac46b80141ede985e07a79837b6f40d2af3203b3d6f1dad6c6ff6dff99fbb553e705a9471b55b041f42db2111e

diff --git a/sys-apps/cpu-x/cpu-x-5.1.2.ebuild b/sys-apps/cpu-x/cpu-x-5.1.2.ebuild
new file mode 100644
index 000000000000..9c1588876128
--- /dev/null
+++ b/sys-apps/cpu-x/cpu-x-5.1.2.ebuild
@@ -0,0 +1,83 @@
+# Copyright 1999-2025 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"
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+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? ( dev-cpp/gtkmm:3.0
+		>=x11-libs/gtk+-3.12:3 )
+	cpu? ( >=dev-libs/libcpuid-0.7.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
+		>=dev-util/vulkan-headers-1.3.151 )
+"
+
+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}"
+
+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
+}


             reply	other threads:[~2025-02-27 17:01 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-27 17:01 Ben Kohler [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-12-03 16:44 [gentoo-commits] repo/gentoo:master commit in: sys-apps/cpu-x/ 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-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=1740675661.c08c6474b650e66f056a00cb98d64c0f4df15cde.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