Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/kbibtex/
Date: Mon, 28 May 2018 22:00:19
Message-Id: 1527544796.2a7fe6523df1352b7981a9204e08a0abc6bc77da.asturm@gentoo
1 commit: 2a7fe6523df1352b7981a9204e08a0abc6bc77da
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Mon May 28 21:54:32 2018 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Mon May 28 21:59:56 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a7fe652
7
8 app-text/kbibtex: Add 0.8_pre20180526 (0.7.95 version bump)
9
10 Package-Manager: Portage-2.3.40, Repoman-2.3.9
11
12 app-text/kbibtex/kbibtex-0.8_pre20180526.ebuild | 83 +++++++++++++++++++++++++
13 1 file changed, 83 insertions(+)
14
15 diff --git a/app-text/kbibtex/kbibtex-0.8_pre20180526.ebuild b/app-text/kbibtex/kbibtex-0.8_pre20180526.ebuild
16 new file mode 100644
17 index 00000000000..d5566c47efc
18 --- /dev/null
19 +++ b/app-text/kbibtex/kbibtex-0.8_pre20180526.ebuild
20 @@ -0,0 +1,83 @@
21 +# Copyright 1999-2018 Gentoo Foundation
22 +# Distributed under the terms of the GNU General Public License v2
23 +
24 +EAPI=6
25 +
26 +MY_PV=0.7.90
27 +KDE_HANDBOOK="optional"
28 +KDE_TEST="true"
29 +VIRTUALX_REQUIRED="test"
30 +inherit kde5
31 +
32 +DESCRIPTION="BibTeX editor to edit bibliographies used with LaTeX"
33 +HOMEPAGE="https://userbase.kde.org/KBibTeX"
34 +if [[ ${KDE_BUILD_TYPE} != live ]]; then
35 + SRC_URI="mirror://kde/unstable/KBibTeX/${PN}-${MY_PV}.tar.xz"
36 + KEYWORDS="~amd64 ~x86"
37 +fi
38 +
39 +LICENSE="GPL-2"
40 +IUSE="webengine webkit zotero"
41 +
42 +REQUIRED_USE="?? ( webengine webkit )"
43 +
44 +DEPEND="
45 + $(add_frameworks_dep kcompletion)
46 + $(add_frameworks_dep kconfig)
47 + $(add_frameworks_dep kconfigwidgets)
48 + $(add_frameworks_dep kcoreaddons)
49 + $(add_frameworks_dep kcrash)
50 + $(add_frameworks_dep ki18n)
51 + $(add_frameworks_dep kiconthemes)
52 + $(add_frameworks_dep kio)
53 + $(add_frameworks_dep kitemviews)
54 + $(add_frameworks_dep kjobwidgets)
55 + $(add_frameworks_dep kparts)
56 + $(add_frameworks_dep kservice)
57 + $(add_frameworks_dep ktextwidgets)
58 + $(add_frameworks_dep kwallet)
59 + $(add_frameworks_dep kwidgetsaddons)
60 + $(add_frameworks_dep kxmlgui)
61 + $(add_qt_dep qtdbus)
62 + $(add_qt_dep qtgui)
63 + $(add_qt_dep qtnetwork)
64 + $(add_qt_dep qtwidgets)
65 + $(add_qt_dep qtxml)
66 + $(add_qt_dep qtxmlpatterns)
67 + app-text/poppler[qt5]
68 + dev-libs/icu:=
69 + virtual/tex-base
70 + webengine? ( $(add_qt_dep qtwebengine 'widgets') )
71 + webkit? ( $(add_qt_dep qtwebkit) )
72 + zotero? (
73 + app-crypt/qca[qt5(+)]
74 + dev-libs/qoauth:5
75 + )
76 +"
77 +RDEPEND="${DEPEND}
78 + !app-text/kbibtex:4
79 + dev-tex/bibtex2html
80 + x11-misc/shared-mime-info
81 +"
82 +
83 +RESTRICT+=" test"
84 +
85 +S="${WORKDIR}/${PN}-${MY_PV}"
86 +
87 +src_configure() {
88 + local mycmakeargs=(
89 + $(cmake-utils_use_find_package webengine Qt5WebEngineWidgets)
90 + $(cmake-utils_use_find_package webkit Qt5WebKitWidgets)
91 + $(cmake-utils_use_find_package zotero Qca-qt5)
92 + )
93 +
94 + kde5_src_configure
95 +}
96 +
97 +pkg_postinst() {
98 + kde5_pkg_postinst
99 +
100 + if ! has_version "kde-apps/okular:${SLOT}" ; then
101 + elog "For PDF or PostScript document preview support, please install kde-apps/okular:${SLOT}"
102 + fi
103 +}