svn commit: r547970 - head/benchmarks/mangohud
Alexey Dokuchaev
danfe at FreeBSD.org
Tue Sep 8 08:06:18 UTC 2020
Author: danfe
Date: Tue Sep 8 08:06:17 2020
New Revision: 547970
URL: https://svnweb.freebsd.org/changeset/ports/547970
Log:
Allow to build without D-Bus IPC system support.
Modified:
head/benchmarks/mangohud/Makefile
head/benchmarks/mangohud/distinfo
Modified: head/benchmarks/mangohud/Makefile
==============================================================================
--- head/benchmarks/mangohud/Makefile Tue Sep 8 07:57:30 2020 (r547969)
+++ head/benchmarks/mangohud/Makefile Tue Sep 8 08:06:17 2020 (r547970)
@@ -6,6 +6,9 @@ PORTVERSION= 0.5.1
DISTVERSIONPREFIX= v
CATEGORIES= benchmarks graphics
+PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
+PATCHFILES= cec98369ae34d910476b78f98adece96016ab603.diff:-p1
+
MAINTAINER= danfe at FreeBSD.org
COMMENT= Vulkan/OpenGL overlay for CPU/GPU monitoring
@@ -15,8 +18,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= glslangValidator:devel/glslang \
${LOCALBASE}/share/vulkan/registry/vk.xml:devel/vulkan-headers \
${PYTHON_PKGNAMEPREFIX}mako>=0:textproc/py-mako@${PY_FLAVOR}
-LIB_DEPENDS= libdbus-1.so:devel/dbus \
- libinotify.so:devel/libinotify
+LIB_DEPENDS= libinotify.so:devel/libinotify
USES= compiler:c++14-lang meson pkgconfig python:build xorg
USE_GITHUB= yes
@@ -30,7 +32,11 @@ PLIST_FILES= bin/mangohud lib/mangohud/libMangoHud.so
share/vulkan/implicit_layer.d/MangoHud.json
PORTEXAMPLES= MangoHud.conf.example
-OPTIONS_DEFINE= EXAMPLES
+OPTIONS_DEFINE= DBUS EXAMPLES
+OPTIONS_DEFAULT= DBUS
+
+DBUS_LIB_DEPENDS= libdbus-1.so:devel/dbus
+DBUS_MESON_OFF= -Dwith_dbus=disabled
post-patch:
@${REINPLACE_CMD} -e '/version : /s,0\.4\.0,${PORTVERSION}, ; \
Modified: head/benchmarks/mangohud/distinfo
==============================================================================
--- head/benchmarks/mangohud/distinfo Tue Sep 8 07:57:30 2020 (r547969)
+++ head/benchmarks/mangohud/distinfo Tue Sep 8 08:06:17 2020 (r547970)
@@ -1,3 +1,5 @@
TIMESTAMP = 1597596860
SHA256 (flightlessmango-MangoHud-v0.5.1_GH0.tar.gz) = 3e91d4fc7369d46763894c13f3315133871dd02705072981770c3cf58e8081c6
SIZE (flightlessmango-MangoHud-v0.5.1_GH0.tar.gz) = 15042595
+SHA256 (cec98369ae34d910476b78f98adece96016ab603.diff) = 5af8817cc62bbf441c7a7b735f391bb648e7d90668e7a3746c1b91199698b1d6
+SIZE (cec98369ae34d910476b78f98adece96016ab603.diff) = 551
More information about the svn-ports-head
mailing list