Skip to content

Commit f41dcce

Browse files
author
jhuntwork
committed
Merge pull request ':sparkles: Add libdisplay-info at 0.3.0' (#149) from libdisplay-info into main
Reviewed-on: https://codeberg.org/merelinux/recipes/pulls/149
2 parents 3989918 + b105a6d commit f41dcce

1 file changed

Lines changed: 45 additions & 0 deletions

File tree

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
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+
}

0 commit comments

Comments
 (0)