summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNRK <nrk@disroot.org>2021-09-10 16:51:40 +0600
committerJoonas Niilola <juippis@gentoo.org>2021-09-14 10:38:53 +0300
commitb115b759f8c78fb46dd431231328cacd15a29748 (patch)
tree50646cd49d769a0dc51a21fc17e60db38cea0330 /app-text
parentdev-libs/libtpms: Remove old (diff)
downloadgentoo-b115b759f8c78fb46dd431231328cacd15a29748.tar.gz
gentoo-b115b759f8c78fb46dd431231328cacd15a29748.tar.bz2
gentoo-b115b759f8c78fb46dd431231328cacd15a29748.zip
app-text/zathura-cb: add jpeg optfeature
Fixes: https://git.pwmt.org/pwmt/zathura/-/issues/213 Signed-off-by: Nickolas Raymond Kaczynski <nrk@disroot.org> Closes: https://github.com/gentoo/gentoo/pull/22258 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'app-text')
-rw-r--r--app-text/zathura-cb/zathura-cb-0.1.8.ebuild4
-rw-r--r--app-text/zathura-cb/zathura-cb-9999.ebuild4
2 files changed, 6 insertions, 2 deletions
diff --git a/app-text/zathura-cb/zathura-cb-0.1.8.ebuild b/app-text/zathura-cb/zathura-cb-0.1.8.ebuild
index 48ce63a869f5..98bbcc88ced1 100644
--- a/app-text/zathura-cb/zathura-cb-0.1.8.ebuild
+++ b/app-text/zathura-cb/zathura-cb-0.1.8.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-inherit meson xdg-utils
+inherit meson xdg-utils optfeature
if [[ ${PV} == *9999 ]]; then
inherit git-r3
@@ -31,6 +31,8 @@ BDEPEND="virtual/pkgconfig"
pkg_postinst() {
xdg_desktop_database_update
+
+ optfeature "jpeg support" x11-libs/gdk-pixbuf:=[jpeg]
}
pkg_postrm() {
diff --git a/app-text/zathura-cb/zathura-cb-9999.ebuild b/app-text/zathura-cb/zathura-cb-9999.ebuild
index 58014fc992ed..2218f9a4ff84 100644
--- a/app-text/zathura-cb/zathura-cb-9999.ebuild
+++ b/app-text/zathura-cb/zathura-cb-9999.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-inherit meson xdg-utils
+inherit meson xdg-utils optfeature
if [[ ${PV} == *9999 ]]; then
inherit git-r3
@@ -31,6 +31,8 @@ BDEPEND="virtual/pkgconfig"
pkg_postinst() {
xdg_desktop_database_update
+
+ optfeature "jpeg support" x11-libs/gdk-pixbuf:=[jpeg]
}
pkg_postrm() {