blob: 30add185eca427093a489ba5690081373c26edb4 (
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# Maintainer: Erik Reider <erik.reider@protonmail.com>
_pkgname=scenefx
pkgname="$_pkgname-git"
pkgver=r213.e1f4bc5
pkgrel=2
license=("MIT")
pkgdesc="A drop-in replacement for the wlroots scene API that allows wayland compositors to render surfaces with eye-candy effects"
url="https://github.com/wlrfx/scenefx"
arch=("x86_64")
depends=(
"libglvnd"
"wayland"
"libdrm"
"libpixman-1.so"
"wlroots0.17"
)
makedepends=(
"git"
"glslang"
"meson"
"ninja"
"wayland-protocols"
)
optdepends=()
conflicts=("scenefx" "scenefx-git")
provides=("libscenefx.so")
options=("debug")
source=("${pkgname%-*}::git+${url}.git")
sha512sums=("SKIP")
pkgver() {
cd "$_pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
export PKG_CONFIG_PATH='/usr/lib/wlroots0.17/pkgconfig'
arch-meson -Dwerror=false "$_pkgname" build
meson compile -C build
}
package() {
DESTDIR="$pkgdir" meson install -C build
}
|