ports: Add pango port
This commit is contained in:
parent
eddb68f2fa
commit
9c3e2dab40
|
|
@ -0,0 +1,6 @@
|
|||
#!/bin/bash ../install.sh
|
||||
|
||||
NAME='fribidi'
|
||||
VERSION='1.0.16'
|
||||
DOWNLOAD_URL="https://github.com/fribidi/fribidi/releases/download/v$VERSION/fribidi-$VERSION.tar.xz#1b1cde5b235d40479e91be2f0e88a309e3214c8ab470ec8a2744d82a5a9ea05c"
|
||||
CONFIG_SUB=('config.sub')
|
||||
|
|
@ -0,0 +1,20 @@
|
|||
diff -ruN fribidi-1.0.16/configure fribidi-1.0.16-banan_os/configure
|
||||
--- fribidi-1.0.16/configure 2024-09-25 21:04:21.000000000 +0300
|
||||
+++ fribidi-1.0.16-banan_os/configure 2025-11-05 20:51:12.227775953 +0200
|
||||
@@ -11536,6 +11536,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"
|
||||
|
|
@ -0,0 +1,26 @@
|
|||
#!/bin/bash ../install.sh
|
||||
|
||||
NAME='pango'
|
||||
VERSION='1.57.0'
|
||||
DOWNLOAD_URL="https://gitlab.gnome.org/GNOME/pango/-/archive/$VERSION/pango-$VERSION.tar.gz#1b2e2f683dfb5adec3faf17087ade8c648f10a5d3d0e17e421e0ac1a39e6740e"
|
||||
DEPENDENCIES=('glib' 'fontconfig' 'cairo' 'fribidi')
|
||||
CONFIGURE_OPTIONS=(
|
||||
'-Dprefix=/usr'
|
||||
'-Dbuild-testsuite=false'
|
||||
)
|
||||
|
||||
configure() {
|
||||
meson setup \
|
||||
--reconfigure \
|
||||
--cross-file "$MESON_CROSS_FILE" \
|
||||
"${CONFIGURE_OPTIONS[@]}" \
|
||||
build || exit 1
|
||||
}
|
||||
|
||||
build() {
|
||||
meson compile -C build || exit 1
|
||||
}
|
||||
|
||||
install() {
|
||||
meson install --destdir="$BANAN_SYSROOT" -C build || exit 1
|
||||
}
|
||||
Loading…
Reference in New Issue