commit: d222803e123fcfb82b905a15926fea281f204406 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> AuthorDate: Thu Apr 15 20:48:26 2021 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Thu Apr 15 22:30:38 2021 +0000 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=d222803e
app-text/kbibtex: Drop superfluous optfeature header Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> app-text/kbibtex/kbibtex-9999.ebuild | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/app-text/kbibtex/kbibtex-9999.ebuild b/app-text/kbibtex/kbibtex-9999.ebuild index 7334698bd1..83b9da87e0 100644 --- a/app-text/kbibtex/kbibtex-9999.ebuild +++ b/app-text/kbibtex/kbibtex-9999.ebuild @@ -14,6 +14,7 @@ HOMEPAGE="https://apps.kde.org/en/kbibtex https://userbase.kde.org/KBibTeX" if [[ ${KDE_BUILD_TYPE} != live ]]; then SRC_URI="mirror://kde/stable/KBibTeX/${PV}/${P}.tar.xz" + S="${WORKDIR}/${P/_/-}" KEYWORDS="~amd64 ~x86" fi @@ -21,6 +22,8 @@ LICENSE="GPL-2" SLOT="5" IUSE="webengine" +RESTRICT+=" test" + DEPEND=" app-text/poppler[qt5] dev-libs/icu:= @@ -56,10 +59,6 @@ RDEPEND="${DEPEND} dev-tex/bibtex2html " -RESTRICT+=" test" - -S="${WORKDIR}/${P/_/-}" - src_configure() { local mycmakeargs=( -DCMAKE_DISABLE_FIND_PACKAGE_Qt5WebKitWidgets=ON @@ -71,8 +70,7 @@ src_configure() { pkg_postinst() { if [[ -z "${REPLACING_VERSIONS}" ]]; then - elog "Optional dependencies:" - optfeature "PDF or PostScript document previews" kde-apps/okular:${SLOT} + optfeature "PDF or PostScript document previews" "kde-apps/okular:${SLOT}" fi ecm_pkg_postinst }