1 |
commit: 5ab76a7c58637868046230813fbc28571441afa3 |
2 |
Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Aug 25 15:43:36 2016 +0000 |
4 |
Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Aug 25 15:43:36 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ab76a7c |
7 |
|
8 |
app-office/texstudio: Version bump to 2.11.0 |
9 |
|
10 |
Gentoo-Bug: #581520 |
11 |
Gentoo-Bug: #586854 |
12 |
Gentoo-Bug: #584888 |
13 |
Gentoo-Bug: #590702 |
14 |
|
15 |
Package-Manager: portage-2.3.0 |
16 |
|
17 |
app-office/texstudio/Manifest | 1 + |
18 |
app-office/texstudio/texstudio-2.11.0.ebuild | 101 +++++++++++++++++++++++++++ |
19 |
2 files changed, 102 insertions(+) |
20 |
|
21 |
diff --git a/app-office/texstudio/Manifest b/app-office/texstudio/Manifest |
22 |
index 643e4d7..1b1fb4e 100644 |
23 |
--- a/app-office/texstudio/Manifest |
24 |
+++ b/app-office/texstudio/Manifest |
25 |
@@ -1,2 +1,3 @@ |
26 |
DIST texstudio-2.10.2.tar.gz 25669897 SHA256 0cf97c752ba30aba8a0536492893b71ed454c62e6a6e34cff65a8a4eeb308e64 SHA512 3c29b2ef0bb8ed290c66802ffc9419f39d5ff5c4905523ee3adb7177f1159739639d5e4eb9d038fd28472c6618e68b7839b9c816da462dd24046691ebcd9796c WHIRLPOOL e66da4486fa17aa940557af75a098cd03eeaefabe2bf16d38589a37fd065c313c911f76d44b7b81054ae8460a93da323d3472139445fa67df21bb661143ba607 |
27 |
DIST texstudio-2.10.8.tar.gz 26003322 SHA256 0a569544ceb0ff92e52ed57a34e8eb12e7a16eef1209320737aef5d5b81b3404 SHA512 3faa278f785dc1de34c5a502191430989f078d5301da93f1df13d70287e01322618fd146e1ee7c4c6714233a53affdbb92e3e67f5717b978d2fbe126c59da949 WHIRLPOOL 626d56e68df767e1b02a34f2abe9316c2d237d6e368294d7389c46394f3735d633bb0019da78da3194699cf3fbc3d257c489bbc63829b04199c681c11a688e8f |
28 |
+DIST texstudio-2.11.0.tar.gz 26263749 SHA256 170e6d68952251e8c64589b0d147cb7692005e135cc6fc14579c6fd593f54307 SHA512 773010bfa25de17e4deb0ae32325c26b5ff737bea837fba34fde28ec00d8e9a4d2c816d1f431c3c4e5a506354d1ff541e6b74bd36323e0fd3f20f4d389aab3be WHIRLPOOL 3f7b6feeeccef41f78da14a5f483a2f435ccc575b9ace3c4a3ab774426cd6ff5811ad662a5e210b7ae5223435b509392c634cb30e547535fe475b83e0ee84142 |
29 |
|
30 |
diff --git a/app-office/texstudio/texstudio-2.11.0.ebuild b/app-office/texstudio/texstudio-2.11.0.ebuild |
31 |
new file mode 100644 |
32 |
index 00000000..3fbe7c3 |
33 |
--- /dev/null |
34 |
+++ b/app-office/texstudio/texstudio-2.11.0.ebuild |
35 |
@@ -0,0 +1,101 @@ |
36 |
+# Copyright 1999-2016 Gentoo Foundation |
37 |
+# Distributed under the terms of the GNU General Public License v2 |
38 |
+# $Id$ |
39 |
+ |
40 |
+EAPI=5 |
41 |
+ |
42 |
+inherit fdo-mime prefix qmake-utils |
43 |
+ |
44 |
+DESCRIPTION="Free cross-platform LaTeX editor (fork from texmakerX)" |
45 |
+HOMEPAGE="http://texstudio.sourceforge.net/" |
46 |
+SRC_URI="mirror://sourceforge/${PN}/${PN}/TeXstudio%20${PV}/${P}.tar.gz" |
47 |
+ |
48 |
+LICENSE="GPL-2" |
49 |
+SLOT="0" |
50 |
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd" |
51 |
+IUSE="video qt4 +qt5" |
52 |
+ |
53 |
+REQUIRED_USE="^^ ( qt4 qt5 )" |
54 |
+ |
55 |
+COMMON_DEPEND=" |
56 |
+ app-text/hunspell |
57 |
+ app-text/poppler:=[qt4?,qt5?] |
58 |
+ >=dev-libs/quazip-0.7.1[qt4?,qt5?] |
59 |
+ dev-qt/qtsingleapplication[X,qt4?,qt5?] |
60 |
+ x11-libs/libX11 |
61 |
+ x11-libs/libXext |
62 |
+ qt4? ( |
63 |
+ dev-qt/designer:4 |
64 |
+ >=dev-qt/qtgui-4.8.5:4 |
65 |
+ >=dev-qt/qtcore-4.6.1:4 |
66 |
+ >=dev-qt/qtscript-4.6.1:4 |
67 |
+ >=dev-qt/qtsvg-4.6.1:4 |
68 |
+ >=dev-qt/qttest-4.6.1:4 |
69 |
+ ) |
70 |
+ qt5? ( |
71 |
+ dev-qt/designer:5 |
72 |
+ dev-qt/qtcore:5 |
73 |
+ dev-qt/qtconcurrent:5 |
74 |
+ dev-qt/qtgui:5 |
75 |
+ dev-qt/qtnetwork:5 |
76 |
+ dev-qt/qtprintsupport:5 |
77 |
+ dev-qt/qtscript:5 |
78 |
+ dev-qt/qtsvg:5 |
79 |
+ dev-qt/qttest:5 |
80 |
+ dev-qt/qtwidgets:5 |
81 |
+ dev-qt/qtxml:5 |
82 |
+ ) |
83 |
+ video? ( media-libs/phonon[qt4?,qt5?] )" |
84 |
+RDEPEND="${COMMON_DEPEND} |
85 |
+ virtual/latex-base |
86 |
+ app-text/psutils |
87 |
+ app-text/ghostscript-gpl |
88 |
+ media-libs/netpbm" |
89 |
+DEPEND="${COMMON_DEPEND} |
90 |
+ virtual/pkgconfig" |
91 |
+ |
92 |
+S="${WORKDIR}"/${P/-/} |
93 |
+ |
94 |
+src_prepare() { |
95 |
+ find hunspell quazip utilities/poppler-data qtsingleapplication -delete || die |
96 |
+ |
97 |
+ if use video; then |
98 |
+ sed "/^PHONON/s:$:true:g" -i ${PN}.pro || die |
99 |
+ fi |
100 |
+ |
101 |
+ sed \ |
102 |
+ -e '/qtsingleapplication.pri/d' \ |
103 |
+ -i ${PN}.pro || die |
104 |
+ |
105 |
+# cat >> ${PN}.pro <<- EOF |
106 |
+# exists(texmakerx_my.pri):include(texmakerx_my.pri) |
107 |
+# EOF |
108 |
+ |
109 |
+ cp "${FILESDIR}"/texmakerx_my.pri ${PN}.pri || die |
110 |
+ eprefixify ${PN}.pri |
111 |
+} |
112 |
+ |
113 |
+src_configure() { |
114 |
+ if use qt5; then |
115 |
+ eqmake5 USE_SYSTEM_HUNSPELL=1 USE_SYSTEM_QUAZIP=1 |
116 |
+ else |
117 |
+ eqmake4 USE_SYSTEM_HUNSPELL=1 USE_SYSTEM_QUAZIP=1 |
118 |
+ fi |
119 |
+} |
120 |
+ |
121 |
+src_install() { |
122 |
+ local i |
123 |
+ for i in 16x16 22x22 32x32 48x48 64x64 128x128; do |
124 |
+ insinto /usr/share/icons/hicolor/${i}/apps |
125 |
+ newins utilities/${PN}${i}.png ${PN}.png |
126 |
+ done |
127 |
+ emake DESTDIR="${D}" INSTALL_ROOT="${ED}" install |
128 |
+} |
129 |
+ |
130 |
+pkg_postinst() { |
131 |
+ fdo-mime_desktop_database_update |
132 |
+} |
133 |
+ |
134 |
+pkg_postrm() { |
135 |
+ fdo-mime_desktop_database_update |
136 |
+} |