shrub/nix/nixcrpkgs/pkgs/qt/builder.sh
benjamin-tlon edd57d380d
Finish cc-release cross-compilation. (#1202)
- Fixes the IPC bug
- Fixes the terminfo bug
- Moves the OSX SDK out of our nixcrpkgs fork.
- Vendor nixcrpkgs instead of having it be a submodule.
2019-04-23 19:50:38 -07:00

24 lines
301 B
Bash

source $setup
mkdir -p $out
pushd $out
tar -xf $src
mv qtbase-opensource-src-* src
cd src
for patch in $patches; do
echo applying patch $patch
patch -p1 -i $patch
done
popd
mkdir build
cd build
PKG_CONFIG=pkg-config-cross \
$out/src/configure -prefix $out $configure_flags
make
make install