Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-office/texstudio/
Date: Sat, 02 Jan 2021 10:56:15
Message-Id: 1609584969.c611efd2fec6885295f8d02c0ab79bbe7ddc51c7.sam@gentoo
1 commit: c611efd2fec6885295f8d02c0ab79bbe7ddc51c7
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jan 2 10:55:02 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Sat Jan 2 10:56:09 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c611efd2
7
8 app-office/texstudio: bump to 3.0.4
9
10 Package-Manager: Portage-3.0.12, 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.4.ebuild | 73 +++++++++++++++++++++++++++++
15 2 files changed, 74 insertions(+)
16
17 diff --git a/app-office/texstudio/Manifest b/app-office/texstudio/Manifest
18 index 2d325d5963d..2e6758128ad 100644
19 --- a/app-office/texstudio/Manifest
20 +++ b/app-office/texstudio/Manifest
21 @@ -1,3 +1,4 @@
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 +DIST texstudio-3.0.4.tar.gz 83191627 BLAKE2B a800b369967051a7154a1ec5d00ae735477fdbb4237e6653bf5469c5fcfa1083fa28f56e3e6bda304821084281e1bf02dfdc4738e6762072d7fb43988e029641 SHA512 094fc53cab388d2e5f9ecfc1172a6ae853c04abe746ed03afe8819be3acdf4e7cb2bdf9ce1edda43fda9396c260f2063aa05ca9aae66871505555d7da6c49beb
26
27 diff --git a/app-office/texstudio/texstudio-3.0.4.ebuild b/app-office/texstudio/texstudio-3.0.4.ebuild
28 new file mode 100644
29 index 00000000000..fb40a058bc2
30 --- /dev/null
31 +++ b/app-office/texstudio/texstudio-3.0.4.ebuild
32 @@ -0,0 +1,73 @@
33 +# Copyright 1999-2021 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=7
37 +
38 +inherit desktop prefix qmake-utils xdg
39 +
40 +MY_PV="${PV/_/}"
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 +S="${WORKDIR}/${PN}-${MY_PV}"
45 +
46 +LICENSE="GPL-2"
47 +SLOT="0"
48 +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
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 +
78 +BDEPEND="virtual/pkgconfig"
79 +
80 +src_prepare() {
81 + default
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 +
95 +src_configure() {
96 + eqmake5 USE_SYSTEM_HUNSPELL=1 USE_SYSTEM_QUAZIP=1
97 +}
98 +
99 +src_install() {
100 + local i
101 + for i in 16x16 22x22 32x32 48x48 64x64 128x128; do
102 + newicon -s ${i} utilities/${PN}${i}.png ${PN}.png
103 + done
104 + emake DESTDIR="${D}" INSTALL_ROOT="${ED}" install
105 +}