Chih-Hsuan Yen pushed to branch main at Arch Linux / Packaging / Packages / gcin


Commits:
5f79c244 by Chih-Hsuan Yen at 2024-03-30T01:43:04+08:00
WIP for dropping GTK+2 is now in a separate branch

- - - - -


1 changed file:

- − PKGBUILD-no-gtk2


Changes:

=====================================
PKGBUILD-no-gtk2 deleted
=====================================
@@ -1,59 +0,0 @@
-# Maintainer: Chih-Hsuan Yen <[email protected]>
-# Contributor: Felix Yan <[email protected]>
-# Contributor: Gaetan Bisson <[email protected]>
-# Contributor: Andreas Radke <[email protected]>
-# Contributor: damir <[email protected]>
-
-pkgname=gcin
-pkgver=2.9.0
-pkgrel=5
-pkgdesc='Input method server supporting various input methods'
-url='https://hyperrate.com/dir.php?eid=67'
-license=('LGPL')
-arch=('x86_64')
-depends=('glibc' 'glib2' 'gdk-pixbuf2' 'cairo' 'pango' 'gtk3' 'libx11' 
'libxtst'
-         # Loaded via dlopen()
-         'libappindicator-gtk3')
-makedepends=('qt5-base' 'anthy' 'curl')
-optdepends=('qt5-base: support for qt5 input method'
-            'gcc-libs: support for qt5 input method'
-            'anthy: support for anthy input method'
-            'curl: for downloading and uploading vocabulary databases via 
ts-edit'
-            'bash: for various scripts')
-source=("https://hyperrate.com/gcin-source/${pkgname}-${pkgver}.tar.xz";
-        fix-gtk-immodules-path.patch)
-sha512sums=('f8ce9407e2cfce2b3ba6e6ba6ccca8eb9dacf5c0124438df525e1a9fb692a7aea3cb685965708091b0fdedf3b00efa77fb6cdfbd33cdb50e1938e9f3fcf7a5d6'
-            
'54e90b04de45acf9f8821c92234b9708281907cbdf24ebb29f9820945615669d82a8443e49fd49d6c08be4a7b9f2857c8e763f170ef879c8fab1f232bb67e85d')
-
-prepare() {
-    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 /' \
-        -i configure
-    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
-
-    # Don't build/install Gtk+2 IM module
-    sed -i '/gtk-im/d' Makefile im-client/Makefile
-
-    # Several source files are 0600, breaking reading from sources in 
gcin-debug package
-    find . -type f -exec chmod og+r {} \;
-}
-
-build() {
-    cd "${srcdir}/${pkgname}-${pkgver}"
-    ./configure --prefix=/usr --use_i18n=Y
-    make -j1
-}
-
-package() {
-    cd "${srcdir}/${pkgname}-${pkgver}"
-    make DESTDIR="${pkgdir}" install
-}



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/gcin/-/commit/5f79c2448f3852cb178538930d4efa18b322bbb7

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/gcin/-/commit/5f79c2448f3852cb178538930d4efa18b322bbb7
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to