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, 27 Aug 2022 23:10:18
Message-Id: 1661580736.d194026c3f297ce21c94de8f8b2293dbedc47087.sam@gentoo
1 commit: d194026c3f297ce21c94de8f8b2293dbedc47087
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Sat Aug 27 06:12:03 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Sat Aug 27 06:12:16 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d194026c
7
8 app-office/texstudio: add 4.3.1, drop 9999
9
10 Live ebuild was out of sync anyway & no template.
11
12 Signed-off-by: Sam James <sam <AT> gentoo.org>
13
14 app-office/texstudio/Manifest | 1 +
15 .../{texstudio-9999.ebuild => texstudio-4.3.1.ebuild} | 17 ++++++++++-------
16 2 files changed, 11 insertions(+), 7 deletions(-)
17
18 diff --git a/app-office/texstudio/Manifest b/app-office/texstudio/Manifest
19 index affff84f7160..a0e41255833d 100644
20 --- a/app-office/texstudio/Manifest
21 +++ b/app-office/texstudio/Manifest
22 @@ -1,2 +1,3 @@
23 DIST texstudio-4.1.2.tar.gz 88666134 BLAKE2B 7c4310fd0d8fd446b8844f11c687f55818f7314a2e0614ac26b8023f8fa7e5eca1b60a3b3c0ce61ccb15d383b61c24280a67dd530a907b4b8e00a965b10230bf SHA512 0b88f82514462c363e6dcee899f3681883ce9db1bb21cbf9e5e657208338bba4a6cdb79feeaefb242350bc01b83851c5d2704a7d0e2888034070ef2588b77964
24 DIST texstudio-4.2.2.tar.gz 89234106 BLAKE2B a54b632ca6cf87410164f0a365f9a60b16cc51ea6ef12250b6ae6230ca7657615b3c91a88d995b2c654cbd42cda72b0e83af0b9471f87358f3f9a24270118d82 SHA512 b07dbe03b9b825fd2c6c057d996dad1247151d0034503d6e62426f0c4ff1e982da8eddf801e497bf9743349d41401ac9946f828c276f164aec0955c8324f5dea
25 +DIST texstudio-4.3.1.tar.gz 90529450 BLAKE2B 500f42f8a540aff97d8bb8d65262d6e0a758ccfb431fa00d9aa6e848d76da9eb1320dc3bc5a472e15d4492174e2817181271243c581830958c5e370751ed0b36 SHA512 6fc8717ed22e21947260d0af5c5b857f9b79476f28f400f9036134d9de2d9e11a605a871b6c8d520b366cb43f3fb61bb89c411e5c11aee1e87642e77fe1b0560
26
27 diff --git a/app-office/texstudio/texstudio-9999.ebuild b/app-office/texstudio/texstudio-4.3.1.ebuild
28 similarity index 79%
29 rename from app-office/texstudio/texstudio-9999.ebuild
30 rename to app-office/texstudio/texstudio-4.3.1.ebuild
31 index 8c4937f86d75..25a2b9ebb237 100644
32 --- a/app-office/texstudio/texstudio-9999.ebuild
33 +++ b/app-office/texstudio/texstudio-4.3.1.ebuild
34 @@ -1,18 +1,19 @@
35 -# Copyright 1999-2021 Gentoo Authors
36 +# Copyright 1999-2022 Gentoo Authors
37 # Distributed under the terms of the GNU General Public License v2
38
39 -EAPI=7
40 +EAPI=8
41
42 -inherit desktop git-r3 qmake-utils xdg
43 +inherit desktop qmake-utils xdg
44
45 MY_PV="${PV/_/}"
46 DESCRIPTION="Free cross-platform LaTeX editor (fork from texmakerX)"
47 HOMEPAGE="https://www.texstudio.org https://github.com/texstudio-org/texstudio"
48 -EGIT_REPO_URI="https://github.com/texstudio-org/texstudio.git"
49 +SRC_URI="https://github.com/texstudio-org/texstudio/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
50 S="${WORKDIR}/${PN}-${MY_PV}"
51
52 LICENSE="GPL-2"
53 SLOT="0"
54 +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
55 IUSE="video"
56
57 DEPEND="
58 @@ -50,8 +51,6 @@ PATCHES=(
59 )
60
61 src_prepare() {
62 - xdg_src_prepare
63 -
64 # TODO: find hunspell quazip utilities/poppler-data qtsingleapplication -delete || die
65 rm -r src/quazip || die
66
67 @@ -61,10 +60,11 @@ src_prepare() {
68
69 sed -e "/qtsingleapplication.pri/s/.*/CONFIG += qtsingleapplication/" \
70 -i ${PN}.pro || die
71 + default
72 }
73
74 src_configure() {
75 - eqmake5 USE_SYSTEM_HUNSPELL=1 USE_SYSTEM_QUAZIP=1
76 + eqmake5 USE_SYSTEM_HUNSPELL=1 USE_SYSTEM_QUAZIP=1 NO_TESTS=false
77 }
78
79 src_install() {
80 @@ -74,4 +74,7 @@ src_install() {
81 done
82
83 emake DESTDIR="${D}" INSTALL_ROOT="${ED}" install
84 +
85 + # We don't install licences per package
86 + rm "${ED}"/usr/share/texstudio/COPYING || die
87 }