From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DBE1B158094 for ; Fri, 19 Aug 2022 15:56:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 13138E086A; Fri, 19 Aug 2022 15:56:35 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E7535E0869 for ; Fri, 19 Aug 2022 15:56:34 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E9211340DBE for ; Fri, 19 Aug 2022 15:56:33 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 81A2E56C for ; Fri, 19 Aug 2022 15:56:32 +0000 (UTC) From: "Ben Kohler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ben Kohler" Message-ID: <1660924559.6e2580b868bfcde0b0c20612eb21c2f0c3a5c879.bkohler@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/cpu-x/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/cpu-x/Manifest sys-apps/cpu-x/cpu-x-4.3.1.ebuild sys-apps/cpu-x/metadata.xml X-VCS-Directories: sys-apps/cpu-x/ X-VCS-Committer: bkohler X-VCS-Committer-Name: Ben Kohler X-VCS-Revision: 6e2580b868bfcde0b0c20612eb21c2f0c3a5c879 X-VCS-Branch: master Date: Fri, 19 Aug 2022 15:56:32 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: dc97d276-7526-40ce-8f6d-f43f62f25877 X-Archives-Hash: 72171105609ed4f853293deb3977b63a commit: 6e2580b868bfcde0b0c20612eb21c2f0c3a5c879 Author: Ben Kohler gentoo org> AuthorDate: Fri Aug 19 15:46:31 2022 +0000 Commit: Ben Kohler gentoo org> CommitDate: Fri Aug 19 15:55:59 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e2580b8 sys-apps/cpu-x: new package, add 4.3.1 Signed-off-by: Ben Kohler gentoo.org> sys-apps/cpu-x/Manifest | 1 + sys-apps/cpu-x/cpu-x-4.3.1.ebuild | 80 +++++++++++++++++++++++++++++++++++++++ sys-apps/cpu-x/metadata.xml | 49 ++++++++++++++++++++++++ 3 files changed, 130 insertions(+) diff --git a/sys-apps/cpu-x/Manifest b/sys-apps/cpu-x/Manifest new file mode 100644 index 000000000000..68c0a54eff09 --- /dev/null +++ b/sys-apps/cpu-x/Manifest @@ -0,0 +1 @@ +DIST cpu-x-4.3.1.tar.gz 1846968 BLAKE2B bcf13a302ad108f76d3c170993385178e7b44123af6b6f3192960f69d8ee493719a408ef4e95ee82e4cbf3f151fe4dcb91a9fc9d4e53c1170c95a9ed2ad3417b SHA512 43e7bc4b82a15545e4c2f69f598a94706ef2c5f5594ff50763f71722d1b98e6dd56e907a4f35917500debf11522c5908dbebf51f515fe5a51af7282254210bc1 diff --git a/sys-apps/cpu-x/cpu-x-4.3.1.ebuild b/sys-apps/cpu-x/cpu-x-4.3.1.ebuild new file mode 100644 index 000000000000..8f7959b187aa --- /dev/null +++ b/sys-apps/cpu-x/cpu-x-4.3.1.ebuild @@ -0,0 +1,80 @@ +# 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="+bandwidth +dmidecode force-libstatgrab +gtk +libcpuid +libglfw +libpci +ncurses +nls opencl 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:= ) + gtk? ( >=x11-libs/gtk+-3.12:3 ) + libcpuid? ( >=dev-libs/libcpuid-0.3.0:= ) + libglfw? ( >=media-libs/glfw-3.3 + media-libs/libglvnd ) + libpci? ( 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) + -DGSETTINGS_COMPILE=OFF + -DWITH_BANDWIDTH=$(usex bandwidth) + -DWITH_DMIDECODE=$(usex dmidecode) + -DWITH_GETTEXT=$(usex nls) + -DWITH_GTK=$(usex gtk) + -DWITH_LIBCPUID=$(usex libcpuid) + -DWITH_LIBGLFW=$(usex libglfw) + -DWITH_LIBPCI=$(usex libpci) + -DWITH_LIBSTATGRAB=OFF + -DWITH_NCURSES=$(usex ncurses) + -DWITH_OPENCL=$(usex opencl) + ) + + cmake_src_configure +} + +pkg_postinst() { + xdg_pkg_postinst + gnome2_schemas_update +} + +pkg_postrm() { + xdg_pkg_postrm + gnome2_schemas_update +} diff --git a/sys-apps/cpu-x/metadata.xml b/sys-apps/cpu-x/metadata.xml new file mode 100644 index 000000000000..475445e45d94 --- /dev/null +++ b/sys-apps/cpu-x/metadata.xml @@ -0,0 +1,49 @@ + + + + + bkohler@gentoo.org + Ben Kohler + + + sys-process/cpu-x is similar to CPU-Z (Windows), but, unlike + the latter, it is a Free and Open Source software, written in C and + designed for GNU/Linux. It can also be used in graphical mode by using + x11-libs/gtk+, than in text-based mode with the use of + sys-libs/ncurses. + + + sys-process/cpu-x est similaire à CPU-Z (Windows), mais, + contrairement à ce dernier, c'est un logiciel Libre et Open Source, + écrit en C et concu pour GNU/Linux. Il peut être aussi bien utilisé en + mode graphique en utlisant x11-libs/gtk+, qu'en mode textuel + avec l'utilisation de sys-libs/ncurses. + + + Integrate bandwidth + Integrate dmidecode + Use sys-libs/libstatgrab to instead of sys-process/procps + Use the sys-libs/libcpuid library + Use the media-libs/glfw library + Use the sys-apps/pciutils library + Use the virtual/opencl library + + + Intégrer bandwidth + Intégrer dmidecode + Utiliser sys-libs/libstatgrab à la place de sys-process/procps + Utiliser la bibliothèque sys-libs/libcpuid + Utiliser la bibliothèque media-libs/glfw + Utiliser la bibliothèque sys-apps/pciutils + Utiliser la bibliothèque virtual/opencl + + + + X0rg + + https://raw.githubusercontent.com/X0rg/CPU-X/master/ChangeLog + https://github.com/X0rg/CPU-X/wiki/ + https://github.com/X0rg/CPU-X/issues/ + X0rg/CPU-X + +