public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Mikle Kolyada" <zlogene@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/zathura/
Date: Sat, 10 Nov 2018 23:14:13 +0000 (UTC)	[thread overview]
Message-ID: <1541891607.a062a2ebd781860c6c9acae130eed0aef017dee1.zlogene@gentoo> (raw)

commit:     a062a2ebd781860c6c9acae130eed0aef017dee1
Author:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 10 23:13:27 2018 +0000
Commit:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Sat Nov 10 23:13:27 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a062a2eb

app-text/zathura: update live ebuild

Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 app-text/zathura/zathura-9999.ebuild | 71 +++++++++++++++++-------------------
 1 file changed, 33 insertions(+), 38 deletions(-)

diff --git a/app-text/zathura/zathura-9999.ebuild b/app-text/zathura/zathura-9999.ebuild
index 89006688f4d..1b9071f73e7 100644
--- a/app-text/zathura/zathura-9999.ebuild
+++ b/app-text/zathura/zathura-9999.ebuild
@@ -1,69 +1,64 @@
 # Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=6
 
-inherit eutils multilib toolchain-funcs virtualx xdg-utils
+inherit gnome2-utils meson virtualx xdg-utils
+
+DESCRIPTION="A highly customizable and functional document viewer"
+HOMEPAGE="http://pwmt.org/projects/zathura/"
 
 if [[ ${PV} == *9999 ]]; then
 	inherit git-r3
-	EGIT_REPO_URI="https://git.pwmt.org/pwmt/zathura.git"
+	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"
 	KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
-	SRC_URI="http://pwmt.org/projects/${PN}/download/${P}.tar.gz"
 fi
 
-DESCRIPTION="A highly customizable and functional document viewer"
-HOMEPAGE="http://pwmt.org/projects/zathura/"
-
 LICENSE="ZLIB"
 SLOT="0"
-IUSE="+magic sqlite synctex test"
+IUSE="+magic seccomp sqlite synctex test"
+
+RDEPEND="dev-libs/appstream
+	>=dev-libs/girara-0.3.1
+	>=dev-libs/glib-2.50:2
+	dev-util/desktop-file-utils
+	dev-python/sphinx
+	x11-libs/cairo
+	>=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 )"
 
-RDEPEND=">=dev-libs/girara-0.2.7:=
-	>=dev-libs/glib-2.32:2=
-	x11-libs/cairo:=
-	>=x11-libs/gtk+-3.6:3
-	magic? ( sys-apps/file:= )
-	sqlite? ( dev-db/sqlite:3= )
-	synctex? ( >=app-text/texlive-core-2015 )"
 DEPEND="${RDEPEND}
-	sys-devel/gettext
-	virtual/pkgconfig
 	test? ( dev-libs/check )"
 
-src_configure() {
-	myzathuraconf=(
-		WITH_MAGIC=$(usex magic 1 0)
-		WITH_SQLITE=$(usex sqlite 1 0)
-		WITH_SYNCTEX=$(usex synctex 1 0)
-		PREFIX="${EPREFIX}"/usr
-		LIBDIR='${PREFIX}'/$(get_libdir)
-		CC="$(tc-getCC)"
-		SFLAGS=''
-		VERBOSE=1
-		DESTDIR="${D}"
-	)
-}
+BDEPEND="virtual/pkgconfig"
 
-src_compile() {
-	emake "${myzathuraconf[@]}"
+src_configure() {
+	local emesonargs=(
+		--libdir=/usr/$(get_libdir)
+		-Denable-magic=$(usex magic true false)
+		-Denable-seccomp=$(usex seccomp true false)
+		-Denable-sqlite=$(usex sqlite true false)
+		-Denable-synctex=$(usex synctex true false)
+		)
+	meson_src_configure
 }
 
 src_test() {
-	Xemake "${myzathuraconf[@]}" test
-}
-
-src_install() {
-	emake "${myzathuraconf[@]}" install
-	dodoc AUTHORS
+	virtx meson_src_test
 }
 
 pkg_postinst() {
+	gnome2_icon_cache_update
 	xdg_desktop_database_update
 }
 
 pkg_postrm() {
+	gnome2_icon_cache_update
 	xdg_desktop_database_update
 }


             reply	other threads:[~2018-11-10 23:14 UTC|newest]

Thread overview: 79+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-10 23:14 Mikle Kolyada [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-02-04 14:17 [gentoo-commits] repo/gentoo:master commit in: app-text/zathura/ Sam James
2024-10-21 12:36 Joonas Niilola
2024-10-21 12:36 Joonas Niilola
2024-10-21 12:36 Joonas Niilola
2024-08-29 13:19 Joonas Niilola
2024-03-13 10:11 Jakov Smolić
2024-03-13  7:57 Arthur Zamarin
2024-03-13  7:57 Arthur Zamarin
2024-01-21  4:36 Sam James
2024-01-21  4:02 Sam James
2023-08-29  1:51 Sam James
2023-08-29  1:31 Sam James
2023-08-29  1:31 Sam James
2023-08-29  1:31 Sam James
2023-03-07 11:42 Sam James
2023-03-06 13:04 Arthur Zamarin
2023-03-05 16:35 Arthur Zamarin
2023-01-23  0:56 Sam James
2023-01-21 15:38 Piotr Karbowski
2023-01-08 21:14 Piotr Karbowski
2023-01-08 15:34 Piotr Karbowski
2023-01-08 15:34 Piotr Karbowski
2022-10-17 23:56 Sam James
2022-06-02 12:02 Jakov Smolić
2022-05-05  3:54 Sam James
2022-05-05  3:54 Sam James
2022-03-27 23:20 Piotr Karbowski
2022-03-27 23:20 Piotr Karbowski
2022-01-23 15:22 Sam James
2022-01-21 12:42 Sam James
2022-01-21 12:40 Sam James
2021-10-16 20:54 Piotr Karbowski
2021-08-05 14:02 Yixun Lan
2020-09-20 13:51 David Seifert
2020-09-16 19:46 Piotr Karbowski
2020-08-28 21:41 Piotr Karbowski
2020-08-24 11:58 Mikle Kolyada
2020-01-08 13:25 Mikle Kolyada
2019-10-27 18:09 Mikle Kolyada
2019-09-13 11:22 Mikle Kolyada
2019-09-13 11:22 Mikle Kolyada
2019-04-28 18:15 Mikle Kolyada
2019-02-10  7:17 Mikle Kolyada
2019-01-16 13:22 Mikle Kolyada
2018-12-23  9:24 Mikle Kolyada
2018-12-23  8:13 Mikle Kolyada
2018-12-23  8:13 Mikle Kolyada
2018-12-11  9:58 Mikle Kolyada
2018-12-09 23:51 Thomas Deutschmann
2018-11-25 15:54 Mikle Kolyada
2018-11-25 15:53 Mikle Kolyada
2018-11-25 15:53 Mikle Kolyada
2018-11-25 10:47 Mikle Kolyada
2018-11-17 14:02 Mikle Kolyada
2018-10-10 18:36 Mikle Kolyada
2018-10-08 19:03 Mikle Kolyada
2018-10-08 16:57 Mikle Kolyada
2018-07-22 16:28 Mikle Kolyada
2018-04-14 17:24 Aaron Bauman
2018-04-12  0:54 Thomas Deutschmann
2018-01-28 16:19 Michael Weber
2018-01-28 16:19 Michael Weber
2017-12-25 19:17 David Seifert
2017-11-25 19:55 David Seifert
2017-08-20 19:16 Thomas Deutschmann
2017-07-15 15:17 Tobias Klausmann
2017-02-23 13:27 Michael Weber
2017-01-29 19:19 Michael Weber
2017-01-29 19:16 Michael Weber
2017-01-23  2:00 Michael Weber
2016-08-03  8:06 Michael Weber
2016-07-31 16:58 Maxim Koltsov
2016-02-26 23:27 Michael Weber
2016-02-26 23:27 Michael Weber
2016-02-04 18:54 Patrice Clement
2016-01-12 21:32 Michael Weber
2016-01-09  1:33 Michael Weber
2016-01-09  1:04 Michael Weber

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1541891607.a062a2ebd781860c6c9acae130eed0aef017dee1.zlogene@gentoo \
    --to=zlogene@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox