From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 30EB8138335 for ; Fri, 13 Sep 2019 11:22:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5DE71E0C8A; Fri, 13 Sep 2019 11:22:36 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id EF627E0C8A for ; Fri, 13 Sep 2019 11:22:35 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8E13E34B103 for ; Fri, 13 Sep 2019 11:22:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B155A7E7 for ; Fri, 13 Sep 2019 11:22:32 +0000 (UTC) From: "Mikle Kolyada" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mikle Kolyada" Message-ID: <1568373748.f9326b0778de0569e36f59d6be43c4cbc5d1e7c2.zlogene@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/zathura/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-text/zathura/zathura-9999.ebuild X-VCS-Directories: app-text/zathura/ X-VCS-Committer: zlogene X-VCS-Committer-Name: Mikle Kolyada X-VCS-Revision: f9326b0778de0569e36f59d6be43c4cbc5d1e7c2 X-VCS-Branch: master Date: Fri, 13 Sep 2019 11:22:32 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 78dcc823-8159-4e91-9f61-cb8b4edd4d0d X-Archives-Hash: 4e7292a77d597e5b38b4264a42fbb88a commit: f9326b0778de0569e36f59d6be43c4cbc5d1e7c2 Author: Mikle Kolyada gentoo org> AuthorDate: Fri Sep 13 11:21:14 2019 +0000 Commit: Mikle Kolyada gentoo org> CommitDate: Fri Sep 13 11:22:28 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9326b07 app-text/zathura: Sync live ebuild Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Mikle Kolyada gentoo.org> app-text/zathura/zathura-9999.ebuild | 43 ++++++++++++++++-------------------- 1 file changed, 19 insertions(+), 24 deletions(-) diff --git a/app-text/zathura/zathura-9999.ebuild b/app-text/zathura/zathura-9999.ebuild index fcb0645c089..83ead1f313e 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 -}