diff options
Diffstat (limited to 'x11-misc/maliit-framework/maliit-framework-0.94.0.ebuild')
| -rw-r--r-- | x11-misc/maliit-framework/maliit-framework-0.94.0.ebuild | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/x11-misc/maliit-framework/maliit-framework-0.94.0.ebuild b/x11-misc/maliit-framework/maliit-framework-0.94.0.ebuild new file mode 100644 index 00000000000..671092af64d --- /dev/null +++ b/x11-misc/maliit-framework/maliit-framework-0.94.0.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 + +inherit qt4-r2 +DESCRIPTION="A flexible and cross platform input method framework" +HOMEPAGE="http://maliit.org" +SRC_URI="http://maliit.org/releases/${PN}/${PF}.tar.bz2" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+dbus doc examples gtk test" + +DEPEND=" + dbus? ( sys-apps/dbus ) + gtk? ( x11-libs/gtk+ ) +" + +RDEPEND="${DEPEND}" + +RESTRICT="test" + +PATCHES=( "${FILESDIR}/${PN}-0.94.0-removeldconfig.patch" ) + +DOCS=( README ) + +src_prepare() { + use !examples && sed -i -e 's:SUBDIRS += examples::' maliit-framework.pro + qt4-r2_src_prepare +} + +src_configure() { + local myconf="nostrip" + use !dbus && myconf="${myconf} disable-dbus" + use !doc && myconf="${myconf} nodoc" + use !gtk && myconf="${myconf} nogtk" + use !test && myconf="${myconf} notests" + qmake PREFIX="${EPREFIX}/usr" CONFIG+="${myconf}" +} |
