1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00

graphics/wayland-protocols: drop pkgconfig workaround after d48fab59da

This commit is contained in:
Jan Beich 2023-11-11 08:51:56 +01:00
parent ee05834038
commit a018b84a61
4 changed files with 3 additions and 16 deletions

View File

@ -15,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
USES= gnome meson pkgconfig
BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/wayland-protocols.pc:graphics/wayland-protocols
BUILD_DEPENDS= ${LOCALBASE}/share/pkgconfig/wayland-protocols.pc:graphics/wayland-protocols
LIB_DEPENDS= libwayland-client.so:graphics/wayland \
libxkbcommon.so:x11/libxkbcommon

View File

@ -1,5 +1,6 @@
PORTNAME= wayland-protocols
PORTVERSION= 1.32
PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= https://gitlab.freedesktop.org/wayland/${PORTNAME}/-/releases/${DISTVERSION}/downloads/

View File

@ -1,14 +0,0 @@
devel/pkgconfig removed share/pkgconfig from PKG_DEFAULT_PATH
via --with-pkg-config-dir override. Similar to lib/pkgconfig.
--- meson.build.orig 2021-11-26 04:47:33 UTC
+++ meson.build
@@ -91,7 +91,7 @@ pkgconfig_configuration.set('abs_top_srcdir', wayland_
pkgconfig_configuration.set('PACKAGE', 'wayland-protocols')
pkgconfig_configuration.set('WAYLAND_PROTOCOLS_VERSION', wayland_protocols_version)
-pkg_install_dir = join_paths(get_option('datadir'), 'pkgconfig')
+pkg_install_dir = join_paths(get_option('prefix'), 'libdata/pkgconfig')
configure_file(
input: 'wayland-protocols.pc.in',
output: 'wayland-protocols.pc',

View File

@ -1,4 +1,4 @@
libdata/pkgconfig/wayland-protocols.pc
share/pkgconfig/wayland-protocols.pc
%%DATADIR%%/stable/presentation-time/presentation-time.xml
%%DATADIR%%/stable/viewporter/viewporter.xml
%%DATADIR%%/stable/xdg-shell/xdg-shell.xml