commit: faa39a4baa5d739cc20626fd0d97f5a6be5f4ac9 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> AuthorDate: Thu Jun 19 20:37:06 2025 +0000 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> CommitDate: Thu Jun 19 20:47:57 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=faa39a4b
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 <AT> gentoo.org> app-text/pdfpc/{pdfpc-4.7.0-r1.ebuild => pdfpc-4.7.0-r2.ebuild} | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/app-text/pdfpc/pdfpc-4.7.0-r1.ebuild b/app-text/pdfpc/pdfpc-4.7.0-r2.ebuild similarity index 86% rename from app-text/pdfpc/pdfpc-4.7.0-r1.ebuild rename to app-text/pdfpc/pdfpc-4.7.0-r2.ebuild index 53474c8a0f61..38452bae00dc 100644 --- a/app-text/pdfpc/pdfpc-4.7.0-r1.ebuild +++ b/app-text/pdfpc/pdfpc-4.7.0-r2.ebuild @@ -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
