libgxim: Add recipe

libgxim is a GObject-based XIM protocol library.

Signed-off-by: Bian Naimeng <biannm@cn.fujitsu.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Bian Naimeng
2014-12-19 11:31:20 +08:00
committed by Martin Jansa
parent a0a0b98a6b
commit cdd57fd84e
2 changed files with 46 additions and 0 deletions
@@ -0,0 +1,21 @@
multi-line ACLOCAL_AMFLAGS isn't supported by autoreconf.
It will cause configure error as follow.
aclocal: error: non-option arguments are not accepted: '\'.
Signed-off-by: Bian Naimeng <biannm@cn.fujitsu.com>
diff -Nurp libgxim-0.5.0.orig/Makefile.am libgxim-0.5.0/Makefile.am
--- libgxim-0.5.0.orig/Makefile.am 2012-12-13 15:48:09.000000000 +0800
+++ libgxim-0.5.0/Makefile.am 2014-12-19 11:05:50.727209821 +0800
@@ -2,9 +2,7 @@ NULL =
AUTOMAKE_OPTIONS = dist-bzip2
SUBDIRS = libgxim m4macros po tests docs
-ACLOCAL_AMFLAGS = \
- -I m4macros \
- $(NULL)
+ACLOCAL_AMFLAGS = -I m4macros $(NULL)
CONFIGURE_DEPENDENCIES = \
requires \
@@ -0,0 +1,25 @@
SUMMARY = "GObject-based XIM protocol library"
DESCRIPTION = "libgxim is a X Input Method protocol library that is implemented by GObject.\
this library helps you to implement XIM servers or client applications to\
communicate through XIM protocol without using Xlib API directly, particularly\
if your application uses GObject-based main loop.\
\
This package contains the shared library."
HOMEPAGE = "http://code.google.com/p/libgxim/"
SECTION = "System Environment/Libraries"
SRC_URI = "https://bitbucket.org/tagoh/libgxim/downloads/${BPN}-${PV}.tar.bz2 \
file://multi-line-ACLOCAL_AMFLAGS-isnot-supported-by-autoreconf.patch"
SRC_URI[md5sum] = "4bb1fa63d00eb224439d413591c29a6a"
SRC_URI[sha256sum] = "75e20d1744139644f9951b78ea3910b162d3380302315cb4b3d0640f23694c79"
LICENSE = "LGPLv2+"
LIC_FILES_CHKSUM = "\
file://COPYING;md5=2d5025d4aa3495befef8f17206a5b0a1"
EXTRA_OECONF = " --disable-static --disable-rebuilds"
DEPENDS += "gtk+ glib-2.0 ruby-native"
inherit autotools pkgconfig