Blame docker-builder-data/build/script/packet/wxphoenix-master.sh

369e6c
# NB: version of doxygen should be EQUAL to 1.8.8 - not newer, not older
369e6c
ea9491
DEPS="python-3.6.0 doxygen-1.8.8 python3requests-master gstreamerpluginsbase-0.10.36 gtk-3.22.12 adwaitaicontheme-3.24.0 gnomethemesstandard-3.22.3"
369e6c
369e6c
PK_DIRNAME="Phoenix"
369e6c
PK_URL="https://github.com/wxWidgets/$PK_DIRNAME.git"
f26837
PK_GIT_CHECKOUT="tags/wxPython-4.0.0a2"
369e6c
99b145
PK_LICENSE_FILES=" \
99b145
    ext/wxWidgets/docs/readme.txt \
99b145
    ext/wxWidgets/docs/preamble.txt \
99b145
    ext/wxWidgets/docs/licence.txt \
99b145
    ext/wxWidgets/docs/licendoc.txt \
99b145
    ext/wxWidgets/docs/gpl.txt \
99b145
    ext/wxWidgets/docs/lgpl.txt \
99b145
    ext/wxWidgets/docs/xserver.txt "
99b145
99b145
source $INCLUDE_SCRIPT_DIR/inc-pkall-git.sh
369e6c
369e6c
pkbuild() {
369e6c
    cd "$BUILD_PACKET_DIR/$PK_DIRNAME" || return 1
369e6c
    if [ ! -f wscript.orig ]; then
369e6c
        cp wscript wscript.orig
369e6c
        grep -v _html2.py wscript.orig > wscript
369e6c
    fi
369e6c
    PYTHONHOME=$ENVDEPS_PACKET_DIR \
369e6c
        DOXYGEN=$ENVDEPS_PACKET_DIR/bin/doxygen \
369e6c
        python3 build.py 3.6 \
369e6c
        --gtk3 \
995a4b
        --release \
369e6c
        -j8 \
369e6c
        --extra_setup=--prefix=$INSTALL_PACKET_DIR \
369e6c
        dox etg sip build \
369e6c
        || return 1
369e6c
}
369e6c
369e6c
pkinstall() {
369e6c
    cd "$BUILD_PACKET_DIR/$PK_DIRNAME" || return 1
369e6c
    rm -rf $INSTALL_PACKET_DIR
369e6c
    mkdir -p $INSTALL_PACKET_DIR
369e6c
    PYTHONHOME=$ENVDEPS_PACKET_DIR python3 build.py 3.6 \
369e6c
        --gtk3 \
8dd86a
        --release \
369e6c
        -j8 \
369e6c
        --extra_setup=--prefix=$INSTALL_PACKET_DIR \
369e6c
        install \
369e6c
        || return 1
369e6c
}