ports: add post install hooks for a bunch of packages

This commit is contained in:
Matheus
2026-06-27 11:07:24 -03:00
parent d76bd3b679
commit 0a0e26837e
10 changed files with 65 additions and 5 deletions
+11
View File
@@ -0,0 +1,11 @@
#!/usr/bin/bash
case "$1" in
pre)
;;
post)
gdk-pixbuf-query-loaders --update-cache
;;
esac
exit 0
+11
View File
@@ -0,0 +1,11 @@
#!/usr/bin/bash
case "$1" in
pre)
;;
post)
glib-compile-schemas /usr/share/glib-2.0/schemas
;;
esac
exit 0
+11
View File
@@ -0,0 +1,11 @@
#!/usr/bin/bash
case "$1" in
pre)
;;
post)
glib-compile-schemas /usr/share/glib-2.0/schemas
;;
esac
exit 0
+11
View File
@@ -0,0 +1,11 @@
#!/usr/bin/bash
case "$1" in
pre)
;;
post)
gdk-pixbuf-query-loaders --update-cache
;;
esac
exit 0
+11
View File
@@ -0,0 +1,11 @@
#!/usr/bin/bash
case "$1" in
pre)
;;
post)
update-mime-database /usr/share/mime
;;
esac
exit 0
+2 -1
View File
@@ -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
}
+2 -1
View File
@@ -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
}
+2 -1
View File
@@ -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
}
+2 -1
View File
@@ -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
}
+2 -1
View File
@@ -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
}