1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-06 11:41:52 +00:00
Jan Beich 9764d128c2 x11/disman: correct hwdata location (to expand vendor name)
Neither this port nor any other port seems to depend on hwdata directly.
2021-11-07 16:57:48 +00:00

41 lines
1.0 KiB
Makefile

PORTNAME= disman
DISTVERSIONPREFIX= ${PORTNAME}@
DISTVERSION= 0.523.0
CATEGORIES= x11
MAINTAINER= jbeich@FreeBSD.org
COMMENT= Qt/C++ display management library
LICENSE= LGPL21+
LICENSE_FILE= ${WRKSRC}/COPYING.LIB
TEST_DEPENDS= ${qt-testlib_PORT:T}>0:${qt-testlib_PORT}
USES= cmake:testing kde:5 qt:5
USE_GITLAB= yes
USE_KDE= ecm_build coreaddons
USE_LDCONFIG= yes
USE_QT= qmake_build buildtools_build core dbus gui
GL_ACCOUNT= kwinft
GL_COMMIT= fd261a3b0c8991d1deb81e2d78e575bd96f5be60
PLIST_SUB= VERSION=${PORTVERSION}
OPTIONS_DEFINE= WAYLAND X11
OPTIONS_DEFAULT=WAYLAND X11
OPTIONS_SUB= yes
WAYLAND_LIB_DEPENDS= libWraplandClient.so:graphics/wrapland
WAYLAND_USE= KDE=wayland
WAYLAND_CMAKE_BOOL_OFF= ${KF5Wayland Wrapland:L:S/^/CMAKE_DISABLE_FIND_PACKAGE_/}
X11_USES= xorg
X11_USE= QT=x11extras XORG=xcb
X11_CMAKE_BOOL_OFF= ${Qt5X11Extras XCB:L:S/^/CMAKE_DISABLE_FIND_PACKAGE_/}
post-patch:
# Respect PREFIX for hwdata
@${REINPLACE_CMD} 's,/usr/share,${DATADIR:H},' \
${WRKSRC}/backends/edid.cpp
.include <bsd.port.mk>