mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 15:45:15 -04:00
media-gfx/swayimg: sync USE=X with x11-libs/cairo
USE=X needs to be synced with x11-libs/cairo during build, otherwise the
build will fail.
f4d3cb8692 (commitcomment-148646896)
```
meson.build:53:7: ERROR: Dependency lookup for librsvg-2.0 with method 'pkgconfig' failed: Could not generate cflags for librsvg-2.0:
Package xproto was not found in the pkg-config search path.
Perhaps you should add the directory containing `xproto.pc'
```
Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
|
||||
# Copyright 2023-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
@@ -33,18 +32,17 @@ RDEPEND="
|
||||
svg? (
|
||||
dev-libs/glib:2
|
||||
gnome-base/librsvg:2
|
||||
x11-libs/cairo
|
||||
x11-libs/cairo[X=]
|
||||
)
|
||||
tiff? ( media-libs/tiff:= )
|
||||
webp? ( media-libs/libwebp:= )"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-libs/wayland-protocols"
|
||||
dev-libs/wayland-protocols
|
||||
svg? ( X? ( x11-base/xorg-proto ) )
|
||||
"
|
||||
BDEPEND="
|
||||
dev-util/wayland-scanner
|
||||
svg? (
|
||||
dev-build/cmake
|
||||
X? ( x11-base/xorg-proto )
|
||||
)
|
||||
svg? ( dev-build/cmake )
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
|
||||
# Copyright 2023-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
@@ -34,18 +33,17 @@ RDEPEND="
|
||||
svg? (
|
||||
dev-libs/glib:2
|
||||
gnome-base/librsvg:2
|
||||
x11-libs/cairo
|
||||
x11-libs/cairo[X=]
|
||||
)
|
||||
tiff? ( media-libs/tiff:= )
|
||||
webp? ( media-libs/libwebp:= )"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-libs/wayland-protocols"
|
||||
dev-libs/wayland-protocols
|
||||
svg? ( X? ( x11-base/xorg-proto ) )
|
||||
"
|
||||
BDEPEND="
|
||||
dev-util/wayland-scanner
|
||||
svg? (
|
||||
dev-build/cmake
|
||||
X? ( x11-base/xorg-proto )
|
||||
)
|
||||
svg? ( dev-build/cmake )
|
||||
test? ( dev-cpp/gtest )
|
||||
"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user