aboutsummaryrefslogtreecommitdiff
path: root/multimedia/subtitlecomposer-kde4/Makefile
blob: 4cfe18807b905287386a7a5ae283942bbd3e3033 (plain) (blame)
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
31
32
33
34
35
36
37
38
39
40
# $FreeBSD$

PORTNAME=	subtitlecomposer
PORTVERSION=	0.5.7
DISTVERSIONPREFIX=	v
PORTREVISION=	5
CATEGORIES=	multimedia kde

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Subtitle editor for KDE

LIB_DEPENDS=	libicui18n.so:devel/icu

USES=		cmake:outsource gettext kde:4 shared-mime-info
USE_KDE=	kdelibs automoc4
USE_QT4=	qmake_build moc_build rcc_build uic_build phonon

USE_GITHUB=	yes
GH_ACCOUNT=	maxrd2

OPTIONS_GROUP=	BACKEND
BACKEND_DESC=	Additional video backens
OPTIONS_GROUP_BACKEND=	GSTREAMER MPLAYER XINE

MPLAYER_DESC=	Install MPlayer
MPLAYER_RUN_DEPENDS=	mplayer:multimedia/mplayer

XINE_DESC=	Build Xine backend
XINE_LIB_DEPENDS=	libxine.so:multimedia/libxine
XINE_CMAKE_OFF=	-DWITH_Xine:Bool=Off

GSTREAMER_DESC=	Build GStreamer 1.x backend
GSTREAMER_USE=	GSTREAMER1=yes
GSTREAMER_CMAKE_OFF=	-DWITH_GStreamer:Bool=Off

post-patch:
	${REINPLACE_CMD} '/GStreamer/s,find_package,macro_optional_find_package,' \
		${WRKSRC}/src/services/CMakeLists.txt

.include <bsd.port.mk>