diff options
author | Naohiro Aota <naota@gentoo.org> | 2011-11-28 13:38:56 +0000 |
---|---|---|
committer | Naohiro Aota <naota@gentoo.org> | 2011-11-28 13:38:56 +0000 |
commit | 993facc55963aaadecb792d3b18b344dc2d95ce9 (patch) | |
tree | a4a628fc654fde4e3c1230f451d0bd06450be1fe /app-i18n/imsettings | |
parent | fix build with ffmpeg git: do not use internal symbols (diff) | |
download | gentoo-2-993facc55963aaadecb792d3b18b344dc2d95ce9.tar.gz gentoo-2-993facc55963aaadecb792d3b18b344dc2d95ce9.tar.bz2 gentoo-2-993facc55963aaadecb792d3b18b344dc2d95ce9.zip |
Version bumped. Bug #391803
(Portage version: 2.2.0_alpha75/cvs/Linux x86_64)
Diffstat (limited to 'app-i18n/imsettings')
-rw-r--r-- | app-i18n/imsettings/ChangeLog | 7 | ||||
-rw-r--r-- | app-i18n/imsettings/imsettings-1.2.6.ebuild | 65 |
2 files changed, 71 insertions, 1 deletions
diff --git a/app-i18n/imsettings/ChangeLog b/app-i18n/imsettings/ChangeLog index 1d537dcf590a..787cd7f39512 100644 --- a/app-i18n/imsettings/ChangeLog +++ b/app-i18n/imsettings/ChangeLog @@ -1,6 +1,11 @@ # 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.7 2011/11/24 02:11:14 naota Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-i18n/imsettings/ChangeLog,v 1.8 2011/11/28 13:38:56 naota Exp $ + +*imsettings-1.2.6 (28 Nov 2011) + + 28 Nov 2011; Naohiro Aota <naota@gentoo.org> +imsettings-1.2.6.ebuild: + Version bumped. Bug #391803 *imsettings-1.2.5 (24 Nov 2011) diff --git a/app-i18n/imsettings/imsettings-1.2.6.ebuild b/app-i18n/imsettings/imsettings-1.2.6.ebuild new file mode 100644 index 000000000000..bb21dd8bd332 --- /dev/null +++ b/app-i18n/imsettings/imsettings-1.2.6.ebuild @@ -0,0 +1,65 @@ +# 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.2.6.ebuild,v 1.1 2011/11/28 13:38:56 naota 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="doc qt4 static-libs xfconf" + +# 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-0.7 + x11-libs/libX11 + qt4? ( x11-libs/qt-core:4 ) + xfconf? ( xfce-base/xfconf )" +DEPEND="${RDEPEND} + dev-util/pkgconfig + doc? ( dev-util/gtk-doc )" + +MY_XINPUTSH="90-xinput" + +src_prepare() { + # Prevent automagic linking to libxfconf-0. + if ! use xfconf; then + sed -i -e 's:libxfconf-0:dIsAbLe&:' configure || die + fi + if ! use qt4; then + sed -i -e 's:QtCore:dIsAbLe&:' configure || die + fi +} + +src_configure() { + econf \ + $(use_enable static-libs static) \ + --with-xinputsh="${MY_XINPUTSH}" +} + +src_install() { + emake DESTDIR="${D}" install || die + + find "${ED}" -name '*.la' -exec rm -f '{}' + + + 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 +} |