From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A4CFE15820A for ; Tue, 08 Jul 2025 14:52:48 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 900BC3410CA for ; Tue, 08 Jul 2025 14:52:48 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 8311D1102F2; Tue, 08 Jul 2025 14:52:47 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 74E2C1102F2 for ; Tue, 08 Jul 2025 14:52:46 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 61F59340F74 for ; Tue, 08 Jul 2025 14:52:46 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 994A62EC8 for ; Tue, 08 Jul 2025 14:52:44 +0000 (UTC) From: "Nicolas PARLANT" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Nicolas PARLANT" Message-ID: <1751986067.445a0556366aed1c2327dc0f4f1a93f58a36b0b8.ppn@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: media-gfx/swayimg/ X-VCS-Repository: repo/proj/guru X-VCS-Files: media-gfx/swayimg/Manifest media-gfx/swayimg/metadata.xml media-gfx/swayimg/swayimg-4.4.ebuild X-VCS-Directories: media-gfx/swayimg/ X-VCS-Committer: ppn X-VCS-Committer-Name: Nicolas PARLANT X-VCS-Revision: 445a0556366aed1c2327dc0f4f1a93f58a36b0b8 X-VCS-Branch: dev Date: Tue, 08 Jul 2025 14:52:44 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 349dc8eb-b346-4381-95ed-f16a6288d6e4 X-Archives-Hash: 18536cfa4c5f2a7f0c22ca34876071e6 commit: 445a0556366aed1c2327dc0f4f1a93f58a36b0b8 Author: Nicolas PARLANT parhuet fr> AuthorDate: Tue Jul 8 14:37:57 2025 +0000 Commit: Nicolas PARLANT parhuet fr> CommitDate: Tue Jul 8 14:47:47 2025 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=445a0556 media-gfx/swayimg: add 4.4 new UI with libdrm wayland useflag handles both wayland UI and compositor Signed-off-by: Nicolas PARLANT parhuet.fr> media-gfx/swayimg/Manifest | 1 + media-gfx/swayimg/metadata.xml | 3 +- media-gfx/swayimg/swayimg-4.4.ebuild | 89 ++++++++++++++++++++++++++++++++++++ 3 files changed, 92 insertions(+), 1 deletion(-) diff --git a/media-gfx/swayimg/Manifest b/media-gfx/swayimg/Manifest index c482de4ee5..4915bee74e 100644 --- a/media-gfx/swayimg/Manifest +++ b/media-gfx/swayimg/Manifest @@ -1,2 +1,3 @@ DIST swayimg-4.2.tar.gz 778261 BLAKE2B 58a0fc1b70c7218493d499d224fd32bfcd4083515060ae6d5ec40225f127a0cc9115dff9237f90e12fb46ac66f110d7003edf8ea13218d7b5e631074c8d30f76 SHA512 6496591410ddadd4569c51e12b92d32f83b233b055212a50c861facb30cc7fe5c58c8b4e4955ae862086ed3d06f014fcc657fb8ba112b3bbfb287dc1e3ec3852 DIST swayimg-4.3.tar.gz 785384 BLAKE2B 1d341b92865436b7cb1393e719a2e5fa3a69200a7cc4e2b0ce0d07564578245835951fd70bb186b3defaffc7765962694db8d73fa97b3721c2e2e992b7f6c38d SHA512 cdd9ee386fdc63f136ec91aa2750ffb67eb6b5a8b6751f75b7947a1793814d1ba81973ad7db19316d496cd6a355fc6288c326a042e8fe7f410e2a2346b2c6b57 +DIST swayimg-4.4.tar.gz 788874 BLAKE2B 509c854b55b9d243e27ef0c2d3de079b2be24762c4d020a6bdee28633259c2660d877fb70586906735b80a9af819e54a2f5ae6017ee9158be6fb0013244ac7dc SHA512 8fc720b8d2b9a75c413eb25a673c1a213189a66f3eaa3b4ba32990cfc78dbb370fcdc49a11eb787d6eef345f7951a324d91f0c8c08ce4b7922b7ba26abf93b59 diff --git a/media-gfx/swayimg/metadata.xml b/media-gfx/swayimg/metadata.xml index 56363d5e60..e026d312b4 100644 --- a/media-gfx/swayimg/metadata.xml +++ b/media-gfx/swayimg/metadata.xml @@ -8,9 +8,10 @@ artemsen/swayimg + Enable DRM renderig support (DRM UI) Enable support for EXR image format Enable support for JPEG XL image format Enable support for Sixel image format - Integration with Wayland compositors (Sway and Hyprland only) + Enable Wayland UI and some compositors (Sway and Hyprland only) diff --git a/media-gfx/swayimg/swayimg-4.4.ebuild b/media-gfx/swayimg/swayimg-4.4.ebuild new file mode 100644 index 0000000000..68d7b8a4db --- /dev/null +++ b/media-gfx/swayimg/swayimg-4.4.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="A 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} +}