File tree Expand file tree Collapse file tree
recipes/desktop/libdisplay-info Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ recipe {
2+ name "libdisplay-info"
3+ version "0.3.0"
4+ release 1
5+ description "EDID and DisplayID library"
6+ url "https://gitlab.freedesktop.org/emersion/libdisplay-info"
7+ archs "aarch64" "x86_64"
8+ licenses "MIT"
9+ depends "hwdata" \
10+ "llvm" \
11+ "meson" \
12+ "mimalloc-dev" \
13+ "musl-dev" \
14+ "ninja" \
15+ "pkgconf"
16+ }
17+
18+ source "https://gitlab.freedesktop.org/emersion/libdisplay-info/-/releases/${recipe.version}/downloads/libdisplay-info-${recipe.version}.tar.xz" {
19+ blake3 "37a2cdab9c39c1ddb4db7b6cd77660c7dc2ba5a36b70bdce9c0f069a96d82e4d"
20+ }
21+
22+ build {
23+ script r #"
24+ meson setup build/ \
25+ -Dprefix=/usr \
26+ -Dbuildtype=release
27+ ninja -C build/
28+ "#
29+ }
30+
31+ install {
32+ script r #"
33+ ninja -C build/ install
34+ "#
35+ }
36+
37+ package "libdisplay-info" {
38+ files "usr/bin/" \
39+ "usr/lib/lib*.so*"
40+ }
41+
42+ package "libdisplay-info-dev" {
43+ files "usr/include/" \
44+ "usr/lib/pkgconfig/"
45+ }
You can’t perform that action at this time.
0 commit comments