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/texstudio: metadata.xml ChangeLog texstudio-2.2.ebuild
Date: Wed, 07 Sep 2011 17:21:57
Message-Id: 20110907172144.054DF2004C@flycatcher.gentoo.org
1 jlec 11/09/07 17:21:44
2
3 Added: metadata.xml ChangeLog texstudio-2.2.ebuild
4 Log:
5 Version Bump of app-office/texmakerx with rename to texstudio, #377947
6
7 (Portage version: 2.2.0_alpha54/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.1 app-office/texstudio/metadata.xml
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/texstudio/metadata.xml?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/texstudio/metadata.xml?rev=1.1&content-type=text/plain
14
15 Index: metadata.xml
16 ===================================================================
17 <?xml version="1.0" encoding="UTF-8"?>
18 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
19 <pkgmetadata>
20 <herd>no-herd</herd>
21 <maintainer>
22 <email>jlec@g.o</email>
23 </maintainer>
24 <use>
25 <flag name="video">Use phonon for video embedding</flag>
26 </use>
27 </pkgmetadata>
28
29
30
31 1.1 app-office/texstudio/ChangeLog
32
33 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/texstudio/ChangeLog?rev=1.1&view=markup
34 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/texstudio/ChangeLog?rev=1.1&content-type=text/plain
35
36 Index: ChangeLog
37 ===================================================================
38 # ChangeLog for app-office/texstudio
39 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
40 # $Header: /var/cvsroot/gentoo-x86/app-office/texstudio/ChangeLog,v 1.1 2011/09/07 17:21:43 jlec Exp $
41
42 *texstudio-2.2 (07 Sep 2011)
43
44 07 Sep 2011; Justin Lecher <jlec@g.o> +texstudio-2.2.ebuild,
45 +files/texstudio-2.2-hunspell.patch, +metadata.xml:
46 Version Bump of app-office/texmakerx with rename to texstudio, #377947
47
48 17 Jun 2011; Justin Lecher <jlec@g.o> texmakerx-2.1.ebuild:
49 Add missing deps, #371739
50
51 *texmakerx-2.1 (12 Jun 2011)
52
53 12 Jun 2011; Justin Lecher <jlec@g.o> +texmakerx-2.1.ebuild,
54 +files/texmakerx-2.1-hunspell.patch, +metadata.xml:
55 Addition, #338436
56
57
58
59
60 1.1 app-office/texstudio/texstudio-2.2.ebuild
61
62 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/texstudio/texstudio-2.2.ebuild?rev=1.1&view=markup
63 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/texstudio/texstudio-2.2.ebuild?rev=1.1&content-type=text/plain
64
65 Index: texstudio-2.2.ebuild
66 ===================================================================
67 # Copyright 1999-2011 Gentoo Foundation
68 # Distributed under the terms of the GNU General Public License v2
69 # $Header: /var/cvsroot/gentoo-x86/app-office/texstudio/texstudio-2.2.ebuild,v 1.1 2011/09/07 17:21:43 jlec Exp $
70
71 EAPI=4
72
73 inherit base qt4-r2
74
75 DESCRIPTION="Free cross-platform LaTeX editor (former texmakerX)"
76 HOMEPAGE="http://texstudio.sourceforge.net/"
77 SRC_URI="mirror://sourceforge/${PN}/${PN}/TeXstudio%20${PV}/${P}.tar.gz"
78
79 LICENSE="GPL-2"
80 SLOT="0"
81 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
82 IUSE="video"
83
84 COMMON_DEPEND="
85 app-text/hunspell
86 app-text/poppler[qt4]
87 x11-libs/libX11
88 x11-libs/libXext
89 >=x11-libs/qt-gui-4.6.1:4
90 >=x11-libs/qt-core-4.6.1:4
91 >=x11-libs/qt-script-4.6.1:4
92 >=x11-libs/qt-test-4.6.1:4
93 >=x11-libs/qt-webkit-4.6.1:4
94 video? ( media-libs/phonon )"
95 RDEPEND="${COMMON_DEPEND}
96 virtual/latex-base
97 app-text/psutils
98 app-text/ghostscript-gpl
99 media-libs/netpbm"
100 DEPEND="${COMMON_DEPEND}
101 dev-util/pkgconfig"
102
103 S="${WORKDIR}"/${P/-/}
104
105 PATCHES=( "${FILESDIR}/${P}-hunspell.patch" )
106
107 src_prepare() {
108 find hunspell -delete
109 sed 's:hunspell/hunspell:hunspell:g' -i *.h || die
110 if use video; then
111 sed "s:PHONON =:PHONON=true:g" -i ${PN}.pro || die
112 fi
113 qt4-r2_src_prepare
114 }