mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-23 05:53:12 -04:00
Revert "media-gfx/swayimg: add USE="man zsh-completion""
This reverts commit 394ceadb7f.
Thanks to Nicolas Parlant for the heads up.
Those use flag controlled installing small amount data with no
dependencies so they were unwanted:
https://devmanual.gentoo.org/general-concepts/use-flags/index.html#when-not-to-use-use-flags
Signed-off-by: Filip Kobierski <fkobi@pm.me>
This commit is contained in:
@@ -1,72 +0,0 @@
|
|||||||
# 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 exif exr gif heif jpeg jpegxl man png sixel svg test tiff webp zsh-completion X"
|
|
||||||
RESTRICT="!test? ( test )"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
dev-libs/json-c:=
|
|
||||||
dev-libs/wayland
|
|
||||||
media-libs/fontconfig
|
|
||||||
media-libs/freetype
|
|
||||||
x11-libs/libxkbcommon
|
|
||||||
avif? ( media-libs/libavif:= )
|
|
||||||
bash-completion? ( app-shells/bash-completion )
|
|
||||||
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:= )
|
|
||||||
sixel? ( media-libs/libsixel )
|
|
||||||
svg? (
|
|
||||||
dev-libs/glib:2
|
|
||||||
gnome-base/librsvg:2
|
|
||||||
x11-libs/cairo[X=]
|
|
||||||
)
|
|
||||||
tiff? ( media-libs/tiff:= )
|
|
||||||
webp? ( media-libs/libwebp:= )"
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
dev-libs/wayland-protocols
|
|
||||||
svg? ( X? ( x11-base/xorg-proto ) )
|
|
||||||
"
|
|
||||||
BDEPEND="
|
|
||||||
dev-util/wayland-scanner
|
|
||||||
test? ( dev-cpp/gtest )
|
|
||||||
"
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
local emesonargs=(
|
|
||||||
$(meson_feature avif)
|
|
||||||
$(meson_feature exif)
|
|
||||||
$(meson_feature exr)
|
|
||||||
$(meson_feature gif)
|
|
||||||
$(meson_feature heif)
|
|
||||||
$(meson_feature jpeg)
|
|
||||||
$(meson_feature jpegxl jxl)
|
|
||||||
$(meson_feature png)
|
|
||||||
$(meson_feature sixel)
|
|
||||||
$(meson_feature svg)
|
|
||||||
$(meson_feature test tests)
|
|
||||||
$(meson_feature tiff)
|
|
||||||
$(meson_feature webp)
|
|
||||||
$(meson_feature bash-completion bash)
|
|
||||||
$(meson_feature zsh-completion zsh)
|
|
||||||
$(meson_use man)
|
|
||||||
-Dversion=${PV}
|
|
||||||
-Ddesktop=true
|
|
||||||
)
|
|
||||||
meson_src_configure
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user