freebsd-ports/multimedia/wireplumber/Makefile
Jan Beich c7106d659f multimedia/wireplumber: backport devel/glib20 fix from 0.5.0
In file included from ../src/modules/wireplumber.cpp:1:
In file included from ../include/modules/wireplumber.hpp:9:
In file included from ../include/ALabel.hpp:4:
In file included from /usr/local/include/gtkmm-3.0/gtkmm/label.h:27:
In file included from /usr/local/include/gtkmm-3.0/gtkmm/misc.h:27:
In file included from /usr/local/include/gtkmm-3.0/gtkmm/widget.h:31:
In file included from /usr/local/include/pangomm-1.4/pangomm/context.h:31:
In file included from /usr/local/include/glibmm-2.4/glibmm/object.h:30:
/usr/local/include/glibmm-2.4/glibmm/wrap.h:92:7: error: use of undeclared identifier 'WP_LOCAL_LOG_TOPIC'
   92 |       g_warning("Glib::wrap_auto_interface(): The C++ instance (%s) does not dynamic_cast to the "
      |       ^
/usr/local/include/glib-2.0/glib/gmessages.h:362:32: note: expanded from macro 'g_warning'
  362 | #define g_warning(...)  g_log (G_LOG_DOMAIN,         \
      |                                ^
/usr/local/include/wireplumber-0.5/wp/log.h:65:23: note: expanded from macro 'G_LOG_DOMAIN'
   65 | #define G_LOG_DOMAIN (WP_LOCAL_LOG_TOPIC->topic_name)
      |                       ^
2024-05-02 00:15:00 +02:00

49 lines
1.2 KiB
Makefile

PORTNAME= wireplumber
DISTVERSION= 0.4.90
PORTREVISION= 1
CATEGORIES= multimedia
MAINTAINER= arrowd@FreeBSD.org
COMMENT= Session and policy manager for PipeWire
WWW= https://pipewire.pages.freedesktop.org/wireplumber/
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libpipewire-0.3.so:multimedia/pipewire
USES= gnome localbase:ldflags lua meson pkgconfig python:build
USE_GITLAB= yes
GL_SITE= https://gitlab.freedesktop.org
GL_ACCOUNT= pipewire
USE_GNOME= glib20
OPTIONS_DEFINE= DOCS DOXYGEN NLS
DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen \
g-ir-scanner:devel/gobject-introspection \
sphinx-build:textproc/py-sphinx \
${PYTHON_PKGNAMEPREFIX}breathe>0:devel/py-breathe@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}lxml>0:devel/py-lxml@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}sphinx_rtd_theme>0:textproc/py-sphinx_rtd_theme@${PY_FLAVOR}
DOXYGEN_MESON_ENABLED= doc introspection
DOXYGEN_IMPLIES= DOCS
NLS_USES= gettext-runtime gettext-tools
MESON_ARGS= -D system-lua=true \
-D systemd=disabled \
-D elogind=disabled
OPTIONS_SUB= yes
PORTDOCS= *
post-patch:
${REINPLACE_CMD} -e "s|'python3'|'python${PYTHON_VER}'|" \
${WRKSRC}/docs/meson.build
.include <bsd.port.mk>