commit:     6fe4a0308ea68c368ee1bad9c99d40bc38679915
Author:     Nicolas PARLANT <nicolas.parlant <AT> parhuet <DOT> fr>
AuthorDate: Fri Jan 16 04:21:21 2026 +0000
Commit:     Nicolas PARLANT <ppn <AT> parhuet <DOT> fr>
CommitDate: Fri Jan 16 04:23:12 2026 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6fe4a030

media-gfx/swayimg: Bump to 4.7

Signed-off-by: Nicolas PARLANT <nicolas.parlant <AT> parhuet.fr>

 media-gfx/swayimg/Manifest           |  1 +
 media-gfx/swayimg/swayimg-4.7.ebuild | 89 ++++++++++++++++++++++++++++++++++++
 2 files changed, 90 insertions(+)

diff --git a/media-gfx/swayimg/Manifest b/media-gfx/swayimg/Manifest
index 04bc016fc9..ebf24f8331 100644
--- a/media-gfx/swayimg/Manifest
+++ b/media-gfx/swayimg/Manifest
@@ -1,2 +1,3 @@
 DIST swayimg-4.5.tar.gz 788904 BLAKE2B 
a92d8e439e0ca9d0b1a76e67bacc4a5489e9f90286c0bb6ca86e9934697e8b82dfde8b0c8190f709e9d318316035406ea55bfe6744c95e503eb2fb481b9332a8
 SHA512 
c193d3d3a56136279907138cfa832d1ec9991b17689949fb01150407591971bbf826a7898e23a5133905a25d2e35992bb45764e78c5844a8153771aab8ddbcdf
 DIST swayimg-4.6.tar.gz 791750 BLAKE2B 
3c7859d82cb444acde6b018df64133b67447b7e730252249bfa6b3be4c0c6c984f109084846d92e58fa3f99689999c52570dfadd41fef73427ab05df0ce3e6aa
 SHA512 
a2cd6f3a70b484e33a3f4d478ccda74f046b90622a2ce0c969f864c588358b38373f4755f29159295f4d368e28877536fca11d7c00ce9f83e99867a27d4d9e96
+DIST swayimg-4.7.tar.gz 793940 BLAKE2B 
854690eb0769830e5833db6ce83729adb0b08cdae46b833ef00e0be6fb18d7b196bd4cd76d506df72fec8ca0304247dd4655bbb5e10a41a8da4f2215d0faa1d1
 SHA512 
77384dc33702594a95f0e961b0677a695071e89a98bffdbc008331ddb143b228295dd0107733d3ddd44499cd5a32e6d61d94efe4ae9d9d45999be12fa9364b6e

diff --git a/media-gfx/swayimg/swayimg-4.7.ebuild 
b/media-gfx/swayimg/swayimg-4.7.ebuild
new file mode 100644
index 0000000000..28cf94de7c
--- /dev/null
+++ b/media-gfx/swayimg/swayimg-4.7.ebuild
@@ -0,0 +1,89 @@
+# Copyright 2023-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit meson xdg
+
+DESCRIPTION="Lightweight image viewer for Wayland display servers"
+HOMEPAGE="https://github.com/artemsen/swayimg";
+SRC_URI="https://github.com/artemsen/${PN}/archive/refs/tags/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="avif bash-completion drm exif exr gif heif jpeg jpegxl png raw sixel svg 
test tiff +wayland webp X"
+REQUIRED_USE="|| ( drm wayland )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+       media-libs/fontconfig
+       media-libs/freetype
+       x11-libs/libxkbcommon
+       avif? ( media-libs/libavif:= )
+       bash-completion? ( app-shells/bash-completion )
+       drm? ( x11-libs/libdrm )
+       exif? ( media-libs/libexif )
+       exr? ( media-libs/openexr:= )
+       gif? ( media-libs/giflib:= )
+       heif? ( media-libs/libheif:= )
+       jpeg? ( media-libs/libjpeg-turbo:= )
+       jpegxl? ( media-libs/libjxl:= )
+       png? ( media-libs/libpng:= )
+       raw? ( media-libs/libraw:= )
+       sixel? ( media-libs/libsixel )
+       svg? (
+               dev-libs/glib:2
+               gnome-base/librsvg:2
+               x11-libs/cairo[X=]
+       )
+       tiff? ( media-libs/tiff:= )
+       wayland? (
+               dev-libs/json-c:=
+               dev-libs/wayland
+       )
+       webp? ( media-libs/libwebp:= )
+"
+DEPEND="${RDEPEND}
+       svg? ( X? ( x11-base/xorg-proto ) )
+       wayland? ( dev-libs/wayland-protocols )
+"
+BDEPEND="
+       test? ( dev-cpp/gtest )
+       wayland? ( dev-util/wayland-scanner )
+"
+
+src_configure() {
+       local emesonargs=(
+               $(meson_feature avif)
+               $(meson_feature drm)
+               $(meson_feature exif)
+               $(meson_feature exr)
+               $(meson_feature gif)
+               $(meson_feature heif)
+               $(meson_feature jpeg)
+               $(meson_feature jpegxl jxl)
+               $(meson_feature png)
+               $(meson_feature raw)
+               $(meson_feature sixel)
+               $(meson_feature svg)
+               $(meson_feature test tests)
+               $(meson_feature tiff)
+               $(meson_feature wayland)
+               $(meson_feature wayland compositor)
+               $(meson_feature webp)
+               $(meson_feature bash-completion bash)
+               -Dversion=${PV}
+               -Ddesktop=true
+               # avoid automagic building with scdoc
+               -Dman=false
+               -Dzsh=enabled
+       )
+       meson_src_configure
+}
+
+src_install() {
+       meson_src_install
+
+       doman extra/*.{1,5}
+}

Reply via email to