1 |
commit: 469ac8977f76ff4e2aec9c054839f7e1116f52c1 |
2 |
Author: layman <layman <AT> localhost> |
3 |
AuthorDate: Thu Oct 6 00:40:39 2016 +0000 |
4 |
Commit: Jan Psota <jasiupsota <AT> gmail <DOT> com> |
5 |
CommitDate: Thu Oct 6 00:40:39 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/user/bleeding-edge.git/commit/?id=469ac897 |
7 |
|
8 |
app-office/texstudio-2.11.2 ebuild by Andreas G. <m-gentoo <AT> andig.net> - bump bug 595996 |
9 |
|
10 |
app-office/texstudio/Manifest | 1 + |
11 |
app-office/texstudio/files/texmakerx_my.pri | 18 +++++ |
12 |
app-office/texstudio/texstudio-2.11.2.ebuild | 101 +++++++++++++++++++++++++++ |
13 |
app-portage/portage-utils/files/qportage | 0 |
14 |
app-portage/portage-utils/files/qtail | 0 |
15 |
net-mail/libdbx/files/dbx2mbox | 0 |
16 |
6 files changed, 120 insertions(+) |
17 |
|
18 |
diff --git a/app-office/texstudio/Manifest b/app-office/texstudio/Manifest |
19 |
new file mode 100644 |
20 |
index 0000000..eafded1 |
21 |
--- /dev/null |
22 |
+++ b/app-office/texstudio/Manifest |
23 |
@@ -0,0 +1 @@ |
24 |
+DIST texstudio-2.11.2.tar.gz 24143941 SHA256 d88ecfef92e38710563294079645fbfa19829ceebd9a109a68f6959c51ae94ad SHA512 774cea12339b19c7d33d034e75386415b89c59de1e149f3973bd0cf789a28c4cb1cdb026a897228303071dc05f985d4798924c6b253e964d6bdced877ab9f1e7 WHIRLPOOL 8b54419db50640abb0fc03ce3b1206c01bc1d245d0a5b605ccc44cfd6e2821651a18a00bfef7622f6c47bf79da23315704b50febe645373feb161f6f68d809a9 |
25 |
|
26 |
diff --git a/app-office/texstudio/files/texmakerx_my.pri b/app-office/texstudio/files/texmakerx_my.pri |
27 |
new file mode 100644 |
28 |
index 0000000..06426fc |
29 |
--- /dev/null |
30 |
+++ b/app-office/texstudio/files/texmakerx_my.pri |
31 |
@@ -0,0 +1,18 @@ |
32 |
+CONFIG += link_pkgconfig |
33 |
+ |
34 |
+# System Quazip |
35 |
+INCLUDEPATH += @GENTOO_PORTAGE_EPREFIX@/usr/include/quazip |
36 |
+LIBS += -lquazip |
37 |
+#INCLUDEPATH += @GENTOO_PORTAGE_EPREFIX@/usr/include/qt4/QCodeEdit |
38 |
+#INCLUDEPATH += @GENTOO_PORTAGE_EPREFIX@/usr/include/qt4/QtSolutions |
39 |
+ |
40 |
+# System hunspell |
41 |
+PKGCONFIG += hunspell |
42 |
+ |
43 |
+# System qtsingleapplication |
44 |
+#QT += solutions |
45 |
+CONFIG += qtsingleapplication |
46 |
+ |
47 |
+# System qcodeedit |
48 |
+# Not working currently |
49 |
+#CONFIG += qcodeedit |
50 |
|
51 |
diff --git a/app-office/texstudio/texstudio-2.11.2.ebuild b/app-office/texstudio/texstudio-2.11.2.ebuild |
52 |
new file mode 100644 |
53 |
index 0000000..0bcdca4 |
54 |
--- /dev/null |
55 |
+++ b/app-office/texstudio/texstudio-2.11.2.ebuild |
56 |
@@ -0,0 +1,101 @@ |
57 |
+# Copyright 1999-2016 Gentoo Foundation |
58 |
+# Distributed under the terms of the GNU General Public License v2 |
59 |
+# $Id$ |
60 |
+ |
61 |
+EAPI=5 |
62 |
+ |
63 |
+inherit fdo-mime prefix qmake-utils |
64 |
+ |
65 |
+DESCRIPTION="Free cross-platform LaTeX editor (fork from texmakerX)" |
66 |
+HOMEPAGE="http://texstudio.sourceforge.net/" |
67 |
+SRC_URI="mirror://sourceforge/${PN}/${PN}/TeXstudio%20${PV}/${P}.tar.gz" |
68 |
+ |
69 |
+LICENSE="GPL-2" |
70 |
+SLOT="0" |
71 |
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd" |
72 |
+IUSE="video qt4 +qt5" |
73 |
+ |
74 |
+REQUIRED_USE="^^ ( qt4 qt5 )" |
75 |
+ |
76 |
+COMMON_DEPEND=" |
77 |
+ app-text/hunspell |
78 |
+ app-text/poppler:=[qt4?,qt5?] |
79 |
+ >=dev-libs/quazip-0.7.1[qt4?,qt5?] |
80 |
+ dev-qt/qtsingleapplication[X,qt4?,qt5?] |
81 |
+ x11-libs/libX11 |
82 |
+ x11-libs/libXext |
83 |
+ qt4? ( |
84 |
+ dev-qt/designer:4 |
85 |
+ >=dev-qt/qtgui-4.8.5:4 |
86 |
+ >=dev-qt/qtcore-4.6.1:4 |
87 |
+ >=dev-qt/qtscript-4.6.1:4 |
88 |
+ >=dev-qt/qtsvg-4.6.1:4 |
89 |
+ >=dev-qt/qttest-4.6.1:4 |
90 |
+ ) |
91 |
+ qt5? ( |
92 |
+ dev-qt/designer:5 |
93 |
+ dev-qt/qtcore:5 |
94 |
+ dev-qt/qtconcurrent:5 |
95 |
+ dev-qt/qtgui:5 |
96 |
+ dev-qt/qtnetwork:5 |
97 |
+ dev-qt/qtprintsupport:5 |
98 |
+ dev-qt/qtscript:5 |
99 |
+ dev-qt/qtsvg:5 |
100 |
+ dev-qt/qttest:5 |
101 |
+ dev-qt/qtwidgets:5 |
102 |
+ dev-qt/qtxml:5 |
103 |
+ ) |
104 |
+ video? ( media-libs/phonon[qt4?,qt5?] )" |
105 |
+RDEPEND="${COMMON_DEPEND} |
106 |
+ virtual/latex-base |
107 |
+ app-text/psutils |
108 |
+ app-text/ghostscript-gpl |
109 |
+ media-libs/netpbm" |
110 |
+DEPEND="${COMMON_DEPEND} |
111 |
+ virtual/pkgconfig" |
112 |
+ |
113 |
+S="${WORKDIR}" |
114 |
+ |
115 |
+src_prepare() { |
116 |
+ find hunspell quazip utilities/poppler-data qtsingleapplication -delete || die |
117 |
+ |
118 |
+ if use video; then |
119 |
+ sed "/^PHONON/s:$:true:g" -i ${PN}.pro || die |
120 |
+ fi |
121 |
+ |
122 |
+ sed \ |
123 |
+ -e '/qtsingleapplication.pri/d' \ |
124 |
+ -i ${PN}.pro || die |
125 |
+ |
126 |
+# cat >> ${PN}.pro <<- EOF |
127 |
+# exists(texmakerx_my.pri):include(texmakerx_my.pri) |
128 |
+# EOF |
129 |
+ |
130 |
+ cp "${FILESDIR}"/texmakerx_my.pri ${PN}.pri || die |
131 |
+ eprefixify ${PN}.pri |
132 |
+} |
133 |
+ |
134 |
+src_configure() { |
135 |
+ if use qt5; then |
136 |
+ eqmake5 USE_SYSTEM_HUNSPELL=1 USE_SYSTEM_QUAZIP=1 |
137 |
+ else |
138 |
+ eqmake4 USE_SYSTEM_HUNSPELL=1 USE_SYSTEM_QUAZIP=1 |
139 |
+ fi |
140 |
+} |
141 |
+ |
142 |
+src_install() { |
143 |
+ local i |
144 |
+ for i in 16x16 22x22 32x32 48x48 64x64 128x128; do |
145 |
+ insinto /usr/share/icons/hicolor/${i}/apps |
146 |
+ newins utilities/${PN}${i}.png ${PN}.png |
147 |
+ done |
148 |
+ emake DESTDIR="${D}" INSTALL_ROOT="${ED}" install |
149 |
+} |
150 |
+ |
151 |
+pkg_postinst() { |
152 |
+ fdo-mime_desktop_database_update |
153 |
+} |
154 |
+ |
155 |
+pkg_postrm() { |
156 |
+ fdo-mime_desktop_database_update |
157 |
+} |
158 |
|
159 |
diff --git a/app-portage/portage-utils/files/qportage b/app-portage/portage-utils/files/qportage |
160 |
old mode 100755 |
161 |
new mode 100644 |
162 |
|
163 |
diff --git a/app-portage/portage-utils/files/qtail b/app-portage/portage-utils/files/qtail |
164 |
old mode 100755 |
165 |
new mode 100644 |
166 |
|
167 |
diff --git a/net-mail/libdbx/files/dbx2mbox b/net-mail/libdbx/files/dbx2mbox |
168 |
old mode 100755 |
169 |
new mode 100644 |