commit:     58bedf3c6626a87feaf103580449abc948b24676
Author:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 28 13:58:11 2023 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Tue Feb 28 13:58:11 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58bedf3c

app-text/zathura-cb: sync live ebuild

Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 app-text/zathura-cb/zathura-cb-9999.ebuild | 21 ++++++---------------
 1 file changed, 6 insertions(+), 15 deletions(-)

diff --git a/app-text/zathura-cb/zathura-cb-9999.ebuild 
b/app-text/zathura-cb/zathura-cb-9999.ebuild
index 3686e39e9456..fa6f6f40d74b 100644
--- a/app-text/zathura-cb/zathura-cb-9999.ebuild
+++ b/app-text/zathura-cb/zathura-cb-9999.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-inherit meson xdg-utils optfeature
+inherit meson xdg
 
 if [[ ${PV} == *9999 ]]; then
        inherit git-r3
@@ -20,24 +20,15 @@ HOMEPAGE="https://pwmt.org/projects/zathura-cb/";
 LICENSE="ZLIB"
 SLOT="0"
 
-DEPEND="app-arch/libarchive:=
+RDEPEND="app-arch/libarchive:=
        >=app-text/zathura-0.3.9
        dev-libs/girara
        dev-libs/glib:2
        x11-libs/cairo
-       x11-libs/gdk-pixbuf:2
+       x11-libs/gdk-pixbuf:2[jpeg]
        x11-libs/gtk+:3"
 
-RDEPEND="${DEPEND}"
+DEPEND="${RDEPEND}
+       x11-base/xorg-proto"
 
 BDEPEND="virtual/pkgconfig"
-
-pkg_postinst() {
-       xdg_desktop_database_update
-
-       optfeature "jpeg support" x11-libs/gdk-pixbuf[jpeg]
-}
-
-pkg_postrm() {
-       xdg_desktop_database_update
-}

Reply via email to