app-benchmarks/occt-bin: drop 14.0.12, 14.0.12-r1

Signed-off-by: undefined.behavior <bugs.gentoo@igrek.fastem.com>
This commit is contained in:
undefined.behavior
2025-05-29 21:14:21 -04:00
parent 7fb096332a
commit 4d37f324d0
3 changed files with 0 additions and 120 deletions

View File

@@ -1,2 +1 @@
DIST occt-bin-14.0.12.bin 274441470 BLAKE2B 387cd5edd96ea48992dbdb895cec079deb9af24bc3a5e51d3dfb907ac2e299c7a3ec61f1d716941051adb53dd5dd0eecc29f47be09d83d1c3db51d542a18c66c SHA512 c4e740cb79a46c1d1a11c76b25848258e14414ae7161a924d191e428ce1c1f2ca5ba9fecc4616f14bae61224f6c6a012be1b9226cbe78910cb5dd00dc48a10ee
DIST occt-bin-14.0.13.bin 274445566 BLAKE2B bdca057a725ab23a72ce407dd82042bb2edd352841c76cf1a4260a993c7c1c4e8a3f4b34e4fc9253172ec4ea6a9ed8f52a48a2520f2dc9709fff3e94372a9a39 SHA512 3317e5a1a7f762295071bbd2b3a836f84fc85e84d18905f381fbbb4cd0a8004c3d6e4696be6528a7f9e93c57061d8d837d51f3736f61bb433109204dfc85f359

View File

@@ -1,58 +0,0 @@
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit desktop fcaps wrapper xdg udev
DESCRIPTION="All-in-one stability, stress test, benchmark and monitoring tool"
HOMEPAGE="https://www.ocbase.com"
SRC_URI="https://www.ocbase.com/download/edition:Personal/os:Linux/version:${PV} -> ${P}.bin"
S="${WORKDIR}"
LICENSE="OCBASE-EULA"
SLOT="0"
KEYWORDS="~amd64"
IUSE="msr-user-access"
RESTRICT="bindist mirror strip"
src_unpack() {
cp "${DISTDIR}"/"${P}".bin ./
}
src_install() {
newicon -s 256 "${FILESDIR}"/occt.png occt.png
insinto /opt/occt
newins "${P}".bin occt
# Disable automatic updates
touch "${ED}"/opt/occt/disable_update
# Don't use binary path as the config location
touch "${ED}"/opt/occt/use_home_config
fperms +x /opt/occt/occt
domenu "${FILESDIR}"/occt.desktop
make_wrapper occt /opt/occt/occt
use msr-user-access && udev_dorules "${FILESDIR}/90-occt-msr-access.rules"
}
pkg_postinst() {
# Allow benchmarks to run with higher priority and /dev/cpu/*/msr access
fcaps "cap_sys_nice,cap_sys_rawio=eip" opt/occt/occt
# Apply the udev rules
use msr-user-access && udev_reload && udevadm trigger --action=add --subsystem-match=msr
einfo ""
einfo "If you have a license, you need to copy it into the OCCT config directory:"
einfo ""
einfo " mkdir -p ~/.config/occt && cp license.okl ~/.config/occt/"
einfo ""
}

View File

@@ -1,61 +0,0 @@
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit desktop fcaps wrapper xdg udev
DESCRIPTION="All-in-one stability, stress test, benchmark and monitoring tool"
HOMEPAGE="https://www.ocbase.com"
SRC_URI="https://www.ocbase.com/download/edition:Personal/os:Linux/version:${PV} -> ${P}.bin"
S="${WORKDIR}"
LICENSE="OCBASE-EULA"
SLOT="0"
KEYWORDS="~amd64"
IUSE="msr-user-access"
RESTRICT="bindist mirror strip"
src_unpack() {
cp "${DISTDIR}"/"${P}".bin ./
}
src_install() {
newicon -s 256 "${FILESDIR}"/occt.png occt.png
insinto /opt/occt
newins "${P}".bin occt
# Disable automatic updates
touch "${ED}"/opt/occt/disable_update
# Don't use binary path as the config location
touch "${ED}"/opt/occt/use_home_config
fperms +x /opt/occt/occt
domenu "${FILESDIR}"/occt.desktop
make_wrapper occt /opt/occt/occt
use msr-user-access && udev_dorules "${FILESDIR}/90-occt-msr-access.rules"
}
pkg_postinst() {
# Allow benchmarks to run with higher priority
fcaps cap_sys_nice opt/occt/occt
# Allow /dev/cpu/*/msr access
fcaps cap_sys_rawio opt/occt/occt
# Apply the udev rules
use msr-user-access && udev_reload && udevadm trigger --action=add --subsystem-match=msr
einfo ""
einfo "If you have a license, you need to copy it into the OCCT config directory:"
einfo ""
einfo " mkdir -p ~/.config/occt && cp license.okl ~/.config/occt/"
einfo ""
}