build: Include all headers for use of gimptool

This commit is contained in:
Bruno
2025-01-25 19:03:55 -03:00
parent c0cd664fdd
commit 7b11fe8dba
2 changed files with 10 additions and 2 deletions

View File

@ -148,7 +148,7 @@ bund_usr ()
search_path=("$(dirname $(echo $2 | sed "s|lib/|$1/${LIB_DIR}/${LIB_SUBDIR}|g" | sed "s|*|no_scape|g"))"
"$(dirname $(echo $2 | sed "s|lib/|/usr/${LIB_DIR}/|g" | sed "s|*|no_scape|g"))")
;;
share*|etc*)
share*|include*|etc*)
search_path=("$(dirname $(echo $2 | sed "s|${2%%/*}|$1/${2%%/*}|g" | sed "s|*|no_scape|g"))")
;;
esac
@ -305,6 +305,12 @@ if [ "$GIMP_UNSTABLE" ]; then
fi
### Debug dialog
bund_usr "$GIMP_PREFIX" "bin/gimp-debug-tool*" --dest "libexec"
### headers for gimptool
bund_usr "$GIMP_PREFIX" "include/gimp-*"
bund_usr "$GIMP_PREFIX" "include/babl-*"
bund_usr "$GIMP_PREFIX" "include/gegl-*"
bund_usr "$UNIX_PREFIX" "include/exiv*"
bund_usr "$UNIX_PREFIX" "include/gexiv*"
### Introspected plug-ins
bund_usr "$GIMP_PREFIX" "lib/girepository-*"
bund_usr "$UNIX_PREFIX" "lib/girepository-*"

View File

@ -96,10 +96,12 @@ bundle "$GIMP_PREFIX" etc/gimp
bundle "$MSYS_PREFIX" etc/fonts
## Headers.
## Headers (for use of gimptool).
bundle "$GIMP_PREFIX" include/gimp-*
bundle "$GIMP_PREFIX" include/babl-*
bundle "$GIMP_PREFIX" include/gegl-*
bundle "$GIMP_PREFIX" include/exiv*
bundle "$GIMP_PREFIX" include/gexiv*
## Library data.