Files
gentoo/dev-libs
Eli Schwartz 7455e8235d dev-libs/libportal: prevent automagically building against gtk[X,wayland]
e.g. the upstream code checks whether GDK_WINDOWING_WAYLAND is defined
by the gtk headers, and if so will compile against the wayland symbols
it provides. This means that libportal built on a system with
gtk+[-wayland] will be compatible with anything, but when built on a
system with gtk+[wayland], requires that at runtime.

This cannot be expressed with USE flags.

We could bind tightly to whether gtk was built with wayland (and X), and
in the process, arbitrarily restrict libportal[-wayland] to only build
and install on a system with gtk+[-wayland].

But we recently added a hack to gtk itself which allows hiding the
automagic macros entirely. Inject this via append-cflags if the USE
flags aren't set, to simulate building on a system with more minimal gtk
packages.

Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
2024-08-05 20:18:30 -04:00
..
2024-08-01 07:21:48 +00:00
2024-07-17 00:01:00 +01:00
2024-07-20 14:21:08 +03:00
2024-06-22 21:09:51 +02:00
2024-07-13 21:25:29 +02:00
2024-07-20 15:27:31 +02:00
2024-06-28 13:12:17 +02:00
2024-07-11 11:37:51 -04:00
2024-06-22 21:09:51 +02:00
2024-07-08 10:17:39 +03:00
2024-07-10 07:44:44 -05:00
2024-06-29 17:08:23 +03:00
2024-06-29 17:08:24 +03:00
2024-07-16 17:13:08 +02:00
2024-07-12 22:30:58 +02:00
2024-08-01 17:28:58 +02:00
2024-06-28 13:12:17 +02:00
2024-06-18 02:52:09 +01:00
2024-06-29 17:08:24 +03:00
2024-08-01 17:28:58 +02:00
2024-07-11 15:05:49 -07:00
2024-07-30 08:07:12 +02:00
2024-06-28 11:08:46 +02:00
2024-08-05 20:22:35 +02:00
2024-07-15 21:21:44 +02:00
2024-07-22 12:58:34 -04:00
2024-06-28 13:12:17 +02:00
2024-06-29 17:08:24 +03:00
2024-07-27 11:56:53 +02:00
2024-06-29 17:08:25 +03:00
2024-06-28 13:12:17 +02:00
2024-07-06 17:53:52 +02:00
2024-07-29 15:41:51 +02:00
2024-07-21 16:46:43 +02:00
2024-07-27 19:54:40 +02:00
2024-08-03 10:18:07 +03:00
2024-06-19 19:35:58 +10:00
2024-07-27 11:52:22 +02:00
2024-06-29 17:08:25 +03:00
2024-06-07 12:55:57 +03:00
2024-07-20 09:42:41 +03:00
2024-07-30 06:58:36 +00:00
2024-07-03 14:54:49 +02:00
2024-07-28 08:00:40 +00:00
2024-08-03 10:18:07 +03:00
2024-06-06 09:18:58 -04:00
2024-07-21 16:46:43 +02:00
2024-06-17 17:32:36 +02:00
2024-07-28 11:36:41 +03:00
2024-06-29 17:08:25 +03:00
2024-07-10 07:34:29 +03:00
2024-08-01 17:28:58 +02:00
2024-07-10 07:35:47 +01:00