app-benchmarks/occt-bin: drop 14.0.8

Signed-off-by: undefined.behavior <bugs.gentoo@igrek.fastem.com>
This commit is contained in:
undefined.behavior
2025-04-30 19:46:47 -04:00
parent 5bfb9d5ee6
commit db491e64a8
2 changed files with 0 additions and 62 deletions

View File

@@ -1,2 +1 @@
DIST occt-bin-14.0.8.bin 274437356 BLAKE2B d6331cf2bd186f0a3a3d77148e1015cb87d37c5012875df12f6b7ae78ac44e6066b68816b15b27f611ca3f2eb7ee471a48d83b0e416d02ff9a5cb2598d2bac2b SHA512 4a2d965abf9d789b1958ac830bc8e092624544b15232eda7d44a8c258a1d9763bce06e31b31cd0b2325951e6bc7115ae7e6c513ab2a7cc9bc876c3cee9d7b3e9
DIST occt-bin-14.0.9.bin 274437356 BLAKE2B 10687edc103149626f82deee3510f384e1244377842f6eaa5ba190408ae36173ac8b5468a1a1209d1e48803a15a770e54a7def422bc6b92cbeef29108641b0d0 SHA512 58c83af0eb13f0e965cc50989affb5b07899c500f97979618124cdbe8b2aa0af505b86e3bb8d1679f6956acf407943119ad4900f1132c559da05ab5b245bc70d

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 ""
}