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: ChangeLog texstudio-2.8.0.ebuild
Date: Sun, 06 Jul 2014 11:00:52
Message-Id: 20140706110048.B55FF2004E@flycatcher.gentoo.org
1 jlec 14/07/06 11:00:48
2
3 Modified: ChangeLog
4 Added: texstudio-2.8.0.ebuild
5 Log:
6 app-office/texstudio: version BUmp, #515862
7
8 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!)
9
10 Revision Changes Path
11 1.26 app-office/texstudio/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/texstudio/ChangeLog?rev=1.26&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/texstudio/ChangeLog?rev=1.26&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/texstudio/ChangeLog?r1=1.25&r2=1.26
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-office/texstudio/ChangeLog,v
20 retrieving revision 1.25
21 retrieving revision 1.26
22 diff -u -r1.25 -r1.26
23 --- ChangeLog 20 Mar 2014 15:37:43 -0000 1.25
24 +++ ChangeLog 6 Jul 2014 11:00:48 -0000 1.26
25 @@ -1,6 +1,11 @@
26 # ChangeLog for app-office/texstudio
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-office/texstudio/ChangeLog,v 1.25 2014/03/20 15:37:43 jlec Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-office/texstudio/ChangeLog,v 1.26 2014/07/06 11:00:48 jlec Exp $
30 +
31 +*texstudio-2.8.0 (06 Jul 2014)
32 +
33 + 06 Jul 2014; Justin Lecher <jlec@g.o> +texstudio-2.8.0.ebuild:
34 + version BUmp, #515862
35
36 *texstudio-2.7.0 (20 Mar 2014)
37
38
39
40
41 1.1 app-office/texstudio/texstudio-2.8.0.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/texstudio/texstudio-2.8.0.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/texstudio/texstudio-2.8.0.ebuild?rev=1.1&content-type=text/plain
45
46 Index: texstudio-2.8.0.ebuild
47 ===================================================================
48 # Copyright 1999-2014 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/app-office/texstudio/texstudio-2.8.0.ebuild,v 1.1 2014/07/06 11:00:48 jlec Exp $
51
52 EAPI=5
53
54 inherit base fdo-mime prefix qt4-r2
55
56 DESCRIPTION="Free cross-platform LaTeX editor (fork from texmakerX)"
57 HOMEPAGE="http://texstudio.sourceforge.net/"
58 SRC_URI="mirror://sourceforge/${PN}/${PN}/TeXstudio%20${PV}/${P}.tar.gz"
59
60 LICENSE="GPL-2"
61 SLOT="0"
62 KEYWORDS="~amd64 ~x86 ~x86-fbsd"
63 IUSE="video"
64
65 COMMON_DEPEND="
66 app-text/hunspell
67 app-text/poppler:=[qt4]
68 dev-libs/quazip
69 x11-libs/libX11
70 x11-libs/libXext
71 || ( ( >=dev-qt/qtgui-4.8.5:4 dev-qt/designer:4 ) <dev-qt/qtgui-4.8.5:4 )
72 >=dev-qt/qtcore-4.6.1:4
73 >=dev-qt/qtscript-4.6.1:4
74 dev-qt/qtsingleapplication
75 >=dev-qt/qtsvg-4.6.1:4
76 >=dev-qt/qttest-4.6.1:4
77 video? ( media-libs/phonon )"
78 RDEPEND="${COMMON_DEPEND}
79 virtual/latex-base
80 app-text/psutils
81 app-text/ghostscript-gpl
82 media-libs/netpbm"
83 DEPEND="${COMMON_DEPEND}
84 virtual/pkgconfig"
85
86 S="${WORKDIR}"/${P/-/}
87
88 PATCHES=(
89 "${FILESDIR}"/${PN}-2.6.4-hunspell-quazip.patch
90 "${FILESDIR}"/${PN}-2.6.0-desktop.patch
91 # Get it from fedora
92 "${FILESDIR}"/${PN}-2.5-viewers-use-xdg-open.patch
93 )
94
95 src_prepare() {
96 find hunspell quazip utilities/poppler-data qtsingleapplication -delete || die
97
98 if use video; then
99 sed "/^PHONON/s:$:true:g" -i ${PN}.pro || die
100 fi
101
102 sed \
103 -e '/hunspell.pri/d' \
104 -e '/quazip.pri/d' \
105 -e '/qtsingleapplication.pri/d' \
106 -e '/QUAZIP_STATIC/d' \
107 -i ${PN}.pro || die
108
109 # cat >> ${PN}.pro <<- EOF
110 # exists(texmakerx_my.pri):include(texmakerx_my.pri)
111 # EOF
112
113 cp "${FILESDIR}"/texmakerx_my.pri ${PN}.pri || die
114 eprefixify ${PN}.pri
115
116 qt4-r2_src_prepare
117 }
118
119 src_install() {
120 local i
121 for i in 16x16 22x22 32x32 48x48 64x64; do
122 insinto /usr/share/icons/hicolor/${i}
123 newins utilities/${PN}${i}.png ${PN}.png
124 done
125 qt4-r2_src_install
126 }
127
128 pkg_postinst() {
129 fdo-mime_desktop_database_update
130 }