app-text/kbibtex: 0.8.91 version bump
authorAndreas Sturmlechner <asturm@gentoo.org>
Thu, 2 May 2019 17:57:18 +0000 (19:57 +0200)
committerAndreas Sturmlechner <asturm@gentoo.org>
Wed, 8 May 2019 16:59:34 +0000 (18:59 +0200)
Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
app-text/kbibtex/Manifest
app-text/kbibtex/kbibtex-0.8.91.ebuild [new file with mode: 0644]

index c89c5df4868a9e8a1d4201cb5abfc4a5426f093b..4d4bae29aa4f1db409ee375e949b3ce5cbd379b7 100644 (file)
@@ -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 (file)
index 0000000..0fd2876
--- /dev/null
@@ -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
+}