summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-libs/kirigami/Manifest1
-rw-r--r--dev-libs/kirigami/kirigami-2.0.0.ebuild46
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-libs/kirigami/Manifest b/dev-libs/kirigami/Manifest
index 5b5fe668f857..7058d495501a 100644
--- a/dev-libs/kirigami/Manifest
+++ b/dev-libs/kirigami/Manifest
@@ -1 +1,2 @@
DIST kirigami-1.1.0.tar.xz 262152 SHA256 6677af0c486a4c9cfefe74a0951e85dad53435010031bf2b7fcdf9c5df6b3edd SHA512 83d1c0600fed7838b25ddfa3d20e1abef594c8e5fa202314ef1c22b6548573db36058f02620236cd9bba9f65f45f8821fa37558689b49776f9fe3119c89b0b63 WHIRLPOOL b1d4cc22a0759f561c16bb61bf2a47494e92cc766401862b97866156dfe1cda452e1db01a62805fe902320fc106708794b7f545abfbd2ff5c0d8909acd024bc1
+DIST kirigami2-2.0.0.tar.xz 266580 SHA256 499bfcc5080dd65877a67700ff71f84a7b43f0f87b7c72e9f68c7bb92e11a293 SHA512 7aa7181b61cbf8fe9921535be436bbe50bd19684e1d6cae07c2fe0538722e0c496f75bd5e67d02482e88ca5407d5cfc98a10447bcc114adba703bf474a285fa5 WHIRLPOOL a176a87d1acaf6aed98c70a5b04e84d10716041978584dc7c5f3579a3f6866272ead33c5009a992bef1b1bffec9599ffa39adcfac826810f0195dc99b7216757
diff --git a/dev-libs/kirigami/kirigami-2.0.0.ebuild b/dev-libs/kirigami/kirigami-2.0.0.ebuild
new file mode 100644
index 000000000000..eb9fa0ac5ab1
--- /dev/null
+++ b/dev-libs/kirigami/kirigami-2.0.0.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+KDE_TEST="forceoptional"
+QT_MINIMAL="5.7.1"
+inherit kde5
+
+if [[ ${KDE_BUILD_TYPE} = release ]]; then
+ MY_PN="${PN}2"
+ SRC_BRANCH=stable
+ [[ ${PV} = *.[8-9]?.* ]] && SRC_BRANCH=unstable
+ SRC_URI="mirror://kde/${SRC_BRANCH}/${PN}/${MY_PN}-${PV}.tar.xz"
+ KEYWORDS="~amd64 ~x86"
+ S="${WORKDIR}/${MY_PN}-${PV}"
+fi
+
+DESCRIPTION="Lightweight user interface framework for mobile and convergent applications"
+HOMEPAGE="https://techbase.kde.org/Kirigami"
+LICENSE="LGPL-2+"
+SLOT="2"
+IUSE="examples plasma"
+
+RDEPEND="
+ $(add_qt_dep qtdeclarative)
+ $(add_qt_dep qtgui)
+ $(add_qt_dep qtquickcontrols2)
+ $(add_qt_dep qtsvg)
+ plasma? ( $(add_frameworks_dep plasma) )
+"
+DEPEND="${RDEPEND}
+ $(add_qt_dep linguist-tools)
+"
+
+RESTRICT+=" test"
+
+src_configure() {
+ local mycmakeargs=(
+ -DBUILD_EXAMPLES=$(usex examples)
+ -DPLASMA_ENABLED=$(usex plasma)
+ )
+
+ kde5_src_configure
+}