| 13 | Steps: |
| 14 | * install [https://mingw-w64.org/ mingw-w64] |
| 15 | * run these commands: |
| 16 | {{{ |
| 17 | #choose your target build arch (or do each one in turn): |
| 18 | #32-bit: |
| 19 | #export XPKG="mingw-w64-i686-" |
| 20 | #64-bit: |
| 21 | export XPKG="mingw-w64-x86_64-" |
| 22 | #most packages get installed here: (python, gtk, etc): |
| 23 | pacman --no-confirm -S ${XPKG}python2 ${XPKG}python2-pygtk ${XPKG}gtkglext |
| 24 | #media libraries (more than we actually need): |
| 25 | pacman --no-confirm -S ${XPKG}ffmpeg ${XPKG}gst-plugins-good ${XPKG}gst-plugins-bad ${XPKG}gst-plugins-ugly |
| 26 | #network layer libraries: |
| 27 | pacman --no-confirm -S ${XPKG}lz4 ${XPKG}lzo2 ${XPKG}xxhash |
| 28 | #python3 GStreamer bindings: |
| 29 | pacman --no-confirm -S ${XPKG}gst-python |
| 30 | #development tools and libs for building extra packages: |
| 31 | pacman --no-confirm -S base-devel ${XPKG}yasm ${XPKG}nasm subversion rsync gtk-doc ${XPKG}cmake ${XPKG}gcc ${XPKG}pkg-config ${XPKG}libffi |
| 32 | #python libraries and install and packaging tools: |
| 33 | pacman --no-confirm -S ${XPKG}python2-numpy ${XPKG}python2-pillow ${XPKG}cython2 ${XPKG}python2-setuptools ${XPKG}python2-cx_Freeze |
| 34 | #python3 versions (not all are really needed if just using python3 for sound): |
| 35 | pacman --no-confirm -S ${XPKG}python3-numpy ${XPKG}python3-pillow ${XPKG}cython ${XPKG}python3-cx_Freeze |
| 36 | #using easy-install for python libraries which are not packaged by mingw: |
| 37 | for x in rencode xxhash netifaces lz4 websocket-client comtypes PyOpenGL PyOpenGL_accelerate websockify cffi pycparser cryptography nvidia-ml-py; do |
| 38 | easy-install-2.7 -U -Z $x |
| 39 | easy-install-3.5 -U -Z $x |
| 40 | done |
| 41 | }}} |
| 42 | |
| 43 | Not covered here yet (see #678): |
| 44 | * pygtkglext: follow ticket:678#comment:27 |
| 45 | * pygobject patching (minor) |
| 46 | * websockify |
| 47 | * CUDA / NVENC / pycuda |
| 48 | * install gsview and ghostscript (see [/wiki/Dependencies]) |
| 49 | |
| 50 | |