From aec90632962b8bc48f23a1b5505d8afa0dfb6943 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 20 Jan 2024 02:08:45 +0000 Subject: gentoo auto-resync : 20:01:2024 - 02:08:45 --- media-gfx/imv/Manifest | 2 +- media-gfx/imv/imv-4.4.0-r1.ebuild | 83 +++++++++++++++++++++++++++++++++++++++ media-gfx/imv/imv-4.4.0.ebuild | 81 -------------------------------------- 3 files changed, 84 insertions(+), 82 deletions(-) create mode 100644 media-gfx/imv/imv-4.4.0-r1.ebuild delete mode 100644 media-gfx/imv/imv-4.4.0.ebuild (limited to 'media-gfx/imv') diff --git a/media-gfx/imv/Manifest b/media-gfx/imv/Manifest index 1564887b832c..7ae0345ee60f 100644 --- a/media-gfx/imv/Manifest +++ b/media-gfx/imv/Manifest @@ -1,4 +1,4 @@ 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 -EBUILD imv-4.4.0.ebuild 1953 BLAKE2B 95549a7a1428401ff9b6083380e5189373dfb299b55c232a7c8d446ee22f63fc86463b07b577d204c490a835f0a49351be2117ac3214c8ae2f822d45d4981b7e SHA512 8c5fb1c2d3dd8e8a01313a30d301b3d3d87e740b3d6cf9f32d9349469c8efff4db04c543cd3c4bab4a8bf2f754c31d7aa7c8bf63a0ba5e4c2dcc8ea4b36e516e +EBUILD imv-4.4.0-r1.ebuild 2089 BLAKE2B 85d25a347321f34595f88053f14de0c7e32428953f1a7d475951003df042a1621268a757f1beade0d09175c5faf717c8e30c80559dbc086ae51c9ab7b3d776d5 SHA512 a122b6704154f5f63f6cc27b3dca9f2a956879abae21af65bb0dccf796282b92c17ac334d4050366132993c4c3600ac405c0fb04353d3eee062e26b72b1e7f05 MISC metadata.xml 437 BLAKE2B 2be70afe81e59e1113948f9acc60788bae48ae2977865728299b6af28f0937d8dd80abc037e93438e6381790be02fcb2c6fa4bb8c14380b91e42656136d2f766 SHA512 3fd6b8fa1306250bd5bd55a8e90c9d6acd92278aa8aee5703e3df0c0c425c5e118446ed898d0aaa60e55423f4d94b9411c1a63ee9d637b79ecec63f5ab09f575 diff --git a/media-gfx/imv/imv-4.4.0-r1.ebuild b/media-gfx/imv/imv-4.4.0-r1.ebuild new file mode 100644 index 000000000000..fd3d130c7a8d --- /dev/null +++ b/media-gfx/imv/imv-4.4.0-r1.ebuild @@ -0,0 +1,83 @@ +# 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 x86" +IUSE="+X +freeimage gif heif icu jpeg 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[gif] 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? ( =dev-libs/libgrapheme-2:= ) + jpeg? ( media-libs/libjpeg-turbo:= ) + 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 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 +} diff --git a/media-gfx/imv/imv-4.4.0.ebuild b/media-gfx/imv/imv-4.4.0.ebuild deleted file mode 100644 index 37149c58e56a..000000000000 --- a/media-gfx/imv/imv-4.4.0.ebuild +++ /dev/null @@ -1,81 +0,0 @@ -# Copyright 1999-2023 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-with-advertising" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="+X +freeimage gif heif icu jpeg png svg test tiff wayland" -REQUIRED_USE="|| ( X wayland )" -RESTRICT="!test? ( test )" - -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 ) - heif? ( media-libs/libheif:= ) - icu? ( dev-libs/icu:= ) - !icu? ( >=dev-libs/libgrapheme-2:= ) - jpeg? ( media-libs/libjpeg-turbo:= ) - 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 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 -} -- cgit v1.2.3