diff --git a/install-hooks/gdk-pixbuf b/install-hooks/gdk-pixbuf new file mode 100644 index 00000000..e246406f --- /dev/null +++ b/install-hooks/gdk-pixbuf @@ -0,0 +1,11 @@ +#!/usr/bin/bash + +case "$1" in + pre) + ;; + post) + gdk-pixbuf-query-loaders --update-cache + ;; +esac + +exit 0 diff --git a/install-hooks/gsettings-desktop-schemas b/install-hooks/gsettings-desktop-schemas new file mode 100644 index 00000000..19a5f7f0 --- /dev/null +++ b/install-hooks/gsettings-desktop-schemas @@ -0,0 +1,11 @@ +#!/usr/bin/bash + +case "$1" in + pre) + ;; + post) + glib-compile-schemas /usr/share/glib-2.0/schemas + ;; +esac + +exit 0 diff --git a/install-hooks/gtk3 b/install-hooks/gtk3 new file mode 100644 index 00000000..19a5f7f0 --- /dev/null +++ b/install-hooks/gtk3 @@ -0,0 +1,11 @@ +#!/usr/bin/bash + +case "$1" in + pre) + ;; + post) + glib-compile-schemas /usr/share/glib-2.0/schemas + ;; +esac + +exit 0 diff --git a/install-hooks/libavif b/install-hooks/libavif new file mode 100644 index 00000000..e246406f --- /dev/null +++ b/install-hooks/libavif @@ -0,0 +1,11 @@ +#!/usr/bin/bash + +case "$1" in + pre) + ;; + post) + gdk-pixbuf-query-loaders --update-cache + ;; +esac + +exit 0 diff --git a/install-hooks/shared-mime-info b/install-hooks/shared-mime-info new file mode 100644 index 00000000..0ac44bc5 --- /dev/null +++ b/install-hooks/shared-mime-info @@ -0,0 +1,11 @@ +#!/usr/bin/bash + +case "$1" in + pre) + ;; + post) + update-mime-database /usr/share/mime + ;; +esac + +exit 0 diff --git a/recipes/gdk-pixbuf b/recipes/gdk-pixbuf index 4380b40a..4b748e7f 100644 --- a/recipes/gdk-pixbuf +++ b/recipes/gdk-pixbuf @@ -1,5 +1,5 @@ name=gdk-pixbuf -revision=1 +revision=2 from_source=gdk-pixbuf imagedeps="gcc meson ninja-build libglib2.0-dev" hostdeps="xgcc xbinutils pkgconfig" @@ -15,4 +15,5 @@ build() { package() { DESTDIR=${dest_dir} ninja install + copy_install_hook } diff --git a/recipes/gsettings-desktop-schemas b/recipes/gsettings-desktop-schemas index 386e148f..8b344df6 100644 --- a/recipes/gsettings-desktop-schemas +++ b/recipes/gsettings-desktop-schemas @@ -1,5 +1,5 @@ name=gsettings-desktop-schemas -revision=1 +revision=2 from_source=gsettings-desktop-schemas imagedeps="gcc meson ninja-build libglib2.0-dev" hostdeps="xgcc xbinutils pkgconfig" @@ -15,4 +15,5 @@ build() { package() { DESTDIR=${dest_dir} ninja install + copy_install_hook } diff --git a/recipes/gtk3 b/recipes/gtk3 index a79936a6..543dab68 100644 --- a/recipes/gtk3 +++ b/recipes/gtk3 @@ -1,5 +1,5 @@ name=gtk3 -revision=1 +revision=2 from_source=gtk3 imagedeps="gcc meson ninja-build libglib2.0-dev" hostdeps="xgcc xbinutils pkgconfig" @@ -16,4 +16,5 @@ build() { package() { DESTDIR=${dest_dir} ninja install + copy_install_hook } diff --git a/recipes/libavif b/recipes/libavif index 5fb28ce2..936412cf 100644 --- a/recipes/libavif +++ b/recipes/libavif @@ -1,5 +1,5 @@ name=libavif -revision=1 +revision=2 from_source=libavif imagedeps="build-essential cmake" hostdeps="xgcc xbinutils pkgconfig libtool" @@ -26,4 +26,5 @@ build() { package() { DESTDIR=${dest_dir} ninja install + copy_install_hook } diff --git a/recipes/shared-mime-info b/recipes/shared-mime-info index 6ab82812..e0a9b0ed 100644 --- a/recipes/shared-mime-info +++ b/recipes/shared-mime-info @@ -1,5 +1,5 @@ name=shared-mime-info -revision=1 +revision=2 from_source=shared-mime-info imagedeps="gcc meson ninja-build gettext" hostdeps="xgcc xbinutils pkgconfig libstdc++-v3" @@ -15,4 +15,5 @@ build() { package() { DESTDIR=${dest_dir} ninja install + copy_install_hook }