summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Reffett <creffett@gentoo.org>2013-01-17 18:41:32 -0500
committerChris Reffett <creffett@gentoo.org>2013-01-17 21:45:20 -0500
commite2462c07e33c8ee8e3b2b4b7f415d596a01c7b72 (patch)
treebf59e92656eb9162b07354b4fe2420cdb4eb4a7b
parent87ebdd29f296b0d27cdb5c678027c6704f36d7da (diff)
downloadkde-e2462c07e33c8ee8e3b2b4b7f415d596a01c7b72.tar.gz
kde-e2462c07e33c8ee8e3b2b4b7f415d596a01c7b72.tar.bz2
kde-e2462c07e33c8ee8e3b2b4b7f415d596a01c7b72.zip
[x11-misc/maliit-framework] New package, dependency of kde-active/plasma-active-maliit
Package-Manager: portage-2.2.0_alpha154
-rw-r--r--x11-misc/maliit-framework/Manifest1
-rw-r--r--x11-misc/maliit-framework/files/maliit-framework-0.94.0-removeldconfig.patch27
-rw-r--r--x11-misc/maliit-framework/maliit-framework-0.94.0.ebuild42
-rw-r--r--x11-misc/maliit-framework/metadata.xml8
4 files changed, 78 insertions, 0 deletions
diff --git a/x11-misc/maliit-framework/Manifest b/x11-misc/maliit-framework/Manifest
new file mode 100644
index 00000000000..37daeb2dfcb
--- /dev/null
+++ b/x11-misc/maliit-framework/Manifest
@@ -0,0 +1 @@
+DIST maliit-framework-0.94.0.tar.bz2 629622 SHA256 0684b34c2246e2a13f63fe9513d1fbd17f29d2a9f3e64a663e7d9a18ea9f62d3 SHA512 e5bc107adeb9e8a16b61c9ad8b8ffdefea92c07d159807b1f4f6b48b1232d8068aca5e14fa0f2ca9f1b39080a54ad8e0918a853b47a7a25a74fd6a9f0c5f2d6f WHIRLPOOL e855dd6ff3c14f014c1c6351f6397029dc16d5d043bec930c7aeda3450e37ce75f4dbc29385260d545bec51ab40235763b3a334d595f4cd83a04c9c75616dddb
diff --git a/x11-misc/maliit-framework/files/maliit-framework-0.94.0-removeldconfig.patch b/x11-misc/maliit-framework/files/maliit-framework-0.94.0-removeldconfig.patch
new file mode 100644
index 00000000000..00796220bd6
--- /dev/null
+++ b/x11-misc/maliit-framework/files/maliit-framework-0.94.0-removeldconfig.patch
@@ -0,0 +1,27 @@
+--- a/gtk-input-context/client-gtk3/client-gtk3.pro
++++ b/gtk-input-context/client-gtk3/client-gtk3.pro
+@@ -38,10 +38,6 @@
+ INSTALLS += target
+
+ !disable-gtk-cache-update {
+- # need to make sure dynamic linker can find maliit libraries when running gtk-query-module
+- ldconfig.extra = ldconfig
+- ldconfig.path = . # dummy path
+- INSTALLS += ldconfig
+
+ DISTRO = $$system(lsb_release -s -i)
+ DISTRO_VERSION = $$system(lsb_release -s -r)
+
+--- a/gtk-input-context/client-gtk/client-gtk.pro
++++ b/gtk-input-context/client-gtk/client-gtk.pro
+@@ -38,10 +38,6 @@
+ INSTALLS += target
+
+ !disable-gtk-cache-update {
+- # need to make sure dynamic linker can find maliit libraries when running gtk-query-module
+- ldconfig.extra = ldconfig
+- ldconfig.path = . # dummy path
+- INSTALLS += ldconfig
+
+ DISTRO = $$system(lsb_release -s -i)
+ DISTRO_VERSION = $$system(lsb_release -s -r)
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}"
+}
diff --git a/x11-misc/maliit-framework/metadata.xml b/x11-misc/maliit-framework/metadata.xml
new file mode 100644
index 00000000000..b84f97d622b
--- /dev/null
+++ b/x11-misc/maliit-framework/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer>
+ <email>creffett@gentoo.org</email>
+ <name>Chris Reffett</name>
+</maintainer>
+</pkgmetadata>