Import multimedia/qwinff version 0.2.1.22
[dports.git] / multimedia / qwinff / Makefile
1 # Created by: Emanuel Haupt <ehaupt@FreeBSD.org>
2 # $FreeBSD$
3
4 PORTNAME=       qwinff
5 DISTVERSIONPREFIX=      v
6 DISTVERSION=    0.2.1-22
7 DISTVERSIONSUFFIX=      -g17e987e
8 CATEGORIES=     multimedia
9
10 MAINTAINER=     ehaupt@FreeBSD.org
11 COMMENT=        Qt5 GUI Frontend for FFmpeg
12
13 LICENSE=        GPLv3
14 LICENSE_FILE=   ${WRKSRC}/COPYING.txt
15
16 RUN_DEPENDS=    ffmpeg:multimedia/ffmpeg \
17                 sox:audio/sox
18
19 USES=           cmake:noninja compiler:c++11-lang qt:5
20 USE_GITHUB=     yes
21 USE_QT=         core gui linguisttools network widgets buildtools_build \
22                 qmake_build
23
24 post-patch:
25         @${REINPLACE_CMD} -e "s|%%DATADIR%%|${DATADIR}|" \
26                 ${WRKSRC}/src/main.cpp ${WRKSRC}/src/ui/mainwindow.cpp
27
28 .include <bsd.port.mk>