[arch-commits] Commit in fcitx/trunk (PKGBUILD)

Felix Yan fyan at nymeria.archlinux.org
Wed Mar 13 05:39:10 UTC 2013


    Date: Wednesday, March 13, 2013 @ 06:39:10
  Author: fyan
Revision: 86208

upgpkg: fcitx 4.2.7-4 fix crash in nvidia driver according to upstream

Modified:
  fcitx/trunk/PKGBUILD

----------+
 PKGBUILD |   14 ++++++++++----
 1 file changed, 10 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-03-13 03:48:15 UTC (rev 86207)
+++ PKGBUILD	2013-03-13 05:39:10 UTC (rev 86208)
@@ -6,21 +6,26 @@
 pkgbase=fcitx
 pkgname=('fcitx' 'fcitx-gtk2' 'fcitx-gtk3' 'fcitx-qt4')
 pkgver=4.2.7
-pkgrel=3
+pkgrel=4
 groups=('fcitx-im')
 arch=('i686' 'x86_64')
 url="http://code.google.com/p/fcitx/"
 license=('GPL')
 makedepends=('cmake' 'doxygen' 'gtk2' 'gtk3' 'qt4' 'icu' 'mesa' \
              'iso-codes' 'gobject-introspection' 'libxkbfile')
-source=(http://fcitx.googlecode.com/files/${pkgbase}-${pkgver}_dict.tar.xz)
+source=(http://fcitx.googlecode.com/files/${pkgbase}-${pkgver}_dict.tar.xz
+	https://github.com/fcitx/fcitx/commit/9937b68bad3a7e9465e17b711ce9c0a072d3071f.patch)
 
 build() {
   #source /etc/profile.d/qt4.sh
 
-  cd "${srcdir}"
+  cd "$srcdir/$pkgbase-$pkgver"
+  patch -Np1 -i "$srcdir/9937b68bad3a7e9465e17b711ce9c0a072d3071f.patch"
+
+  cd "$srcdir"
   mkdir -p build
   cd build
+
   cmake ../${pkgbase}-${pkgver} \
     -DCMAKE_BUILD_TYPE=Release \
     -DCMAKE_INSTALL_PREFIX=/usr \
@@ -116,4 +121,5 @@
   make DESTDIR="${pkgdir}" install
 }
 
-md5sums=('6e291717c24615b9dc9bfaa2949af3a7')
+md5sums=('6e291717c24615b9dc9bfaa2949af3a7'
+         '009e0cd17f078e24c03b3b46b45e41ab')




More information about the arch-commits mailing list