ports: Add libX{composite,cursor,damage,inerama} ports

This commit is contained in:
2026-06-23 15:28:25 +03:00
parent aa1b1e1af9
commit 160821869d
8 changed files with 168 additions and 0 deletions

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

@@ -0,0 +1,11 @@
#!/bin/bash ../install.sh
NAME='libXdamage'
VERSION='1.1.7'
DOWNLOAD_URL="https://www.x.org/releases/individual/lib/libXdamage-$VERSION.tar.xz#127067f521d3ee467b97bcb145aeba1078e2454d448e8748eb984d5b397bde24"
CONFIG_SUB=('config.sub')
DEPENDENCIES=('libX11') # FIXME: check deps
CONFIGURE_OPTIONS=(
'--enable-shared=yes'
'--enable-static=no'
)

View File

@@ -0,0 +1,31 @@
diff -ruN libXdamage-1.1.7/configure libXdamage-1.1.7-banan_os/configure
--- libXdamage-1.1.7/configure 2026-01-26 01:03:29.000000000 +0200
+++ libXdamage-1.1.7-banan_os/configure 2026-05-23 02:22:11.429490232 +0300
@@ -6157,6 +6157,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
;;
@@ -11692,6 +11696,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"