mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-08 09:54:43 +02:00
50 lines
1.2 KiB
Text
50 lines
1.2 KiB
Text
# Contributor: Clayton Craft <clayton@craftyguy.net>
|
|
# Maintainer: Clayton Craft <clayton@craftyguy.net>
|
|
pkgname=xdg-desktop-portal-cosmic
|
|
pkgver=1.0.0_alpha7
|
|
_upstreamver="${pkgver/_alpha/-alpha.}"
|
|
pkgrel=0
|
|
pkgdesc="xdg-desktop-portal implementation for the COSMIC Desktop Environment"
|
|
url="https://github.com/pop-os/xdg-desktop-portal-cosmic"
|
|
arch="aarch64 x86_64"
|
|
license="GPL-3.0-only"
|
|
depends="
|
|
cosmic-icons
|
|
xdg-desktop-portal
|
|
"
|
|
makedepends="
|
|
cargo
|
|
clang-libclang
|
|
findutils
|
|
glib-dev
|
|
gstreamer-dev
|
|
libxkbcommon-dev
|
|
mesa-dev
|
|
pipewire-dev
|
|
wayland-dev
|
|
xdg-desktop-portal-dev
|
|
"
|
|
options="net !check" # fetch dependencies, no tests
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/pop-os/xdg-desktop-portal-cosmic/archive/refs/tags/epoch-$_upstreamver.tar.gz"
|
|
builddir="$srcdir/$pkgname-epoch-$_upstreamver"
|
|
|
|
prepare() {
|
|
default_prepare
|
|
cargo fetch --target="$CTARGET" --locked
|
|
}
|
|
|
|
build() {
|
|
make ARGS+=" --frozen --release"
|
|
}
|
|
|
|
check() {
|
|
cargo test --release --frozen
|
|
}
|
|
|
|
package() {
|
|
make prefix="/usr" DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
sha512sums="
|
|
ccd1fff8071292e202f36b0aac8a214ccc86c31b52c14ed3970238d9208462fc00eed50422f8ab6b6aba48bfbde7a6504023fd79622be7840c169c71efb1db3f xdg-desktop-portal-cosmic-1.0.0_alpha7.tar.gz
|
|
"
|