forked from rosa/hakurei
internal/rosa/package: migrate wayland
Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
61
internal/rosa/package/wayland/package.az
Normal file
61
internal/rosa/package/wayland/package.az
Normal file
@@ -0,0 +1,61 @@
|
||||
package wayland {
|
||||
description = "core Wayland window system code and protocol";
|
||||
website = "https://wayland.freedesktop.org";
|
||||
anitya = 10061;
|
||||
|
||||
version* = "1.25.0";
|
||||
source = remoteGitLab {
|
||||
domain = "gitlab.freedesktop.org";
|
||||
suffix = "wayland/wayland";
|
||||
ref = version;
|
||||
checksum = "q-4dYXme46JPgLGtXAxyZGTy7udll9RfT0VXtcW2YRR1WWViUhvdZXZneXzLqpCg";
|
||||
};
|
||||
|
||||
writable = true;
|
||||
early = `
|
||||
chmod +w tests tests/sanity-test.c
|
||||
echo 'int main(){}' > tests/sanity-test.c
|
||||
`;
|
||||
|
||||
exec = meson {
|
||||
setup = {
|
||||
"Ddefault_library": "both";
|
||||
"Ddocumentation": "false";
|
||||
"Dtests": "true";
|
||||
};
|
||||
};
|
||||
|
||||
inputs = [
|
||||
gawk,
|
||||
diffutils,
|
||||
|
||||
libffi,
|
||||
libexpat,
|
||||
libxml2,
|
||||
];
|
||||
|
||||
runtime = [
|
||||
libffi,
|
||||
libexpat,
|
||||
libxml2,
|
||||
];
|
||||
}
|
||||
|
||||
package wayland-protocols {
|
||||
description = "additional standard Wayland protocols";
|
||||
website = "https://wayland.freedesktop.org";
|
||||
anitya = 13997;
|
||||
|
||||
version* = "1.48";
|
||||
source = remoteGitLab {
|
||||
domain = "gitlab.freedesktop.org";
|
||||
suffix = "wayland/wayland-protocols";
|
||||
ref = version;
|
||||
checksum = "xvfHCBIzXGwOqOu9b8dfhGw_U29Pd-g4JBwpYIaxee8SwEbxi6NaVU-Y1Q7wY4jK";
|
||||
};
|
||||
patches = [ "build-only.patch" ];
|
||||
|
||||
exec = meson {};
|
||||
|
||||
inputs = [ wayland ];
|
||||
}
|
||||
Reference in New Issue
Block a user