diff --git a/multimedia/wlrobs/Makefile b/multimedia/wlrobs/Makefile index 928df8d1bf04..153bc8b53533 100644 --- a/multimedia/wlrobs/Makefile +++ b/multimedia/wlrobs/Makefile @@ -1,25 +1,24 @@ PORTNAME= wlrobs DISTVERSIONPREFIX= v PORTVERSION= 1.0 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= multimedia wayland MASTER_SITES= https://hg.sr.ht/~scoopta/${PORTNAME}/archive/${DISTVERSIONFULL:C/.*-//}${EXTRACT_SUFX}?dummy=/ MAINTAINER= jbeich@FreeBSD.org COMMENT= Wayland screen capture plugin for obs-studio WWW= https://hg.sr.ht/~scoopta/wlrobs LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING.md -BROKEN= fails to build with obs-studio-28.1.2 - +BUILD_DEPENDS= cmake:devel/cmake-core LIB_DEPENDS= libwayland-client.so:graphics/wayland \ libobs.so:multimedia/obs-studio USES= compiler:c11 gl meson pkgconfig USE_GL= egl DATADIR= ${PREFIX}/lib/obs-plugins PORTDATA= lib${PORTNAME}.so .include diff --git a/multimedia/wlrobs/files/patch-meson.build b/multimedia/wlrobs/files/patch-meson.build new file mode 100644 index 000000000000..c0bd3ae401b0 --- /dev/null +++ b/multimedia/wlrobs/files/patch-meson.build @@ -0,0 +1,13 @@ +https://github.com/obsproject/obs-studio/issues/7990 + +--- meson.build.orig 2020-09-01 01:24:25 UTC ++++ meson.build +@@ -2,7 +2,7 @@ wayland = dependency('wayland-client') + + inc = include_directories('inc') + wayland = dependency('wayland-client') +-obs = dependency('libobs') ++obs = dependency('libobs', method: 'cmake', modules: ['OBS::libobs']) + + sources = ['src/main.c', 'proto/xdg-output-unstable-v1-protocol.c'] +