mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
app-text/pdfpc: Revert to unconditional X11 support
There seems to be no easy way to make X11 support conditional on the X flag. Therefore drop X from IUSE but keep conditional wayland support. This needs proper support by the upstream build system. Closes: https://bugs.gentoo.org/958395 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
This commit is contained in:
@@ -25,7 +25,7 @@ fi
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="X +gstreamer soup wayland webkit"
|
||||
IUSE="+gstreamer soup wayland webkit"
|
||||
|
||||
RDEPEND="
|
||||
app-text/discount:=
|
||||
@@ -36,10 +36,9 @@ RDEPEND="
|
||||
gnome-base/librsvg
|
||||
x11-libs/cairo
|
||||
x11-libs/gdk-pixbuf:2
|
||||
x11-libs/gtk+:3[X,wayland?]
|
||||
x11-libs/libX11
|
||||
x11-libs/pango
|
||||
x11-libs/gtk+:3[X?,wayland?]
|
||||
!X? ( !wayland? ( x11-libs/gtk+:3[X] ) )
|
||||
gstreamer? (
|
||||
media-libs/gstreamer:1.0
|
||||
media-libs/gst-plugins-base:1.0
|
||||
@@ -67,10 +66,6 @@ src_prepare() {
|
||||
if ! use wayland; then #958395
|
||||
sed -i -e 's/GDK_WINDOWING_WAYLAND/GdK_nO_wAyLaNd/' \
|
||||
src/display_backend.c || die
|
||||
use X || ewarn 'Neither "X" nor "wayland" USE flag set - enabling X11'
|
||||
elif ! use X; then
|
||||
sed -i -e 's/GDK_WINDOWING_X11/GdK_nO_xElEvEn/' \
|
||||
src/display_backend.c || die
|
||||
fi
|
||||
|
||||
cmake_src_prepare
|
||||
Reference in New Issue
Block a user