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)