From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1475259-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 8813C15800F
	for <garchives@archives.gentoo.org>; Sun,  8 Jan 2023 15:34:19 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 3686AE077C;
	Sun,  8 Jan 2023 15:34:18 +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 ADA79E077C
	for <gentoo-commits@lists.gentoo.org>; Sun,  8 Jan 2023 15:34:17 +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 AB39A340FF0
	for <gentoo-commits@lists.gentoo.org>; Sun,  8 Jan 2023 15:34:16 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 12D95801
	for <gentoo-commits@lists.gentoo.org>; Sun,  8 Jan 2023 15:34:15 +0000 (UTC)
From: "Piotr Karbowski" <slashbeast@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, "Piotr Karbowski" <slashbeast@gentoo.org>
Message-ID: <1673192052.c44b3e68c1990b0ed81c22bfe752526fecada187.slashbeast@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/zathura/
X-VCS-Repository: repo/gentoo
X-VCS-Files: app-text/zathura/zathura-0.5.2-r1.ebuild app-text/zathura/zathura-0.5.2.ebuild app-text/zathura/zathura-9999.ebuild
X-VCS-Directories: app-text/zathura/
X-VCS-Committer: slashbeast
X-VCS-Committer-Name: Piotr Karbowski
X-VCS-Revision: c44b3e68c1990b0ed81c22bfe752526fecada187
X-VCS-Branch: master
Date: Sun,  8 Jan 2023 15:34:15 +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: 2d99d2cf-944a-48ee-9457-158214f9fb37
X-Archives-Hash: 7d354be6e40072d0d3e96130e061547f

commit:     c44b3e68c1990b0ed81c22bfe752526fecada187
Author:     Piotr Karbowski <slashbeast <AT> gentoo <DOT> org>
AuthorDate: Sun Jan  8 15:28:02 2023 +0000
Commit:     Piotr Karbowski <slashbeast <AT> gentoo <DOT> org>
CommitDate: Sun Jan  8 15:34:12 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c44b3e68

app-text/zathura: 0.5.2-r1, 9999: add subslot.

The plugins needs to be rebuilt after zathura updates in order to work.

Signed-off-by: Piotr Karbowski <slashbeast <AT> gentoo.org>

 .../{zathura-0.5.2.ebuild => zathura-0.5.2-r1.ebuild}     |  2 +-
 app-text/zathura/zathura-9999.ebuild                      | 15 +++++++++------
 2 files changed, 10 insertions(+), 7 deletions(-)

diff --git a/app-text/zathura/zathura-0.5.2.ebuild b/app-text/zathura/zathura-0.5.2-r1.ebuild
similarity index 98%
rename from app-text/zathura/zathura-0.5.2.ebuild
rename to app-text/zathura/zathura-0.5.2-r1.ebuild
index a348aaac0cce..88dfa8dc6291 100644
--- a/app-text/zathura/zathura-0.5.2.ebuild
+++ b/app-text/zathura/zathura-0.5.2-r1.ebuild
@@ -18,7 +18,7 @@ else
 fi
 
 LICENSE="ZLIB"
-SLOT="0"
+SLOT="0/$(ver_cut 1-2)"
 IUSE="doc seccomp sqlite synctex test"
 
 RESTRICT="!test? ( test )"

diff --git a/app-text/zathura/zathura-9999.ebuild b/app-text/zathura/zathura-9999.ebuild
index 0de2aed7939f..88dfa8dc6291 100644
--- a/app-text/zathura/zathura-9999.ebuild
+++ b/app-text/zathura/zathura-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -18,17 +18,17 @@ else
 fi
 
 LICENSE="ZLIB"
-SLOT="0"
-IUSE="doc +magic seccomp sqlite synctex test"
+SLOT="0/$(ver_cut 1-2)"
+IUSE="doc seccomp sqlite synctex test"
 
 RESTRICT="!test? ( test )"
 
-DEPEND=">=dev-libs/girara-0.3.6
+DEPEND=">=dev-libs/girara-0.3.7
 	>=dev-libs/glib-2.50:2
 	>=sys-devel/gettext-0.19.8
 	x11-libs/cairo
 	>=x11-libs/gtk+-3.22:3
-	magic? ( sys-apps/file )
+	sys-apps/file
 	seccomp? ( sys-libs/libseccomp )
 	sqlite? ( >=dev-db/sqlite-3.5.9:3 )
 	synctex? ( app-text/texlive-core )"
@@ -40,10 +40,13 @@ BDEPEND="doc? ( dev-python/sphinx )
 		dev-libs/check )
 	virtual/pkgconfig"
 
+PATCHES=(
+	"${FILESDIR}"/zathura-disable-seccomp-tests.patch
+)
+
 src_configure() {
 	local emesonargs=(
 		-Dconvert-icon=disabled
-		-Dmagic=$(usex magic enabled disabled)
 		-Dmanpages=$(usex doc enabled disabled)
 		-Dseccomp=$(usex seccomp enabled disabled)
 		-Dsqlite=$(usex sqlite enabled disabled)