blob: 4b2aa193d46ae7cd675564b4500212300dd134e6 (
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.6
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=('139ba8ab14796a78e04186a9998a0351ca536c59a3a9955c53a9c4196d045747')
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
}
|