From 15712daebc568e523639aeecb9d5ccd98cb4d98b Mon Sep 17 00:00:00 2001 From: Andreas Sturmlechner Date: Thu, 2 May 2019 19:57:18 +0200 Subject: [PATCH] app-text/kbibtex: 0.8.91 version bump Package-Manager: Portage-2.3.66, Repoman-2.3.12 Signed-off-by: Andreas Sturmlechner --- app-text/kbibtex/Manifest | 1 + app-text/kbibtex/kbibtex-0.8.91.ebuild | 77 ++++++++++++++++++++++++++ 2 files changed, 78 insertions(+) create mode 100644 app-text/kbibtex/kbibtex-0.8.91.ebuild diff --git a/app-text/kbibtex/Manifest b/app-text/kbibtex/Manifest index c89c5df4868a..4d4bae29aa4f 100644 --- a/app-text/kbibtex/Manifest +++ b/app-text/kbibtex/Manifest @@ -1 +1,2 @@ DIST kbibtex-0.8.2.tar.xz 4065904 BLAKE2B 5b862ef48dc3e0fb2895aa2ad0c1fa8e712c5f63d0a279b33f9d41fca0262bbde1bd00423657e2714dfbacb28657e067760192adfa033f70ac5771a7188ad4cb SHA512 f15e2d1969f79f354881ccb1e41c5d6f1628c4850b3bd177cba0b74b1aab9aa61935f65ef280d242d0ef2ac816ce45b8a2e8a4ff51720a2400ec52bd555f594e +DIST kbibtex-0.8.91.tar.xz 4183808 BLAKE2B 7cc37909f44fb8463dbdad5260cc0805aded4fa92bd05b0e6b613da79f94217e030f5484465a19acb19e67b1c488d196901ccf285120d84ffbce9ac44816378e SHA512 10ea1285b7e174c7e0c66c1961e5a3f490e9e1afb2b62b35d31af6759dfe9b785a40a36863e0fad119017981038556386085ef7c4bd90d8745b9259550b1424a diff --git a/app-text/kbibtex/kbibtex-0.8.91.ebuild b/app-text/kbibtex/kbibtex-0.8.91.ebuild new file mode 100644 index 000000000000..0fd2876e0f29 --- /dev/null +++ b/app-text/kbibtex/kbibtex-0.8.91.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +KDE_HANDBOOK="optional" +KDE_TEST="true" +inherit kde5 + +DESCRIPTION="BibTeX editor to edit bibliographies used with LaTeX" +HOMEPAGE="https://userbase.kde.org/KBibTeX" +if [[ ${KDE_BUILD_TYPE} != live ]]; then + SRC_URI="mirror://kde/unstable/KBibTeX/${P}.tar.xz" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="GPL-2" +IUSE="webengine zotero" + +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 ktexteditor) + $(add_frameworks_dep ktextwidgets) + $(add_frameworks_dep kwallet) + $(add_frameworks_dep kwidgetsaddons) + $(add_frameworks_dep kxmlgui) + $(add_qt_dep qtconcurrent) + $(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') ) + zotero? ( + app-crypt/qca[qt5(+)] + dev-libs/qoauth:5 + ) +" +RDEPEND="${DEPEND} + !app-text/kbibtex:4 + dev-tex/bibtex2html +" + +S="${WORKDIR}/${P/_/-}" + +src_configure() { + local mycmakeargs=( + -DCMAKE_DISABLE_FIND_PACKAGE_Qt5WebKitWidgets=ON + $(cmake-utils_use_find_package webengine Qt5WebEngineWidgets) + $(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 +} -- 2.26.2