1 |
commit: 2020a63854327bd20687274bfbb1c268923b3843 |
2 |
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Sep 2 08:39:46 2020 +0000 |
4 |
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Sep 2 08:40:42 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2020a638 |
7 |
|
8 |
app-office/texstudio: Version bump (v3.0.1) |
9 |
|
10 |
Package-Manager: Portage-3.0.4, Repoman-2.3.23 |
11 |
Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org> |
12 |
|
13 |
app-office/texstudio/Manifest | 1 + |
14 |
app-office/texstudio/texstudio-3.0.1.ebuild | 85 +++++++++++++++++++++++++++++ |
15 |
2 files changed, 86 insertions(+) |
16 |
|
17 |
diff --git a/app-office/texstudio/Manifest b/app-office/texstudio/Manifest |
18 |
index 3f84809af7e..b9dfdb530a0 100644 |
19 |
--- a/app-office/texstudio/Manifest |
20 |
+++ b/app-office/texstudio/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST texstudio-3.0.0.tar.gz 35982392 BLAKE2B 1eed56fe21aac141df41f251621a902a20153b0eaafc995b56fa8c3fbcc213685710e45202fbb90a071a0efac591c86588d4c5fe3727e603e0a58e149ed6864e SHA512 d922f576055fc345e7e0125074c6dbb473c6fb95aa06ae1ffc15f3b89fbdc7c5a44a13d4a32b770bef10c7bae7211a4bf3a269996eda1b3a0c8fd1ed8f3c4bb1 |
23 |
DIST texstudio-3.0.0_pre20200601.tar.gz 35982392 BLAKE2B 1eed56fe21aac141df41f251621a902a20153b0eaafc995b56fa8c3fbcc213685710e45202fbb90a071a0efac591c86588d4c5fe3727e603e0a58e149ed6864e SHA512 d922f576055fc345e7e0125074c6dbb473c6fb95aa06ae1ffc15f3b89fbdc7c5a44a13d4a32b770bef10c7bae7211a4bf3a269996eda1b3a0c8fd1ed8f3c4bb1 |
24 |
+DIST texstudio-3.0.1.tar.gz 35982392 BLAKE2B 1eed56fe21aac141df41f251621a902a20153b0eaafc995b56fa8c3fbcc213685710e45202fbb90a071a0efac591c86588d4c5fe3727e603e0a58e149ed6864e SHA512 d922f576055fc345e7e0125074c6dbb473c6fb95aa06ae1ffc15f3b89fbdc7c5a44a13d4a32b770bef10c7bae7211a4bf3a269996eda1b3a0c8fd1ed8f3c4bb1 |
25 |
|
26 |
diff --git a/app-office/texstudio/texstudio-3.0.1.ebuild b/app-office/texstudio/texstudio-3.0.1.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..549dc6356a4 |
29 |
--- /dev/null |
30 |
+++ b/app-office/texstudio/texstudio-3.0.1.ebuild |
31 |
@@ -0,0 +1,85 @@ |
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 prefix qmake-utils xdg-utils desktop |
38 |
+ |
39 |
+MY_PV="3.0.0alpha6" |
40 |
+ |
41 |
+DESCRIPTION="Free cross-platform LaTeX editor (fork from texmakerX)" |
42 |
+HOMEPAGE="https://www.texstudio.org https://github.com/texstudio-org/texstudio" |
43 |
+SRC_URI="https://github.com/texstudio-org/texstudio/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" |
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 |
+S=${WORKDIR}/${PN}-${MY_PV} |
80 |
+ |
81 |
+src_prepare() { |
82 |
+ default |
83 |
+ |
84 |
+ if use video; then |
85 |
+ sed "/^PHONON/s:$:true:g" -i ${PN}.pro || die |
86 |
+ fi |
87 |
+ |
88 |
+ sed \ |
89 |
+ -e '/qtsingleapplication.pri/d' \ |
90 |
+ -i ${PN}.pro || die |
91 |
+ |
92 |
+ cp "${FILESDIR}"/texmakerx_my.pri ${PN}.pri || die |
93 |
+ eprefixify ${PN}.pri |
94 |
+} |
95 |
+ |
96 |
+src_configure() { |
97 |
+ eqmake5 USE_SYSTEM_HUNSPELL=1 USE_SYSTEM_QUAZIP=1 |
98 |
+} |
99 |
+ |
100 |
+src_install() { |
101 |
+ local i |
102 |
+ for i in 16x16 22x22 32x32 48x48 64x64 128x128; do |
103 |
+ newicon -s ${i} utilities/${PN}${i}.png ${PN}.png |
104 |
+ done |
105 |
+ emake DESTDIR="${D}" INSTALL_ROOT="${ED}" install |
106 |
+} |
107 |
+ |
108 |
+pkg_postinst() { |
109 |
+ xdg_icon_cache_update |
110 |
+ xdg_desktop_database_update |
111 |
+} |
112 |
+ |
113 |
+pkg_postrm() { |
114 |
+ xdg_icon_cache_update |
115 |
+ xdg_desktop_database_update |
116 |
+} |