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 E9B2C138334 for ; Thu, 8 Nov 2018 13:45:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 14341E09DE; Thu, 8 Nov 2018 13:45:31 +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 C6097E09DE for ; Thu, 8 Nov 2018 13:45:30 +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 8A870335C67 for ; Thu, 8 Nov 2018 13:45:28 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 695F6434 for ; Thu, 8 Nov 2018 13:45:26 +0000 (UTC) From: "Michael Palimaka" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michael Palimaka" Message-ID: <1541684710.d17671591526bde83b7bf955928125289d480606.kensington@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/cb2bib/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-text/cb2bib/Manifest app-text/cb2bib/cb2bib-1.9.9.ebuild X-VCS-Directories: app-text/cb2bib/ X-VCS-Committer: kensington X-VCS-Committer-Name: Michael Palimaka X-VCS-Revision: d17671591526bde83b7bf955928125289d480606 X-VCS-Branch: master Date: Thu, 8 Nov 2018 13:45:26 +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-Archives-Salt: 9a4f9eb7-d842-41ea-946b-43b73b26e144 X-Archives-Hash: 952e21869e75a6bb253eb8d9fce81f8d commit: d17671591526bde83b7bf955928125289d480606 Author: Michael Palimaka gentoo org> AuthorDate: Thu Nov 8 13:45:00 2018 +0000 Commit: Michael Palimaka gentoo org> CommitDate: Thu Nov 8 13:45:10 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1767159 app-text/cb2bib: version bump 1.9.9 Package-Manager: Portage-2.3.51, Repoman-2.3.12 Signed-off-by: Michael Palimaka gentoo.org> app-text/cb2bib/Manifest | 1 + app-text/cb2bib/cb2bib-1.9.9.ebuild | 61 +++++++++++++++++++++++++++++++++++++ 2 files changed, 62 insertions(+) diff --git a/app-text/cb2bib/Manifest b/app-text/cb2bib/Manifest index 38be98b53e9..87c0323c3ee 100644 --- a/app-text/cb2bib/Manifest +++ b/app-text/cb2bib/Manifest @@ -1 +1,2 @@ DIST cb2bib-1.9.8.tar.gz 1180660 BLAKE2B 86a826a9285ecd5ecd266b3935ddfa330153cba4b28f378519b464719d5a2bcaa6043470d36ba5c443202a07a18bbaeb28c3371db07063f0d682b54d2a8fe373 SHA512 717f9b4de3e261e6d22a7e514e2ec5891723572f1624280edc8a980171f4dada6e177a3e95748fc39ff0ba1c137406e38dd14f43a0f1e0995c1f39992842f38a +DIST cb2bib-1.9.9.tar.gz 1292720 BLAKE2B 7263d09ab077d1029129b81abbf7a745405d476776ab91d4b73dc9799b3d945e46283fe565fee32b08df7a8734c027cbeacf0e7a44c4e15efaa6c992c69f9b7a SHA512 66e81ea8d86cdf374c9e1109d26e02c0b3101608e751ab6bbded76cca42eb8c2c1d43f6a993b9003b6013d815683f644bff7513ce63dc750ffa8d608cccb49b3 diff --git a/app-text/cb2bib/cb2bib-1.9.9.ebuild b/app-text/cb2bib/cb2bib-1.9.9.ebuild new file mode 100644 index 00000000000..1a3068c56e8 --- /dev/null +++ b/app-text/cb2bib/cb2bib-1.9.9.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit qmake-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 webengine +webkit" + +REQUIRED_USE="?? ( webkit webengine )" + +DEPEND=" + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtnetwork:5 + dev-qt/qtwidgets:5 + lzo? ( dev-libs/lzo:2 ) + webengine? ( dev-qt/qtwebengine:5[widgets] ) + webkit? ( dev-qt/qtwebkit:5 ) +" +RDEPEND="${DEPEND}" + +DOCS=( AUTHORS CHANGELOG COPYRIGHT ) + +src_prepare() { + default + + sed -i -e "s|../AUTHORS ../COPYRIGHT ../LICENSE ../CHANGELOG||" src/src.pro || die + + use webengine || sed -i -e "s/qtHaveModule(webenginewidgets)/false/g" src/src.pro || die + use webkit || sed -i -e "s/qtHaveModule(webkitwidgets)/false/g" src/src.pro || die +} + +src_configure() { + eqmake5 \ + $(use !lzo && echo -config disable_lzo) +} + +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" +}