Gentoo Archives: gentoo-commits

From: Andrey Grozin <grozin@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/qpdfview/
Date: Wed, 01 Feb 2023 13:48:41
Message-Id: 1675259302.96accb5c499a9e9e428b608cb6731feedcb69082.grozin@gentoo
1 commit: 96accb5c499a9e9e428b608cb6731feedcb69082
2 Author: Andrey Grozin <grozin <AT> gentoo <DOT> org>
3 AuthorDate: Wed Feb 1 13:48:22 2023 +0000
4 Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org>
5 CommitDate: Wed Feb 1 13:48:22 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96accb5c
7
8 app-text/qpdfview: remove old
9
10 Signed-off-by: Andrey Grozin <grozin <AT> gentoo.org>
11
12 app-text/qpdfview/Manifest | 1 -
13 app-text/qpdfview/qpdfview-0.4.18_p1.ebuild | 86 -----------------------------
14 2 files changed, 87 deletions(-)
15
16 diff --git a/app-text/qpdfview/Manifest b/app-text/qpdfview/Manifest
17 index b2abfc9f2fca..8468144b98d1 100644
18 --- a/app-text/qpdfview/Manifest
19 +++ b/app-text/qpdfview/Manifest
20 @@ -1,3 +1,2 @@
21 -DIST qpdfview-0.4.18_p1.tar.bz2 448818 BLAKE2B 690f93c7f0af376e2b60d69a9802cdb159a97eb66b572a913badcd7ce3b9303d69bf8fbb359b5aa09ad1c63b1b6865e3602c8dc9cdad2506a43273d410a64d89 SHA512 41152596e39e6084e4e46c1aca28dfa4c619bf31068ee3272c6119793da5d99c58868ecf682ed0dc81e740f20193372e2780cf7d7fb917545662c93e6a2a1b4a
22 DIST qpdfview-0.4.18_p20211227.tar.bz2 485165 BLAKE2B 1efdebf84ffbcedf464615e6ef2ef4092ef3210177e5faf17bb01c39243fdd5b11434459dad897a04acff0cf037129d2a524d37c670ae57556219421c363d1c5 SHA512 ea2206d9f2cbd5bf53ab75c8e78a5b3e30136febcf82630c375d664645d6b5e72c6128fb7b63cb65ec511c2c23014ceddd93495c520e9cddd1c52f01377bea17
23 DIST qpdfview-0.5.tar.gz 925408 BLAKE2B 8ce8ff82893c90012ea1b35a582e87783da87e6eba3d4a10e78fe7810c269908ed1541cf40b1eb17fc474254131cebbc4832a3f46a2016262c485d48e222791b SHA512 1b6b479bb42f4568c21b5f6cb0c552c4323739ba9fe46cea80cc199f48b0b49a278e0a2fb0d21f83bafb467e43dd37352b99ef41795d140220bb82d704e03926
24
25 diff --git a/app-text/qpdfview/qpdfview-0.4.18_p1.ebuild b/app-text/qpdfview/qpdfview-0.4.18_p1.ebuild
26 deleted file mode 100644
27 index f0eb22d4b6a3..000000000000
28 --- a/app-text/qpdfview/qpdfview-0.4.18_p1.ebuild
29 +++ /dev/null
30 @@ -1,86 +0,0 @@
31 -# Copyright 1999-2021 Gentoo Authors
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=7
35 -
36 -PLOCALES="ast az be bg bs ca cs da de el en_AU en_GB eo es eu fa fi fr gl he hr hu id it ja kk ko ku ky lt lv ms my nb nds oc pl pt pt_BR ro ru sk sr sv th tr ug uk uz vi zh_CN zh_TW"
37 -inherit plocale qmake-utils xdg
38 -
39 -DESCRIPTION="A tabbed document viewer"
40 -HOMEPAGE="https://launchpad.net/qpdfview"
41 -# bzr revision 2107
42 -SRC_URI="https://dev.gentoo.org/~grozin/${P}.tar.bz2"
43 -
44 -LICENSE="GPL-2+"
45 -SLOT="0"
46 -KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~riscv x86 ~amd64-linux ~x86-linux"
47 -IUSE="cups +dbus djvu fitz +pdf postscript +sqlite +svg synctex"
48 -
49 -REQUIRED_USE="?? ( fitz pdf )"
50 -
51 -BDEPEND="
52 - dev-qt/linguist-tools:5
53 - virtual/pkgconfig
54 -"
55 -RDEPEND="
56 - cups? ( net-print/cups )
57 - djvu? ( app-text/djvu )
58 - fitz? ( >=app-text/mupdf-1.7:= )
59 - postscript? ( app-text/libspectre )
60 - dev-qt/qtconcurrent:5
61 - dev-qt/qtcore:5
62 - dev-qt/qtgui:5
63 - dev-qt/qtprintsupport:5[cups?]
64 - dev-qt/qtwidgets:5
65 - dbus? ( dev-qt/qtdbus:5 )
66 - pdf? ( >=app-text/poppler-0.35[qt5]
67 - dev-qt/qtxml:5 )
68 - sqlite? ( dev-qt/qtsql:5[sqlite] )
69 - svg? ( dev-qt/qtsvg:5 )
70 - !svg? ( virtual/freedesktop-icon-theme )
71 - synctex? ( app-text/texlive-core )"
72 -DEPEND="${RDEPEND}"
73 -
74 -DOCS=( CHANGES CONTRIBUTORS README TODO )
75 -
76 -src_prepare() {
77 - default
78 -
79 - local mylrelease="$(qt5_get_bindir)"/lrelease
80 - prepare_locale() {
81 - "${mylrelease}" "translations/${PN}_${1}.ts" || die "preparing ${1} locale failed"
82 - }
83 -
84 - rm_help() {
85 - rm -f "help/help_${1}.html" || die "removing ${1} help file failed"
86 - }
87 -
88 - plocale_find_changes translations ${PN}_ .ts
89 - plocale_for_each_locale prepare_locale
90 - plocale_for_each_disabled_locale rm_help
91 -
92 - # adapt for prefix
93 - sed -i -e "s:/usr:${EPREFIX}/usr:g" qpdfview.pri || die
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 -}