ports: Add gtk3 port
This commit is contained in:
26
ports/libxml2/build.sh
Executable file
26
ports/libxml2/build.sh
Executable file
@@ -0,0 +1,26 @@
|
||||
#!/bin/bash ../install.sh
|
||||
|
||||
NAME='libxml2'
|
||||
VERSION='2.15.1'
|
||||
DOWNLOAD_URL="https://gitlab.gnome.org/GNOME/libxml2/-/archive/v$VERSION/libxml2-v$VERSION.tar.gz#0a5ebf8fa131585748d661ae692503483aff39d9b29b6c4b342cd80d422f246c"
|
||||
TAR_CONTENT="libxml2-v$VERSION"
|
||||
DEPENDENCIES=('zlib' 'libiconv')
|
||||
CONFIGURE_OPTIONS=(
|
||||
'-Dprefix=/usr'
|
||||
)
|
||||
|
||||
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
|
||||
}
|
||||
24
ports/libxml2/patches/0001-disable-tests.patch
Normal file
24
ports/libxml2/patches/0001-disable-tests.patch
Normal file
@@ -0,0 +1,24 @@
|
||||
diff -ruN libxml2-2.15.1/meson.build libxml2-2.15.1-banan_os/meson.build
|
||||
--- libxml2-2.15.1/meson.build 2025-10-16 16:23:05.000000000 +0300
|
||||
+++ libxml2-2.15.1-banan_os/meson.build 2025-11-05 21:14:49.833303459 +0200
|
||||
@@ -502,19 +502,7 @@
|
||||
|
||||
## tests
|
||||
|
||||
-checks = {
|
||||
- 'runsuite': [],
|
||||
- 'runtest': threads_dep,
|
||||
- 'runxmlconf': [],
|
||||
-# Disabled for now, see #694
|
||||
-# 'testModule': [],
|
||||
- 'testapi': [],
|
||||
- 'testchar': [],
|
||||
- 'testdict': [],
|
||||
- 'testlimits': [],
|
||||
- 'testparser': [],
|
||||
- 'testrecurse': [],
|
||||
-}
|
||||
+checks = {}
|
||||
|
||||
foreach check, deps : checks
|
||||
exe = executable(
|
||||
Reference in New Issue
Block a user