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: Tue, 25 Oct 2022 12:50:31 +0000 (UTC) [thread overview]
Message-ID: <1666702225.e7e0459ae9c5c4855db50265bff9fc4229cfc645.bkohler@gentoo> (raw)
commit: e7e0459ae9c5c4855db50265bff9fc4229cfc645
Author: Ben Kohler <bkohler <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 24 17:48:34 2022 +0000
Commit: Ben Kohler <bkohler <AT> gentoo <DOT> org>
CommitDate: Tue Oct 25 12:50:25 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7e0459a
sys-apps/cpu-x: add 4.5.1
Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org>
sys-apps/cpu-x/Manifest | 1 +
sys-apps/cpu-x/cpu-x-4.5.1.ebuild | 78 +++++++++++++++++++++++++++++++++++++++
2 files changed, 79 insertions(+)
diff --git a/sys-apps/cpu-x/Manifest b/sys-apps/cpu-x/Manifest
index bfd1c4e80adf..3fe58fc1b9f2 100644
--- a/sys-apps/cpu-x/Manifest
+++ b/sys-apps/cpu-x/Manifest
@@ -1,3 +1,4 @@
DIST cpu-x-4.3.1.tar.gz 1846968 BLAKE2B bcf13a302ad108f76d3c170993385178e7b44123af6b6f3192960f69d8ee493719a408ef4e95ee82e4cbf3f151fe4dcb91a9fc9d4e53c1170c95a9ed2ad3417b SHA512 43e7bc4b82a15545e4c2f69f598a94706ef2c5f5594ff50763f71722d1b98e6dd56e907a4f35917500debf11522c5908dbebf51f515fe5a51af7282254210bc1
DIST cpu-x-4.4.0.tar.gz 1873126 BLAKE2B f914152098effbebe6cae5cd6a2f9ae408b996c4dba7675f1eb991de107bfe7259d8615e647829155963fe93ea585b37486081450ac41e93939bf909f145e20c SHA512 57c960f6c3007455f4d36ccc6d500b18195b305b3d3bdbbdc4b6804f9c1219460c31f854f38d18a49b1c4c0b870970cfcfe6abae4e5c0cdc83e452c5614c13fb
DIST cpu-x-4.5.0.tar.gz 1924637 BLAKE2B b35d56fa5c3f5873423b8cd8f0d04ab5e7d658b71c13e09539e5072eb4e449efdac553156d9fe207c9e4b40e2c196b82e305755def7b76a9406fd229481c639d SHA512 f3e11b10ef034206baa24edf78e02795c14a5f7013e11e15c81e1f6d23b67e354df8658f700359ea7f17d1ff855805da2620f3e3acf6f7ee928cc119783211ef
+DIST cpu-x-4.5.1.tar.gz 1916681 BLAKE2B cf0e14050a884cbd763fb5bfe56a93db4c3e4bf0322f55304d6fe09d5b38210ee4139641654aee205761d3327f1b498d0dc88640c6432c4a9b0c62193c0671da SHA512 25b2d51ae093c5cb607aa77e05be0f62df3dc1d2022d96a2cfe935fedcbe2f5f85d9da16e1df05377a7e02280365c165ee93a2c22d1e4364d008bd669a69b2ec
diff --git a/sys-apps/cpu-x/cpu-x-4.5.1.ebuild b/sys-apps/cpu-x/cpu-x-4.5.1.ebuild
new file mode 100644
index 000000000000..8ab527ec59d4
--- /dev/null
+++ b/sys-apps/cpu-x/cpu-x-4.5.1.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2022 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://x0rg.github.io/CPU-X/"
+SRC_URI="https://github.com/X0rg/${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"
+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 )
+"
+
+DEPEND="
+ test? (
+ 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)
+ )
+ 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:[~2022-10-25 12:50 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-25 12:50 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-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-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=1666702225.e7e0459ae9c5c4855db50265bff9fc4229cfc645.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