diff options
author | Mykyta Holubakha <hilobakho@gmail.com> | 2023-06-03 15:06:46 +0300 |
---|---|---|
committer | Mykyta Holubakha <hilobakho@gmail.com> | 2023-06-03 15:06:46 +0300 |
commit | 001025220e46ac41e9bac50293b825dd03c6d7f3 (patch) | |
tree | be0e7b9f257f2ca74aad22cbbe748331b27ff92b /media-gfx/swayimg | |
parent | dev-util/fpm: 0.9.0 version bump (diff) | |
download | guru-001025220e46ac41e9bac50293b825dd03c6d7f3.tar.gz guru-001025220e46ac41e9bac50293b825dd03c6d7f3.tar.bz2 guru-001025220e46ac41e9bac50293b825dd03c6d7f3.zip |
media-gfx/swayimg: new package, add 1.11
Signed-off-by: Mykyta Holubakha <hilobakho@gmail.com>
Diffstat (limited to 'media-gfx/swayimg')
-rw-r--r-- | media-gfx/swayimg/Manifest | 1 | ||||
-rw-r--r-- | media-gfx/swayimg/metadata.xml | 13 | ||||
-rw-r--r-- | media-gfx/swayimg/swayimg-1.11.ebuild | 55 |
3 files changed, 69 insertions, 0 deletions
diff --git a/media-gfx/swayimg/Manifest b/media-gfx/swayimg/Manifest new file mode 100644 index 000000000..9ca60d04d --- /dev/null +++ b/media-gfx/swayimg/Manifest @@ -0,0 +1 @@ +DIST swayimg-1.11.tar.gz 390650 BLAKE2B 5ab45417f214d63ac36f6f28d89848a0f0d55e8fe3051f003838206c80501d67be7ba3d9cdeb0e23c8a305778586665d2800c72ff857adf5acb550cccd0a014c SHA512 6a9722b101c4e4cc2bee5c18f9ca46d2602460521dfd0fe05da1c0d631d4dbaae492c6d27cb38d759d4f4ef10159897f952bb23499ac26123f2b5d646152bbf8 diff --git a/media-gfx/swayimg/metadata.xml b/media-gfx/swayimg/metadata.xml new file mode 100644 index 000000000..7cac2d005 --- /dev/null +++ b/media-gfx/swayimg/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>hilobakho@gmail.com</email> + </maintainer> + <upstream> + <remote-id type="github">artemsen/swayimg</remote-id> + </upstream> + <use> + <flag name="jpegxl">Enable support for JPEG XL image format</flag> + </use> +</pkgmetadata> diff --git a/media-gfx/swayimg/swayimg-1.11.ebuild b/media-gfx/swayimg/swayimg-1.11.ebuild new file mode 100644 index 000000000..6879b9ae1 --- /dev/null +++ b/media-gfx/swayimg/swayimg-1.11.ebuild @@ -0,0 +1,55 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit meson + +DESCRIPTION="A lightweight image viewer for Wayland display servers" +HOMEPAGE="https://github.com/artemsen/swayimg" +SRC_URI="https://github.com/artemsen/swayimg/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-libs/json-c + dev-libs/wayland + media-libs/fontconfig + media-libs/freetype + x11-libs/libxkbcommon + exif? ( media-libs/libexif ) + gif? ( media-libs/giflib ) + heif? ( media-libs/libheif ) + jpeg? ( media-libs/libjpeg-turbo ) + jpegxl? ( media-libs/libjxl ) + png? ( media-libs/libpng ) + svg? ( gnome-base/librsvg ) + tiff? ( media-libs/tiff ) + webp? ( media-libs/libwebp )" +DEPEND="${RDEPEND} + dev-libs/wayland-protocols" +BDEPEND="dev-util/wayland-scanner" + +IUSE="+exif +gif heif +jpeg jpegxl +png svg tiff webp bash-completion zsh-completion" + +src_configure() { + local emesonargs=( + $(meson_feature exif) + $(meson_feature gif) + $(meson_feature heif) + $(meson_feature jpeg) + $(meson_feature jpegxl jxl) + $(meson_feature png) + $(meson_feature svg) + $(meson_feature tiff) + $(meson_feature webp) + $(meson_feature bash-completion bash) + $(meson_feature zsh-completion zsh) + -Dversion=${PV} + -Ddesktop=true + -Dman=true + ) + meson_src_configure +} |