1 |
commit: d222803e123fcfb82b905a15926fea281f204406 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Apr 15 20:48:26 2021 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Apr 15 22:30:38 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=d222803e |
7 |
|
8 |
app-text/kbibtex: Drop superfluous optfeature header |
9 |
|
10 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
11 |
|
12 |
app-text/kbibtex/kbibtex-9999.ebuild | 10 ++++------ |
13 |
1 file changed, 4 insertions(+), 6 deletions(-) |
14 |
|
15 |
diff --git a/app-text/kbibtex/kbibtex-9999.ebuild b/app-text/kbibtex/kbibtex-9999.ebuild |
16 |
index 7334698bd1..83b9da87e0 100644 |
17 |
--- a/app-text/kbibtex/kbibtex-9999.ebuild |
18 |
+++ b/app-text/kbibtex/kbibtex-9999.ebuild |
19 |
@@ -14,6 +14,7 @@ HOMEPAGE="https://apps.kde.org/en/kbibtex https://userbase.kde.org/KBibTeX" |
20 |
|
21 |
if [[ ${KDE_BUILD_TYPE} != live ]]; then |
22 |
SRC_URI="mirror://kde/stable/KBibTeX/${PV}/${P}.tar.xz" |
23 |
+ S="${WORKDIR}/${P/_/-}" |
24 |
KEYWORDS="~amd64 ~x86" |
25 |
fi |
26 |
|
27 |
@@ -21,6 +22,8 @@ LICENSE="GPL-2" |
28 |
SLOT="5" |
29 |
IUSE="webengine" |
30 |
|
31 |
+RESTRICT+=" test" |
32 |
+ |
33 |
DEPEND=" |
34 |
app-text/poppler[qt5] |
35 |
dev-libs/icu:= |
36 |
@@ -56,10 +59,6 @@ RDEPEND="${DEPEND} |
37 |
dev-tex/bibtex2html |
38 |
" |
39 |
|
40 |
-RESTRICT+=" test" |
41 |
- |
42 |
-S="${WORKDIR}/${P/_/-}" |
43 |
- |
44 |
src_configure() { |
45 |
local mycmakeargs=( |
46 |
-DCMAKE_DISABLE_FIND_PACKAGE_Qt5WebKitWidgets=ON |
47 |
@@ -71,8 +70,7 @@ src_configure() { |
48 |
|
49 |
pkg_postinst() { |
50 |
if [[ -z "${REPLACING_VERSIONS}" ]]; then |
51 |
- elog "Optional dependencies:" |
52 |
- optfeature "PDF or PostScript document previews" kde-apps/okular:${SLOT} |
53 |
+ optfeature "PDF or PostScript document previews" "kde-apps/okular:${SLOT}" |
54 |
fi |
55 |
ecm_pkg_postinst |
56 |
} |