add Gitea Actions release workflow, switch AUR to gpupaper-bin
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
+8
-7
@@ -1,13 +1,11 @@
|
||||
pkgbase = gpupaper-git
|
||||
pkgbase = gpupaper-bin
|
||||
pkgdesc = Wayland layer-surface wallpaper runner powered by GLSL/WGSL fragment shaders (wgpu)
|
||||
pkgver = r1.f53340a
|
||||
pkgver = 0.1.0
|
||||
pkgrel = 1
|
||||
url = https://prosjekt.klingenbergbygg.no/bl/gpupaper
|
||||
arch = x86_64
|
||||
arch = aarch64
|
||||
license = MIT
|
||||
makedepends = rust
|
||||
makedepends = cargo
|
||||
depends = wayland
|
||||
depends = libglvnd
|
||||
optdepends = vulkan-icd-loader: Vulkan backend (generic loader)
|
||||
@@ -15,7 +13,10 @@ pkgbase = gpupaper-git
|
||||
optdepends = nvidia-utils: NVIDIA Vulkan/OpenGL support
|
||||
provides = gpupaper
|
||||
conflicts = gpupaper
|
||||
source = gpupaper::git+https://prosjekt.klingenbergbygg.no/bl/gpupaper.git
|
||||
sha256sums = SKIP
|
||||
conflicts = gpupaper-git
|
||||
source_x86_64 = gpupaper-v0.1.0-x86_64.tar.gz::https://prosjekt.klingenbergbygg.no/bl/gpupaper-releases/releases/download/v0.1.0/gpupaper-v0.1.0-x86_64.tar.gz
|
||||
sha256sums_x86_64 = SKIP
|
||||
source_aarch64 = gpupaper-v0.1.0-aarch64.tar.gz::https://prosjekt.klingenbergbygg.no/bl/gpupaper-releases/releases/download/v0.1.0/gpupaper-v0.1.0-aarch64.tar.gz
|
||||
sha256sums_aarch64 = SKIP
|
||||
|
||||
pkgname = gpupaper-git
|
||||
pkgname = gpupaper-bin
|
||||
|
||||
+10
-27
@@ -1,49 +1,32 @@
|
||||
# Maintainer: Bendik Aagaard Lynghaug <bendik.lynghaug@gmail.com>
|
||||
pkgname=gpupaper-git
|
||||
pkgver=r1.f53340a
|
||||
pkgname=gpupaper-bin
|
||||
pkgver=0.1.0
|
||||
pkgrel=1
|
||||
pkgdesc="Wayland layer-surface wallpaper runner powered by GLSL/WGSL fragment shaders (wgpu)"
|
||||
arch=('x86_64' 'aarch64')
|
||||
url="https://prosjekt.klingenbergbygg.no/bl/gpupaper"
|
||||
license=('MIT')
|
||||
depends=('wayland' 'libglvnd')
|
||||
makedepends=('rust' 'cargo')
|
||||
optdepends=(
|
||||
'vulkan-icd-loader: Vulkan backend (generic loader)'
|
||||
'mesa: open-source Vulkan/OpenGL for AMD, Intel, and Raspberry Pi'
|
||||
'nvidia-utils: NVIDIA Vulkan/OpenGL support'
|
||||
)
|
||||
provides=('gpupaper')
|
||||
conflicts=('gpupaper')
|
||||
source=("gpupaper::git+https://prosjekt.klingenbergbygg.no/bl/gpupaper.git")
|
||||
sha256sums=('SKIP')
|
||||
conflicts=('gpupaper' 'gpupaper-git')
|
||||
|
||||
pkgver() {
|
||||
cd "$srcdir/gpupaper"
|
||||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
||||
}
|
||||
|
||||
prepare() {
|
||||
cd "$srcdir/gpupaper"
|
||||
export RUSTUP_TOOLCHAIN=stable
|
||||
cargo fetch --target "$(rustc -vV | sed -n 's/host: //p')"
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "$srcdir/gpupaper"
|
||||
export RUSTUP_TOOLCHAIN=stable
|
||||
export CARGO_TARGET_DIR=target
|
||||
cargo build --offline --release
|
||||
}
|
||||
# Update these URLs and checksums with each release.
|
||||
# Binaries are hosted at: https://prosjekt.klingenbergbygg.no/bl/gpupaper-releases
|
||||
source_x86_64=("gpupaper-v${pkgver}-x86_64.tar.gz::https://prosjekt.klingenbergbygg.no/bl/gpupaper-releases/releases/download/v${pkgver}/gpupaper-v${pkgver}-x86_64.tar.gz")
|
||||
source_aarch64=("gpupaper-v${pkgver}-aarch64.tar.gz::https://prosjekt.klingenbergbygg.no/bl/gpupaper-releases/releases/download/v${pkgver}/gpupaper-v${pkgver}-aarch64.tar.gz")
|
||||
sha256sums_x86_64=('SKIP')
|
||||
sha256sums_aarch64=('SKIP')
|
||||
|
||||
package() {
|
||||
cd "$srcdir/gpupaper"
|
||||
|
||||
install -Dm755 "target/release/gpupaper" "$pkgdir/usr/bin/gpupaper"
|
||||
install -Dm755 gpupaper "$pkgdir/usr/bin/gpupaper"
|
||||
|
||||
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
||||
|
||||
# Example shaders
|
||||
install -dm755 "$pkgdir/usr/share/gpupaper/shaders"
|
||||
install -Dm644 shaders/*.frag "$pkgdir/usr/share/gpupaper/shaders/"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user