summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTrickart2018-07-31 23:02:13 +0900
committerTrickart2018-07-31 23:02:13 +0900
commit212df1c9eb23675cd68ba0a2206794130a79a4c6 (patch)
tree83a112148f8fc043fe75f3d7770711500898b150
parent2659bae6570aba875a41e0c6cd3b8239cf5c6dc4 (diff)
downloadaur-212df1c9eb23675cd68ba0a2206794130a79a4c6.tar.gz
Fix dependency for Qt4
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD11
2 files changed, 4 insertions, 11 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 4d3205c5b9a..a5b2a7fa7d9 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Tue Jul 31 13:59:28 UTC 2018
+# Tue Jul 31 14:02:13 UTC 2018
pkgbase = fcitx-mozc-ut2
pkgdesc = Mozc the Japanese Input Method with Mozc UT2 Dictionary (additional dictionary) and uim-mozc (optional)
pkgver = 2.20.2673.102.20171004
- pkgrel = 2
+ pkgrel = 3
url = http://www.geocities.jp/ep3797/mozc-ut2.html
arch = i686
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index e38ad6e3184..03ddfc803ff 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -65,7 +65,7 @@ _pkgbase=mozc-ut2
pkgname=fcitx-mozc-ut2
pkgdesc="Mozc the Japanese Input Method with Mozc UT2 Dictionary (additional dictionary) and uim-mozc (optional)"
pkgver=2.20.2673.102.20171004
-pkgrel=2
+pkgrel=3
arch=('i686' 'x86_64')
url="http://www.geocities.jp/ep3797/mozc-ut2.html"
license=('BSD' 'GPL' 'CC-BY-SA' 'custom')
@@ -148,20 +148,13 @@ build() {
done
msg2 '====================================================='
- # Use Qt4
- _rcc_loc=`pkg-config QtCore --variable=rcc_location`
- _qt4dir=${_rcc_loc%%/bin/rcc}
- _qt4i=`pkg-config --cflags-only-I QtGui`
- CFLAGS+=" $_qt4i"
- CXXFLAGS+=" $_qt4i"
-
msg "Starting make..."
cd "${srcdir}/${_pkgbase}-${pkgver}/src"
_targets="server/server.gyp:mozc_server gui/gui.gyp:mozc_tool unix/fcitx/fcitx.gyp:fcitx-mozc unix/fcitx/fcitx.gyp:gen_fcitx_mozc_i18n renderer/renderer.gyp:mozc_renderer"
- QTDIR=$_qt4dir GYP_DEFINES="document_dir=/usr/share/licenses/${_pkgbase}" \
+ GYP_DEFINES="document_dir=/usr/share/licenses/${_pkgbase}" \
python2 build_mozc.py gyp
python2 build_mozc.py build -c $_bldtype $_targets