Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/zathura-cb/
Date: Tue, 14 Sep 2021 07:39:37
Message-Id: 1631605133.b115b759f8c78fb46dd431231328cacd15a29748.juippis@gentoo
1 commit: b115b759f8c78fb46dd431231328cacd15a29748
2 Author: NRK <nrk <AT> disroot <DOT> org>
3 AuthorDate: Fri Sep 10 10:51:40 2021 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Tue Sep 14 07:38:53 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b115b759
7
8 app-text/zathura-cb: add jpeg optfeature
9
10 Fixes: https://git.pwmt.org/pwmt/zathura/-/issues/213
11
12 Signed-off-by: Nickolas Raymond Kaczynski <nrk <AT> disroot.org>
13 Closes: https://github.com/gentoo/gentoo/pull/22258
14 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
15
16 app-text/zathura-cb/zathura-cb-0.1.8.ebuild | 4 +++-
17 app-text/zathura-cb/zathura-cb-9999.ebuild | 4 +++-
18 2 files changed, 6 insertions(+), 2 deletions(-)
19
20 diff --git a/app-text/zathura-cb/zathura-cb-0.1.8.ebuild b/app-text/zathura-cb/zathura-cb-0.1.8.ebuild
21 index 48ce63a869f..98bbcc88ced 100644
22 --- a/app-text/zathura-cb/zathura-cb-0.1.8.ebuild
23 +++ b/app-text/zathura-cb/zathura-cb-0.1.8.ebuild
24 @@ -3,7 +3,7 @@
25
26 EAPI=7
27
28 -inherit meson xdg-utils
29 +inherit meson xdg-utils optfeature
30
31 if [[ ${PV} == *9999 ]]; then
32 inherit git-r3
33 @@ -31,6 +31,8 @@ BDEPEND="virtual/pkgconfig"
34
35 pkg_postinst() {
36 xdg_desktop_database_update
37 +
38 + optfeature "jpeg support" x11-libs/gdk-pixbuf:=[jpeg]
39 }
40
41 pkg_postrm() {
42
43 diff --git a/app-text/zathura-cb/zathura-cb-9999.ebuild b/app-text/zathura-cb/zathura-cb-9999.ebuild
44 index 58014fc992e..2218f9a4ff8 100644
45 --- a/app-text/zathura-cb/zathura-cb-9999.ebuild
46 +++ b/app-text/zathura-cb/zathura-cb-9999.ebuild
47 @@ -3,7 +3,7 @@
48
49 EAPI=7
50
51 -inherit meson xdg-utils
52 +inherit meson xdg-utils optfeature
53
54 if [[ ${PV} == *9999 ]]; then
55 inherit git-r3
56 @@ -31,6 +31,8 @@ BDEPEND="virtual/pkgconfig"
57
58 pkg_postinst() {
59 xdg_desktop_database_update
60 +
61 + optfeature "jpeg support" x11-libs/gdk-pixbuf:=[jpeg]
62 }
63
64 pkg_postrm() {