1 |
commit: 01e80846784f5d8bdbf20c19eca6c06cf7d144c9 |
2 |
Author: Jonas Stein <jstein <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Apr 7 15:43:20 2018 +0000 |
4 |
Commit: Jonas Stein <jstein <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Apr 7 15:43:34 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01e80846 |
7 |
|
8 |
app-office/texstudio: Bump to 2.12.8 |
9 |
|
10 |
Thanks to charIes17, who made a PR at the same time. |
11 |
Closes: https://bugs.gentoo.org/652642 |
12 |
Package-Manager: Portage-2.3.28, Repoman-2.3.9 |
13 |
|
14 |
app-office/texstudio/Manifest | 1 + |
15 |
app-office/texstudio/texstudio-2.12.8.ebuild | 89 ++++++++++++++++++++++++++++ |
16 |
2 files changed, 90 insertions(+) |
17 |
|
18 |
diff --git a/app-office/texstudio/Manifest b/app-office/texstudio/Manifest |
19 |
index 7bc0fdefeab..9b59224be56 100644 |
20 |
--- a/app-office/texstudio/Manifest |
21 |
+++ b/app-office/texstudio/Manifest |
22 |
@@ -2,3 +2,4 @@ DIST texstudio-2.11.2.tar.gz 24143941 BLAKE2B 2c17b70cd497338ee9c7cd7fda0bdcb877 |
23 |
DIST texstudio-2.12.2.tar.gz 26311798 BLAKE2B 1eb3add771a28918f39c69bb167eee31456ab87afcff0f4ae66ccd73d96fdfba5cbfbc57666908f7e7ffb5c69fd2d5aebf342338b9e3a56d3c31fb774f9cd1a7 SHA512 255b211fe715ffc91706ab20877ffaa4b8e0710d3e6f381e7a6b8eed19bb889d89d0913756839c1f0c427029c0da9713b78bd1e21769ccc46cf976b65c91c6f6 |
24 |
DIST texstudio-2.12.4.tar.gz 26401510 BLAKE2B 53f1aca4f28154c5ae0f941e074e2da6d727dedf6b5604b301efccd95eea256a6cb91bf887985d81c65964c0e407cd1a8c2037a3bd73559aa115bec3954df744 SHA512 6e1d114ae87c854231399004504e460d078b9bf26ceb25c7fc592b79d3234f9880f8c021c3ddb2ef26a883dbddc2b94f98f368c976aa16973d3c1a6823a4150d |
25 |
DIST texstudio-2.12.6.tar.gz 26511069 BLAKE2B 95f2043222e15f96ed56dabb9bbbb937e3f8f1869cb667897bbdb48b99626089bf14a5e321c57ca5c9196d1cf2ce0beaad322b04d90f8a0b62189ff7c5be0d33 SHA512 16e846137b529f89f10dba3f847afe5a875ce1bc4029d002f76a1bcde491dd44756b27e38b4c5c159fcdb12b025759c8a0ebbbb8d8bd296e954b53032434170a |
26 |
+DIST texstudio-2.12.8.tar.gz 26555418 BLAKE2B 172c36aed91d273629109412e43f947c00e7d37d392098cc012826391c88f461659764b6b8c4fcff3d84e6ba7b10a4adddcc4298267e0fa0448a61f4c9b9da15 SHA512 0076617f6421fa959c8c327bc81d4d27779358481b377d83856fe26b963d7c3c1e04d3b11e8f7eeb99cab9c089c8e7afcbb9c93a5aaccd00cf493792b802bfcb |
27 |
|
28 |
diff --git a/app-office/texstudio/texstudio-2.12.8.ebuild b/app-office/texstudio/texstudio-2.12.8.ebuild |
29 |
new file mode 100644 |
30 |
index 00000000000..7d52ce3ecf4 |
31 |
--- /dev/null |
32 |
+++ b/app-office/texstudio/texstudio-2.12.8.ebuild |
33 |
@@ -0,0 +1,89 @@ |
34 |
+# Copyright 1999-2018 Gentoo Foundation |
35 |
+# Distributed under the terms of the GNU General Public License v2 |
36 |
+ |
37 |
+EAPI=6 |
38 |
+ |
39 |
+inherit gnome2-utils prefix qmake-utils xdg-utils |
40 |
+ |
41 |
+DESCRIPTION="Free cross-platform LaTeX editor (fork from texmakerX)" |
42 |
+HOMEPAGE="http://www.texstudio.org/ https://github.com/texstudio-org/texstudio" |
43 |
+SRC_URI="https://github.com/texstudio-org/texstudio/archive/2.12.8.tar.gz -> ${P}.tar.gz" |
44 |
+ |
45 |
+LICENSE="GPL-2" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd" |
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 |
+ virtual/pkgconfig" |
77 |
+ |
78 |
+src_prepare() { |
79 |
+ default |
80 |
+ # TODO: find hunspell quazip utilities/poppler-data qtsingleapplication -delete || die |
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 |
+ # fix build with quazip-0.7.2 - bug 597930 |
94 |
+ sed -i ${PN}.pro -e "s|include/quazip|&5|" || die |
95 |
+ sed -i ${PN}.pri -i ${PN}.pro -e "s/-lquazip/&5/" || die |
96 |
+} |
97 |
+ |
98 |
+src_configure() { |
99 |
+ eqmake5 USE_SYSTEM_HUNSPELL=1 USE_SYSTEM_QUAZIP=1 |
100 |
+} |
101 |
+ |
102 |
+src_install() { |
103 |
+ local i |
104 |
+ for i in 16x16 22x22 32x32 48x48 64x64 128x128; do |
105 |
+ newicon -s ${i} utilities/${PN}${i}.png ${PN}.png |
106 |
+ done |
107 |
+ emake DESTDIR="${D}" INSTALL_ROOT="${ED}" install |
108 |
+} |
109 |
+ |
110 |
+pkg_preinst() { |
111 |
+ gnome2_icon_savelist |
112 |
+} |
113 |
+ |
114 |
+pkg_postinst() { |
115 |
+ gnome2_icon_cache_update |
116 |
+ xdg_desktop_database_update |
117 |
+} |
118 |
+ |
119 |
+pkg_postrm() { |
120 |
+ gnome2_icon_cache_update |
121 |
+ xdg_desktop_database_update |
122 |
+} |