Gentoo Archives: gentoo-commits

From: "Justin Lecher (jlec)" <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-office/texmaker: texmaker-4.4.1-r1.ebuild ChangeLog
Date: Wed, 24 Jun 2015 06:28:59
Message-Id: 20150624062853.3827DA4D@oystercatcher.gentoo.org
1 jlec 15/06/24 06:28:53
2
3 Modified: ChangeLog
4 Added: texmaker-4.4.1-r1.ebuild
5 Log:
6 Add support for multiple styles in Qt5, thanks jorgicio for the patch; http://code.google.com/p/texmaker/issues/detail?id=1511
7
8 (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key E9402A79B03529A2!)
9
10 Revision Changes Path
11 1.153 app-office/texmaker/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/texmaker/ChangeLog?rev=1.153&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/texmaker/ChangeLog?rev=1.153&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/texmaker/ChangeLog?r1=1.152&r2=1.153
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-office/texmaker/ChangeLog,v
20 retrieving revision 1.152
21 retrieving revision 1.153
22 diff -u -r1.152 -r1.153
23 --- ChangeLog 10 May 2015 13:01:04 -0000 1.152
24 +++ ChangeLog 24 Jun 2015 06:28:53 -0000 1.153
25 @@ -1,6 +1,13 @@
26 # ChangeLog for app-office/texmaker
27 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-office/texmaker/ChangeLog,v 1.152 2015/05/10 13:01:04 pesa Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-office/texmaker/ChangeLog,v 1.153 2015/06/24 06:28:53 jlec Exp $
30 +
31 +*texmaker-4.4.1-r1 (24 Jun 2015)
32 +
33 + 24 Jun 2015; Justin Lecher <jlec@g.o>
34 + +files/texmaker-4.4.1-modern-styles.patch, +texmaker-4.4.1-r1.ebuild:
35 + Add support for multiple styles in Qt5, thanks jorgicio for the patch;
36 + http://code.google.com/p/texmaker/issues/detail?id=1511
37
38 10 May 2015; Davide Pesavento <pesa@g.o> texmaker-4.3.ebuild:
39 Add missing usedep for qtsingleapplication.
40
41
42
43 1.1 app-office/texmaker/texmaker-4.4.1-r1.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/texmaker/texmaker-4.4.1-r1.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/texmaker/texmaker-4.4.1-r1.ebuild?rev=1.1&content-type=text/plain
47
48 Index: texmaker-4.4.1-r1.ebuild
49 ===================================================================
50 # Copyright 1999-2015 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/app-office/texmaker/texmaker-4.4.1-r1.ebuild,v 1.1 2015/06/24 06:28:53 jlec Exp $
53
54 EAPI=5
55
56 inherit eutils qmake-utils readme.gentoo
57
58 DESCRIPTION="A nice LaTeX-IDE"
59 HOMEPAGE="http://www.xm1math.net/texmaker/"
60 SRC_URI="http://www.xm1math.net/texmaker/${P}.tar.bz2"
61
62 LICENSE="GPL-2"
63 SLOT="0"
64 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
65 IUSE="+qt4 qt5"
66
67 REQUIRED_USE="^^ ( qt4 qt5 )"
68
69 COMMON_DEPEND="
70 app-text/hunspell
71 app-text/poppler:=[qt4?,qt5?]
72 sys-libs/zlib
73 x11-libs/libX11
74 x11-libs/libXext
75 dev-qt/qtsingleapplication[X,qt4?,qt5?]
76 qt4? (
77 dev-qt/qtgui:4
78 dev-qt/qtcore:4
79 dev-qt/qtscript:4
80 dev-qt/qtwebkit:4
81 )
82 qt5? (
83 dev-qt/qtconcurrent:5
84 dev-qt/qtgui:5
85 dev-qt/qtcore:5
86 dev-qt/qtnetwork:5
87 dev-qt/qtscript:5
88 dev-qt/qtwebkit:5[printsupport]
89 dev-qt/qtwidgets:5
90 dev-qt/qtxml:5
91 )
92 "
93 RDEPEND="${COMMON_DEPEND}
94 virtual/latex-base
95 app-text/psutils
96 app-text/ghostscript-gpl
97 media-libs/netpbm
98 qt4? ( app-i18n/ibus-qt )"
99 DEPEND="${COMMON_DEPEND}
100 virtual/pkgconfig"
101
102 PATCHES=(
103 "${FILESDIR}"/${PN}-4.1-unbundle.patch
104 "${FILESDIR}"/${P}-modern-styles.patch
105 )
106
107 DOCS=( utilities/AUTHORS utilities/CHANGELOG.txt )
108 HTML_DOCS=( doc/. )
109
110 src_prepare() {
111 find singleapp hunspell -delete || die
112
113 epatch "${PATCHES[@]}"
114
115 cat >> ${PN}.pro <<- EOF
116 exists(texmakerx_my.pri):include(texmakerx_my.pri)
117 EOF
118
119 cp "${FILESDIR}"/texmakerx_my.pri . || die
120
121 sed \
122 -e '/^#include/s:hunspell/::g' \
123 -e '/^#include/s:singleapp/::g' \
124 -i *.cpp *.h || die
125
126 DOC_CONTENTS="A user manual with many screenshots is available at:
127 ${EPREFIX}/usr/share/${PN}/usermanual_en.html"
128 }
129
130 src_configure() {
131 local myeqmakeargs=(
132 ${PN}.pro
133 PREFIX="${EPREFIX}/usr"
134 DESKTOPDIR="${EPREFIX}/usr/share/applications"
135 ICONDIR="${EPREFIX}/usr/share/pixmaps"
136 )
137 if use qt4; then
138 eqmake4 ${myeqmakeargs[@]}
139 else
140 eqmake5 ${myeqmakeargs[@]}
141 fi
142 }
143
144 src_install() {
145 emake INSTALL_ROOT="${D}" install
146 einstalldocs
147 readme.gentoo_create_doc
148 }