Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/qpdfview/
Date: Wed, 29 Jan 2020 18:39:19
Message-Id: 1580323109.bf2b26c033d56bcd88beb1fcd3d57afd84145ace.asturm@gentoo
1 commit: bf2b26c033d56bcd88beb1fcd3d57afd84145ace
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jan 29 00:13:58 2020 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Wed Jan 29 18:38:29 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf2b26c0
7
8 app-text/qpdfview: Drop 0.4.16
9
10 Package-Manager: Portage-2.3.86, Repoman-2.3.20
11 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
12
13 app-text/qpdfview/Manifest | 1 -
14 app-text/qpdfview/qpdfview-0.4.16.ebuild | 86 --------------------------------
15 2 files changed, 87 deletions(-)
16
17 diff --git a/app-text/qpdfview/Manifest b/app-text/qpdfview/Manifest
18 index c673e02a6ac..c4ba32684ed 100644
19 --- a/app-text/qpdfview/Manifest
20 +++ b/app-text/qpdfview/Manifest
21 @@ -1,2 +1 @@
22 -DIST qpdfview-0.4.16.tar.gz 636095 BLAKE2B b25da3ed1b4bacc02701f6cd2c4e282fd1c7b1fcac8faa1687c5089baefa328854c520ba803a333ea107e7b423a004f6476eb9a7adf67287d4d0807146094fed SHA512 d3ac05fc51d48533e44e58cd19e5d222a8bfbc9da4df02ece6a405d2fdd3346eb4614816ae91e89facf28e107b920ff3ce7b2ccc8c9b7832ae2595ef70d65584
23 DIST qpdfview-0.4.18.tar.gz 786577 BLAKE2B 07ef444ba39435578481e549fcbbd2d97362c6bda3092a17f1daa8b8437febf50cd2f145cd5e80cc1be565c5a658e85a428314a1bcd2a5a38efce0830f1cffba SHA512 38741520b20e3ed7100e52982930abac26e994a69df68c54dfa7180be8b2a4f377b91ba03993bab67b0a505ad79d62164f0f168a6715f4306b635ceba6840d66
24
25 diff --git a/app-text/qpdfview/qpdfview-0.4.16.ebuild b/app-text/qpdfview/qpdfview-0.4.16.ebuild
26 deleted file mode 100644
27 index 8ae9621ec5d..00000000000
28 --- a/app-text/qpdfview/qpdfview-0.4.16.ebuild
29 +++ /dev/null
30 @@ -1,86 +0,0 @@
31 -# Copyright 1999-2017 Gentoo Foundation
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=6
35 -PLOCALES="ast az be bg bs ca cs da de el en_GB eo es eu fi fr gl he hr hu id it kk ko ky lt ms my pl pt pt_BR ro ru sk sv th tr ug uk vi zh_CN"
36 -
37 -inherit l10n qmake-utils
38 -
39 -DESCRIPTION="A tabbed document viewer"
40 -HOMEPAGE="https://launchpad.net/qpdfview"
41 -SRC_URI="https://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.gz"
42 -
43 -LICENSE="GPL-2+"
44 -SLOT="0"
45 -KEYWORDS="amd64 ~arm x86 ~amd64-linux ~x86-linux"
46 -IUSE="cups +dbus djvu fitz +pdf postscript +sqlite +svg synctex"
47 -
48 -REQUIRED_USE="?? ( fitz pdf )"
49 -
50 -RDEPEND="
51 - dev-qt/qtconcurrent:5
52 - dev-qt/qtcore:5
53 - dev-qt/qtgui:5
54 - dev-qt/qtprintsupport:5
55 - dev-qt/qtwidgets:5
56 - cups? ( net-print/cups )
57 - dbus? ( dev-qt/qtdbus:5 )
58 - djvu? ( app-text/djvu )
59 - fitz? ( >=app-text/mupdf-1.7:= )
60 - pdf? (
61 - >=app-text/poppler-0.35[qt5]
62 - dev-qt/qtxml:5
63 - )
64 - postscript? ( app-text/libspectre )
65 - sqlite? ( dev-qt/qtsql:5[sqlite] )
66 - svg? ( dev-qt/qtsvg:5 )
67 - !svg? ( virtual/freedesktop-icon-theme )
68 - synctex? ( app-text/texlive-core )"
69 -DEPEND="${RDEPEND}
70 - dev-qt/linguist-tools:5
71 - virtual/pkgconfig"
72 -
73 -DOCS=( CHANGES CONTRIBUTORS README TODO )
74 -
75 -src_prepare() {
76 - local mylrelease="$(qt5_get_bindir)"/lrelease
77 -
78 - prepare_locale() {
79 - "${mylrelease}" "translations/${PN}_${1}.ts" || die "preparing ${1} locale failed"
80 - }
81 -
82 - rm_help() {
83 - rm -f "help/help_${1}.html" || die "removing ${1} help file failed"
84 - }
85 -
86 - l10n_find_plocales_changes translations ${PN}_ .ts
87 - l10n_for_each_locale_do prepare_locale
88 - l10n_for_each_disabled_locale_do rm_help
89 -
90 - # adapt for prefix
91 - sed -i -e "s:/usr:${EPREFIX}/usr:g" qpdfview.pri || die
92 -
93 - default
94 -}
95 -
96 -src_configure() {
97 - local myconfig=() i=
98 - for i in cups dbus djvu pdf svg synctex; do
99 - use ${i} || myconfig+=(without_${i})
100 - done
101 - use fitz && myconfig+=(with_fitz)
102 - use postscript || myconfig+=(without_ps)
103 - use sqlite || myconfig+=(without_sql)
104 -
105 - local myqmakeargs=(
106 - qpdfview.pro
107 - CONFIG+="${myconfig[@]}"
108 - PLUGIN_INSTALL_PATH="${EPREFIX}/usr/$(get_libdir)/${PN}"
109 - )
110 - eqmake5 "${myqmakeargs[@]}"
111 -}
112 -
113 -src_install() {
114 - emake INSTALL_ROOT="${D}" install
115 - einstalldocs
116 -}