DeadSix27 / python_cross_compile_script

Easy to use Linux to Windows cross compile script.
Mozilla Public License 2.0
31 stars 9 forks source link
aria2 cross-compile easy-to-use ffmpeg libmpv linux mpv python python3 script simple svp tool vapoursynth x-compile x264 x265

Archived, working on new version, see: https://github.com/DeadSix27/py-cross



Discord](https://discord.gg/gAvufS2)

Linux to Windows x64 cross-compile helper script

This script automatically builds toolchain and target library/program without much user interaction.

See ./cross_compiler.py list -p and ./cross_compiler.py list -d for a full list of packages.

Support: If you need a VPN, maybe try https://www.azirevpn.com/ref/1OxiItOD6E? (Referral Link will help me)


Notes:

Install

Clone the repository:

git clone "https://github.com/DeadSix27/python_cross_compile_script.git"
chmod u+x python_cross_compile_script/cross_compiler.py

Usage

Simple usage: ./cross_compiler.py -p <product> (e.g mpv)

For more see: ./cross_compiler.py --help

System requirements:

Package requirements (no auto-check yet)

Packages required, tested on:

(This list is possibly incomplete and differs from OS to OS)

global      - texinfo yasm git make automake gcc gcc-c++ pax cvs svn flex bison patch libtoolize nasm hg ninja cmake gettext-autopoint
mkvtoolnix  - libxslt docbook-util rake docbook-style-xsl
gnutls      - gperf
angle       - gyp
vapoursynth - p7zip
flac,expat  - docbook-to-man / docbook2x
youtube-dl  - pando
x264        - nasm 2.13

Thanks to: