media-gfx/swayimg: add X use flag for xorg-proto

xorg-proto not required on wayland only systems to build svg support

Signed-off-by: Dale Showers <gentoo@fictx.com>
This commit is contained in:
Dale Showers 2024-10-31 21:31:23 -04:00
parent 262e4ecc75
commit f4d3cb8692
No known key found for this signature in database
GPG Key ID: 1B9743E068DBAAF8
2 changed files with 4 additions and 4 deletions

View File

@ -13,7 +13,7 @@ SRC_URI="https://github.com/artemsen/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="avif exif exr gif heif jpeg jpegxl png svg tiff webp bash-completion"
IUSE="avif bash-completion exif exr gif heif jpeg jpegxl png svg tiff webp X"
RDEPEND="
dev-libs/json-c:=
@ -43,7 +43,7 @@ BDEPEND="
dev-util/wayland-scanner
svg? (
dev-build/cmake
x11-base/xorg-proto
X? ( x11-base/xorg-proto )
)
"

View File

@ -13,7 +13,7 @@ SRC_URI="https://github.com/artemsen/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="avif exif exr gif heif jpeg jpegxl png svg test tiff webp bash-completion"
IUSE="avif bash-completion exif exr gif heif jpeg jpegxl png svg test tiff webp X"
RESTRICT="!test? ( test )"
RDEPEND="
@ -44,7 +44,7 @@ BDEPEND="
dev-util/wayland-scanner
svg? (
dev-build/cmake
x11-base/xorg-proto
X? ( x11-base/xorg-proto )
)
test? ( dev-cpp/gtest )
"