commit:     b3be6753294e12af886fdefcf5fcf7a2483fece4
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 28 21:20:20 2018 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Wed Feb 28 22:20:54 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3be6753

app-text/kbibtex: Add 0.8_pre20180222 snapshot

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 app-text/kbibtex/Manifest                       |  1 +
 app-text/kbibtex/kbibtex-0.8_pre20180222.ebuild | 81 +++++++++++++++++++++++++
 2 files changed, 82 insertions(+)

diff --git a/app-text/kbibtex/Manifest b/app-text/kbibtex/Manifest
index beb07972178..3162899cbf9 100644
--- a/app-text/kbibtex/Manifest
+++ b/app-text/kbibtex/Manifest
@@ -1 +1,2 @@
 DIST kbibtex-0.8_pre20171110.tar.gz 11423893 BLAKE2B 
78bcd72da35775d9927f35b865aba1e5ee88fd6391e5b354dd23d319a17a18c5aa521d32f58f1827a86bf33d1a42e7bef19940fdd1b83e67124b7335520bb1cd
 SHA512 
719c40e78e22dc936a5395bf299962b4ec657df89877df78f17139dcd9b45a7ed98ff213a7c8a0cf0eeb4960a3b10cafaf7521e334a3269f96e2abdcdd67c913
+DIST kbibtex-0.8_pre20180222.tar.gz 11413610 BLAKE2B 
d0a338891038fd1bd8e1d5ceb526961aecf962021d9072bec2ca172c319f20f104ebfa857eabfc9c99d29b87dcf64404b9811e1d66d49c369f7a9d8b1d7b79a0
 SHA512 
a4d16ce2bc1f64e7e4e36245dd7628caabccd0536ac7120e6fa3157f04fe45742a730c2ad2d6c74ede5a3fdfba03d6b9185b706c96ab43cdc5a5af731c903e36

diff --git a/app-text/kbibtex/kbibtex-0.8_pre20180222.ebuild 
b/app-text/kbibtex/kbibtex-0.8_pre20180222.ebuild
new file mode 100644
index 00000000000..a7517199371
--- /dev/null
+++ b/app-text/kbibtex/kbibtex-0.8_pre20180222.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+COMMIT=32bf659581e1c6a02a6f97bd714b44456c654783
+KDE_HANDBOOK="optional"
+KDE_TEST="true"
+VIRTUALX_REQUIRED="test"
+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
+"
+
+RESTRICT+=" test"
+
+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
+}

Reply via email to