copy license files of ports into bin

This commit is contained in:
nakst 2022-01-01 22:00:50 +00:00
parent 0edeb4b6cc
commit ef2b8aee3b
6 changed files with 16 additions and 4 deletions

View File

@ -25,7 +25,7 @@ Their licenses may be found in the following files:
- `util/nanosvg.h`
- `util/hsluv.h`
- `shared/stb_image.h`, `shared/stb_sprintf.h`, `shared/stb_ds.h` and `util/stb_truetype.h`
- `res/Fonts/Hack License.txt`, `res/Fonts/Inter License.txt`
- `res/Fonts/Hack License.txt`, `res/Fonts/Inter License.txt`, `res/Fonts/Atkinson Hyperlegible License.txt`, `res/Fonts/OpenDyslexic License.txt`
- `res/Icons/elementary Icons License.txt`
- `res/Sample Images/Licenses.txt`
- `res/Keyboard Layouts/License.txt`

View File

@ -5,7 +5,8 @@ bin/build get-source-checked 12cec6bd2b16d8a9446dd16130f2b92982f1819f6e1c5f5887b
cd bin/source
cp ../../ports/busybox/config .config
sed -i "51 i CONFIG_SYSROOT=\"$SYSROOT\"" .config
make -j 4
make -j `nproc`
cp busybox $SYSROOT/Applications/POSIX/bin
cp LICENSE ../BusyBox\ License.txt
cd ../..
rm -r bin/source

View File

@ -6,7 +6,10 @@ mkdir bin/build-ffmpeg
cd bin/build-ffmpeg
../source/configure --disable-all --cc=x86_64-essence-gcc --cxx=x86_64-essence-g++ --enable-cross-compile --enable-avcodec --enable-avformat --enable-swscale --enable-decoder=h264 --enable-parser=h264 --enable-decoder=aac --enable-parser=aac --enable-demuxer=mov --enable-protocol=file --disable-pthreads --prefix=/Applications/POSIX
# --disable-optimizations
make -j 4
make -j `nproc`
make DESTDIR=$SYSROOT install
mkdir -p ../FFmpeg\ License
cp ../source/COPYING.* ../FFmpeg\ License
cp ../source/LICENSE.md ../FFmpeg\ License
cd ../..
rm -r bin/source bin/build-ffmpeg

View File

@ -196,4 +196,10 @@ make DESTDIR=$SYSROOT install-target-libgcc
cd ../..
rm -rf bin/build-gcc
cp bin/gcc-src/COPYING bin/GCC\ License.txt
cp bin/binutils-src/COPYING bin/Binutils\ License.txt
cp bin/gmp-src/COPYING bin/GMP\ License.txt
cp bin/mpc-src/COPYING.LESSER bin/MPC\ License.txt
cp bin/mpfr-src/COPYING.LESSER bin/MPFR\ License.txt
rm -rf bin/gcc-src bin/binutils-src bin/mpc-src bin/gmp-src bin/mpfr-src

View File

@ -39,4 +39,5 @@ cp bin/build-mesa/src/gallium/targets/osmesa/libOSMesa.a root/Applications/POSIX
cp -r bin/mesa/include/GL root/Applications/POSIX/include
cp -r bin/mesa/include/KHR root/Applications/POSIX/include
cp bin/mesa/docs/license.html bin/Mesa\ License.html
rm -r bin/mesa bin/build-mesa

View File

@ -4,7 +4,8 @@ VERSION=2.15.05
bin/build get-source-checked 3caf6729c1073bf96629b57cee31eeb54f4f8129b01902c73428836550b30a3f nasm-$VERSION https://www.nasm.us/pub/nasm/releasebuilds/$VERSION/nasm-$VERSION.tar.xz
cd bin/source
./configure --host=x86_64-essence CC=x86_64-essence-gcc CXX=x86_64-essence-g++ --prefix=/Applications/POSIX
make -j 4
make -j `nproc`
DESTDIR=$SYSROOT make install
mv LICENSE ../Nasm\ License.txt
cd ../..
rm -r bin/source