From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B3FBF13835A for ; Fri, 23 Oct 2020 23:27:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6B563E0843; Fri, 23 Oct 2020 23:27:14 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3C1FCE0855 for ; Fri, 23 Oct 2020 23:27:14 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D65CA3409EB for ; Fri, 23 Oct 2020 23:27:12 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 41D063AB for ; Fri, 23 Oct 2020 23:27:11 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1603495614.b3e349ba4e523b5c7fdf3ac2171c0f3101a9185c.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/cb2bib/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-text/cb2bib/cb2bib-2.0.0-r1.ebuild X-VCS-Directories: app-text/cb2bib/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: b3e349ba4e523b5c7fdf3ac2171c0f3101a9185c X-VCS-Branch: master Date: Fri, 23 Oct 2020 23:27:11 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: c8a4df3d-a93c-4e58-b88a-5c22fed22fab X-Archives-Hash: 0976f005391f7fdee1d95dce5e4b8f58 commit: b3e349ba4e523b5c7fdf3ac2171c0f3101a9185c Author: Andreas Sturmlechner gentoo org> AuthorDate: Fri Oct 23 18:08:41 2020 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Fri Oct 23 23:26:54 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3e349ba app-text/cb2bib: Drop IUSE=webkit Package-Manager: Portage-3.0.8, Repoman-3.0.2 Signed-off-by: Andreas Sturmlechner gentoo.org> app-text/cb2bib/cb2bib-2.0.0-r1.ebuild | 71 ++++++++++++++++++++++++++++++++++ 1 file changed, 71 insertions(+) diff --git a/app-text/cb2bib/cb2bib-2.0.0-r1.ebuild b/app-text/cb2bib/cb2bib-2.0.0-r1.ebuild new file mode 100644 index 00000000000..746edabdcd5 --- /dev/null +++ b/app-text/cb2bib/cb2bib-2.0.0-r1.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit qmake-utils xdg-utils + +DESCRIPTION="Tool for extracting unformatted bibliographic references" +HOMEPAGE="https://www.molspaces.com/cb2bib/" +SRC_URI="https://www.molspaces.com/dl/progs/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="+lzo" + +DEPEND=" + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtnetwork:5 + dev-qt/qtwebengine:5[widgets] + dev-qt/qtwidgets:5 + lzo? ( dev-libs/lzo:2 ) +" +RDEPEND="${DEPEND}" + +DOCS=( AUTHORS CHANGELOG COPYRIGHT ) + +src_prepare() { + default + + sed -e "s|../AUTHORS ../COPYRIGHT ../LICENSE ../CHANGELOG||" \ + -i src/src.pro || die + + sed -i -e "s/qtHaveModule(webkitwidgets)/false/g" src/src.pro || die +} + +src_configure() { + eqmake5 \ + $(use !lzo && echo -config disable_lzo) +} + +src_compile() { + # bug #709940 + emake -j1 +} + +src_install() { + emake INSTALL_ROOT="${D}" install + einstalldocs +} + +pkg_postinst() { + elog "For best functionality, emerge the following packages:" + elog " app-text/poppler[utils] - for data import from PDF files" + elog " app-text/dvipdfm - for data import from DVI files" + elog " app-text/bibutils - for data import from ISI, endnote format" + elog " media-fonts/jsmath - for displaying mathematical notation" + elog " media-libs/exiftool - for proper UTF-8 metadata writing in PDF" + elog " text strings" + elog " virtual/latex-base - to check for BibTeX file correctness and to get" + elog " nice printing through the shell script bib2pdf" +} + +pkg_postinst() { + xdg_desktop_database_update +} + +pkg_postrm() { + xdg_desktop_database_update +}