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/libXinerama/build.sh Executable file
View File

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

View File

@@ -0,0 +1,31 @@
diff -ruN libXinerama-1.1.6/configure libXinerama-1.1.6-banan_os/configure
--- libXinerama-1.1.6/configure 2026-01-26 01:40:12.000000000 +0200
+++ libXinerama-1.1.6-banan_os/configure 2026-03-25 16:26:39.166177404 +0200
@@ -6173,6 +6173,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
;;
@@ -11707,6 +11711,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'