commit:     ea913fbca04804af26b7bc569d44fb7a8d1386dd
Author:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Thu Sep  8 14:58:48 2016 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Thu Sep  8 14:59:52 2016 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=ea913fbc

dev-libs/kirigami: new package

Package-Manager: portage-2.3.0

 dev-libs/kirigami/kirigami-1.0.2.ebuild | 38 +++++++++++++++++++++++++++++++++
 dev-libs/kirigami/metadata.xml          |  8 +++++++
 2 files changed, 46 insertions(+)

diff --git a/dev-libs/kirigami/kirigami-1.0.2.ebuild 
b/dev-libs/kirigami/kirigami-1.0.2.ebuild
new file mode 100644
index 0000000..f4f2f32
--- /dev/null
+++ b/dev-libs/kirigami/kirigami-1.0.2.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit kde5
+
+DESCRIPTION="Lightweight user interface framework for mobile and convergent 
applications"
+HOMEPAGE="https://techbase.kde.org/Kirigami";
+SRC_URI="mirror://kde/stable/${PN}/${P}.tar.xz"
+
+LICENSE="LGPL-2+"
+KEYWORDS="~amd64 ~x86"
+IUSE="examples plasma"
+
+DEPEND="
+       $(add_qt_dep qtdeclarative)
+       $(add_qt_dep qtgui)
+       $(add_qt_dep qtsvg)
+       plasma? ( $(add_frameworks_dep plasma) )
+"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+       kde5_src_prepare
+
+       sed -i -e "/find_package(Qt5/s/Test//" CMakeLists.txt || die
+}
+
+src_configure() {
+       local mycmakeargs=(
+               -DBUILD_EXAMPLES=$(usex examples)
+               -DPLASMA_ENABLED=$(usex plasma)
+       )
+
+       kde5_src_configure
+}

diff --git a/dev-libs/kirigami/metadata.xml b/dev-libs/kirigami/metadata.xml
new file mode 100644
index 0000000..2fdbf33
--- /dev/null
+++ b/dev-libs/kirigami/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 type="project">
+               <email>k...@gentoo.org</email>
+               <name>Gentoo KDE Project</name>
+       </maintainer>
+</pkgmetadata>

Reply via email to