public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/kde:master commit in: x11-misc/maliit-framework/files/, x11-misc/maliit-framework/
@ 2013-01-18  2:49 Chris Reffett
  0 siblings, 0 replies; only message in thread
From: Chris Reffett @ 2013-01-18  2:49 UTC (permalink / raw
  To: gentoo-commits

commit:     e2462c07e33c8ee8e3b2b4b7f415d596a01c7b72
Author:     Chris Reffett <creffett <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 17 23:41:32 2013 +0000
Commit:     Chris Reffett <geekboy72 <AT> gmail <DOT> com>
CommitDate: Fri Jan 18 02:45:20 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=e2462c07

[x11-misc/maliit-framework] New package, dependency of kde-active/plasma-active-maliit

Package-Manager: portage-2.2.0_alpha154

---
 .../maliit-framework-0.94.0-removeldconfig.patch   |   27 +++++++++++++
 .../maliit-framework-0.94.0.ebuild                 |   42 ++++++++++++++++++++
 x11-misc/maliit-framework/metadata.xml             |    8 ++++
 3 files changed, 77 insertions(+), 0 deletions(-)

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 0000000..0079622
--- /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 0000000..671092a
--- /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 0000000..b84f97d
--- /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>


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2013-01-18  2:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-18  2:49 [gentoo-commits] proj/kde:master commit in: x11-misc/maliit-framework/files/, x11-misc/maliit-framework/ Chris Reffett

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox