freebsd-ports/multimedia/simplescreenrecorder/Makefile
Yuri Victorovich 35a9418c1a multimedia/simplescreenrecorder: Update to 0.3.9
The update also includes:
* Change to Qt5
* Disabling of GLinject feature that doesn't work on FreeBSD
* Switching build to cmake

Tests showed that it works as expected.

Submitted by:	myself
Reported by:	portscout
Approved by:	adamw (mentor)
Differential Revision:	https://reviews.freebsd.org/D13787
2018-01-07 20:42:56 +00:00

36 lines
989 B
Makefile

# $FreeBSD$
PORTNAME= simplescreenrecorder
DISTVERSION= 0.3.9
CATEGORIES= multimedia
MAINTAINER= yuri@FreeBSD.org
COMMENT= Screen video recorder
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libasound.so:audio/alsa-lib \
libavformat.so:multimedia/ffmpeg
USES= cmake:outsource pkgconfig
USE_GITHUB= yes
GH_ACCOUNT= MaartenBaert
GH_PROJECT= ssr
USE_QT5= core gui widgets x11extras buildtools_build linguisttools_build qmake_build
USE_XORG= x11 xext xfixes xi
CMAKE_ON= WITH_QT5
CMAKE_OFF= WITH_GLINJECT # doesn't yet work on FreeBSD: https://github.com/MaartenBaert/ssr/issues/586#issuecomment-343780107
OPTIONS_DEFINE= PULSEAUDIO JACK
OPTIONS_DEFAULT= PULSEAUDIO
PULSEAUDIO_CMAKE_BOOL= WITH_PULSEAUDIO
PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio
JACK_CMAKE_BOOL= WITH_JACK
JACK_LIB_DEPENDS= libjack.so:audio/jack
post-install: # https://github.com/MaartenBaert/ssr/issues/609
@${RM} ${STAGEDIR}${PREFIX}/man/man1/ssr-glinject.*
.include <bsd.port.mk>