[arch-commits] Commit in ibus/repos/testing-x86_64 (PKGBUILD PKGBUILD)

Jan Steffens heftig at gemini.archlinux.org
Mon Apr 4 08:55:11 UTC 2022


    Date: Monday, April 4, 2022 @ 08:55:11
  Author: heftig
Revision: 441504

archrelease: copy trunk to testing-x86_64

Added:
  ibus/repos/testing-x86_64/PKGBUILD
    (from rev 441501, ibus/trunk/PKGBUILD)
Deleted:
  ibus/repos/testing-x86_64/PKGBUILD

----------+
 PKGBUILD |  140 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 72 insertions(+), 68 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-04-04 08:55:09 UTC (rev 441503)
+++ PKGBUILD	2022-04-04 08:55:11 UTC (rev 441504)
@@ -1,68 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=ibus
-pkgname=(ibus libibus)
-pkgver=1.5.26
-pkgrel=1
-pkgdesc="Next Generation Input Bus for Linux"
-arch=('x86_64')
-url="https://github.com/ibus/ibus/wiki"
-license=('LGPL')
-depends=('dconf' 'gtk3' 'hicolor-icon-theme' 'libnotify' 'python-dbus' 'python-gobject'
-         'iso-codes' 'librsvg')
-makedepends=('gobject-introspection' 'vala' 'intltool' 'gnome-common' 'gtk-doc' 'gtk4' 'gtk2'
-             'qt5-base' 'unicode-cldr' 'unicode-character-database' 'unicode-emoji' 'git')
-options=('!emptydirs' 'debug')
-_commit=6a70ab0338206bd1c7d01a4e1874ea0ee5b3a9d3  # tags/1.5.26^0
-source=("git+https://github.com/ibus/ibus#commit=$_commit")
-sha512sums=('SKIP')
-
-pkgver() {
-  cd ibus
-  git describe --tags | sed 's/-/+/g'
-}
-
-prepare() {
-  cd ibus
-  NOCONFIGURE=1 ./autogen.sh
-}
-
-build() {
-  cd ibus
-  ./configure \
-    --prefix=/usr \
-    --libexecdir=/usr/lib/ibus \
-    --sysconfdir=/etc \
-    --enable-dconf \
-    --enable-wayland \
-    --enable-gtk-doc \
-    --enable-gtk4 \
-    --disable-memconf \
-    --enable-ui \
-    --disable-python2 \
-    --with-python=python3 \
-    --with-ucd-dir=/usr/share/unicode/
-  sed -i 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
-  make
-}
-
-package_ibus() {
-  depends+=("libibus=$pkgver")
-
-  cd ibus
-  make DESTDIR="$pkgdir" install
-  make -C src DESTDIR="$pkgdir" uninstall
-  make -C bindings DESTDIR="$pkgdir" uninstall
-  make DESTDIR="$pkgdir" uninstall-pkgconfigDATA
-}
-
-package_libibus() {
-  pkgdesc="IBus support library"
-  depends=(libg{lib,object,io}-2.0.so)
-  provides=('libibus-1.0.so')
-
-  cd ibus
-  make -C src DESTDIR="$pkgdir" install
-  make -C bindings DESTDIR="$pkgdir" install
-  make DESTDIR="$pkgdir" install-pkgconfigDATA
-}

Copied: ibus/repos/testing-x86_64/PKGBUILD (from rev 441501, ibus/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-04-04 08:55:11 UTC (rev 441504)
@@ -0,0 +1,72 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=ibus
+pkgname=(ibus libibus)
+pkgver=1.5.26
+pkgrel=2
+pkgdesc="Next Generation Input Bus for Linux"
+arch=('x86_64')
+url="https://github.com/ibus/ibus/wiki"
+license=('LGPL')
+depends=('dconf' 'gtk3' 'hicolor-icon-theme' 'libnotify' 'python-dbus' 'python-gobject'
+         'iso-codes' 'librsvg')
+makedepends=('gobject-introspection' 'vala' 'intltool' 'gnome-common' 'gtk-doc' 'gtk4' 'gtk2'
+             'qt5-base' 'unicode-cldr' 'unicode-character-database' 'unicode-emoji' 'git')
+options=('!emptydirs' 'debug')
+_commit=6a70ab0338206bd1c7d01a4e1874ea0ee5b3a9d3  # tags/1.5.26^0
+source=("git+https://github.com/ibus/ibus#commit=$_commit")
+sha512sums=('SKIP')
+
+pkgver() {
+  cd ibus
+  git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
+}
+
+prepare() {
+  cd ibus
+
+  # https://github.com/ibus/ibus/issues/2387
+  git cherry-pick -n 17648f0522910480b6c5dd4f5356ca1f6c160bf5
+
+  NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+  cd ibus
+  ./configure \
+    --prefix=/usr \
+    --libexecdir=/usr/lib/ibus \
+    --sysconfdir=/etc \
+    --enable-dconf \
+    --enable-wayland \
+    --enable-gtk-doc \
+    --enable-gtk4 \
+    --disable-memconf \
+    --enable-ui \
+    --disable-python2 \
+    --with-python=python3 \
+    --with-ucd-dir=/usr/share/unicode/
+  sed -i 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+  make
+}
+
+package_ibus() {
+  depends+=("libibus=$pkgver")
+
+  cd ibus
+  make DESTDIR="$pkgdir" install
+  make -C src DESTDIR="$pkgdir" uninstall
+  make -C bindings DESTDIR="$pkgdir" uninstall
+  make DESTDIR="$pkgdir" uninstall-pkgconfigDATA
+}
+
+package_libibus() {
+  pkgdesc="IBus support library"
+  depends=(libg{lib,object,io}-2.0.so)
+  provides=('libibus-1.0.so')
+
+  cd ibus
+  make -C src DESTDIR="$pkgdir" install
+  make -C bindings DESTDIR="$pkgdir" install
+  make DESTDIR="$pkgdir" install-pkgconfigDATA
+}



More information about the arch-commits mailing list