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

Chih-Hsuan Yen yan12125 at archlinux.org
Wed Dec 30 16:56:16 UTC 2020


    Date: Wednesday, December 30, 2020 @ 16:56:16
  Author: yan12125
Revision: 799395

upgpkg: gcin 2.9.0-3; enable appindicator support

* If I read the code correctly, existing users is not affected as there is a configuration key to choose between SNI tray and XEmbed tray.
* The XEmbed tray has a bug [1].
* Also changes the way of patching the building system as *FLAGS in prepare() does not honor 'debug' in options yet.

[1] https://hyperrate.com/thread.php?tid=34856

Modified:
  gcin/trunk/PKGBUILD

----------+
 PKGBUILD |   16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-12-30 16:56:15 UTC (rev 799394)
+++ PKGBUILD	2020-12-30 16:56:16 UTC (rev 799395)
@@ -6,12 +6,12 @@
 
 pkgname=gcin
 pkgver=2.9.0
-pkgrel=2
+pkgrel=3
 pkgdesc='Input method server supporting various input methods'
 url='https://hyperrate.com/dir.php?eid=67'
 license=('LGPL')
 arch=('x86_64')
-depends=('gtk3' 'libxtst')
+depends=('gtk3' 'libxtst' 'libappindicator-gtk3')
 makedepends=('qt5-base' 'gtk2' 'anthy')
 optdepends=('qt5-base: support for qt5 input method'
             'gtk2: support for gtk2 input method'
@@ -26,13 +26,15 @@
     cd "${srcdir}/${pkgname}-${pkgver}"
 
     sed -e 's/lib64/lib/g' \
-        -e "s/^OPTFLAGS=.*/OPTFLAGS=\"$CFLAGS $CPPFLAGS\"/" \
-        -e "s/echo \"LDFLAGS=/echo \"LDFLAGS=$LDFLAGS /" \
-        -e "s/echo \"SO_FLAGS=/echo \"SO_FLAGS=$LDFLAGS /" \
+        -e 's/^OPTFLAGS=.*/OPTFLAGS="$CFLAGS $CPPFLAGS"/' \
+        -e 's/echo "LDFLAGS=/echo "LDFLAGS=$LDFLAGS /' \
+        -e 's/echo "SO_FLAGS=/echo "SO_FLAGS=$LDFLAGS /' \
         -i configure
-    sed -e 's:QT=qt5:QT=qt:' \
-        -e "s/^LDFLAGS=/LDFLAGS=$LDFLAGS /" \
+    sed -e 's/QT=qt5/QT=qt/' \
+        -e 's/^LDFLAGS=/LDFLAGS+=/' \
         -i qt5-im/Makefile59
+    # Don't strip programs - makepkg will handle it
+    sed -e 's/install -s/install/' -i Makefile
     patch -Np1 -i ../fix-gtk-immodules-path.patch
 }
 



More information about the arch-commits mailing list