summaryrefslogtreecommitdiff
path: root/media-gfx
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-02-21 05:40:28 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-02-21 05:40:28 +0000
commitb08574f4102ea8282627f075758d981eb4ba6c56 (patch)
treee9089d8d349367b6fec26823430ba5754a23e558 /media-gfx
parent3fe8d2707d7ce24cce8f5d7eaa16b0b68cbaa2a4 (diff)
gentoo auto-resync : 21:02:2024 - 05:40:28
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/Manifest.gzbin37685 -> 37684 bytes
-rw-r--r--media-gfx/imv/Manifest2
-rw-r--r--media-gfx/imv/imv-4.5.0.ebuild88
3 files changed, 90 insertions, 0 deletions
diff --git a/media-gfx/Manifest.gz b/media-gfx/Manifest.gz
index 0719e3c43b40..b11855e3d54e 100644
--- a/media-gfx/Manifest.gz
+++ b/media-gfx/Manifest.gz
Binary files differ
diff --git a/media-gfx/imv/Manifest b/media-gfx/imv/Manifest
index 0dd140aa3c56..4572550e8845 100644
--- a/media-gfx/imv/Manifest
+++ b/media-gfx/imv/Manifest
@@ -1,4 +1,6 @@
AUX imv-4.3.1_p20211221-animated-gif.patch 504 BLAKE2B 8d2dd70e5b73efa82bc18976b1b51494d87402e7722393f8b53482ab0bfb775daec259b56e2250687228c7c5591925dbab66378c598008a1c6ca6dc977334f4d SHA512 df0f2ab81b1d2f41f9b03a89af6c3bb5688017e74874203b5109554a66e647b11c26798f1112cd4068702bcdf238a68ceef75ce1f90cd12496de4588d6227a83
DIST imv-4.4.0.tar.gz 80360 BLAKE2B c598bb270ed57562f1c1b9a56f42676a7c8390c976ed74405228da572b000a85bf69e51f1bbfa6d554a481debc092995fe5222ba1e8b0b029b72395a8b8f329b SHA512 ddc0740022183a5467a0815ca623d2204b26449fee14b00c3468d06dbba3b5c3314b04a582bbac6075205f8d58cc24f157e283ce1ce3d34ecf0a9bdc497ab7f1
+DIST imv-4.5.0.tar.gz 82559 BLAKE2B 100174071049ee711a868832ea297cc7fd43450145db9e71a631afb97d7d77574f37501b749734f47b3f2699d159ed05e5159fd9060c6f0a5de18b92708d9e9c SHA512 5a192e1721b4752ba98de23e4a709904f43cce6954d1bc4a8feb5fb4921b46d497915fb7b2885cf87a65983fe2727c856d6c0c8b0cca2906e4b069e4a4f9c417
EBUILD imv-4.4.0-r1.ebuild 2096 BLAKE2B 1ae54ce546688bdabce95e9542657e03d3e8c875a009c1500d088678165c63ca9376d1108393cbcdf283b9688dd863236fe5a0e972857991715b6f303138b922 SHA512 8aa4843c4ebecd2e35909422f1d5308ba15ab0eb2cb4695439372a8cb669351b79bdf929eba010e072c013135f84afd199fe23055b4ae9e8221636982a31a020
+EBUILD imv-4.5.0.ebuild 2166 BLAKE2B 1a998572d6f7785bbd5df08b852fb818ceb65557b974fb6270098f141940eddbe8bf7ce767043e1becb12d7279821cef3c491c3fb9c110badd3b1137c31822d4 SHA512 91b3c57e87bf442a8effc7107dcfeeb7260fb1a4c365f702ff8f37d4668382ebc8b65dd0c6725cac2c35f6e85214bc77924b42e8d9760f46d781e076c991753d
MISC metadata.xml 437 BLAKE2B 2be70afe81e59e1113948f9acc60788bae48ae2977865728299b6af28f0937d8dd80abc037e93438e6381790be02fcb2c6fa4bb8c14380b91e42656136d2f766 SHA512 3fd6b8fa1306250bd5bd55a8e90c9d6acd92278aa8aee5703e3df0c0c425c5e118446ed898d0aaa60e55423f4d94b9411c1a63ee9d637b79ecec63f5ab09f575
diff --git a/media-gfx/imv/imv-4.5.0.ebuild b/media-gfx/imv/imv-4.5.0.ebuild
new file mode 100644
index 000000000000..51d558ef4fe1
--- /dev/null
+++ b/media-gfx/imv/imv-4.5.0.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit meson xdg
+
+DESCRIPTION="Minimal image viewer designed for tiling window manager users"
+HOMEPAGE="https://sr.ht/~exec64/imv/"
+SRC_URI="https://git.sr.ht/~exec64/imv/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+S=${WORKDIR}/${PN}-v${PV}
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE="+X +freeimage gif heif icu jpeg jpegxl png svg test tiff wayland"
+REQUIRED_USE="|| ( X wayland )"
+RESTRICT="!test? ( test )"
+
+# bug #922496 wrt nsgif, kept for now but USE can be masked if old nsgif
+# removal is wanted (freeimage still allows non-animated gif display)
+RDEPEND="
+ dev-libs/glib:2
+ dev-libs/inih
+ media-libs/libglvnd[X?]
+ x11-libs/cairo
+ x11-libs/libxkbcommon[X?]
+ x11-libs/pango
+ X? (
+ x11-libs/libX11
+ x11-libs/libxcb:=
+ )
+ freeimage? ( media-libs/freeimage )
+ gif? ( <media-libs/libnsgif-1:= )
+ heif? ( media-libs/libheif:= )
+ icu? ( dev-libs/icu:= )
+ !icu? ( >=dev-libs/libgrapheme-2:= )
+ jpeg? ( media-libs/libjpeg-turbo:= )
+ jpegxl? ( media-libs/libjxl:= )
+ png? ( media-libs/libpng:= )
+ svg? ( >=gnome-base/librsvg-2.44:2 )
+ tiff? ( media-libs/tiff:= )
+ wayland? ( dev-libs/wayland )
+ !sys-apps/renameutils
+"
+DEPEND="
+ ${RDEPEND}
+ X? ( x11-base/xorg-proto )
+ test? ( dev-util/cmocka )
+"
+BDEPEND="
+ app-text/asciidoc
+ wayland? ( dev-util/wayland-scanner )
+"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-4.3.1_p20211221-animated-gif.patch
+)
+
+src_prepare() {
+ default
+
+ # if wayland-only, don't automagic on libGL and force libOpenGL
+ if use !X; then
+ sed -i "/dependency('gl'/{s/'gl'/'opengl'/;s/false/true/}" meson.build || die
+ fi
+
+ # glu isn't used by anything
+ sed -i "/dependency('glu')/d" meson.build || die
+}
+
+src_configure() {
+ local emesonargs=(
+ $(meson_feature freeimage)
+ $(meson_feature gif libnsgif)
+ $(meson_feature heif libheif)
+ $(meson_feature jpeg libjpeg)
+ $(meson_feature jpegxl libjxl)
+ $(meson_feature png libpng)
+ $(meson_feature svg librsvg)
+ $(meson_feature test)
+ $(meson_feature tiff libtiff)
+ -Dunicode=$(usex icu{,} grapheme)
+ -Dwindows=$(usex X $(usex wayland all x11) wayland)
+ )
+
+ meson_src_configure
+}