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
369e6c
DEPS="python-3.6.0 doxygen-1.8.8 python3requests-master gstreamerpluginsbase-0.10.36 gtk-3.14.14 adwaitaicontheme-3.15.1 gnomethemesstandard-3.15.2"
369e6c
369e6c
PK_DIRNAME="Phoenix"
369e6c
PK_URL="https://github.com/wxWidgets/$PK_DIRNAME.git"
369e6c
369e6c
source $INCLUDE_SCRIPT_DIR/inc-pkallunpack-git.sh
369e6c
source $INCLUDE_SCRIPT_DIR/inc-pkinstall_release-default.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 \
369e6c
        --release_build \
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 \
369e6c
        --release_build \
369e6c
        -j8 \
369e6c
        --extra_setup=--prefix=$INSTALL_PACKET_DIR \
369e6c
        install \
369e6c
        || return 1
369e6c
}