From e3d610c5696267f7787cdcc6136f972e81b4d668 Mon Sep 17 00:00:00 2001 From: Jeremy Soller Date: Thu, 19 Feb 2026 15:42:05 -0700 Subject: [PATCH] pop-icon-theme: package cursors in optional package --- recipes/icons/pop-icon-theme/recipe.toml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/recipes/icons/pop-icon-theme/recipe.toml b/recipes/icons/pop-icon-theme/recipe.toml index 44daacee9..8578a8a26 100644 --- a/recipes/icons/pop-icon-theme/recipe.toml +++ b/recipes/icons/pop-icon-theme/recipe.toml @@ -1,12 +1,18 @@ [source] git = "https://github.com/pop-os/icon-theme.git" shallow_clone = true + [build] template = "custom" script = """ meson setup -Dprefix=/ . "${COOKBOOK_SOURCE}" env DESTDIR="${COOKBOOK_STAGE}" meson install -#TODO: reduce cursors folder size: https://github.com/pop-os/icon-theme/issues/136 -rm -rf "${COOKBOOK_STAGE}/share/icons/Pop/cursors" -rm -rf "${COOKBOOK_STAGE}/share/icons/Pop/cursor.theme" """ + +[[optional-packages]] +name = "cursors" +files = [ + "share/icons/Pop/cursors**", + "share/icons/Pop/cursor.theme", +] +