aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakuya Wakazono <pastalian46@gmail.com>2024-11-02 22:02:11 +0900
committerTakuya Wakazono <pastalian46@gmail.com>2024-11-02 22:02:11 +0900
commit2dc16d27908f6c4302f3e0f2ac7058481013bc19 (patch)
treefd8bc88f8e30767eb9a3430596098db079b69d58 /media-gfx
parentmedia-video/manimgl: Update dependencies (diff)
downloadguru-2dc16d27908f6c4302f3e0f2ac7058481013bc19.tar.gz
guru-2dc16d27908f6c4302f3e0f2ac7058481013bc19.tar.bz2
guru-2dc16d27908f6c4302f3e0f2ac7058481013bc19.zip
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. https://github.com/gentoo/guru/commit/f4d3cb8692d9819e393c2265ab6cefbae5c81568#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>
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/swayimg/swayimg-3.2.ebuild12
-rw-r--r--media-gfx/swayimg/swayimg-3.4.ebuild12
2 files changed, 10 insertions, 14 deletions
diff --git a/media-gfx/swayimg/swayimg-3.2.ebuild b/media-gfx/swayimg/swayimg-3.2.ebuild
index adf13e554..c63caf3e3 100644
--- a/media-gfx/swayimg/swayimg-3.2.ebuild
+++ b/media-gfx/swayimg/swayimg-3.2.ebuild
@@ -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() {
diff --git a/media-gfx/swayimg/swayimg-3.4.ebuild b/media-gfx/swayimg/swayimg-3.4.ebuild
index ad2d4ad33..baacc4fb6 100644
--- a/media-gfx/swayimg/swayimg-3.4.ebuild
+++ b/media-gfx/swayimg/swayimg-3.4.ebuild
@@ -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 )
"