Fix asusctl
This commit is contained in:
1 parent
23f8e1dc95
commit
5f814765d8
8 files changed
+110
-2
No files matched your search
@@ -1,6 +1,7 @@
|
||||
# Edge packages - sync daily, PR review required, built for edge only
|
||||
|
||||
# Core
|
||||
asusctl
|
||||
elephant install
|
||||
elephant-archlinuxpkgs
|
||||
elephant-bluetooth
|
||||
|
||||
@@ -0,0 +1,49 @@
|
||||
pkgbase = asusctl
|
||||
pkgdesc = A control daemon, tools, and a collection of crates for interacting with ASUS ROG laptops
|
||||
pkgver = 6.3.2
|
||||
pkgrel = 0.1
|
||||
url = https://asus-linux.org
|
||||
arch = x86_64
|
||||
license = MPL-2.0
|
||||
makedepends = clang
|
||||
makedepends = cmake
|
||||
makedepends = fontconfig
|
||||
makedepends = git
|
||||
makedepends = hicolor-icon-theme
|
||||
makedepends = libayatana-appindicator
|
||||
makedepends = libinput
|
||||
makedepends = libusb
|
||||
makedepends = rust
|
||||
makedepends = seatd
|
||||
makedepends = systemd
|
||||
source = git+https://gitlab.com/asus-linux/asusctl.git#tag=6.3.2
|
||||
b2sums = 4bf6b850e19551426c2011cfb75e880fad1f7161a6f3200748d4dafe9a26d038676c1ba3df8bc68d4b080146e1f78abca07984860c0034c15ce0b742fe34477c
|
||||
|
||||
pkgname = asusctl
|
||||
pkgdesc = A control daemon, CLI tools, and a collection of crates for interacting with ASUS ROG laptops
|
||||
install = asusctl.install
|
||||
depends = gcc-libs
|
||||
depends = glibc
|
||||
depends = libusb
|
||||
depends = systemd
|
||||
depends = systemd-libs
|
||||
optdepends = acpi_call: fan control
|
||||
optdepends = asusctltray: tray profile switcher
|
||||
optdepends = rog-control-center: app to control asusctl
|
||||
optdepends = supergfxctl: hybrid GPU control
|
||||
conflicts = gnome-shell-extension-asusctl-gnome
|
||||
|
||||
pkgname = rog-control-center
|
||||
pkgdesc = App to control asusctl
|
||||
depends = asusctl
|
||||
depends = fontconfig
|
||||
depends = freetype2
|
||||
depends = gcc-libs
|
||||
depends = glibc
|
||||
depends = hicolor-icon-theme
|
||||
depends = libayatana-appindicator
|
||||
depends = libinput
|
||||
depends = libxkbcommon
|
||||
depends = mesa
|
||||
depends = seatd
|
||||
depends = systemd-libs
|
||||
@@ -0,0 +1,4 @@
|
||||
[asusctl]
|
||||
source = "git"
|
||||
git = "https://gitlab.com/asus-linux/asusctl.git"
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
Copyright Arch Linux Contributors
|
||||
|
||||
Permission to use, copy, modify, and/or distribute this software for
|
||||
any purpose with or without fee is hereby granted.
|
||||
|
||||
THE SOFTWARE IS PROVIDED “AS IS” AND THE AUTHOR DISCLAIMS ALL
|
||||
WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES
|
||||
OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE
|
||||
FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY
|
||||
DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN
|
||||
AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
|
||||
OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
@@ -0,0 +1 @@
|
||||
../LICENSE
|
||||
@@ -6,7 +6,7 @@ pkgname=(
|
||||
asusctl
|
||||
rog-control-center
|
||||
)
|
||||
pkgver=6.3.0
|
||||
pkgver=6.3.2
|
||||
pkgrel=0.1
|
||||
pkgdesc="A control daemon, tools, and a collection of crates for interacting with ASUS ROG laptops"
|
||||
arch=('x86_64')
|
||||
@@ -26,7 +26,7 @@ makedepends=(
|
||||
systemd
|
||||
)
|
||||
source=("git+https://gitlab.com/asus-linux/asusctl.git#tag=$pkgver")
|
||||
b2sums=('de40238765e4e6af8abf57c12fc2a503ff1da320c935b90c5eecaa2a98ac8fd4fbe9b0e05d93d109651a2c2d7b13cb882ee29386fcd6d62db968520b565d0480')
|
||||
b2sums=('4bf6b850e19551426c2011cfb75e880fad1f7161a6f3200748d4dafe9a26d038676c1ba3df8bc68d4b080146e1f78abca07984860c0034c15ce0b742fe34477c')
|
||||
|
||||
prepare() {
|
||||
cd "${pkgbase}"
|
||||
|
||||
@@ -0,0 +1,22 @@
|
||||
version = 1
|
||||
|
||||
[[annotations]]
|
||||
path = [
|
||||
"PKGBUILD",
|
||||
"README.md",
|
||||
"keys/**",
|
||||
".SRCINFO",
|
||||
".nvchecker.toml",
|
||||
"*.install",
|
||||
"*.sysusers",
|
||||
"*.tmpfiles",
|
||||
"*.logrotate",
|
||||
"*.pam",
|
||||
"*.service",
|
||||
"*.socket",
|
||||
"*.timer",
|
||||
"*.desktop",
|
||||
"*.hook",
|
||||
]
|
||||
SPDX-FileCopyrightText = "Arch Linux contributors"
|
||||
SPDX-License-Identifier = "0BSD"
|
||||
@@ -0,0 +1,19 @@
|
||||
post_install() {
|
||||
printf ":: asusd provides a service that is activated by an udev rule on\n"
|
||||
printf ":: startup. Please reboot the system or run\n"
|
||||
printf ":: # systemctl start asusd.service\n"
|
||||
printf ":: to make it work.\n"
|
||||
printf ":: See https://gitlab.com/asus-linux/asusctl#kernel-support.\n"
|
||||
printf ":: for latest required kernel patches/versions\n"
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
if systemctl is-active asusd.service --quiet
|
||||
then
|
||||
printf ":: asusd service will be restarted…\n"
|
||||
systemctl daemon-reload
|
||||
systemctl restart asusd.service
|
||||
fi
|
||||
printf ":: See https://gitlab.com/asus-linux/asusctl#kernel-support.\n"
|
||||
printf ":: for latest required kernel patches/versions\n"
|
||||
}
|
||||
Reference in new issue
Block a user