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-pdf-mupdf/
Date: Sun, 27 Oct 2019 17:54:56 +0000 (UTC)	[thread overview]
Message-ID: <1572198894.f943f3366f195f77db1cbf7949e4ad289bddd0ad.zlogene@gentoo> (raw)

commit:     f943f3366f195f77db1cbf7949e4ad289bddd0ad
Author:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 27 14:27:01 2019 +0000
Commit:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Sun Oct 27 17:54:54 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f943f336

app-text/zathura-pdf-mupdf: make patch conditional

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

 .../zathura-pdf-mupdf/zathura-pdf-mupdf-0.3.5.ebuild   | 18 +++++++++++++++---
 1 file changed, 15 insertions(+), 3 deletions(-)

diff --git a/app-text/zathura-pdf-mupdf/zathura-pdf-mupdf-0.3.5.ebuild b/app-text/zathura-pdf-mupdf/zathura-pdf-mupdf-0.3.5.ebuild
index ec8c60cf28e..fa515bf718e 100644
--- a/app-text/zathura-pdf-mupdf/zathura-pdf-mupdf-0.3.5.ebuild
+++ b/app-text/zathura-pdf-mupdf/zathura-pdf-mupdf-0.3.5.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit meson
+inherit meson xdg-utils
 
 if [[ ${PV} == *9999 ]]; then
 	inherit git-r3
@@ -20,7 +20,7 @@ HOMEPAGE="https://pwmt.org/projects/zathura-pdf-mupdf/"
 LICENSE="ZLIB"
 SLOT="0"
 
-DEPEND="app-text/mupdf
+DEPEND="app-text/mupdf:=
 	>=app-text/zathura-0.3.9
 	dev-libs/girara
 	dev-libs/glib:2
@@ -35,6 +35,18 @@ BDEPEND="virtual/pkgconfig"
 
 src_prepare() {
 	sed -i -e '/mupdfthird/d' meson.build || die "sed failed"
-	eapply "${FILESDIR}"/${PV}-compile-fix.patch
+
+	if has_version '<app-text/mupdf-1.16.1'; then
+		eapply "${FILESDIR}"/${PV}-compile-fix.patch
+	fi
+
 	default
 }
+
+pkg_postinst() {
+	xdg_desktop_database_update
+}
+
+pkg_postrm() {
+	xdg_desktop_database_update
+}


             reply	other threads:[~2019-10-27 17:55 UTC|newest]

Thread overview: 75+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-27 17:54 Mikle Kolyada [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-10-21 12:36 [gentoo-commits] repo/gentoo:master commit in: app-text/zathura-pdf-mupdf/ Joonas Niilola
2024-10-21 12:36 Joonas Niilola
2024-08-20  5:19 Joonas Niilola
2024-08-20  5:19 Joonas Niilola
2024-08-19 19:22 Sam James
2024-07-18  7:41 Joonas Niilola
2024-07-18  7:41 Joonas Niilola
2024-03-13  6:26 Arthur Zamarin
2024-03-13  0:54 Sam James
2024-03-12 19:29 Arthur Zamarin
2023-10-15  9:03 Viorel Munteanu
2023-10-15  9:03 Viorel Munteanu
2023-03-17 17:03 Sam James
2023-03-17 16:30 Arthur Zamarin
2023-01-09  8:33 Florian Schmaus
2022-10-28 18:55 Sam James
2022-10-28 18:55 Sam James
2022-10-28 14:55 Arthur Zamarin
2022-10-17 23:56 Sam James
2022-10-17 23:56 Sam James
2022-09-04 15:21 Florian Schmaus
2022-09-04 15:21 Florian Schmaus
2022-09-04 15:21 Florian Schmaus
2022-06-21 21:08 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-16 17:02 Florian Schmaus
2022-03-16 17:02 Florian Schmaus
2022-03-16 17:02 Florian Schmaus
2022-01-24 14:42 Sam James
2022-01-23 15:22 Sam James
2022-01-23 13:09 Jakov Smolić
2021-12-14 15:23 Florian Schmaus
2021-12-14 14:54 Florian Schmaus
2021-12-14 14:54 Florian Schmaus
2020-11-06 23:59 Sam James
2020-10-28 16:18 Sam James
2020-10-25 23:08 Thomas Deutschmann
2020-10-15 12:23 Thomas Deutschmann
2020-08-24 11:58 Mikle Kolyada
2019-11-22 11:11 Mikle Kolyada
2019-11-22 11:11 Mikle Kolyada
2019-09-13 11:26 Mikle Kolyada
2019-08-31 13:01 Mikle Kolyada
2018-12-23  9:24 Mikle Kolyada
2018-12-23  9:24 Mikle Kolyada
2018-12-11  9:58 Mikle Kolyada
2018-12-09 23:51 Thomas Deutschmann
2018-11-25 11:10 Mikle Kolyada
2018-11-17 14:02 Mikle Kolyada
2018-11-10 23:26 Mikle Kolyada
2018-11-10 23:21 Mikle Kolyada
2018-10-25 21:20 Mikle Kolyada
2018-10-14 18:54 Mikle Kolyada
2018-08-18 18:07 Virgil Dupras
2018-07-22 16:28 Mikle Kolyada
2018-04-15 11:34 David Seifert
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-08-20 19:16 Thomas Deutschmann
2017-07-15 15:17 Tobias Klausmann
2017-02-23 13:27 Michael Weber
2017-01-29 19:33 Michael Weber
2017-01-29 19:33 Michael Weber
2017-01-23  1:30 Michael Weber
2016-06-04 19:46 Michael Weber
2016-02-26 23:27 Michael Weber
2016-02-26 23:27 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=1572198894.f943f3366f195f77db1cbf7949e4ad289bddd0ad.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