ff4ff35918
Red Bear OS is a full fork. All sources must be available from git clone with zero network access. Removed gitignore rules that excluded fetched source trees under recipes/*/source/, local/recipes/kde/*/source/, local/recipes/qt/*/source/, and vendor source trees. Build artifacts (target/, build/, source.tar, *.o, *.so) remain excluded. 127291 files added — kernel, relibc, base, bootloader, pkgar, all KDE/Qt frameworks, mesa, wayland, DRM drivers, and every other recipe source.
36 lines
736 B
Bash
36 lines
736 B
Bash
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
if [[ "$MSYSTEM" == "MINGW32" ]]; then
|
|
export MSYS2_ARCH="i686"
|
|
else
|
|
export MSYS2_ARCH="x86_64"
|
|
fi
|
|
|
|
pacman --noconfirm -Suy
|
|
|
|
pacman --noconfirm -S --needed \
|
|
base-devel \
|
|
mingw-w64-$MSYS2_ARCH-gobject-introspection \
|
|
mingw-w64-$MSYS2_ARCH-glib2 \
|
|
mingw-w64-$MSYS2_ARCH-libjpeg-turbo \
|
|
mingw-w64-$MSYS2_ARCH-libpng \
|
|
mingw-w64-$MSYS2_ARCH-libtiff \
|
|
mingw-w64-$MSYS2_ARCH-meson \
|
|
mingw-w64-$MSYS2_ARCH-toolchain
|
|
|
|
meson setup --buildtype debug \
|
|
-Dpng=enabled \
|
|
-Djpeg=enabled \
|
|
-Dtiff=enabled \
|
|
-Dgif=enabled \
|
|
-Dothers=enabled \
|
|
-Dglycin=disabled \
|
|
-Dman=false \
|
|
-Ddocumentation=false \
|
|
_build
|
|
|
|
meson compile -C _build
|
|
meson test -C _build
|