svn commit: r518070 - in head/multimedia: . wlrobs
Jan Beich
jbeich at FreeBSD.org
Thu Nov 21 00:54:44 UTC 2019
Author: jbeich
Date: Thu Nov 21 00:54:43 2019
New Revision: 518070
URL: https://svnweb.freebsd.org/changeset/ports/518070
Log:
multimedia/wlrobs: add new port
wlrobs is an obs-studio plugin that allows you to screen capture on
wlroots-based Wayland compositors.
https://hg.sr.ht/~scoopta/wlrobs
Added:
head/multimedia/wlrobs/
head/multimedia/wlrobs/Makefile (contents, props changed)
head/multimedia/wlrobs/distinfo (contents, props changed)
head/multimedia/wlrobs/pkg-descr (contents, props changed)
Modified:
head/multimedia/Makefile (contents, props changed)
Modified: head/multimedia/Makefile
==============================================================================
--- head/multimedia/Makefile Thu Nov 21 00:54:37 2019 (r518069)
+++ head/multimedia/Makefile Thu Nov 21 00:54:43 2019 (r518070)
@@ -453,6 +453,7 @@
SUBDIR += wf-recorder
SUBDIR += win32-codecs
SUBDIR += winff
+ SUBDIR += wlrobs
SUBDIR += x264
SUBDIR += x265
SUBDIR += xanim
Added: head/multimedia/wlrobs/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/multimedia/wlrobs/Makefile Thu Nov 21 00:54:43 2019 (r518070)
@@ -0,0 +1,36 @@
+# $FreeBSD$
+
+PORTNAME= wlrobs
+PORTVERSION= s20191120
+DISTVERSIONSUFFIX= -8b4656a90bc7
+CATEGORIES= multimedia
+MASTER_SITES= https://hg.sr.ht/~scoopta/${PORTNAME}/archive/${DISTVERSIONSUFFIX:S/^-//}${EXTRACT_SUFX}?dummy=/
+MASTER_SITES+= LOCAL/jbeich # https://todo.sr.ht/~sircmpwn/hg.sr.ht/33
+DISTNAME= ${PORTNAME}${DISTVERSIONSUFFIX}
+
+MAINTAINER= jbeich at FreeBSD.org
+COMMENT= Wayland screen capture plugin for obs-studio
+
+BUILD_DEPENDS= ${LOCALBASE}/include/obs/obs-module.h:multimedia/obs-studio
+LIB_DEPENDS= libwayland-client.so:graphics/wayland
+
+USES= compiler:c11 gmake localbase:ldflags
+WRKSRC_SUBDIR= Release
+MAKEFILE= makefile
+DATADIR= ${PREFIX}/lib/obs-plugins
+PORTDATA= ${PORTNAME}.so
+
+post-patch:
+ @${REINPLACE_CMD} -e 's/ -O3//' \
+ -e '/-shared/!s/gcc/$$(CC) $$(CFLAGS)/' \
+ -e '/-shared/s/gcc/$$(CC) $$(LDFLAGS)/' \
+ ${WRKSRC}/makefile \
+ ${WRKSRC}/proto/subdir.mk \
+ ${WRKSRC}/src/subdir.mk
+
+do-install:
+ ${MKDIR} ${STAGEDIR}${DATADIR}
+ ${INSTALL_LIB} ${WRKSRC}/lib${PORTNAME}.so \
+ ${STAGEDIR}${DATADIR}/${PORTNAME}.so
+
+.include <bsd.port.mk>
Added: head/multimedia/wlrobs/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/multimedia/wlrobs/distinfo Thu Nov 21 00:54:43 2019 (r518070)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1574287498
+SHA256 (wlrobs-8b4656a90bc7.tar.gz) = eb8ffbfc80c2b6e6888e401d0a222e694fc8fc4a6ac3948cca0bae2acc136dc1
+SIZE (wlrobs-8b4656a90bc7.tar.gz) = 22963
Added: head/multimedia/wlrobs/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/multimedia/wlrobs/pkg-descr Thu Nov 21 00:54:43 2019 (r518070)
@@ -0,0 +1,4 @@
+wlrobs is an obs-studio plugin that allows you to screen capture on
+wlroots-based Wayland compositors.
+
+WWW: https://hg.sr.ht/~scoopta/wlrobs
More information about the svn-ports-all
mailing list