aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNickolas Raymond Kaczynski <nrk@disroot.org>2023-01-10 10:53:21 +0600
committerNickolas Raymond Kaczynski <nrk@disroot.org>2023-01-10 10:53:21 +0600
commit2ad9d995c5bab4163fa2037b9864dc5c73aeb891 (patch)
tree5d4eb8f35e162e3bb5371fe20d6b93ab2ad1ebbb
parentapp-misc/anki-bin: add 2.1.56, drop 2.1.55 (diff)
downloadguru-2ad9d995c5bab4163fa2037b9864dc5c73aeb891.tar.gz
guru-2ad9d995c5bab4163fa2037b9864dc5c73aeb891.tar.bz2
guru-2ad9d995c5bab4163fa2037b9864dc5c73aeb891.zip
media-gfx/nsxiv: build with animated image support uncondionally
gentoo repos already have sufficient version of imlib2 and the binary size saved by compiling out animation support is just 1kb. Signed-off-by: Nickolas Raymond Kaczynski <nrk@disroot.org>
-rw-r--r--media-gfx/nsxiv/metadata.xml1
-rw-r--r--media-gfx/nsxiv/nsxiv-9999.ebuild7
2 files changed, 3 insertions, 5 deletions
diff --git a/media-gfx/nsxiv/metadata.xml b/media-gfx/nsxiv/metadata.xml
index 0f74c8e53..cde50557f 100644
--- a/media-gfx/nsxiv/metadata.xml
+++ b/media-gfx/nsxiv/metadata.xml
@@ -8,7 +8,6 @@
<remote-id type="github">nsxiv/nsxiv</remote-id>
</upstream>
<use>
- <flag name="animated">Add animated image support</flag>
<flag name="gif">Add animated gif support</flag>
<flag name="statusbar">Add statusbar support</flag>
<flag name="webp">Add animated webp support</flag>
diff --git a/media-gfx/nsxiv/nsxiv-9999.ebuild b/media-gfx/nsxiv/nsxiv-9999.ebuild
index 0c6c27ce0..aef44e615 100644
--- a/media-gfx/nsxiv/nsxiv-9999.ebuild
+++ b/media-gfx/nsxiv/nsxiv-9999.ebuild
@@ -18,14 +18,13 @@ HOMEPAGE="https://codeberg.org/nsxiv/nsxiv"
LICENSE="GPL-2"
SLOT="0"
-IUSE="+statusbar +animated +inotify exif"
+IUSE="+statusbar +inotify exif"
RDEPEND="
x11-libs/libX11
- media-libs/imlib2[X]
+ >=media-libs/imlib2-1.8.0[X]
statusbar? ( x11-libs/libXft )
exif? ( media-libs/libexif )
- animated? ( >=media-libs/imlib2-1.8.0[X] )
"
DEPEND="${RDEPEND}"
@@ -73,7 +72,7 @@ pkg_postinst() {
einfo "${PN} uses media-libs/imlib2 for loading images."
einfo "To enable/disable support for specific image formats,"
- einfo "toggle the necessary USE flag for imlib2."
+ einfo "toggle the necessary USE flag for media-libs/imlib2."
}
pkg_postrm() {