Well, I'll update the PKGBUILD accordingly but this won't compile on Arch's version of rust until the following is merged: https://github.com/flukejones/uhid-virt/pull/4
Screw it, interim patches until that's accepted. Should build happily now.
Git Clone URL: | https://aur.archlinux.org/asusctl-git.git (read-only, click to copy) |
---|---|
Package Base: | asusctl-git |
Description: | Asus laptop control utilities |
Upstream URL: | https://gitlab.com/asus-linux/asusctl |
Keywords: | asus asus-nb-ctrl asusctl rog-core zephyrus |
Licenses: | MPL2 |
Conflicts: | asusctl |
Provides: | asusctl |
Submitter: | Static_Rocket |
Maintainer: | ModYokosuka |
Last Packager: | ModYokosuka |
Votes: | 8 |
Popularity: | 0.000025 |
First Submitted: | 2021-04-22 00:51 (UTC) |
Last Updated: | 2024-07-25 13:06 (UTC) |
Well, I'll update the PKGBUILD accordingly but this won't compile on Arch's version of rust until the following is merged: https://github.com/flukejones/uhid-virt/pull/4
Screw it, interim patches until that's accepted. Should build happily now.
Hello,
I recently had to compile asusctl-git to get the latest commits.
I needed to modify PKGBUILD, notably the makedepends requirements.
diff --git a/PKGBUILD b/PKGBUILD
index 3f5bb5a..d874274 100755
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Static_Rocket
pkgname=asusctl-git
-pkgver=3.4.1.r11.gab80b07
+pkgver=4.6.0.r18.gc819fa4
pkgrel=1
pkgdesc="Asus laptop control utilities"
arch=('x86_64')
@@ -9,7 +9,7 @@ url="https://gitlab.com/asus-linux/asusctl"
license=('MPL2')
depends=('libusb' 'udev' 'systemd')
optdepends=('acpi_call: fan control')
-makedepends=('git' 'rust')
+makedepends=('git' 'rust' 'pango' 'gdk-pixbuf2' 'at-spi2-core' 'gtk3' 'clang' 'cmake')
provides=('asusctl')
conflicts=('asusctl')
source=('git+https://gitlab.com/asus-linux/asusctl.git')
Missing at least pango
, gdk-pixbuf2
, at-spi2-core
, gtk3
, clang
, and cmake
to build in a clean chroot. Also missing optional dep for asusctltray-git
. package() seems that it may be incorrect.
The conflicts array should be conflicts=('asusctl')
, without any other name in that array.
EDIT: Solved it! For anyone else having the same issue using "pamac build asusctl-git", try using "makepkg":
git clone https://aur.archlinux.org/asusctl-git.git
cd asusctl-git
makepkg -si
Build fails on Manjaro KDE; any suggestions?
error: failed to get `gumdrop` as a dependency of package `asusctl v4.0.7 (/var/cache/private/pamac/asusctl-git/src/asusctl/asusctl)`
Caused by: failed to create directory `/.cargo/registry/index/github.com-1ecc6299db9ec823`
Caused by:
Read-only file system (os error 30)
make: *** [Makefile:109: build] Error 101
==> ERROR: A failure occurred in build().
Aborting...
Finished with result: exit-code
Main processes terminated with: code=exited/status=4
Thanks for the package. Would you correct the upstream URL to https://gitlab.com/asus-linux/asusctl
url="https://gitlab.com/asus-linux/asusctl"
source=('git+${url}.git')
maybe even.
Also power-profiles-daemon is a dependency now
@Karrq what I have noticed is to switch to hybrid first then you can switch to dedicated. Thats what I have noticed so far
@Karrq Yeah, that seems to happen every once in a while. Here's a link for now. As far as that hardware configuration goes, I'm not sure what support looks like right now. https://discord.gg/MrX9cqj5
Anyone having issues switching to the dedicated GPU? I have a newer model, with ryzen 9 and rtx 3060, but I'm not able to use this to switch graphics mode...
the discord links I tried were all dead for the asus-linux.org
Alright, which one of you jokers decided to flagged a git package out of date...
It's a git package. Just rebuild it on your end and it will fetch the latest possible version available at the moment.
Pinned Comments
Static_Rocket commented on 2020-10-03 04:51 (UTC) (edited on 2023-04-26 03:02 (UTC) by Static_Rocket)
This is an unofficial package. It only exists for those who would prefer to build asusctl from the source instead of relying on the Asus-Linux binary repository. For more info on the binary repo look at https://asus-linux.org/wiki/arch-guide/