summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkinori Hattori <hattya@gentoo.org>2021-10-18 22:16:17 +0900
committerAkinori Hattori <hattya@gentoo.org>2021-10-18 22:16:17 +0900
commit7abb7680facbd146756e450e58afad24b160f79b (patch)
tree45e5707b51c49662a9707e963854df393ad4d561 /app-i18n
parentapp-i18n/ibus-unikey: drop gtk2 USE flag (diff)
downloadgentoo-7abb7680facbd146756e450e58afad24b160f79b.tar.gz
gentoo-7abb7680facbd146756e450e58afad24b160f79b.tar.bz2
gentoo-7abb7680facbd146756e450e58afad24b160f79b.zip
app-i18n/ibus-unikey: fix build with sys-devel/slibtool
Closes: https://bugs.gentoo.org/783213 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Akinori Hattori <hattya@gentoo.org>
Diffstat (limited to 'app-i18n')
-rw-r--r--app-i18n/ibus-unikey/files/ibus-unikey-slibtool.patch27
-rw-r--r--app-i18n/ibus-unikey/ibus-unikey-0.6.1-r2.ebuild12
2 files changed, 38 insertions, 1 deletions
diff --git a/app-i18n/ibus-unikey/files/ibus-unikey-slibtool.patch b/app-i18n/ibus-unikey/files/ibus-unikey-slibtool.patch
new file mode 100644
index 00000000000..02551ba608f
--- /dev/null
+++ b/app-i18n/ibus-unikey/files/ibus-unikey-slibtool.patch
@@ -0,0 +1,27 @@
+--- a/setup/Makefile.am
++++ b/setup/Makefile.am
+@@ -34,7 +34,8 @@
+
+ ibus_setup_unikey_LDFLAGS = \
+ @IBUS_LIBS@ \
+- @GTK_LIBS@ \
++ @GTK_LIBS@
++
++ibus_setup_unikey_LDADD = \
+ $(top_builddir)/ukengine/libunikey-ibus.la \
+ $(top_builddir)/src/ibus_engine_unikey-utils.o
+-
+--- a/src/Makefile.am
++++ b/src/Makefile.am
+@@ -25,8 +25,9 @@
+
+ ibus_engine_unikey_LDFLAGS = \
+ @IBUS_LIBS@ \
+- @X11_LIBS@ \
+- $(top_builddir)/ukengine/libunikey-ibus.la
++ @X11_LIBS@
++
++ibus_engine_unikey_LDADD = $(top_builddir)/ukengine/libunikey-ibus.la
+
+ component_DATA = unikey.xml
+
diff --git a/app-i18n/ibus-unikey/ibus-unikey-0.6.1-r2.ebuild b/app-i18n/ibus-unikey/ibus-unikey-0.6.1-r2.ebuild
index 5cc835df166..bbe90180754 100644
--- a/app-i18n/ibus-unikey/ibus-unikey-0.6.1-r2.ebuild
+++ b/app-i18n/ibus-unikey/ibus-unikey-0.6.1-r2.ebuild
@@ -3,6 +3,8 @@
EAPI="7"
+inherit autotools
+
DESCRIPTION="Vietnamese UniKey engine for IBus"
HOMEPAGE="https://github.com/vn-input/ibus-unikey"
SRC_URI="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/${PN}/${P}.tar.gz
@@ -22,7 +24,15 @@ BDEPEND="virtual/pkgconfig
dev-util/intltool
nls? ( sys-devel/gettext )"
-PATCHES=( "${DISTDIR}"/${P}-gcc6.patch )
+PATCHES=(
+ "${FILESDIR}"/${PN}-slibtool.patch
+ "${DISTDIR}"/${P}-gcc6.patch
+)
+
+src_prepare() {
+ default
+ eautoreconf
+}
src_configure() {
econf \