Begin working on freetype bindings, again.

This commit is contained in:
H. Utku Maden 2023-09-13 21:38:38 +03:00
parent ebb2ee7fee
commit ae0c9e742c
Signed by: themixedupstuff
GPG Key ID: 25A001B636F17843
5 changed files with 23 additions and 3 deletions

@ -33,6 +33,7 @@ WORKDIR /root
lzma-dev \
mingw-w64 \
nuget \
ninja-build \
patch \
python3 \
xz-utils \
@ -44,7 +45,7 @@ WORKDIR /root
# Setup interactive shell.
# Setup sudo. Remove password prompt for group "wheel".
# RUN echo "%wheel ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/quik_sudo_conf
RUN echo "%wheel ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/quik_sudo_conf
# Create a default user and switch.
RUN adduser --comment "" --disabled-password quik

@ -0,0 +1,10 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<Nullable>disable</Nullable>
<LangVersion>7.3</LangVersion>
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
</PropertyGroup>
</Project>

3
Quik.FreeType/build_native.sh Executable file

@ -0,0 +1,3 @@
#!/bin/bash
cd $(dirname "$0")
../sh/quik_build_native.sh .

5
lib/README.md Normal file

@ -0,0 +1,5 @@
Quik/lib
========
This is where the git submodules of 3rd party native dependencies are supposed
to end up at. Also note `lib/quik` is where all common headers go for building
these libraries and their distributions.

@ -32,11 +32,12 @@ for ARCH in $ARCHS; do
mkdir -p $PREFIX $BUILD
# Configure CMAKE.
cmake -B $BUILD -S . \
-G Ninja \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=$PREFIX \
-DCMAKE_TOOLCHAIN_FILE=$TOOLCHAIN
# Build and install.
make -C $BUILD all
make -C $BUILD install
ninja -C $BUILD all
ninja -C $BUILD install
done