mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-27 12:48:22 +00:00
ports: add post install hooks for a bunch of packages
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
#!/usr/bin/bash
|
||||
|
||||
case "$1" in
|
||||
pre)
|
||||
;;
|
||||
post)
|
||||
gdk-pixbuf-query-loaders --update-cache
|
||||
;;
|
||||
esac
|
||||
|
||||
exit 0
|
||||
@@ -0,0 +1,11 @@
|
||||
#!/usr/bin/bash
|
||||
|
||||
case "$1" in
|
||||
pre)
|
||||
;;
|
||||
post)
|
||||
glib-compile-schemas /usr/share/glib-2.0/schemas
|
||||
;;
|
||||
esac
|
||||
|
||||
exit 0
|
||||
@@ -0,0 +1,11 @@
|
||||
#!/usr/bin/bash
|
||||
|
||||
case "$1" in
|
||||
pre)
|
||||
;;
|
||||
post)
|
||||
glib-compile-schemas /usr/share/glib-2.0/schemas
|
||||
;;
|
||||
esac
|
||||
|
||||
exit 0
|
||||
@@ -0,0 +1,11 @@
|
||||
#!/usr/bin/bash
|
||||
|
||||
case "$1" in
|
||||
pre)
|
||||
;;
|
||||
post)
|
||||
gdk-pixbuf-query-loaders --update-cache
|
||||
;;
|
||||
esac
|
||||
|
||||
exit 0
|
||||
@@ -0,0 +1,11 @@
|
||||
#!/usr/bin/bash
|
||||
|
||||
case "$1" in
|
||||
pre)
|
||||
;;
|
||||
post)
|
||||
update-mime-database /usr/share/mime
|
||||
;;
|
||||
esac
|
||||
|
||||
exit 0
|
||||
+2
-1
@@ -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
|
||||
}
|
||||
|
||||
@@ -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
@@ -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
@@ -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
|
||||
}
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user