ports: Add a lot of x library ports + xeyes/xclock

This commit is contained in:
2026-03-23 17:45:59 +02:00
parent 186fa4f1a1
commit f42c5c4a5b
54 changed files with 1127 additions and 0 deletions

11
ports/libxcb/build.sh Executable file
View File

@@ -0,0 +1,11 @@
#!/bin/bash ../install.sh
NAME='libxcb'
VERSION='1.17.0'
DOWNLOAD_URL="https://www.x.org/releases/individual/lib/libxcb-$VERSION.tar.xz#599ebf9996710fea71622e6e184f3a8ad5b43d0e5fa8c4e407123c88a59a6d55"
CONFIG_SUB=('config.sub' 'build-aux/config.sub')
DEPENDENCIES=('xcb-proto' 'libXau' 'libXdmcp' 'libpthread-stubs')
CONFIGURE_OPTIONS=(
'--enable-shared=yes'
'--enable-static=no'
)

View File

@@ -0,0 +1,31 @@
diff -ruN libxcb-1.17.0/configure libxcb-1.17.0-banan_os/configure
--- libxcb-1.17.0/configure 2024-04-15 18:09:34.000000000 +0300
+++ libxcb-1.17.0-banan_os/configure 2025-11-13 19:58:33.829610129 +0200
@@ -6886,6 +6886,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
;;
@@ -12538,6 +12542,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"