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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5044915800F for ; Wed, 1 Feb 2023 13:45:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6D86EE03DF; Wed, 1 Feb 2023 13:45:36 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4E369E03DF for ; Wed, 1 Feb 2023 13:45:36 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2FFCE335D3F for ; Wed, 1 Feb 2023 13:45:35 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 67789531 for ; Wed, 1 Feb 2023 13:45:33 +0000 (UTC) From: "Andrey Grozin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrey Grozin" Message-ID: <1675259096.d7be78f1f2e71c6738ad28a9c87de759121c251f.grozin@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/qpdfview/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-text/qpdfview/Manifest app-text/qpdfview/qpdfview-0.5.ebuild X-VCS-Directories: app-text/qpdfview/ X-VCS-Committer: grozin X-VCS-Committer-Name: Andrey Grozin X-VCS-Revision: d7be78f1f2e71c6738ad28a9c87de759121c251f X-VCS-Branch: master Date: Wed, 1 Feb 2023 13:45:33 +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: a44f13ec-a20a-48ee-a92b-4fdfcab8a26b X-Archives-Hash: 68a598a65c2261d6a1f3fe11ef8ca261 commit: d7be78f1f2e71c6738ad28a9c87de759121c251f Author: Andrey Grozin gentoo org> AuthorDate: Wed Feb 1 13:44:56 2023 +0000 Commit: Andrey Grozin gentoo org> CommitDate: Wed Feb 1 13:44:56 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7be78f1 app-text/qpdfview: bump to 0.5 Signed-off-by: Andrey Grozin gentoo.org> app-text/qpdfview/Manifest | 1 + app-text/qpdfview/qpdfview-0.5.ebuild | 85 +++++++++++++++++++++++++++++++++++ 2 files changed, 86 insertions(+) diff --git a/app-text/qpdfview/Manifest b/app-text/qpdfview/Manifest index ec7a7d84ac00..b2abfc9f2fca 100644 --- a/app-text/qpdfview/Manifest +++ b/app-text/qpdfview/Manifest @@ -1,2 +1,3 @@ DIST qpdfview-0.4.18_p1.tar.bz2 448818 BLAKE2B 690f93c7f0af376e2b60d69a9802cdb159a97eb66b572a913badcd7ce3b9303d69bf8fbb359b5aa09ad1c63b1b6865e3602c8dc9cdad2506a43273d410a64d89 SHA512 41152596e39e6084e4e46c1aca28dfa4c619bf31068ee3272c6119793da5d99c58868ecf682ed0dc81e740f20193372e2780cf7d7fb917545662c93e6a2a1b4a DIST qpdfview-0.4.18_p20211227.tar.bz2 485165 BLAKE2B 1efdebf84ffbcedf464615e6ef2ef4092ef3210177e5faf17bb01c39243fdd5b11434459dad897a04acff0cf037129d2a524d37c670ae57556219421c363d1c5 SHA512 ea2206d9f2cbd5bf53ab75c8e78a5b3e30136febcf82630c375d664645d6b5e72c6128fb7b63cb65ec511c2c23014ceddd93495c520e9cddd1c52f01377bea17 +DIST qpdfview-0.5.tar.gz 925408 BLAKE2B 8ce8ff82893c90012ea1b35a582e87783da87e6eba3d4a10e78fe7810c269908ed1541cf40b1eb17fc474254131cebbc4832a3f46a2016262c485d48e222791b SHA512 1b6b479bb42f4568c21b5f6cb0c552c4323739ba9fe46cea80cc199f48b0b49a278e0a2fb0d21f83bafb467e43dd37352b99ef41795d140220bb82d704e03926 diff --git a/app-text/qpdfview/qpdfview-0.5.ebuild b/app-text/qpdfview/qpdfview-0.5.ebuild new file mode 100644 index 000000000000..463443836b8c --- /dev/null +++ b/app-text/qpdfview/qpdfview-0.5.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PLOCALES="af ast az be ber bg bs ca cs da de el en_AU en_GB eo es eu fa fi fr gl he hi hr hu id it ja kk ko ku ky lt lv ms my nb nds oc pl pt pt_BR ro ru rue sk sr sv th tr ug uk uz vi zgh zh_CN zh_TW" +inherit plocale qmake-utils xdg + +DESCRIPTION="A tabbed document viewer" +HOMEPAGE="https://launchpad.net/qpdfview" +SRC_URI="https://launchpad.net/${PN}/trunk/${PV}.0/+download/${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~riscv x86 ~amd64-linux ~x86-linux" +IUSE="cups +dbus djvu fitz +pdf postscript +sqlite +svg synctex" + +REQUIRED_USE="?? ( fitz pdf )" + +BDEPEND=" + dev-qt/linguist-tools:5 + virtual/pkgconfig +" +RDEPEND=" + cups? ( net-print/cups ) + djvu? ( app-text/djvu ) + fitz? ( >=app-text/mupdf-1.7:= ) + postscript? ( app-text/libspectre ) + dev-qt/qtconcurrent:5 + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtprintsupport:5[cups?] + dev-qt/qtwidgets:5 + dbus? ( dev-qt/qtdbus:5 ) + pdf? ( >=app-text/poppler-0.35[qt5] + dev-qt/qtxml:5 ) + sqlite? ( dev-qt/qtsql:5[sqlite] ) + svg? ( dev-qt/qtsvg:5 ) + !svg? ( virtual/freedesktop-icon-theme ) + synctex? ( app-text/texlive-core )" +DEPEND="${RDEPEND}" + +DOCS=( CHANGES CONTRIBUTORS README TODO ) + +src_prepare() { + default + + local mylrelease="$(qt5_get_bindir)"/lrelease + p_locale() { + "${mylrelease}" "translations/${PN}_${1}.ts" || die "preparing ${1} locale failed" + } + + rm_help() { + rm -f "help/help_${1}.html" || die "removing ${1} help file failed" + } + + plocale_find_changes translations ${PN}_ .ts + plocale_for_each_locale p_locale + plocale_for_each_disabled_locale rm_help + + # adapt for prefix + sed -i -e "s:/usr:${EPREFIX}/usr:g" qpdfview.pri || die +} + +src_configure() { + local myconfig=() i= + for i in cups dbus djvu pdf svg synctex; do + use ${i} || myconfig+=(without_${i}) + done + use fitz && myconfig+=(with_fitz) + use postscript || myconfig+=(without_ps) + use sqlite || myconfig+=(without_sql) + + local myqmakeargs=( + qpdfview.pro + CONFIG+="${myconfig[*]}" + PLUGIN_INSTALL_PATH="${EPREFIX}/usr/$(get_libdir)/${PN}" + ) + eqmake5 "${myqmakeargs[@]}" +} + +src_install() { + emake INSTALL_ROOT="${D}" install + einstalldocs +}