ports: Add a lot of x library ports + xeyes/xclock
This commit is contained in:
11
ports/libXtst/build.sh
Executable file
11
ports/libXtst/build.sh
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/bin/bash ../install.sh
|
||||
|
||||
NAME='libXtst'
|
||||
VERSION='1.2.5'
|
||||
DOWNLOAD_URL="https://xorg.freedesktop.org/archive/individual/lib/libXtst-$VERSION.tar.xz#b50d4c25b97009a744706c1039c598f4d8e64910c9fde381994e1cae235d9242"
|
||||
CONFIG_SUB=('config.sub')
|
||||
DEPENDENCIES=('libX11' 'libXext' 'libXi')
|
||||
CONFIGURE_OPTIONS=(
|
||||
'--enable-shared=yes'
|
||||
'--enable-static=no'
|
||||
)
|
||||
31
ports/libXtst/patches/0001-add-shared-library-support.patch
Normal file
31
ports/libXtst/patches/0001-add-shared-library-support.patch
Normal file
@@ -0,0 +1,31 @@
|
||||
diff -ruN libXtst-1.2.5/configure libXtst-1.2.5-banan_os/configure
|
||||
--- libXtst-1.2.5/configure 2024-08-02 03:27:45.000000000 +0300
|
||||
+++ libXtst-1.2.5-banan_os/configure 2026-02-21 23:29:27.999396388 +0200
|
||||
@@ -6194,6 +6194,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
|
||||
;;
|
||||
@@ -11606,6 +11610,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"
|
||||
Reference in New Issue
Block a user