1 |
commit: c129b3d1bf778ba053d1510c9a54bb80ff2bd83e |
2 |
Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Apr 15 17:49:17 2017 +0000 |
4 |
Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Apr 15 17:49:17 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c129b3d1 |
7 |
|
8 |
app-office/texstudio: Version bump to 2.12.4 |
9 |
|
10 |
Package-Manager: Portage-2.3.5, Repoman-2.3.2 |
11 |
|
12 |
app-office/texstudio/Manifest | 1 + |
13 |
app-office/texstudio/texstudio-2.12.4.ebuild | 91 ++++++++++++++++++++++++++++ |
14 |
2 files changed, 92 insertions(+) |
15 |
|
16 |
diff --git a/app-office/texstudio/Manifest b/app-office/texstudio/Manifest |
17 |
index 0716e73a136..14bfc76b772 100644 |
18 |
--- a/app-office/texstudio/Manifest |
19 |
+++ b/app-office/texstudio/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST texstudio-2.11.2.tar.gz 24143941 SHA256 d88ecfef92e38710563294079645fbfa19829ceebd9a109a68f6959c51ae94ad SHA512 774cea12339b19c7d33d034e75386415b89c59de1e149f3973bd0cf789a28c4cb1cdb026a897228303071dc05f985d4798924c6b253e964d6bdced877ab9f1e7 WHIRLPOOL 8b54419db50640abb0fc03ce3b1206c01bc1d245d0a5b605ccc44cfd6e2821651a18a00bfef7622f6c47bf79da23315704b50febe645373feb161f6f68d809a9 |
22 |
DIST texstudio-2.12.2.tar.gz 26311798 SHA256 3ffdaf0a3cb8bb9801e68ecba7641778b94121b4320de8751b79f2d8718cdcb1 SHA512 255b211fe715ffc91706ab20877ffaa4b8e0710d3e6f381e7a6b8eed19bb889d89d0913756839c1f0c427029c0da9713b78bd1e21769ccc46cf976b65c91c6f6 WHIRLPOOL 84b309579c31dfc77b9e0f86cb1c80381e65f295d27222fd54a471e3d3f12acdaaad21587fa788143db27f651617b566937c35a0de9de470e65192522e98b7d3 |
23 |
+DIST texstudio-2.12.4.tar.gz 26401510 SHA256 dc4752bd8a1c5249d87ccda780822aba65c59c607419b4cc0c0a788f953b210d SHA512 6e1d114ae87c854231399004504e460d078b9bf26ceb25c7fc592b79d3234f9880f8c021c3ddb2ef26a883dbddc2b94f98f368c976aa16973d3c1a6823a4150d WHIRLPOOL f547cfe1333eeba3692849c71b1f326eadf0bc9505a4626e9a0328814bc41339d77d812b97198d872e609f57f47d9f89c62023ef7cfd3ab99d2f2a00e7d3fc5c |
24 |
|
25 |
diff --git a/app-office/texstudio/texstudio-2.12.4.ebuild b/app-office/texstudio/texstudio-2.12.4.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..7ee81ab7acd |
28 |
--- /dev/null |
29 |
+++ b/app-office/texstudio/texstudio-2.12.4.ebuild |
30 |
@@ -0,0 +1,91 @@ |
31 |
+# Copyright 1999-2017 Gentoo Foundation |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=6 |
35 |
+ |
36 |
+inherit fdo-mime gnome2-utils prefix qmake-utils |
37 |
+ |
38 |
+DESCRIPTION="Free cross-platform LaTeX editor (fork from texmakerX)" |
39 |
+HOMEPAGE="http://texstudio.sourceforge.net/" |
40 |
+SRC_URI="mirror://sourceforge/${PN}/${PN}/TeXstudio%20${PV}/${P}.tar.gz" |
41 |
+ |
42 |
+LICENSE="GPL-2" |
43 |
+SLOT="0" |
44 |
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd" |
45 |
+IUSE="video" |
46 |
+ |
47 |
+COMMON_DEPEND=" |
48 |
+ app-text/hunspell:= |
49 |
+ app-text/poppler[qt5] |
50 |
+ >=dev-libs/quazip-0.7.2[qt5] |
51 |
+ dev-qt/designer:5 |
52 |
+ dev-qt/qtcore:5 |
53 |
+ dev-qt/qtconcurrent:5 |
54 |
+ dev-qt/qtgui:5 |
55 |
+ dev-qt/qtnetwork:5 |
56 |
+ dev-qt/qtprintsupport:5 |
57 |
+ dev-qt/qtscript:5 |
58 |
+ dev-qt/qtsingleapplication[qt5,X] |
59 |
+ dev-qt/qtsvg:5 |
60 |
+ dev-qt/qttest:5 |
61 |
+ dev-qt/qtwidgets:5 |
62 |
+ dev-qt/qtxml:5 |
63 |
+ sys-libs/zlib |
64 |
+ x11-libs/libX11 |
65 |
+ x11-libs/libXext |
66 |
+ video? ( media-libs/phonon[qt5] )" |
67 |
+RDEPEND="${COMMON_DEPEND} |
68 |
+ app-text/ghostscript-gpl |
69 |
+ app-text/psutils |
70 |
+ media-libs/netpbm |
71 |
+ virtual/latex-base" |
72 |
+DEPEND="${COMMON_DEPEND} |
73 |
+ virtual/pkgconfig" |
74 |
+ |
75 |
+S=${WORKDIR}/${PN}${PV} |
76 |
+ |
77 |
+src_prepare() { |
78 |
+ default |
79 |
+ find hunspell quazip utilities/poppler-data qtsingleapplication -delete || die |
80 |
+ |
81 |
+ if use video; then |
82 |
+ sed "/^PHONON/s:$:true:g" -i ${PN}.pro || die |
83 |
+ fi |
84 |
+ |
85 |
+ sed \ |
86 |
+ -e '/qtsingleapplication.pri/d' \ |
87 |
+ -i ${PN}.pro || die |
88 |
+ |
89 |
+ cp "${FILESDIR}"/texmakerx_my.pri ${PN}.pri || die |
90 |
+ eprefixify ${PN}.pri |
91 |
+ |
92 |
+ # fix build with quazip-0.7.2 - bug 597930 |
93 |
+ sed -i ${PN}.pro -e "s|include/quazip|&5|" || die |
94 |
+ sed -i ${PN}.pri -i ${PN}.pro -e "s/-lquazip/&5/" || die |
95 |
+} |
96 |
+ |
97 |
+src_configure() { |
98 |
+ eqmake5 USE_SYSTEM_HUNSPELL=1 USE_SYSTEM_QUAZIP=1 |
99 |
+} |
100 |
+ |
101 |
+src_install() { |
102 |
+ local i |
103 |
+ for i in 16x16 22x22 32x32 48x48 64x64 128x128; do |
104 |
+ newicon -s ${i} utilities/${PN}${i}.png ${PN}.png |
105 |
+ done |
106 |
+ emake DESTDIR="${D}" INSTALL_ROOT="${ED}" install |
107 |
+} |
108 |
+ |
109 |
+pkg_preinst() { |
110 |
+ gnome2_icon_savelist |
111 |
+} |
112 |
+ |
113 |
+pkg_postinst() { |
114 |
+ fdo-mime_desktop_database_update |
115 |
+ gnome2_icon_cache_update |
116 |
+} |
117 |
+ |
118 |
+pkg_postrm() { |
119 |
+ fdo-mime_desktop_database_update |
120 |
+ gnome2_icon_cache_update |
121 |
+} |