From 042bb53d302625d901cbd01355cad25dbee12769 Mon Sep 17 00:00:00 2001 From: Andrew <51118083+ArionThinker@users.noreply.github.com> Date: Sat, 15 Jul 2023 21:09:39 +0300 Subject: [PATCH] wayland.freedesktop.org (#2580) * wayland.freedesktop.org * tea.xyz/gx/cc: c99 --- projects/wayland.freedesktop.org/package.yml | 41 ++++++++++++++++++++ projects/wayland.freedesktop.org/test.c | 8 ++++ 2 files changed, 49 insertions(+) create mode 100644 projects/wayland.freedesktop.org/package.yml create mode 100644 projects/wayland.freedesktop.org/test.c diff --git a/projects/wayland.freedesktop.org/package.yml b/projects/wayland.freedesktop.org/package.yml new file mode 100644 index 00000000..1de6d4df --- /dev/null +++ b/projects/wayland.freedesktop.org/package.yml @@ -0,0 +1,41 @@ +distributable: + url: https://gitlab.freedesktop.org/wayland/wayland/-/releases/{{version}}/downloads/wayland-{{version}}.tar.xz + strip-components: 1 +display-name: wayland +platforms: + - linux +versions: + gitlab: gitlab.freedesktop.org:wayland/wayland +dependencies: + libexpat.github.io: '*' + sourceware.org/libffi: '*' + gnome.org/libxml2: '*' +build: + dependencies: + mesonbuild.com: '*' + ninja-build.org: '*' + tea.xyz/gx/cc: c99 + gnu.org/make: '*' + cmake.org: '*' + freedesktop.org/pkg-config: '*' + working-directory: build + script: + - meson $ARGS .. + - ninja -v + - ninja install -v + env: + ARGS: + - --prefix={{prefix}} + - --libdir={{prefix}}/lib + - --buildtype=release + - --wrap-mode=nofallback + - -Dtests=false + - -Ddocumentation=false +provides: + - bin/wayland-scanner +test: + dependencies: + tea.xyz/gx/cc: c99 + script: + - cc test.c -o test + - ./test \ No newline at end of file diff --git a/projects/wayland.freedesktop.org/test.c b/projects/wayland.freedesktop.org/test.c new file mode 100644 index 00000000..c9f555a6 --- /dev/null +++ b/projects/wayland.freedesktop.org/test.c @@ -0,0 +1,8 @@ +#include "wayland-server.h" +#include "wayland-client.h" + +int main(int argc, char* argv[]) { + const char *socket; + struct wl_protocol_logger *logger; + return 0; +} \ No newline at end of file