summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatsuu Takuto <matsuu@gentoo.org>2011-01-08 06:15:28 +0000
committerMatsuu Takuto <matsuu@gentoo.org>2011-01-08 06:15:28 +0000
commit04cf75dc1501e43234fb16003030c45b971f6edc (patch)
treed02455b8b1242fa4c9081059f066db808f46ee64 /app-i18n/imsettings
parentFix ldflags wrt bug #351017 (diff)
downloadhistorical-04cf75dc1501e43234fb16003030c45b971f6edc.tar.gz
historical-04cf75dc1501e43234fb16003030c45b971f6edc.tar.bz2
historical-04cf75dc1501e43234fb16003030c45b971f6edc.zip
Initial import.
Package-Manager: portage-2.1.9.28/cvs/Linux x86_64
Diffstat (limited to 'app-i18n/imsettings')
-rw-r--r--app-i18n/imsettings/ChangeLog10
-rw-r--r--app-i18n/imsettings/imsettings-1.0.0.ebuild52
-rw-r--r--app-i18n/imsettings/metadata.xml8
3 files changed, 70 insertions, 0 deletions
diff --git a/app-i18n/imsettings/ChangeLog b/app-i18n/imsettings/ChangeLog
new file mode 100644
index 000000000000..ff266be822d6
--- /dev/null
+++ b/app-i18n/imsettings/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for app-i18n/imsettings
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/imsettings/ChangeLog,v 1.1 2011/01/08 06:15:28 matsuu Exp $
+
+*imsettings-1.0.0 (08 Jan 2011)
+
+ 08 Jan 2011; MATSUU Takuto <matsuu@gentoo.org> +imsettings-1.0.0.ebuild,
+ +metadata.xml:
+ Initial import.
+
diff --git a/app-i18n/imsettings/imsettings-1.0.0.ebuild b/app-i18n/imsettings/imsettings-1.0.0.ebuild
new file mode 100644
index 000000000000..f66a7395ab37
--- /dev/null
+++ b/app-i18n/imsettings/imsettings-1.0.0.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/imsettings/imsettings-1.0.0.ebuild,v 1.1 2011/01/08 06:15:28 matsuu Exp $
+
+EAPI=3
+
+DESCRIPTION="Delivery framework for general Input Method configuration"
+HOMEPAGE="http://code.google.com/p/imsettings/"
+SRC_URI="http://imsettings.googlecode.com/files/${P}.tar.bz2"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="qt4 static-libs xfce"
+
+# X11 connections are required for test.
+RESTRICT="test"
+
+RDEPEND=">=dev-libs/check-0.9.4
+ >=dev-libs/glib-2.26
+ sys-apps/dbus
+ >=x11-libs/gtk+-2.12:2
+ >=x11-libs/libgxim-0.3.1
+ x11-libs/libnotify
+ x11-libs/libX11
+ qt4? ( x11-libs/qt-core:4 )
+ xfce? ( xfce-base/xfconf )"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+MY_XINPUTSH="90-xinput"
+
+src_configure() {
+ econf \
+ $(use_enable static-libs static) \
+ --with-xinputsh="${MY_XINPUTSH}" || die
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+
+ fperms 0755 /usr/libexec/xinputinfo.sh || die
+ fperms 0755 "/etc/X11/xinit/xinitrc.d/${MY_XINPUTSH}" || die
+
+ dodoc AUTHORS ChangeLog NEWS README || die
+}
+
+pkg_postinst() {
+ if [ ! -e "${EPREFIX}/etc/X11/xinit/xinputrc" ] ; then
+ ln -sf xinput.d/xcompose.conf "${EPREFIX}/etc/X11/xinit/xinputrc"
+ fi
+}
diff --git a/app-i18n/imsettings/metadata.xml b/app-i18n/imsettings/metadata.xml
new file mode 100644
index 000000000000..8cf5c37610e7
--- /dev/null
+++ b/app-i18n/imsettings/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>cjk</herd>
+<use>
+ <flag name='xfce'>Enable integration in XFCE desktop</flag>
+</use>
+</pkgmetadata>