1 |
commit: 97fbed22dec63814f4313eff496eef393ec4927f |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Dec 29 04:01:47 2020 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Dec 29 04:06:54 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97fbed22 |
7 |
|
8 |
app-office/texstudio: bump to 3.0.2 |
9 |
|
10 |
Package-Manager: Portage-3.0.9, Repoman-3.0.2 |
11 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
12 |
|
13 |
app-office/texstudio/Manifest | 1 + |
14 |
app-office/texstudio/texstudio-3.0.2.ebuild | 73 +++++++++++++++++++++++++++++ |
15 |
2 files changed, 74 insertions(+) |
16 |
|
17 |
diff --git a/app-office/texstudio/Manifest b/app-office/texstudio/Manifest |
18 |
index 6bd01f7372e..2d325d5963d 100644 |
19 |
--- a/app-office/texstudio/Manifest |
20 |
+++ b/app-office/texstudio/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST texstudio-3.0.0_pre20200601.tar.gz 35982392 BLAKE2B 1eed56fe21aac141df41f251621a902a20153b0eaafc995b56fa8c3fbcc213685710e45202fbb90a071a0efac591c86588d4c5fe3727e603e0a58e149ed6864e SHA512 d922f576055fc345e7e0125074c6dbb473c6fb95aa06ae1ffc15f3b89fbdc7c5a44a13d4a32b770bef10c7bae7211a4bf3a269996eda1b3a0c8fd1ed8f3c4bb1 |
23 |
DIST texstudio-3.0.1-r1.tar.gz 36144393 BLAKE2B 63dad681a56ce60a90c44ab71930e8a14a7f335eb7d40f906aab2f5ca10375f768bafc3ae9023574b04c2b5196bc495ef47fb5fc9d4f6438da0a747ebd857972 SHA512 aba57d9f45af259131d3ab47463a30bec24d8fa5b30a9c574308b8a7d6c1117acb1553df20ebe5855281510f82c4d55700a0db0dffeee1b69f2afec234e18b93 |
24 |
+DIST texstudio-3.0.2.tar.gz 83190497 BLAKE2B b04c035e969c27a9b527a7ab62c3384120c14f4d6178da977a5a3484e0709f63337fdebc23f0231d94376ee0222e7c5724fff74c118d311388af73e1470518f7 SHA512 68581f21487f3fb3d27b64650901396e4abdb0df9edbf8796efd5b8b31cc26b5fce123a09f704bafd7994f129c392f96e5a0af46fb637a64b5230251e1517f0d |
25 |
|
26 |
diff --git a/app-office/texstudio/texstudio-3.0.2.ebuild b/app-office/texstudio/texstudio-3.0.2.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..2ad5ecb8a4d |
29 |
--- /dev/null |
30 |
+++ b/app-office/texstudio/texstudio-3.0.2.ebuild |
31 |
@@ -0,0 +1,73 @@ |
32 |
+# Copyright 1999-2020 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+ |
37 |
+inherit desktop prefix qmake-utils xdg |
38 |
+ |
39 |
+MY_PV="${PV/_/}" |
40 |
+DESCRIPTION="Free cross-platform LaTeX editor (fork from texmakerX)" |
41 |
+HOMEPAGE="https://www.texstudio.org https://github.com/texstudio-org/texstudio" |
42 |
+SRC_URI="https://github.com/texstudio-org/texstudio/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" |
43 |
+S="${WORKDIR}/${PN}-${MY_PV}" |
44 |
+ |
45 |
+LICENSE="GPL-2" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" |
48 |
+IUSE="video" |
49 |
+ |
50 |
+COMMON_DEPEND=" |
51 |
+ app-text/hunspell:= |
52 |
+ app-text/poppler[qt5] |
53 |
+ >=dev-libs/quazip-0.7.2[qt5(+)] |
54 |
+ dev-qt/designer:5 |
55 |
+ dev-qt/qtcore:5 |
56 |
+ dev-qt/qtconcurrent:5 |
57 |
+ dev-qt/qtgui:5 |
58 |
+ dev-qt/qtnetwork:5 |
59 |
+ dev-qt/qtprintsupport:5 |
60 |
+ dev-qt/qtscript:5 |
61 |
+ dev-qt/qtsingleapplication[qt5(+),X] |
62 |
+ dev-qt/qtsvg:5 |
63 |
+ dev-qt/qttest:5 |
64 |
+ dev-qt/qtwidgets:5 |
65 |
+ dev-qt/qtxml:5 |
66 |
+ sys-libs/zlib |
67 |
+ x11-libs/libX11 |
68 |
+ x11-libs/libXext |
69 |
+ video? ( media-libs/phonon[qt5(+)] )" |
70 |
+RDEPEND="${COMMON_DEPEND} |
71 |
+ app-text/ghostscript-gpl |
72 |
+ app-text/psutils |
73 |
+ media-libs/netpbm |
74 |
+ virtual/latex-base" |
75 |
+DEPEND="${COMMON_DEPEND}" |
76 |
+ |
77 |
+BDEPEND="virtual/pkgconfig" |
78 |
+ |
79 |
+src_prepare() { |
80 |
+ default |
81 |
+ |
82 |
+ if use video; then |
83 |
+ sed "/^PHONON/s:$:true:g" -i ${PN}.pro || die |
84 |
+ fi |
85 |
+ |
86 |
+ sed \ |
87 |
+ -e '/qtsingleapplication.pri/d' \ |
88 |
+ -i ${PN}.pro || die |
89 |
+ |
90 |
+ cp "${FILESDIR}"/texmakerx_my.pri ${PN}.pri || die |
91 |
+ eprefixify ${PN}.pri |
92 |
+} |
93 |
+ |
94 |
+src_configure() { |
95 |
+ eqmake5 USE_SYSTEM_HUNSPELL=1 USE_SYSTEM_QUAZIP=1 |
96 |
+} |
97 |
+ |
98 |
+src_install() { |
99 |
+ local i |
100 |
+ for i in 16x16 22x22 32x32 48x48 64x64 128x128; do |
101 |
+ newicon -s ${i} utilities/${PN}${i}.png ${PN}.png |
102 |
+ done |
103 |
+ emake DESTDIR="${D}" INSTALL_ROOT="${ED}" install |
104 |
+} |