ports: Add libwebp port

This commit is contained in:
2025-06-11 16:01:19 +03:00
parent f4f424bf04
commit 8574fcf6e1
3 changed files with 62 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
diff -ruN libwebp-1.5.0/config.sub libwebp-1.5.0-banan_os/config.sub
--- libwebp-1.5.0/config.sub 2024-12-20 03:52:53.000000000 +0200
+++ libwebp-1.5.0-banan_os/config.sub 2025-06-11 12:46:06.199497350 +0300
@@ -1754,7 +1754,7 @@
| onefs* | tirtos* | phoenix* | fuchsia* | redox* | bme* \
| midnightbsd* | amdhsa* | unleashed* | emscripten* | wasi* \
| nsk* | powerunix* | genode* | zvmoe* | qnx* | emx* | zephyr* \
- | fiwix* )
+ | fiwix* | banan_os* )
;;
# This one is extra strict with allowed versions
sco3.2v2 | sco3.2v[4-9]* | sco5v6*)

View File

@@ -0,0 +1,31 @@
diff -ruN libwebp-1.5.0/configure libwebp-1.5.0-banan_os/configure
--- libwebp-1.5.0/configure 2024-12-20 03:52:53.000000000 +0200
+++ libwebp-1.5.0-banan_os/configure 2025-06-11 15:06:04.232055731 +0300
@@ -6104,6 +6104,10 @@
lt_cv_deplibs_check_method=pass_all
;;
+banan_os*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
beos*)
lt_cv_deplibs_check_method=pass_all
;;
@@ -11469,6 +11473,16 @@
esac
;;
+banan_os*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ dynamic_linker="$host_os DynamicLoader.so"
+ shlibpath_var=LD_LIBRARY_PATH
+ ;;
+
beos*)
library_names_spec='$libname$shared_ext'
dynamic_linker="$host_os ld.so"