From 31764a7ac6caa181ee9755c292f3f961b8e304a5 Mon Sep 17 00:00:00 2001 From: pghvlaans <74497663+pghvlaans@users.noreply.github.com> Date: Fri, 30 Apr 2021 15:10:07 +0200 Subject: misc/fcitx-mozc: Disable building against qt-4.x. Signed-off-by: Matteo Bernardini Signed-off-by: Willy Sudiarto Raharjo --- misc/fcitx-mozc/fcitx-mozc.SlackBuild | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'misc') diff --git a/misc/fcitx-mozc/fcitx-mozc.SlackBuild b/misc/fcitx-mozc/fcitx-mozc.SlackBuild index 1f5008c57e..63506f9290 100644 --- a/misc/fcitx-mozc/fcitx-mozc.SlackBuild +++ b/misc/fcitx-mozc/fcitx-mozc.SlackBuild @@ -57,10 +57,6 @@ fi set -e -# paramater of Qt dir. -RCC_LOC=`pkg-config QtCore --variable=rcc_location` -QT4DIR=${RCC_LOC%%/bin/rcc} -QT4I=`pkg-config QtGui --cflags-only-I` BLDTYPE=Release # source rev. and version. @@ -126,14 +122,14 @@ done # build package echo "build package..." -CFLAGS="${CFLAGS} $QT4I -fvisibility=hidden" -CXXFLAGS="${CXXFLAGS} $QT4I -fvisibility=hidden" +CFLAGS="${CFLAGS} -fvisibility=hidden" +CXXFLAGS="${CXXFLAGS} -fvisibility=hidden" cd $BLDBASEDIR/mozc/src _targets="server/server.gyp:mozc_server gui/gui.gyp:mozc_tool unix/fcitx/fcitx.gyp:fcitx-mozc" -QTDIR=$QT4DIR GYP_DEFINES="document_dir=/usr/share/licenses/$pkgname use_libzinnia=1" python2 build_mozc.py gyp +GYP_DEFINES="document_dir=/usr/share/licenses/$pkgname use_libzinnia=1" python2 build_mozc.py gyp --noqt sed -i 's|command = $cxx -MMD -MF $out.d $defines $includes $cflags $cflags_cc $cflags_pch_cc -c $in -o $out|command = $cxx -MMD -MF $out.d $defines $includes -D__STRICT_ANSI__ $cflags $cflags_cc $cflags_pch_cc -c $in -o $out|' out_linux/Release/build.ninja python2 build_mozc.py build -c $BLDTYPE $_targets -- cgit v1.2.3