From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Greylist: delayed 444 seconds by postgrey-1.34 at layers.openembedded.org; Wed, 24 Jul 2019 14:58:35 UTC Received: from fanzine.igalia.com (fanzine.igalia.com [91.117.99.155]) by mail.openembedded.org (Postfix) with ESMTP id 507187F1A1 for ; Wed, 24 Jul 2019 14:58:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=igalia.com; s=20170329; h=References:In-Reply-To:Message-Id:Date:Subject:To:From; bh=FWFCrzC2tgo23rey8J1wbBej2GqpMw4cg/PQiDhT+x0=; b=Ovvpii01Yx8joQXu1BA/OErwedOfkvj2Fwhp/1t+Z00Wl7ZHPUWoME+SZ0eg+pRqTvPXuPC0buoCvj1MBFu0+dZ21S6oq2OU02bv9lo/U79K6bprhBUd2FPJyJSWs1ltMW/kDaCpmwtjxroXPflyKbEcWzzN7IaE3SgPoCgXBCvUhCx54lrBilrsrgD51AqEYpMJTZmEYIiWHGFrJ9KVZ6etZaTqNSWbcwGisVvvkDz51ZAKhWiSkukqaYAF5nsnEwUMwGeuQqOmDvcrWkgNiT213zaiKCfiHHV+8LL1AGeCkBySQop1W4W2SyAf43oi2Q/R2w6iK2Oi1EFg0okcAg==; Received: from buildbox.local.igalia.com ([192.168.10.88]) by fanzine.igalia.com with esmtp (Exim) id 1hqIbp-0003aA-Rp for ; Wed, 24 Jul 2019 16:51:13 +0200 From: Pablo Saavedra To: openembedded-devel@lists.openembedded.org Date: Wed, 24 Jul 2019 16:50:56 +0200 Message-Id: <20190724145100.88293-3-psaavedra@igalia.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20190724145100.88293-1-psaavedra@igalia.com> References: <20190724145100.88293-1-psaavedra@igalia.com> Subject: [meta-openembedded][PATCH v5 3/7] ibus-anthy: add ibus-anthy recipe X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Jul 2019 14:58:35 -0000 It is a Japanese input engine for IBus. Signed-off-by: Pablo Saavedra --- .../ibus/ibus-anthy/fix_anthy_include_in_gir.patch | 19 +++++++++++ meta-oe/recipes-support/ibus/ibus-anthy_1.5.10.bb | 37 ++++++++++++++++++++++ 2 files changed, 56 insertions(+) create mode 100644 meta-oe/recipes-support/ibus/ibus-anthy/fix_anthy_include_in_gir.patch create mode 100644 meta-oe/recipes-support/ibus/ibus-anthy_1.5.10.bb diff --git a/meta-oe/recipes-support/ibus/ibus-anthy/fix_anthy_include_in_gir.patch b/meta-oe/recipes-support/ibus/ibus-anthy/fix_anthy_include_in_gir.patch new file mode 100644 index 000000000..9812be08f --- /dev/null +++ b/meta-oe/recipes-support/ibus/ibus-anthy/fix_anthy_include_in_gir.patch @@ -0,0 +1,19 @@ +Index: ibus-anthy-1.5.10/gir/Makefile.am +=================================================================== +--- ibus-anthy-1.5.10.orig/gir/Makefile.am ++++ ibus-anthy-1.5.10/gir/Makefile.am +@@ -68,12 +68,12 @@ Anthy_9000_gir_SCANNERFLAGS = \ + --warn-all \ + $(NULL) + Anthy_9000_gir_INCLUDES = GObject-2.0 +-Anthy_9000_gir_LIBS = $(libanthygobject) anthy ++Anthy_9000_gir_LIBS = $(libanthygobject) + Anthy_9000_gir_CFLAGS = @ANTHY_CFLAGS@ + Anthy_9000_gir_FILES = \ + $(libanthygobject_1_0_la_SOURCES) \ + $(anthyinclude_HEADERS) \ +- $(ANTHY_INCLUDEDIR)/anthy/anthy.h \ ++ $(STAGING_DIR_HOST)$(ANTHY_INCLUDEDIR)/anthy/anthy.h \ + $(NULL) + INTROSPECTION_GIRS += Anthy-9000.gir + diff --git a/meta-oe/recipes-support/ibus/ibus-anthy_1.5.10.bb b/meta-oe/recipes-support/ibus/ibus-anthy_1.5.10.bb new file mode 100644 index 000000000..d42f87ae5 --- /dev/null +++ b/meta-oe/recipes-support/ibus/ibus-anthy_1.5.10.bb @@ -0,0 +1,37 @@ +DESCRIPTION = "It is a Japanese input engine for IBus." +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" +SECTION = "inputmethods" + +SRC_URI = "https://github.com/ibus/${PN}/releases/download/${PV}/${PN}-${PV}.tar.gz \ + file://fix_anthy_include_in_gir.patch \ +" +SRC_URI[md5sum] = "d7c2c410619edacfbaca6a9d02ed8982" +SRC_URI[sha256sum] = "cc33e0d1afe7e4a1f0a092d2a4575269ac21373771e49579c434afb4eef9f84a" + +# Needed to find the Anthy included headers (anthy/anthy.h) +export STAGING_DIR_HOST + +inherit autotools pkgconfig gettext gobject-introspection gtk-immodules-cache gtk-icon-cache gsettings qemu + +REQUIRED_DISTRO_FEATURES = "x11" + +DEPENDS = " anthy ibus gobject-introspection adwaita-icon-theme" +RDEPENDS_${PN} += " ibus takao-fonts anthy libanthy0" + +DEPENDS_append_class-target = " intltool-native qemu-native" + +do_configure_prepend() { + export PYTHON=python2 +} + + +FILES_${PN} += " \ + ${datadir}/icons/* \ + ${datadir}/ibus \ + ${datadir}/appdata \ + ${datadir}/ibus/component/anthy.xml \ + ${datadir}/appdata/ibus-anthy.appdata.xml \ + ${datadir}/gir-1.0/Anthy-9000.gir \ + ${datadir}/glib-2.0/schemas/org.freedesktop.ibus.engine.anthy.gschema.xml \ +" -- 2.11.0