1 |
commit: 2a5b475b452b770d76e8561cf9a600088849d69a |
2 |
Author: Jonas Stein <jstein <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jul 8 13:35:03 2018 +0000 |
4 |
Commit: Jonas Stein <jstein <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jul 8 13:35:03 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a5b475b |
7 |
|
8 |
app-office/texstudio: bump to 2.12.10 |
9 |
|
10 |
Version bump to 2.12.10 |
11 |
|
12 |
Package-Manager: Portage-2.3.41, Repoman-2.3.9 |
13 |
|
14 |
app-office/texstudio/Manifest | 1 + |
15 |
app-office/texstudio/texstudio-2.12.10.ebuild | 89 +++++++++++++++++++++++++++ |
16 |
2 files changed, 90 insertions(+) |
17 |
|
18 |
diff --git a/app-office/texstudio/Manifest b/app-office/texstudio/Manifest |
19 |
index 9b59224be56..de586539406 100644 |
20 |
--- a/app-office/texstudio/Manifest |
21 |
+++ b/app-office/texstudio/Manifest |
22 |
@@ -1,4 +1,5 @@ |
23 |
DIST texstudio-2.11.2.tar.gz 24143941 BLAKE2B 2c17b70cd497338ee9c7cd7fda0bdcb8775c3b487ae940fb0e755c8621d45a45a4381b064c0e18b9c134560e9a322d9c321453b01c3b05991d7d37467ea90f01 SHA512 774cea12339b19c7d33d034e75386415b89c59de1e149f3973bd0cf789a28c4cb1cdb026a897228303071dc05f985d4798924c6b253e964d6bdced877ab9f1e7 |
24 |
+DIST texstudio-2.12.10.tar.gz 26770850 BLAKE2B 7dba024c34f6cf53ff8cfa21eedb53bbf7fb5aba0b00d1c7983240a46c46360bf6fdd783ec539019a9d385dd6862fc3bb9a0198c234c9546798835e1621d11ff SHA512 c3d1e14df8efe3f37dd71e5d0148f57f117c666b9487712fca5a7bd967eca4f7951c970bc5bffab14daef4fb8497af33edf2fce23cc9ae4cf598d905d9312ef0 |
25 |
DIST texstudio-2.12.2.tar.gz 26311798 BLAKE2B 1eb3add771a28918f39c69bb167eee31456ab87afcff0f4ae66ccd73d96fdfba5cbfbc57666908f7e7ffb5c69fd2d5aebf342338b9e3a56d3c31fb774f9cd1a7 SHA512 255b211fe715ffc91706ab20877ffaa4b8e0710d3e6f381e7a6b8eed19bb889d89d0913756839c1f0c427029c0da9713b78bd1e21769ccc46cf976b65c91c6f6 |
26 |
DIST texstudio-2.12.4.tar.gz 26401510 BLAKE2B 53f1aca4f28154c5ae0f941e074e2da6d727dedf6b5604b301efccd95eea256a6cb91bf887985d81c65964c0e407cd1a8c2037a3bd73559aa115bec3954df744 SHA512 6e1d114ae87c854231399004504e460d078b9bf26ceb25c7fc592b79d3234f9880f8c021c3ddb2ef26a883dbddc2b94f98f368c976aa16973d3c1a6823a4150d |
27 |
DIST texstudio-2.12.6.tar.gz 26511069 BLAKE2B 95f2043222e15f96ed56dabb9bbbb937e3f8f1869cb667897bbdb48b99626089bf14a5e321c57ca5c9196d1cf2ce0beaad322b04d90f8a0b62189ff7c5be0d33 SHA512 16e846137b529f89f10dba3f847afe5a875ce1bc4029d002f76a1bcde491dd44756b27e38b4c5c159fcdb12b025759c8a0ebbbb8d8bd296e954b53032434170a |
28 |
|
29 |
diff --git a/app-office/texstudio/texstudio-2.12.10.ebuild b/app-office/texstudio/texstudio-2.12.10.ebuild |
30 |
new file mode 100644 |
31 |
index 00000000000..eb4cdb1b754 |
32 |
--- /dev/null |
33 |
+++ b/app-office/texstudio/texstudio-2.12.10.ebuild |
34 |
@@ -0,0 +1,89 @@ |
35 |
+# Copyright 1999-2018 Gentoo Foundation |
36 |
+# Distributed under the terms of the GNU General Public License v2 |
37 |
+ |
38 |
+EAPI=6 |
39 |
+ |
40 |
+inherit gnome2-utils prefix qmake-utils xdg-utils |
41 |
+ |
42 |
+DESCRIPTION="Free cross-platform LaTeX editor (fork from texmakerX)" |
43 |
+HOMEPAGE="https://www.texstudio.org https://github.com/texstudio-org/texstudio" |
44 |
+SRC_URI="https://github.com/texstudio-org/texstudio/archive/${PV}.tar.gz -> ${P}.tar.gz" |
45 |
+ |
46 |
+LICENSE="GPL-2" |
47 |
+SLOT="0" |
48 |
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd" |
49 |
+IUSE="video" |
50 |
+ |
51 |
+COMMON_DEPEND=" |
52 |
+ app-text/hunspell:= |
53 |
+ app-text/poppler[qt5] |
54 |
+ >=dev-libs/quazip-0.7.2[qt5(+)] |
55 |
+ dev-qt/designer:5 |
56 |
+ dev-qt/qtcore:5 |
57 |
+ dev-qt/qtconcurrent:5 |
58 |
+ dev-qt/qtgui:5 |
59 |
+ dev-qt/qtnetwork:5 |
60 |
+ dev-qt/qtprintsupport:5 |
61 |
+ dev-qt/qtscript:5 |
62 |
+ dev-qt/qtsingleapplication[qt5(+),X] |
63 |
+ dev-qt/qtsvg:5 |
64 |
+ dev-qt/qttest:5 |
65 |
+ dev-qt/qtwidgets:5 |
66 |
+ dev-qt/qtxml:5 |
67 |
+ sys-libs/zlib |
68 |
+ x11-libs/libX11 |
69 |
+ x11-libs/libXext |
70 |
+ video? ( media-libs/phonon[qt5(+)] )" |
71 |
+RDEPEND="${COMMON_DEPEND} |
72 |
+ app-text/ghostscript-gpl |
73 |
+ app-text/psutils |
74 |
+ media-libs/netpbm |
75 |
+ virtual/latex-base" |
76 |
+DEPEND="${COMMON_DEPEND} |
77 |
+ virtual/pkgconfig" |
78 |
+ |
79 |
+src_prepare() { |
80 |
+ default |
81 |
+ # TODO: find hunspell quazip utilities/poppler-data qtsingleapplication -delete || die |
82 |
+ |
83 |
+ if use video; then |
84 |
+ sed "/^PHONON/s:$:true:g" -i ${PN}.pro || die |
85 |
+ fi |
86 |
+ |
87 |
+ sed \ |
88 |
+ -e '/qtsingleapplication.pri/d' \ |
89 |
+ -i ${PN}.pro || die |
90 |
+ |
91 |
+ cp "${FILESDIR}"/texmakerx_my.pri ${PN}.pri || die |
92 |
+ eprefixify ${PN}.pri |
93 |
+ |
94 |
+ # fix build with quazip-0.7.2 - bug 597930 |
95 |
+ sed -i ${PN}.pro -e "s|include/quazip|&5|" || die |
96 |
+ sed -i ${PN}.pri -i ${PN}.pro -e "s/-lquazip/&5/" || die |
97 |
+} |
98 |
+ |
99 |
+src_configure() { |
100 |
+ eqmake5 USE_SYSTEM_HUNSPELL=1 USE_SYSTEM_QUAZIP=1 |
101 |
+} |
102 |
+ |
103 |
+src_install() { |
104 |
+ local i |
105 |
+ for i in 16x16 22x22 32x32 48x48 64x64 128x128; do |
106 |
+ newicon -s ${i} utilities/${PN}${i}.png ${PN}.png |
107 |
+ done |
108 |
+ emake DESTDIR="${D}" INSTALL_ROOT="${ED}" install |
109 |
+} |
110 |
+ |
111 |
+pkg_preinst() { |
112 |
+ gnome2_icon_savelist |
113 |
+} |
114 |
+ |
115 |
+pkg_postinst() { |
116 |
+ gnome2_icon_cache_update |
117 |
+ xdg_desktop_database_update |
118 |
+} |
119 |
+ |
120 |
+pkg_postrm() { |
121 |
+ gnome2_icon_cache_update |
122 |
+ xdg_desktop_database_update |
123 |
+} |