mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-02 01:20:54 +00:00
a5d4d122cf
Changes: https://gitlab.freedesktop.org/mstoeckl/waypipe/-/releases/v0.8.3 Reported by: GitLab (notify releases)
51 lines
1.3 KiB
Makefile
51 lines
1.3 KiB
Makefile
PORTNAME= waypipe
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 0.8.3
|
|
CATEGORIES= net wayland
|
|
|
|
MAINTAINER= jbeich@FreeBSD.org
|
|
COMMENT= Network transparency with Wayland
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
USES= compiler:c11 localbase:ldflags meson pkgconfig
|
|
USE_GITLAB= yes
|
|
GL_SITE= https://gitlab.freedesktop.org
|
|
GL_ACCOUNT= mstoeckl
|
|
GL_COMMIT= f37c665893c74fb3f47364a4c2cecad8248ee6d4
|
|
PLIST_FILES= bin/${PORTNAME}
|
|
|
|
OPTIONS_DEFINE= FFMPEG LZ4 MANPAGES OPENGL VAAPI ZSTD
|
|
OPTIONS_DEFAULT=FFMPEG LZ4 MANPAGES OPENGL VAAPI ZSTD
|
|
|
|
FFMPEG_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg
|
|
FFMPEG_MESON_ENABLED= with_video
|
|
|
|
LZ4_LIB_DEPENDS= liblz4.so:archivers/liblz4
|
|
LZ4_MESON_ENABLED= with_lz4
|
|
|
|
MANPAGES_BUILD_DEPENDS= scdoc:textproc/scdoc
|
|
MANPAGES_MESON_ENABLED= man-pages
|
|
MANPAGES_PLIST_FILES= man/man1/${PORTNAME}.1.gz
|
|
|
|
OPENGL_USES= gl
|
|
OPENGL_USE= GL=gbm
|
|
OPENGL_LIB_DEPENDS= libdrm.so:graphics/libdrm
|
|
OPENGL_MESON_ENABLED= with_dmabuf
|
|
|
|
VAAPI_LIB_DEPENDS= libva.so:multimedia/libva
|
|
VAAPI_MESON_ENABLED= with_vaapi
|
|
VAAPI_IMPLIES= FFMPEG
|
|
|
|
ZSTD_LIB_DEPENDS= libzstd.so:archivers/zstd
|
|
ZSTD_MESON_ENABLED= with_zstd
|
|
|
|
post-patch:
|
|
# Extract (snapshot) version from the port instead of meson.build
|
|
@${REINPLACE_CMD} -i .nogit -e 's/git.found()/false/' \
|
|
-e '/project_version/s/@0@/${DISTVERSIONFULL}/' \
|
|
${WRKSRC}/meson.build
|
|
|
|
.include <bsd.port.mk>
|