Drop obsolete asusctl 6.4.0 GitHub-source patch (#269)
The AUR caught up: asusctl 6.4.0-1 (b0ec6ca) repoints source at the GitHub repo upstream, which is what our patch existed to do. The new PKGBUILD uses a release tarball instead of git+, so the patch context no longer matches and every scheduled Sync AUR Packages run failed applying it. Remove the patch and resync from the AUR. With no .omarchy/patches left, the package is no longer customized, so it tracks 6.4.0-1 without the .1 pkgrel suffix.
This commit is contained in:
1 parent
22e908d831
commit
b0cba5bf8b
5 files changed
+53
-122
No files matched your search
@@ -1,4 +1,3 @@
|
|||||||
[asusctl]
|
[asusctl]
|
||||||
source = "git"
|
source = "git"
|
||||||
git = "https://gitlab.com/asus-linux/asusctl.git"
|
git = "https://github.com/OpenGamingCollective/asusctl.git"
|
||||||
|
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
{
|
{
|
||||||
"source": "aur",
|
"source": "aur",
|
||||||
"upstream_commit": "ed336f7dbd5e8bee333aeaa6246da89241f1c8e6"
|
"upstream_commit": "b0ec6ca495eb331a684db91b0fe12085a868b632"
|
||||||
}
|
}
|
||||||
@@ -1,18 +0,0 @@
|
|||||||
diff --git a/PKGBUILD b/PKGBUILD
|
|
||||||
index 55d0c22..8897aec 100644
|
|
||||||
--- a/PKGBUILD
|
|
||||||
+++ b/PKGBUILD
|
|
||||||
@@ -6,7 +6,7 @@ pkgname=(
|
|
||||||
asusctl
|
|
||||||
rog-control-center
|
|
||||||
)
|
|
||||||
-pkgver=6.3.8
|
|
||||||
+pkgver=6.4.0
|
|
||||||
pkgrel=1
|
|
||||||
pkgdesc="A control daemon, tools, and a collection of crates for interacting with ASUS ROG laptops"
|
|
||||||
arch=('x86_64')
|
|
||||||
@@ -28,2 +28,2 @@
|
|
||||||
-source=("git+https://gitlab.com/asus-linux/asusctl.git#tag=$pkgver")
|
|
||||||
-b2sums=('01269bc9fe63c1ce37568f9085c25dbcaaaa5cd9f51339d4c6904600d179ec826dace289d6e4e3501988fce5800da98e9cfa18b21c40da152d91c4f7fe821ffe')
|
|
||||||
+source=("git+https://github.com/opengamingcollective/asusctl.git#tag=$pkgver")
|
|
||||||
+b2sums=('0cfdc7f792fc6499cde9e4c9c6d82e484605e1b2878bb9f3a0e0696f5910b9ba7898f124fecd5fb3f39a0787f81e5163721606290099d757365dc3d6715a1bcf')
|
|
||||||
+38
-87
@@ -1,108 +1,59 @@
|
|||||||
# Maintainer: Fabian Bornschein <fabiscafe@archlinux.org>
|
# Maintainer: Mahdi Sarikhani <mahdisarikhani@outlook.com>
|
||||||
|
# Contributor: Fabian Bornschein <fabiscafe@archlinux.org>
|
||||||
# Contributor: Static_Rocket
|
# Contributor: Static_Rocket
|
||||||
|
|
||||||
pkgbase=asusctl
|
pkgbase=asusctl
|
||||||
pkgname=(
|
pkgname=(asusctl rog-control-center)
|
||||||
asusctl
|
|
||||||
rog-control-center
|
|
||||||
)
|
|
||||||
pkgver=6.4.0
|
pkgver=6.4.0
|
||||||
pkgrel=1.1
|
pkgrel=1
|
||||||
pkgdesc="A control daemon, tools, and a collection of crates for interacting with ASUS ROG laptops"
|
pkgdesc="Daemon and tools to control your ASUS ROG laptop"
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
url="https://asus-linux.org"
|
url="https://asus-linux.org"
|
||||||
license=('MPL-2.0')
|
license=('MPL-2.0')
|
||||||
makedepends=(
|
makedepends=('cargo' 'fontconfig')
|
||||||
clang
|
source=("${pkgbase}-${pkgver}.tar.gz::https://github.com/OpenGamingCollective/asusctl/archive/${pkgver}.tar.gz")
|
||||||
cmake
|
b2sums=('e90074e904f364386ad661784bd9fc2e929e83ea06ac62fd1d34eb03490cefe8aae3bed2722162f1e8ea5d69248138cb5fd9f90c3a18443d1d8c04cf732b928a')
|
||||||
fontconfig
|
|
||||||
git
|
|
||||||
hicolor-icon-theme
|
|
||||||
libayatana-appindicator
|
|
||||||
libinput
|
|
||||||
libusb
|
|
||||||
rust
|
|
||||||
seatd
|
|
||||||
systemd
|
|
||||||
)
|
|
||||||
source=("git+https://github.com/opengamingcollective/asusctl.git#tag=$pkgver")
|
|
||||||
b2sums=('0cfdc7f792fc6499cde9e4c9c6d82e484605e1b2878bb9f3a0e0696f5910b9ba7898f124fecd5fb3f39a0787f81e5163721606290099d757365dc3d6715a1bcf')
|
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
cd "${pkgbase}"
|
cd "${pkgbase}-${pkgver}"
|
||||||
|
export RUSTUP_TOOLCHAIN=stable
|
||||||
# Keep rust/cargo build-dependency management inside the build directory
|
cargo fetch --locked --target host-tuple
|
||||||
export CARGO_HOME="${srcdir}/cargo"
|
|
||||||
|
|
||||||
# Follow Rust package guidelines
|
|
||||||
## https://wiki.archlinux.org/title/Rust_package_guidelines
|
|
||||||
export RUSTUP_TOOLCHAIN=stable
|
|
||||||
cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "${pkgbase}"
|
cd "${pkgbase}-${pkgver}"
|
||||||
|
export RUSTUP_TOOLCHAIN=stable
|
||||||
# Keep rust/cargo build-dependency management inside the build directory
|
export CARGO_TARGET_DIR=target
|
||||||
export CARGO_HOME="${srcdir}/cargo"
|
make build
|
||||||
|
|
||||||
# Follow Rust package guidelines
|
|
||||||
## https://wiki.archlinux.org/title/Rust_package_guidelines
|
|
||||||
export RUSTUP_TOOLCHAIN=stable
|
|
||||||
export CARGO_TARGET_DIR=target
|
|
||||||
|
|
||||||
make build
|
|
||||||
}
|
}
|
||||||
|
|
||||||
package_asusctl() {
|
package_asusctl() {
|
||||||
pkgdesc="${pkgdesc/tools/CLI tools}"
|
pkgdesc="An utility for Linux to control many aspects of various ASUS laptops"
|
||||||
depends=(
|
depends=('glibc' 'libgcc' 'libusb' 'systemd-libs')
|
||||||
glibc
|
optdepends=(
|
||||||
libgcc
|
'acpi_call: fan control'
|
||||||
libusb
|
'asusctltray: tray profile switcher'
|
||||||
systemd
|
'rog-control-center: graphical user interface for asusctl'
|
||||||
systemd-libs
|
'supergfxctl: hybrid GPU control'
|
||||||
)
|
)
|
||||||
conflicts=(gnome-shell-extension-asusctl-gnome)
|
install=asusctl.install
|
||||||
install=asusctl.install
|
|
||||||
optdepends=(
|
|
||||||
'acpi_call: fan control'
|
|
||||||
'asusctltray: tray profile switcher'
|
|
||||||
'rog-control-center: app to control asusctl'
|
|
||||||
'supergfxctl: hybrid GPU control'
|
|
||||||
)
|
|
||||||
|
|
||||||
cd "${pkgbase}"
|
cd "${pkgbase}-${pkgver}"
|
||||||
export CARGO_HOME="${srcdir}/cargo"
|
make DESTDIR="${pkgdir}" \
|
||||||
make DESTDIR="${pkgdir}" \
|
install-asusctl \
|
||||||
install-asusctl \
|
install-asusd \
|
||||||
install-asusd \
|
install-asusd_user \
|
||||||
install-asusd_user \
|
install-asus-shutdown \
|
||||||
install-asus-shutdown \
|
install-data-asusd \
|
||||||
install-data-asusd \
|
install-data-asusd_user
|
||||||
install-data-asusd_user
|
|
||||||
}
|
}
|
||||||
|
|
||||||
package_rog-control-center() {
|
package_rog-control-center() {
|
||||||
depends=(
|
pkgdesc="Graphical user interface for asusctl"
|
||||||
asusctl
|
depends=('asusctl' 'fontconfig' 'glibc' 'hicolor-icon-theme' 'libgcc' 'systemd-libs')
|
||||||
fontconfig
|
|
||||||
freetype2
|
|
||||||
glibc
|
|
||||||
hicolor-icon-theme
|
|
||||||
libayatana-appindicator
|
|
||||||
libgcc
|
|
||||||
libinput
|
|
||||||
libxkbcommon
|
|
||||||
mesa
|
|
||||||
seatd
|
|
||||||
systemd-libs
|
|
||||||
)
|
|
||||||
pkgdesc="App to control asusctl"
|
|
||||||
|
|
||||||
cd "${pkgbase}"
|
cd "${pkgbase}-${pkgver}"
|
||||||
export CARGO_HOME="${srcdir}/cargo"
|
make DESTDIR="${pkgdir}" \
|
||||||
make DESTDIR="${pkgdir}" \
|
install-rog_gui \
|
||||||
install-data-rog_gui \
|
install-data-rog_gui
|
||||||
install-rog_gui
|
|
||||||
}
|
}
|
||||||
@@ -1,19 +1,18 @@
|
|||||||
post_install() {
|
post_install() {
|
||||||
printf ":: asusd provides a service that is activated by an udev rule on\n"
|
printf ":: asusd provides a service that is activated by an udev rule on\n"
|
||||||
printf ":: startup. Please reboot the system or run\n"
|
printf ":: startup. Please reboot the system or run\n"
|
||||||
printf ":: # systemctl start asusd.service\n"
|
printf ":: # systemctl start asusd.service\n"
|
||||||
printf ":: to make it work.\n"
|
printf ":: to make it work.\n"
|
||||||
printf ":: See https://gitlab.com/asus-linux/asusctl#kernel-support.\n"
|
printf ":: See https://github.com/OpenGamingCollective/asusctl#kernel-requirements\n"
|
||||||
printf ":: for latest required kernel patches/versions\n"
|
printf ":: for latest required kernel patches/versions\n"
|
||||||
}
|
}
|
||||||
|
|
||||||
post_upgrade() {
|
post_upgrade() {
|
||||||
if systemctl is-active asusd.service --quiet
|
if systemctl is-active asusd.service --quiet; then
|
||||||
then
|
printf ":: asusd service will be restarted…\n"
|
||||||
printf ":: asusd service will be restarted…\n"
|
systemctl daemon-reload
|
||||||
systemctl daemon-reload
|
systemctl restart asusd.service
|
||||||
systemctl restart asusd.service
|
fi
|
||||||
fi
|
printf ":: See https://github.com/OpenGamingCollective/asusctl#kernel-requirements\n"
|
||||||
printf ":: See https://gitlab.com/asus-linux/asusctl#kernel-support.\n"
|
printf ":: for latest required kernel patches/versions\n"
|
||||||
printf ":: for latest required kernel patches/versions\n"
|
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user