mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-22 21:43:03 -04:00
app-misc/omencore-bin: new package, add 3.8.0
Signed-off-by: Samuel Hurtado Marin <samuel@hurtadom.dev>
This commit is contained in:
28
app-misc/omencore-bin/omencore-bin-3.8.0.ebuild
Normal file
28
app-misc/omencore-bin/omencore-bin-3.8.0.ebuild
Normal file
@@ -0,0 +1,28 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
inherit desktop
|
||||
DESCRIPTION="OmenCore is an Advanced Performance Control for HP Omen Laptops"
|
||||
HOMEPAGE="https://omencore.info/"
|
||||
SRC_URI="https://github.com/theantipopau/omencore/releases/download/v${PV}/OmenCore-${PV}-linux-x64.zip"
|
||||
S="${WORKDIR}" #src unzip /work directory
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
RESTRICT="mirror strip"
|
||||
QA_PREBUILT="*"
|
||||
BDEPEND="app-arch/unzip"
|
||||
src_install() {
|
||||
insinto /opt/omencore-bin
|
||||
doins -r *
|
||||
fperms 755 /opt/omencore-bin/omencore-cli
|
||||
fperms 755 /opt/omencore-bin/omencore-gui
|
||||
dosym -r /opt/omencore-bin/omencore-cli /usr/bin/omencore-cli
|
||||
dosym -r /opt/omencore-bin/omencore-gui /usr/bin/omencore-gui
|
||||
domenu "${FILESDIR}"/omencore-gui.desktop
|
||||
}
|
||||
pkg_postinst() {
|
||||
einfo "omencore-gui: launch as normal user for monitoring (it's in the app menu)"
|
||||
einfo "omencore-cli: use 'omencore-cli' as root for fan/thermal/RGB control"
|
||||
}
|
||||
Reference in New Issue
Block a user