From d38c914dae794421176422b89ca83461e6b7a4d4 Mon Sep 17 00:00:00 2001 From: no92 Date: Wed, 4 Oct 2023 19:35:10 +0200 Subject: [PATCH] wlgears: add port --- bootstrap.d/gui-apps.yml | 43 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/bootstrap.d/gui-apps.yml b/bootstrap.d/gui-apps.yml index 45cd489f4..b413d7265 100644 --- a/bootstrap.d/gui-apps.yml +++ b/bootstrap.d/gui-apps.yml @@ -45,3 +45,46 @@ packages: - args: ['ninja', 'install'] environ: DESTDIR: '@THIS_COLLECT_DIR@' + + - name: wlgears + architecture: '@OPTION:arch@' + metadata: + summary: A port of glxgears to wayland + description: "This utility is a port of the glxgears demo of mesa-demos onto wayland with a meson build system." + spdx: MIT + website: 'https://github.com/no92/wlgears' + maintainer: "no92 " + categories: ['gui-apps'] + source: + subdir: ports + git: 'https://github.com/no92/wlgears.git' + tag: 'v0.1.0' + version: '0.1.0' + tools_required: + - system-gcc + - wayland-scanner + - virtual: pkgconfig-for-target + triple: "@OPTION:arch-triple@" + - virtual: pkgconfig-for-host + program_name: host-pkg-config + pkgs_required: + - mlibc + - wayland + - wayland-protocols + configure: + - args: + - 'meson' + - '--cross-file' + - '@SOURCE_ROOT@/scripts/meson-@OPTION:arch-triple@.cross-file' + - '--native-file' + - '@SOURCE_ROOT@/scripts/meson.native-file' + - '--prefix=/usr' + - '--libdir=lib' + - '--buildtype=debugoptimized' + - '@THIS_SOURCE_DIR@' + build: + - args: ['ninja'] + - args: ['ninja', 'install'] + environ: + DESTDIR: '@THIS_COLLECT_DIR@' + quiet: true