summaryrefslogtreecommitdiff
path: root/multimedia/ffaudioconverter/Makefile
blob: 360e33a5ba1e3598e81ce55601cd614479e3d367 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# $FreeBSD$

PORTNAME=	FFaudioConverter
DISTVERSIONPREFIX=	v
DISTVERSION=	0.26
CATEGORIES=	multimedia audio

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Graphical audio covert and filter tool

LICENSE=	GPLv3
LICENSE_FILE=	${WRKSRC}/LICENSE

RUN_DEPENDS=	ffmpeg:multimedia/ffmpeg

USES=		compiler:c++11-lang desktop-file-utils gl qmake qt:5
USE_GITHUB=	yes
GH_ACCOUNT=	Bleuzen
USE_QT=		concurrent core gui widgets buildtools_build linguisttools_build
USE_GL=		gl

PLIST_FILES=	bin/ffaudioconverter \
		share/applications/com.github.Bleuzen.FFaudioConverter.desktop \
		share/icons/hicolor/512x512/apps/com.github.Bleuzen.FFaudioConverter.png \
		share/metainfo/com.github.Bleuzen.FFaudioConverter.appdata.xml

post-patch:
	@${REINPLACE_CMD} 's|DEFAULT_FFMPEG_BINARY = .*|DEFAULT_FFMPEG_BINARY = ${LOCALBASE}/bin/ffmpeg|' ${WRKSRC}/FFaudioConverter.pro

.include <bsd.port.mk>