commit:     1b684731f2a450e90edc6caeaf03988ef7072b9e
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 28 23:36:37 2017 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Oct 29 11:05:48 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b684731

app-text/kbibtex: Add 0.8_pre20171028 snapshot

Package-Manager: Portage-2.3.13, Repoman-2.3.4

 app-text/kbibtex/Manifest                       |  1 +
 app-text/kbibtex/kbibtex-0.8_pre20171028.ebuild | 78 +++++++++++++++++++++++++
 app-text/kbibtex/metadata.xml                   |  5 ++
 3 files changed, 84 insertions(+)

diff --git a/app-text/kbibtex/Manifest b/app-text/kbibtex/Manifest
index 9808817495b..c70339fbe5d 100644
--- a/app-text/kbibtex/Manifest
+++ b/app-text/kbibtex/Manifest
@@ -1 +1,2 @@
 DIST kbibtex-0.6.2.tar.xz 3081364 SHA256 
d99e419aec1d3af0a57eba6d7498de4e6be25ddbd5a5e56fc9de09e7e17dcdf3 SHA512 
aa23e80cb273c0ae721ecc917f540070deea520fea2d7ca7ee97fde2c6918dba84769ad083fed93b9d0260539273c20c214b92c94269b413f46cb644d16dc270
 WHIRLPOOL 
4ab308a8a44df4f3e3a485a67b265ecaf28d2c4a9e4e126d5ab4b95eac12ecacdd3b49bd03f67167a358d86b8359d758e3c4cbc72bd5eed8c10873d181f7e32e
+DIST kbibtex-0.8_pre20171028.tar.gz 11423361 SHA256 
e7fd595ab0c9cedcb794ebd8a1050d03855a0d315ced59a649c3d9c01aa23239 SHA512 
28c8eefa3e8b3e59bc7069929ea6dbf3070e755ec3b2cd0fa96d7de37337a3f6ede20c52f73406fca05b99e1ee04f07bee91b5ca2f88381c98c5ee7424de193e
 WHIRLPOOL 
2a6fae7dc53096e615dca3751d320d51036818ffb84c1952c732021fc918715cc0643165b7fa8b3f6b8816c0488b12c3416d1b309f55e8443cf6079aead3b848

diff --git a/app-text/kbibtex/kbibtex-0.8_pre20171028.ebuild 
b/app-text/kbibtex/kbibtex-0.8_pre20171028.ebuild
new file mode 100644
index 00000000000..15e562a1600
--- /dev/null
+++ b/app-text/kbibtex/kbibtex-0.8_pre20171028.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+COMMIT=49764d8677e46cddee0b20e60749983b7924c79d
+KDE_HANDBOOK="optional"
+KDE_TEST="true"
+inherit kde5 vcs-snapshot
+
+DESCRIPTION="BibTeX editor to edit bibliographies used with LaTeX"
+HOMEPAGE="https://userbase.kde.org/KBibTeX";
+if [[ ${KDE_BUILD_TYPE} != live ]]; then
+       SRC_URI="https://github.com/KDE/${PN}/archive/${COMMIT}.tar.gz -> 
${P}.tar.gz"
+       KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="GPL-2"
+IUSE="webengine webkit zotero"
+
+REQUIRED_USE="?? ( webengine webkit )"
+
+DEPEND="
+       $(add_frameworks_dep kcompletion)
+       $(add_frameworks_dep kconfig)
+       $(add_frameworks_dep kconfigwidgets)
+       $(add_frameworks_dep kcoreaddons)
+       $(add_frameworks_dep kcrash)
+       $(add_frameworks_dep ki18n)
+       $(add_frameworks_dep kiconthemes)
+       $(add_frameworks_dep kio)
+       $(add_frameworks_dep kitemviews)
+       $(add_frameworks_dep kjobwidgets)
+       $(add_frameworks_dep kparts)
+       $(add_frameworks_dep kservice)
+       $(add_frameworks_dep ktextwidgets)
+       $(add_frameworks_dep kwallet)
+       $(add_frameworks_dep kwidgetsaddons)
+       $(add_frameworks_dep kxmlgui)
+       $(add_qt_dep qtdbus)
+       $(add_qt_dep qtgui)
+       $(add_qt_dep qtnetwork)
+       $(add_qt_dep qtwidgets)
+       $(add_qt_dep qtxml)
+       $(add_qt_dep qtxmlpatterns)
+       app-text/poppler[qt5]
+       dev-libs/icu:=
+       virtual/tex-base
+       webengine? ( $(add_qt_dep qtwebengine 'widgets') )
+       webkit? ( $(add_qt_dep qtwebkit) )
+       zotero? (
+               app-crypt/qca[qt5]
+               dev-libs/qoauth:5
+       )
+"
+RDEPEND="${DEPEND}
+       !app-text/kbibtex:4
+       dev-tex/bibtex2html
+       x11-misc/shared-mime-info
+"
+
+src_configure() {
+       local mycmakeargs=(
+               $(cmake-utils_use_find_package webengine Qt5WebEngineWidgets)
+               $(cmake-utils_use_find_package webkit Qt5WebKitWidgets)
+               $(cmake-utils_use_find_package zotero Qca-qt5)
+       )
+
+       kde5_src_configure
+}
+
+pkg_postinst() {
+       kde5_pkg_postinst
+
+       if ! has_version "kde-apps/okular:${SLOT}" ; then
+               elog "For PDF or PostScript document preview support, please 
install kde-apps/okular:${SLOT}"
+       fi
+}

diff --git a/app-text/kbibtex/metadata.xml b/app-text/kbibtex/metadata.xml
index 2fdbf33d963..d2af51c141e 100644
--- a/app-text/kbibtex/metadata.xml
+++ b/app-text/kbibtex/metadata.xml
@@ -5,4 +5,9 @@
                <email>k...@gentoo.org</email>
                <name>Gentoo KDE Project</name>
        </maintainer>
+       <use>
+               <flag name="webengine">Use <pkg>dev-qt/qtwebengine</pkg> for 
HTML previews</flag>
+               <flag name="webkit">Use <pkg>dev-qt/qtwebkit</pkg> for HTML 
previews</flag>
+               <flag name="zotero">Enable support for synchronisation with 
zotero.org web service</flag>
+       </use>
 </pkgmetadata>

Reply via email to