From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1430886-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id F189D158094
	for <garchives@archives.gentoo.org>; Sat, 27 Aug 2022 23:10:18 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 53767E08D3;
	Sat, 27 Aug 2022 23:10:04 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 38A19E08FE
	for <gentoo-commits@lists.gentoo.org>; Sat, 27 Aug 2022 23:10:04 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 9939834132E
	for <gentoo-commits@lists.gentoo.org>; Sat, 27 Aug 2022 06:14:04 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id F37C05A1
	for <gentoo-commits@lists.gentoo.org>; Sat, 27 Aug 2022 06:14:02 +0000 (UTC)
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" <sam@gentoo.org>
Message-ID: <1661580736.d194026c3f297ce21c94de8f8b2293dbedc47087.sam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: app-office/texstudio/
X-VCS-Repository: repo/gentoo
X-VCS-Files: app-office/texstudio/Manifest app-office/texstudio/texstudio-4.3.1.ebuild app-office/texstudio/texstudio-9999.ebuild
X-VCS-Directories: app-office/texstudio/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: d194026c3f297ce21c94de8f8b2293dbedc47087
X-VCS-Branch: master
Date: Sat, 27 Aug 2022 06:14:02 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 622ef0dc-47d2-4c4f-bfc6-3351241186d1
X-Archives-Hash: ac22404992e817e0fa330f42ccf05c0d

commit:     d194026c3f297ce21c94de8f8b2293dbedc47087
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 27 06:12:03 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Aug 27 06:12:16 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d194026c

app-office/texstudio: add 4.3.1, drop 9999

Live ebuild was out of sync anyway & no template.

Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-office/texstudio/Manifest                           |  1 +
 .../{texstudio-9999.ebuild => texstudio-4.3.1.ebuild}   | 17 ++++++++++-------
 2 files changed, 11 insertions(+), 7 deletions(-)

diff --git a/app-office/texstudio/Manifest b/app-office/texstudio/Manifest
index affff84f7160..a0e41255833d 100644
--- a/app-office/texstudio/Manifest
+++ b/app-office/texstudio/Manifest
@@ -1,2 +1,3 @@
 DIST texstudio-4.1.2.tar.gz 88666134 BLAKE2B 7c4310fd0d8fd446b8844f11c687f55818f7314a2e0614ac26b8023f8fa7e5eca1b60a3b3c0ce61ccb15d383b61c24280a67dd530a907b4b8e00a965b10230bf SHA512 0b88f82514462c363e6dcee899f3681883ce9db1bb21cbf9e5e657208338bba4a6cdb79feeaefb242350bc01b83851c5d2704a7d0e2888034070ef2588b77964
 DIST texstudio-4.2.2.tar.gz 89234106 BLAKE2B a54b632ca6cf87410164f0a365f9a60b16cc51ea6ef12250b6ae6230ca7657615b3c91a88d995b2c654cbd42cda72b0e83af0b9471f87358f3f9a24270118d82 SHA512 b07dbe03b9b825fd2c6c057d996dad1247151d0034503d6e62426f0c4ff1e982da8eddf801e497bf9743349d41401ac9946f828c276f164aec0955c8324f5dea
+DIST texstudio-4.3.1.tar.gz 90529450 BLAKE2B 500f42f8a540aff97d8bb8d65262d6e0a758ccfb431fa00d9aa6e848d76da9eb1320dc3bc5a472e15d4492174e2817181271243c581830958c5e370751ed0b36 SHA512 6fc8717ed22e21947260d0af5c5b857f9b79476f28f400f9036134d9de2d9e11a605a871b6c8d520b366cb43f3fb61bb89c411e5c11aee1e87642e77fe1b0560

diff --git a/app-office/texstudio/texstudio-9999.ebuild b/app-office/texstudio/texstudio-4.3.1.ebuild
similarity index 79%
rename from app-office/texstudio/texstudio-9999.ebuild
rename to app-office/texstudio/texstudio-4.3.1.ebuild
index 8c4937f86d75..25a2b9ebb237 100644
--- a/app-office/texstudio/texstudio-9999.ebuild
+++ b/app-office/texstudio/texstudio-4.3.1.ebuild
@@ -1,18 +1,19 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
-inherit desktop git-r3 qmake-utils xdg
+inherit desktop qmake-utils xdg
 
 MY_PV="${PV/_/}"
 DESCRIPTION="Free cross-platform LaTeX editor (fork from texmakerX)"
 HOMEPAGE="https://www.texstudio.org https://github.com/texstudio-org/texstudio"
-EGIT_REPO_URI="https://github.com/texstudio-org/texstudio.git"
+SRC_URI="https://github.com/texstudio-org/texstudio/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
 S="${WORKDIR}/${PN}-${MY_PV}"
 
 LICENSE="GPL-2"
 SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
 IUSE="video"
 
 DEPEND="
@@ -50,8 +51,6 @@ PATCHES=(
 )
 
 src_prepare() {
-	xdg_src_prepare
-
 	# TODO: find hunspell quazip utilities/poppler-data qtsingleapplication -delete || die
 	rm -r src/quazip || die
 
@@ -61,10 +60,11 @@ src_prepare() {
 
 	sed -e "/qtsingleapplication.pri/s/.*/CONFIG += qtsingleapplication/" \
 		-i ${PN}.pro || die
+	default
 }
 
 src_configure() {
-	eqmake5 USE_SYSTEM_HUNSPELL=1 USE_SYSTEM_QUAZIP=1
+	eqmake5 USE_SYSTEM_HUNSPELL=1 USE_SYSTEM_QUAZIP=1 NO_TESTS=false
 }
 
 src_install() {
@@ -74,4 +74,7 @@ src_install() {
 	done
 
 	emake DESTDIR="${D}" INSTALL_ROOT="${ED}" install
+
+	# We don't install licences per package
+	rm "${ED}"/usr/share/texstudio/COPYING || die
 }