adapt to justfile changes

This commit is contained in:
Mark Wagie 2025-12-09 11:48:32 -07:00
parent 6661200912
commit 46ef5ce03c
2 changed files with 5 additions and 4 deletions

View file

@ -1,13 +1,12 @@
pkgbase = cosmic-randr-git pkgbase = cosmic-randr-git
pkgdesc = Library and utility for displaying and configuring Wayland outputs pkgdesc = Library and utility for displaying and configuring Wayland outputs
pkgver = 1.0.0.alpha.7.r0.gc32d0d6 pkgver = 1.0.0.beta.8.r4.gf5923d1
pkgrel = 1 pkgrel = 1
url = https://github.com/pop-os/cosmic-randr url = https://github.com/pop-os/cosmic-randr
arch = x86_64 arch = x86_64
arch = aarch64 arch = aarch64
license = MPL-2.0 license = MPL-2.0
makedepends = cargo makedepends = cargo
makedepends = clang
makedepends = git makedepends = git
makedepends = just makedepends = just
makedepends = mold makedepends = mold

View file

@ -1,6 +1,6 @@
# Maintainer: Mark Wagie <mark dot wagie at proton dot me> # Maintainer: Mark Wagie <mark dot wagie at proton dot me>
pkgname=cosmic-randr-git pkgname=cosmic-randr-git
pkgver=1.0.0.alpha.7.r0.gc32d0d6 pkgver=1.0.0.beta.8.r4.gf5923d1
pkgrel=1 pkgrel=1
pkgdesc="Library and utility for displaying and configuring Wayland outputs" pkgdesc="Library and utility for displaying and configuring Wayland outputs"
arch=('x86_64' 'aarch64') arch=('x86_64' 'aarch64')
@ -9,7 +9,6 @@ license=('MPL-2.0')
depends=('wayland') depends=('wayland')
makedepends=( makedepends=(
'cargo' 'cargo'
'clang'
'git' 'git'
'just' 'just'
'mold' 'mold'
@ -40,6 +39,9 @@ build() {
cd "${pkgname%-git}" cd "${pkgname%-git}"
export RUSTUP_TOOLCHAIN=stable export RUSTUP_TOOLCHAIN=stable
# use mold instead of lld to speed up build
RUSTFLAGS+=" -C link-arg=-fuse-ld=mold"
# use nice to build with lower priority # use nice to build with lower priority
nice just build-release --frozen nice just build-release --frozen
} }