blob: 2c366091c5d8d593df3f2b0ef25719278cd3085c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
pkgname=xdg-desktop-portal-luminous
pkgver=0.1.10
pkgrel=1
url='https://github.com/waycrate/xdg-desktop-portal-luminous'
pkgdesc='xdg-desktop-portal backend for wlroots based compositors, providing screenshot and screencast'
arch=('x86_64' 'aarch64')
license=('GPL-3')
depends=('xdg-desktop-portal' 'slurp' 'qt5-base')
provides=("xdg-desktop-portal-impl" "xdg-desktop-portal-luminous")
conflicts=("xdg-desktop-portal-luminous-git")
makedepends=('git' 'ninja' 'meson' 'rust' 'clang' 'qt5-base')
source=("${pkgname}-v${pkgver}.tar.gz::https://github.com/waycrate/xdg-desktop-portal-luminous/archive/refs/tags/v${pkgver}.tar.gz")
options+=(!lto)
sha256sums=('323c9519463a660ffe1c3df2fc7c6d33fb0febbc838a0d8f62aedf2ed1aca18e')
build() {
cd "${pkgname}-$pkgver"
meson setup build \
-Dprefix=/usr \
-Dlibexecdir=lib \
-Dbuildtype=release
meson compile -C build
}
package() {
cd "${pkgname}-$pkgver"
DESTDIR="${pkgdir}" ninja -C build install
}
|