From c3fa001dcdb1fd5116890f9157437af1734e3ed4 Mon Sep 17 00:00:00 2001 From: Andrew <51118083+ArionThinker@users.noreply.github.com> Date: Mon, 11 Mar 2024 16:00:28 +0200 Subject: [PATCH] +gnome.org/adwaita-icon-theme (#5523) * new file: projects/gnome.org/adwaita-icon-theme/package.yml * wip * test version --- .../gnome.org/adwaita-icon-theme/package.yml | 36 +++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 projects/gnome.org/adwaita-icon-theme/package.yml diff --git a/projects/gnome.org/adwaita-icon-theme/package.yml b/projects/gnome.org/adwaita-icon-theme/package.yml new file mode 100644 index 00000000..93498dad --- /dev/null +++ b/projects/gnome.org/adwaita-icon-theme/package.yml @@ -0,0 +1,36 @@ +distributable: + url: https://download.gnome.org/sources/adwaita-icon-theme/{{version.major}}/adwaita-icon-theme-{{version.raw}}.tar.xz + strip-components: 1 + +versions: + url: https://download.gnome.org/sources/adwaita-icon-theme/cache.json + match: /adwaita-icon-theme-(\d+\.\d+)\.tar.xz/ + strip: + - /^adwaita-icon-theme-/ + - /\.tar.xz$/ + +build: + dependencies: + gnu.org/gettext: '*' + gtk.org/gtk4: '*' + freedesktop.org/intltool: '*' + mesonbuild.com: '*' + ninja-build.org: '*' + script: + - meson setup build $ARGS + - meson compile -C build --verbose + - meson install -C build + env: + ARGS: + - --prefix={{prefix}} + - --libdir={{prefix}}/lib + - --buildtype=release + - --wrap-mode=nofallback + +test: + dependencies: + freedesktop.org/pkg-config: '*' + script: + - ls {{prefix}}/share/icons/Adwaita/16x16/devices | grep 'audio-headphones.png' + - ls {{prefix}}/share/icons/Adwaita | grep 'index.theme' + - pkg-config --modversion adwaita-icon-theme | grep {{version.raw}} \ No newline at end of file