summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuis Martinez2022-02-21 12:19:55 -0600
committerLuis Martinez2022-02-21 12:19:55 -0600
commit58fb96901f6d9d4a87f111cac079792b8d7743f4 (patch)
tree1d5b914a61cd9420ec9dea19ccab124becdb7b87
parent766ad800522d3ae3961bd5f425f953b2d6a0106e (diff)
downloadaur-58fb96901f6d9d4a87f111cac079792b8d7743f4.tar.gz
update to 1.0.9
-rw-r--r--.SRCINFO35
-rw-r--r--PKGBUILD63
2 files changed, 59 insertions, 39 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 941126f9baa..33d3b7a5cbe 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,27 +1,30 @@
pkgbase = amdgpud-bin
pkgdesc = Fan control service for AMD GPUs
- pkgver = 1.0.8
+ pkgver = 1.0.9
pkgrel = 1
url = https://github.com/eraden/amdgpud
arch = x86_64
license = Apache
license = MIT
+ depends = gcc-libs
provides = amdgpud
conflicts = amdgpud
backup = etc/amdgpud/config.toml
- source = amdgpud-amdfand-1.0.8.tar.gz::https://github.com/eraden/amdgpud/releases/download/v1.0.8/amdfand.tar.gz
- source = amdgpud-amdmond-1.0.8.tar.gz::https://github.com/eraden/amdgpud/releases/download/v1.0.8/amdmond.tar.gz
- source = amdgpud-amdvold-1.0.8.tar.gz::https://github.com/eraden/amdgpud/releases/download/v1.0.8/amdvold.tar.gz
- source = README-1.0.8.md::https://github.com/eraden/amdgpud/raw/v1.0.8/README.md
- source = LICENSE-MIT-1.0.8.md::https://github.com/eraden/amdgpud/raw/v1.0.8/LICENSE.md
- source = LICENSE-APACHE-1.0.8.txt::https://github.com/eraden/amdgpud/raw/v1.0.8/LICENSE.APACHE2.txt
- source = config-1.0.8.toml::https://github.com/eraden/amdgpud/raw/v1.0.8/examples/default_config.toml
- sha256sums = 757ac4ab94d04164cb94f9b80b0b4218bb7351c3b870f84ea71d9e9d501d5b18
- sha256sums = e221804928190d1e30066c2e6615e36b3e5d64d3d02730b98010b3f1ffdf329a
- sha256sums = 632669bbede058503e9e743dae70baaf9617327d1d12a241a71030fd5b766886
- sha256sums = 233c4ff8ddd485a307371ff71ae448299b1d4a42c48378f1b6b50df09458d7a4
- sha256sums = 5c5ddd7eda05a6c3dd056407a0a551230ef5a0a215332df907384ead4d13ffbf
- sha256sums = 5053a909abf57ac6651ebdcbcd0768bf89426de1ba0c3a49e171a63a6656a2e2
- sha256sums = a90b8c397a4d1c9e17599b806fce7883e1f0f8b6102b97efa7dab55b682221e3
+ source = amdgpud-bin-1.0.9.zip::https://github.com/eraden/amdgpud/releases/download/v1.0.9/archlinux.zip
+ source = amdgpud-1.0.9.tar.gz::https://github.com/eraden/amdgpud/archive/v1.0.9.tar.gz
+ sha256sums = 87b0d1235a19561a48e0448852abb4351bd6f9ccf2fcba2b47123827018afc2c
+ sha256sums = 3242e1d9090735fc0afe26c9753664b47ff9cd4ca9ddc440af39f78058b3180e
-pkgname = amdgpud-bin
+pkgname = amdgpud-glow-bin
+ pkgdesc = Fan control service for AMD GPUs -- Xorg version
+ provides = amdgpud
+ provides = amdguid-glow
+ conflicts = amdgpud
+ conflicts = amdguid-wayland
+
+pkgname = amdgpud-wayland-bin
+ pkgdesc = Fan control service for AMD GPUs -- Wayland version
+ provides = amdgpud
+ provides = amdguid-wayland
+ conflicts = amdgpud
+ conflicts = amdguid-glow
diff --git a/PKGBUILD b/PKGBUILD
index 6635b2df63b..a995db9951d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,35 +1,52 @@
# Maintainer: Luis Martinez <luis dot martinez at disroot dot org>
-pkgname=amdgpud-bin
-pkgver=1.0.8
+pkgbase=amdgpud-bin
+pkgname=('amdgpud-glow-bin' 'amdgpud-wayland-bin')
+pkgver=1.0.9
pkgrel=1
pkgdesc="Fan control service for AMD GPUs"
arch=('x86_64')
url="https://github.com/eraden/amdgpud"
license=('Apache' 'MIT')
+depends=('gcc-libs')
provides=('amdgpud')
conflicts=('amdgpud')
backup=("etc/amdgpud/config.toml")
-source=("amdgpud-amdfand-$pkgver.tar.gz::$url/releases/download/v$pkgver/amdfand.tar.gz"
- "amdgpud-amdmond-$pkgver.tar.gz::$url/releases/download/v$pkgver/amdmond.tar.gz"
- "amdgpud-amdvold-$pkgver.tar.gz::$url/releases/download/v$pkgver/amdvold.tar.gz"
- "README-$pkgver.md::$url/raw/v$pkgver/README.md"
- "LICENSE-MIT-$pkgver.md::$url/raw/v$pkgver/LICENSE.md"
- "LICENSE-APACHE-$pkgver.txt::$url/raw/v$pkgver/LICENSE.APACHE2.txt"
- "config-$pkgver.toml::$url/raw/v$pkgver/examples/default_config.toml")
-sha256sums=('757ac4ab94d04164cb94f9b80b0b4218bb7351c3b870f84ea71d9e9d501d5b18'
- 'e221804928190d1e30066c2e6615e36b3e5d64d3d02730b98010b3f1ffdf329a'
- '632669bbede058503e9e743dae70baaf9617327d1d12a241a71030fd5b766886'
- '233c4ff8ddd485a307371ff71ae448299b1d4a42c48378f1b6b50df09458d7a4'
- '5c5ddd7eda05a6c3dd056407a0a551230ef5a0a215332df907384ead4d13ffbf'
- '5053a909abf57ac6651ebdcbcd0768bf89426de1ba0c3a49e171a63a6656a2e2'
- 'a90b8c397a4d1c9e17599b806fce7883e1f0f8b6102b97efa7dab55b682221e3')
+source=("$pkgbase-$pkgver.zip::$url/releases/download/v$pkgver/archlinux.zip"
+ "amdgpud-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
+sha256sums=('87b0d1235a19561a48e0448852abb4351bd6f9ccf2fcba2b47123827018afc2c'
+ '3242e1d9090735fc0afe26c9753664b47ff9cd4ca9ddc440af39f78058b3180e')
-package() {
- install -D amdfand amdmond amdvold -t "$pkgdir/usr/bin/"
- install -Dm644 {amdfand,amdmond,amdvold}.service -t "$pkgdir/usr/lib/systemd/systemd/"
- install -Dm644 "config-$pkgver.toml" "$pkgdir/etc/amdgpud/config.toml"
- install -Dm644 "LICENSE-MIT-$pkgver.md" "$pkgdir/usr/share/licenses/$pkgname/LICENSE-MIT.md"
- install -Dm644 "LICENSE-APACHE-$pkgver.txt" "$pkgdir/usr/share/licenses/$pkgname/LICENSE-APACHE.txt"
- install -Dm644 "README-$pkgver.md" "$pkgdir/usr/share/doc/$pkgname/README.md"
+prepare() {
+ mkdir -p glow wayland
+ bsdtar -xf amdguid-glow.zip -C glow
+ bsdtar -xf amdguid-wayland.zip -C wayland
+}
+
+_package() {
+ install -D amdfand amdmond amdvold amdgui-helper -t "$pkgdir/usr/bin/"
+ cd "amdgpud-$pkgver"
+ install -Dm644 services/*.service -t "$pkgdir/usr/lib/systemd/systemd/"
+ install -Dm644 examples/default_config.toml "$pkgdir/etc/amdgpud/config.toml"
+ install -Dm644 LICENSE.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+ install -Dm644 LICENSE.APACHE2.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE-APACHE"
+ install -Dm644 README.md -t "$pkgdir/usr/share/doc/$pkgname/"
+}
+
+package_amdgpud-glow-bin() {
+ pkgdesc+=' -- Xorg version'
+ provides+=('amdguid-glow')
+ conflicts+=('amdguid-wayland')
+
+ install -D glow/amdguid -t "$pkgdir/usr/bin/"
+ _package
+}
+
+package_amdgpud-wayland-bin() {
+ pkgdesc+=' -- Wayland version'
+ provides+=('amdguid-wayland')
+ conflicts+=('amdguid-glow')
+
+ install -D wayland/amdguid -t "$pkgdir/usr/bin/"
+ _package
}