diff options
author | Michael Palimaka <kensington@gentoo.org> | 2017-09-15 20:36:47 +1000 |
---|---|---|
committer | Michael Palimaka <kensington@gentoo.org> | 2017-09-15 20:39:55 +1000 |
commit | 460c5de9d4d30b71e23e3f1f5b3807ddcd6abecc (patch) | |
tree | c0ea19086f843a38a9c4154511b56fed5defccd3 /kde-misc | |
parent | x11-libs/libyui: version bump 3.3.3 (diff) | |
download | gentoo-460c5de9d4d30b71e23e3f1f5b3807ddcd6abecc.tar.gz gentoo-460c5de9d4d30b71e23e3f1f5b3807ddcd6abecc.tar.bz2 gentoo-460c5de9d4d30b71e23e3f1f5b3807ddcd6abecc.zip |
kde-misc/kmarkdownwebview: new package
Ebuild imported from KDE overlay.
Package-Manager: Portage-2.3.6, Repoman-2.3.3
Diffstat (limited to 'kde-misc')
-rw-r--r-- | kde-misc/kmarkdownwebview/Manifest | 1 | ||||
-rw-r--r-- | kde-misc/kmarkdownwebview/kmarkdownwebview-0.1.0.ebuild | 38 | ||||
-rw-r--r-- | kde-misc/kmarkdownwebview/metadata.xml | 11 |
3 files changed, 50 insertions, 0 deletions
diff --git a/kde-misc/kmarkdownwebview/Manifest b/kde-misc/kmarkdownwebview/Manifest new file mode 100644 index 000000000000..c1723fdc1041 --- /dev/null +++ b/kde-misc/kmarkdownwebview/Manifest @@ -0,0 +1 @@ +DIST kmarkdownwebview-0.1.0.tar.xz 33444 SHA256 361fec6c4fa9396975e788cfe759b1c45a2ccfc2b83e64b5105869ef312a5410 SHA512 0d02f89594fcd67f898158b4869b9810c5055f663c3e33284c577253ea0e98ecc5d62eb1e0df01e8e5c4685e1a90784abf24b9b8b8fb5af0f6277120e592a2f2 WHIRLPOOL 3b6ab8806da8a862beb05279a1c55983debdf1eb0dcde7573447c62ad1029af98388291fc7f1f6c5f7ba483f33f4349ea09f11b9848689958669dfd5fe68c592 diff --git a/kde-misc/kmarkdownwebview/kmarkdownwebview-0.1.0.ebuild b/kde-misc/kmarkdownwebview/kmarkdownwebview-0.1.0.ebuild new file mode 100644 index 000000000000..48060d54cb73 --- /dev/null +++ b/kde-misc/kmarkdownwebview/kmarkdownwebview-0.1.0.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit kde5 + +DESCRIPTION="KPart for rendering Markdown content" +HOMEPAGE="https://frinring.wordpress.com/2017/09/14/kmarkdownwebview-0-1-0/" +SRC_URI="mirror://kde/stable/${PN}/${PV}/src/${P}.tar.xz" + +LICENSE="!webkit? ( BSD ) LGPL-2.1+" +KEYWORDS="~amd64" +IUSE="webkit" + +DEPEND=" + $(add_frameworks_dep kconfigwidgets) + $(add_frameworks_dep kcoreaddons) + $(add_frameworks_dep ki18n) + $(add_frameworks_dep kparts) + $(add_frameworks_dep kxmlgui) + $(add_qt_dep qtgui) + $(add_qt_dep qtwidgets) + webkit? ( $(add_qt_dep qtwebkit) ) + !webkit? ( + $(add_qt_dep qtwebchannel) + $(add_qt_dep qtwebengine 'widgets') + ) +" +RDEPEND="${DEPEND}" + +src_configure() { + local mycmakeargs=( + -DUSE_QTWEBKIT=$(usex webkit) + ) + + kde5_src_configure +} diff --git a/kde-misc/kmarkdownwebview/metadata.xml b/kde-misc/kmarkdownwebview/metadata.xml new file mode 100644 index 000000000000..4ec8ab04c611 --- /dev/null +++ b/kde-misc/kmarkdownwebview/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>kde@gentoo.org</email> + <name>Gentoo KDE Project</name> + </maintainer> + <use> + <flag name="webkit">Use <pkg>dev-qt/qtwebkit</pkg> instead of <pkg>dev-qt/qtwebengine</pkg></flag> + </use> +</pkgmetadata> |