From 9f4c15f4854194c0df21d110c7f77f78200b319d Mon Sep 17 00:00:00 2001 From: EnumDev Date: Thu, 17 Jul 2025 13:40:08 +0300 Subject: [PATCH] Add gtk-update-icon-cache as dependency --- pkg.info | 3 ++- source.sh | 7 ++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/pkg.info b/pkg.info index 48af98c..a281e8f 100644 --- a/pkg.info +++ b/pkg.info @@ -1,9 +1,10 @@ name: gtk3 description: GObject-based multi-platform GUI toolkit version 3 version: 3.24.41 +revision: 2 url: https://www.gtk.org/ license: LGPL2.1-or-later architecture: any -depends: ["adwaita-icon-theme","at-spi2-core","cairo","fontconfig","fribidi","gdk-pixbuf","glib","glibc","harfbuzz","libepoxy","libglvnd","libx11","libxcomposite","libxcursor","libxdamage","libxext","libxfixes","libxi","libxinerama","libxkbcommon","libxrandr","libxrender","pango","shared-mime-info","wayland"] +depends: ["adwaita-icon-theme","at-spi2-core","cairo","fontconfig","fribidi","gdk-pixbuf","glib","glibc","gtk-update-icon-cache","harfbuzz","libepoxy","libglvnd","libx11","libxcomposite","libxcursor","libxdamage","libxext","libxfixes","libxi","libxinerama","libxkbcommon","libxrandr","libxrender","pango","shared-mime-info","wayland"] make_depends: ["gobject-introspection","gtk-doc","hicolor-icon-theme","meson","sassc","wayland-protocols"] type: source diff --git a/source.sh b/source.sh index 4cc83db..bbe0e13 100644 --- a/source.sh +++ b/source.sh @@ -26,10 +26,15 @@ build() { # This function is used to move the compiled files into the output directory package() { cd build - + DESTDIR="$BPM_OUTPUT" ninja install + # Install BPM hooks install -Dm644 "$BPM_WORKDIR"/*.bpmhook -t "$BPM_OUTPUT"/var/lib/bpm/hooks/ + # Remove gtk-update-icon-cache binary + rm "$BPM_OUTPUT"/usr/bin/gtk-update-icon-cache + + # Install package license install -Dm644 "$BPM_SOURCE"/COPYING "$BPM_OUTPUT"/usr/share/licenses/gtk3/COPYING }