Gentoo Archives: gentoo-commits

From: "Davide Pesavento (pesa)" <pesa@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-text/qpdfview: qpdfview-0.4.11.1.ebuild ChangeLog
Date: Sun, 28 Sep 2014 11:49:17
Message-Id: 20140928114913.89FF2671C@oystercatcher.gentoo.org
1 pesa 14/09/28 11:49:13
2
3 Modified: qpdfview-0.4.11.1.ebuild ChangeLog
4 Log:
5 Minor cleanup.
6
7 (Portage version: 2.2.14_rc1/cvs/Linux x86_64, signed Manifest commit with key 0xDADED6B2671CB57D!)
8
9 Revision Changes Path
10 1.2 app-text/qpdfview/qpdfview-0.4.11.1.ebuild
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/qpdfview/qpdfview-0.4.11.1.ebuild?rev=1.2&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/qpdfview/qpdfview-0.4.11.1.ebuild?rev=1.2&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/qpdfview/qpdfview-0.4.11.1.ebuild?r1=1.1&r2=1.2
15
16 Index: qpdfview-0.4.11.1.ebuild
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-text/qpdfview/qpdfview-0.4.11.1.ebuild,v
19 retrieving revision 1.1
20 retrieving revision 1.2
21 diff -u -r1.1 -r1.2
22 --- qpdfview-0.4.11.1.ebuild 24 Sep 2014 09:48:17 -0000 1.1
23 +++ qpdfview-0.4.11.1.ebuild 28 Sep 2014 11:49:13 -0000 1.2
24 @@ -1,6 +1,6 @@
25 # Copyright 1999-2014 Gentoo Foundation
26 # Distributed under the terms of the GNU General Public License v2
27 -# $Header: /var/cvsroot/gentoo-x86/app-text/qpdfview/qpdfview-0.4.11.1.ebuild,v 1.1 2014/09/24 09:48:17 yngwin Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/app-text/qpdfview/qpdfview-0.4.11.1.ebuild,v 1.2 2014/09/28 11:49:13 pesa Exp $
29
30 EAPI=5
31
32 @@ -16,28 +16,37 @@
33 KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
34 IUSE="cups dbus djvu fitz +pdf postscript +qt4 qt5 sqlite +svg synctex"
35
36 -REQUIRED_USE="^^ ( qt4 qt5 )
37 - ?? ( fitz pdf )"
38 +REQUIRED_USE="
39 + ^^ ( qt4 qt5 )
40 + ?? ( fitz pdf )
41 +"
42
43 -RDEPEND="cups? ( net-print/cups )
44 +RDEPEND="
45 + cups? ( net-print/cups )
46 djvu? ( app-text/djvu )
47 fitz? ( app-text/mupdf:0/1.4 )
48 postscript? ( app-text/libspectre )
49 - qt4? ( dev-qt/qtcore:4[iconv]
50 + qt4? (
51 + dev-qt/qtcore:4[iconv]
52 dev-qt/qtgui:4
53 dbus? ( dev-qt/qtdbus:4 )
54 pdf? ( app-text/poppler[qt4] )
55 sqlite? ( dev-qt/qtsql:4[sqlite] )
56 - svg? ( dev-qt/qtsvg:4 ) )
57 - qt5? ( dev-qt/qtcore:5
58 + svg? ( dev-qt/qtsvg:4 )
59 + )
60 + qt5? (
61 + dev-qt/qtcore:5
62 dev-qt/qtgui:5
63 dbus? ( dev-qt/qtdbus:5 )
64 pdf? ( >=app-text/poppler-0.26.4[qt5] )
65 sqlite? ( dev-qt/qtsql:5[sqlite] )
66 - svg? ( dev-qt/qtsvg:5 ) )
67 - !svg? ( virtual/freedesktop-icon-theme )"
68 + svg? ( dev-qt/qtsvg:5 )
69 + )
70 + !svg? ( virtual/freedesktop-icon-theme )
71 +"
72 DEPEND="${RDEPEND}
73 - virtual/pkgconfig"
74 + virtual/pkgconfig
75 +"
76
77 DOCS=( CHANGES CONTRIBUTORS README TODO )
78
79 @@ -47,38 +56,37 @@
80 }
81
82 rm_help() {
83 - if [[ -e "miscellaneous/help_${1}.html" ]]; then
84 - rm "miscellaneous/help_${1}.html" || die "removing extraneous help files failed"
85 - fi
86 + rm -f "miscellaneous/help_${1}.html" || die "removing extraneous help files failed"
87 }
88
89 - l10n_find_plocales_changes "translations" "${PN}_" '.ts'
90 + l10n_find_plocales_changes translations "${PN}_" '.ts'
91 l10n_for_each_locale_do prepare_locale
92 l10n_for_each_disabled_locale_do rm_help
93 +
94 # adapt for prefix
95 sed -i -e "s:/usr:${EPREFIX}/usr:g" qpdfview.pri || die
96 }
97
98 src_configure() {
99 local config i
100 - for i in cups dbus pdf djvu svg synctex ; do
101 - if ! use ${i} ; then
102 + for i in cups dbus pdf djvu svg synctex; do
103 + if ! use ${i}; then
104 config+=" without_${i}"
105 fi
106 done
107
108 - use fitz && config+=" with_fitz"
109 + use fitz && config+=" with_fitz"
110 use postscript || config+=" without_ps"
111 use sqlite || config+=" without_sql"
112
113 - if use qt4 ; then
114 + if use qt4; then
115 eqmake4 CONFIG+="${config}" PLUGIN_INSTALL_PATH="${EPREFIX}/usr/$(get_libdir)/${PN}"
116 - else
117 + else
118 eqmake5 CONFIG+="${config}" PLUGIN_INSTALL_PATH="${EPREFIX}/usr/$(get_libdir)/${PN}" qpdfview.pro
119 fi
120 }
121
122 src_install() {
123 - emake INSTALL_ROOT="${D}" "$@" install
124 + emake INSTALL_ROOT="${D}" install
125 einstalldocs
126 }
127
128
129
130 1.57 app-text/qpdfview/ChangeLog
131
132 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/qpdfview/ChangeLog?rev=1.57&view=markup
133 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/qpdfview/ChangeLog?rev=1.57&content-type=text/plain
134 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/qpdfview/ChangeLog?r1=1.56&r2=1.57
135
136 Index: ChangeLog
137 ===================================================================
138 RCS file: /var/cvsroot/gentoo-x86/app-text/qpdfview/ChangeLog,v
139 retrieving revision 1.56
140 retrieving revision 1.57
141 diff -u -r1.56 -r1.57
142 --- ChangeLog 24 Sep 2014 09:48:17 -0000 1.56
143 +++ ChangeLog 28 Sep 2014 11:49:13 -0000 1.57
144 @@ -1,6 +1,9 @@
145 # ChangeLog for app-text/qpdfview
146 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
147 -# $Header: /var/cvsroot/gentoo-x86/app-text/qpdfview/ChangeLog,v 1.56 2014/09/24 09:48:17 yngwin Exp $
148 +# $Header: /var/cvsroot/gentoo-x86/app-text/qpdfview/ChangeLog,v 1.57 2014/09/28 11:49:13 pesa Exp $
149 +
150 + 28 Sep 2014; Davide Pesavento <pesa@g.o> qpdfview-0.4.11.1.ebuild:
151 + Minor cleanup.
152
153 *qpdfview-0.4.11.1 (24 Sep 2014)