Blame docker-builder-data/build/script/packet/glib-2.50.0.sh

31c087
DEPS="zlib-1.2.11 ffi-3.2.1"
3b09af
DEPS_NATIVE="glib-2.50.0"
1b5f3d
1b5f3d
PK_DIRNAME="glib-2.50.0"
e14835
PK_ARCHIVE="$PK_DIRNAME.tar.xz"
e14835
PK_URL="https://download.gnome.org/sources/glib/2.50/$PK_ARCHIVE"
1b5f3d
31c087
PK_CONFIGURE_OPTIONS="--with-pcre=internal --disable-compile-warnings"
ce0d6b
e14835
source $INCLUDE_SCRIPT_DIR/inc-pkall-default.sh
31c087
31c087
31c087
pkhook_prebuild() {
31c087
    if [ "$PLATFORM" = "win" ]; then
31c087
        cp --remove-destination "$UNPACK_PACKET_DIR/$PK_DIRNAME/glib/gstrfuncs.c" "glib" || return 1
31c087
        patch "glib/gstrfuncs.c" "$FILES_PACKET_DIR/gstrfuncs.c.patch" || return 1
31c087
    fi
31c087
}