diff options
author | V3n3RiX <venerix@koprulu.sector> | 2025-01-17 06:41:55 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2025-01-17 06:41:55 +0000 |
commit | 6d730aa8064fbab6cc54447b6ed0e60b99c13256 (patch) | |
tree | 8c303cb48dc49dd218b79708ca71904653c5f831 /app-benchmarks | |
parent | cb2f73d10494730ba590096a1f24ebc6d0d61a9f (diff) |
gentoo auto-resync : 17:01:2025 - 06:41:55
Diffstat (limited to 'app-benchmarks')
-rw-r--r-- | app-benchmarks/Manifest.gz | bin | 4848 -> 4849 bytes | |||
-rw-r--r-- | app-benchmarks/i7z/Manifest | 2 | ||||
-rw-r--r-- | app-benchmarks/i7z/files/i7z_GUI.policy | 18 | ||||
-rw-r--r-- | app-benchmarks/i7z/i7z-93_p20131012-r3.ebuild | 72 |
4 files changed, 92 insertions, 0 deletions
diff --git a/app-benchmarks/Manifest.gz b/app-benchmarks/Manifest.gz Binary files differindex bf7b80578bae..5162a6d3af3a 100644 --- a/app-benchmarks/Manifest.gz +++ b/app-benchmarks/Manifest.gz diff --git a/app-benchmarks/i7z/Manifest b/app-benchmarks/i7z/Manifest index 8f518f121975..fb5e8474b9d8 100644 --- a/app-benchmarks/i7z/Manifest +++ b/app-benchmarks/i7z/Manifest @@ -4,6 +4,7 @@ AUX gcc-10.patch 541 BLAKE2B 1404efee8d8c931b856d17e064a471d20d99b3dfa512527b412 AUX gcc5.patch 1866 BLAKE2B 7792ec7852839317c9838617cb9fd85be0949afbe8cc456bf7f5587b0a934fb217a021c4d0a711d438553e15478e03e670f104bca122beaed4f68255c71139e8 SHA512 ad9a752bf3604136f2f3110c6053274581f6e5f6db56cede31fee2091d9b989b93f43d4658ca12f77bdf7c6ed78a0a06d8368ebea3ef20239fe707ae8e1a707a AUX hyphen-used-as-minus-sign.patch 2470 BLAKE2B e2c04874bae901475f1fadd1baf14d380182f25dd0ff41ab8879b1c2adf904475d6d5c64d0590abe638122653e7c0e3d8c44d713513b258b390df40f9f939fbb SHA512 05544e9f682bb6ccc1166182985ff4a4d19481ba555f63a0f030487ccc231cea9b2d1dfff83a95e9a2bcbf9d7dcc31cd331397cf84ef2ed253dac23fe9ecaa99 AUX i7z-0.27.2-ncurses.patch 831 BLAKE2B afe6112d6007be9c2dbdc494b128c890632caea31380627f1d9daf24a26f31b91597dc6095d4477d9b67bb39d9931392b2727cf429e573e0ce6d709a42db52ef SHA512 71bfc336ce4378ae23b960229586bfe5270b4148a57a41d4bdc3aea7ae627a06d570861baddada0095f36fd0e974a9b242bb381460ce85441caf6deaa44d32be +AUX i7z_GUI.policy 833 BLAKE2B 24f3ba72074884aa6a49ba9ebf10a5e26dff064d97496242a50c5a0acb34179f7b34eff0540667b162b16e42daa5662fc9c99e40e3f7d42ed0a2c9d48236400d SHA512 dbbf797cd9231064687903aec4ca0864ed2ecee82b3f390c856c178b4f7f338e9c88d0aa9aa2ad75fc2cec650853b4e33939c7b1982b640f58284cdb846b5139 AUX install-i7z_rw_registers.patch 802 BLAKE2B 186862e797e903766767b035565a0a20814a8197051519a308a2774ad1d9556f17a91eb299ea050c83f9b91850fd47e77cbb7b4a41a73a5356f11267eb3f3624 SHA512 677df9ea9884d138f1eecb88b49ab96ac16f49cb63caf11fa63892940815e3c31e2170afadd0c73a2a571ff62b824be6109c0cda72779d76e03907da546f48d9 AUX nehalem.patch 477 BLAKE2B e0f30d54f1da1cac0aafaea91641d5e626bbbdea6bc2abc6e1f6acf3c5e3d613cb1f0da5ff337fd8a44bc4288b981d83eaa63541291c0c397619f859b34b1da0 SHA512 5a647455d4fc4ff24689c9d4d6e936c346065ff2219de0bc61613a1044236df40fb815df0a136510ba2645bd01f172ba67486cbb9dc072dddf4308fab1824d7e AUX qt5.patch 365 BLAKE2B 4aa56d2b643ecc119122f549678d4cd1525bdba923067366c92fa0ef3a3b183b17668ad593d825223cb69bba883ede461439b05ecda1da29d27e6b3085a54f52 SHA512 fc38423e82f774aff588023b45154ea3bf3fd553ee6bc4261dcd0e7911d1d589754461a1734e0da969d03d6d94e2b844da6f09a388ce4508090d4ba5c75c7df0 @@ -11,4 +12,5 @@ AUX typos.patch 1013 BLAKE2B d9549a3e20e22931dc59ad3b5460b2ca63111ccd5102f080673 AUX use_stdbool.patch 885 BLAKE2B 10365e67f43418213e8f38ab74d3588aab2783329d447834ad795f8973cdd53fdc40862d8f9abc723acaddfe03f49f3c471046ae865ed72f041db23ee1337c37 SHA512 5df3d042a580268971e6da0878bd070d2054e9a9732b518a88a489d6b3d62acae58f697fe44634ee6c847b108cae25df6592ed9e1f20ea4d7c6b36adb516830d DIST i7z-93_p20131012.tar.gz 879969 BLAKE2B 73b1f2e777cef9799fc9e11d366c989c37f4bad03676409855fdd8229a66d1075805068ad424ab0b46bb9bb4fe62431fb6c79b414fde0c1b1d29935ca4566839 SHA512 ef2dfc36407b18a2081413d423cc3d38c38121e386d9068eee9a794b810232727b3abbd22d3b36bc32206f4dc89dd881a4550df19108c439a91f01369bf74d5a EBUILD i7z-93_p20131012-r2.ebuild 1375 BLAKE2B 3f194ad30fc1353236d9be0f6241aaafcb12ee8e74df20c42d0ebf1b2469fbd4b14ee48bfc93fde737693fa3b534780c1ef58d546234bc29316783bcaf39f4e3 SHA512 6b2f268f526e68d6dbf567a193f97c01024d68afb1b3d0480dc218c8f27e3fd9a563f5cc35d3f77ec26caaa8b086c253d787cfb4c88b5fdceb72ef5f2917e9b3 +EBUILD i7z-93_p20131012-r3.ebuild 1602 BLAKE2B 3ebc5fe0246281bde5ae9fb184a4de02a5aeb8061189e18684b94635820949e3005275c541c9efb3e108075b69d49c3a267a0daabc78f6af75de44709bd1c076 SHA512 ca1fa7fe1b91131e650384c88bf634849e9c7e33d5f0df317181e4b8a7c126e63e12bcefb8b57664f700dd899741849bfa417b5aaa18906b4dfefc5f07cdb83a MISC metadata.xml 297 BLAKE2B 0046acd104a25faf3fa10756feb39fe445c22a1ff2b4131606e7d6a32ca9bd7c78a4e633b16d18a145fee306b8974efb43a4320c7662a768040ff1b3b183c461 SHA512 e13e5c2c500492d0adcac6cb96934c0d2fcab1d37a417c3b8018c4be9ad24f4103fac99c94cd76e3c58bd477ecfc7771b8281f8e32cad224ebd64e4039e1a4d2 diff --git a/app-benchmarks/i7z/files/i7z_GUI.policy b/app-benchmarks/i7z/files/i7z_GUI.policy new file mode 100644 index 000000000000..03756867650a --- /dev/null +++ b/app-benchmarks/i7z/files/i7z_GUI.policy @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE policyconfig PUBLIC "-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN" "http://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd"> +<policyconfig> + <vendor>i7z</vendor> + <vendor_url>https://github.com/ajaiantilal/i7z</vendor_url> + <icon_name>i7z</icon_name> + <action id="i7z_GUI"> + <description>Run i7z_GUI as root</description> + <message>Authentication is required to run i7z GUI as root</message> + <defaults> + <allow_any>auth_admin</allow_any> + <allow_inactive>auth_admin</allow_inactive> + <allow_active>auth_admin</allow_active> + </defaults> + <annotate key="org.freedesktop.policykit.exec.path">/usr/sbin/i7z_GUI</annotate> + <annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate> + </action> +</policyconfig> diff --git a/app-benchmarks/i7z/i7z-93_p20131012-r3.ebuild b/app-benchmarks/i7z/i7z-93_p20131012-r3.ebuild new file mode 100644 index 000000000000..4941ccb69943 --- /dev/null +++ b/app-benchmarks/i7z/i7z-93_p20131012-r3.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit desktop qmake-utils toolchain-funcs + +COMMIT="5023138d7c35c4667c938b853e5ea89737334e92" +DESCRIPTION="A better i7 (and now i3, i5) reporting tool for Linux" +HOMEPAGE="https://github.com/ajaiantilal/i7z" +SRC_URI="https://github.com/ajaiantilal/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${PN}-${COMMIT}" +LICENSE="GPL-2" +SLOT="0" + +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" + +IUSE="policykit qt6" + +RDEPEND=" + sys-libs/ncurses:0= + qt6? ( + policykit? ( sys-auth/polkit ) + dev-qt/qtbase:6[gui,widgets] + ) +" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}"/i7z-0.27.2-ncurses.patch + "${FILESDIR}"/qt5.patch + "${FILESDIR}"/gcc5.patch + + # From Debian + "${FILESDIR}"/fix-insecure-tempfile.patch + "${FILESDIR}"/fix_cpuid_asm.patch + "${FILESDIR}"/hyphen-used-as-minus-sign.patch + "${FILESDIR}"/install-i7z_rw_registers.patch + "${FILESDIR}"/use_stdbool.patch + "${FILESDIR}"/nehalem.patch + "${FILESDIR}"/gcc-10.patch + "${FILESDIR}"/typos.patch +) + +src_configure() { + tc-export CC PKG_CONFIG + cd GUI || die + use qt6 && eqmake6 ${PN}_GUI.pro +} + +src_compile() { + default + + if use qt6; then + emake -C GUI clean + emake -C GUI + fi +} + +src_install() { + emake DESTDIR="${ED}" docdir=/usr/share/doc/${PF} install + + if use qt6; then + dosbin GUI/i7z_GUI + if use policykit; then + insinto /usr/share/polkit-1/actions + doins "${FILESDIR}/i7z_GUI.policy" + make_desktop_entry "pkexec --disable-internal-agent /usr/sbin/i7z_GUI" i7z kcmprocessor + fi + fi +} |