summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikle Kolyada <zlogene@gentoo.org>2019-09-13 14:21:14 +0300
committerMikle Kolyada <zlogene@gentoo.org>2019-09-13 14:22:28 +0300
commitf9326b0778de0569e36f59d6be43c4cbc5d1e7c2 (patch)
treefe2458b081679cb2eab75767140d891efe4ae424 /app-text
parentapp-text/zathura: Version bump (v0.4.4) (diff)
downloadgentoo-f9326b0778de0569e36f59d6be43c4cbc5d1e7c2.tar.gz
gentoo-f9326b0778de0569e36f59d6be43c4cbc5d1e7c2.tar.bz2
gentoo-f9326b0778de0569e36f59d6be43c4cbc5d1e7c2.zip
app-text/zathura: Sync live ebuild
Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
Diffstat (limited to 'app-text')
-rw-r--r--app-text/zathura/zathura-9999.ebuild43
1 files changed, 19 insertions, 24 deletions
diff --git a/app-text/zathura/zathura-9999.ebuild b/app-text/zathura/zathura-9999.ebuild
index fcb0645c0898..83ead1f313eb 100644
--- a/app-text/zathura/zathura-9999.ebuild
+++ b/app-text/zathura/zathura-9999.ebuild
@@ -1,9 +1,9 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
-inherit gnome2-utils meson virtualx xdg-utils
+inherit meson virtualx
DESCRIPTION="A highly customizable and functional document viewer"
HOMEPAGE="http://pwmt.org/projects/zathura/"
@@ -13,36 +13,41 @@ if [[ ${PV} == *9999 ]]; then
EGIT_REPO_URI="https://git.pwmt.org/pwmt/${PN}.git"
EGIT_BRANCH="develop"
else
- SRC_URI="https://pwmt.org/projects/zathura/download/${P}.tar.xz"
+ SRC_URI="https://github.com/pwmt/zathura/archive/${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
fi
LICENSE="ZLIB"
SLOT="0"
-IUSE="+magic seccomp sqlite synctex test"
+IUSE="doc +magic seccomp sqlite synctex test"
-RDEPEND=">=dev-libs/girara-0.3.1
+RESTRICT="!test? ( test )"
+
+DEPEND=">=dev-libs/girara-0.3.3
>=dev-libs/glib-2.50:2
- dev-python/sphinx
>=sys-devel/gettext-0.19.8
- x11-libs/cairo
+ x11-libs/cairo[X]
>=x11-libs/gtk+-3.22:3
magic? ( sys-apps/file )
seccomp? ( sys-libs/libseccomp )
sqlite? ( >=dev-db/sqlite-3.5.9:3 )
synctex? ( app-text/texlive-core )"
-DEPEND="${RDEPEND}
- test? ( dev-libs/check )"
+RDEPEND="${DEPEND}"
-BDEPEND="virtual/pkgconfig"
+BDEPEND="doc? ( dev-python/sphinx )
+ test? ( dev-libs/appstream-glib
+ dev-libs/check )
+ virtual/pkgconfig"
src_configure() {
local emesonargs=(
- -Denable-magic=$(usex magic true false)
- -Denable-seccomp=$(usex seccomp true false)
- -Denable-sqlite=$(usex sqlite true false)
- -Denable-synctex=$(usex synctex true false)
+ -Dconvert-icon=disabled
+ -Dmagic=$(usex magic enabled disabled)
+ -Dmanpages=$(usex doc enabled disabled)
+ -Dseccomp=$(usex seccomp enabled disabled)
+ -Dsqlite=$(usex sqlite enabled disabled)
+ -Dsynctex=$(usex synctex enabled disabled)
)
meson_src_configure
}
@@ -50,13 +55,3 @@ src_configure() {
src_test() {
virtx meson_src_test
}
-
-pkg_postinst() {
- gnome2_icon_cache_update
- xdg_desktop_database_update
-}
-
-pkg_postrm() {
- gnome2_icon_cache_update
- xdg_desktop_database_update
-}