aboutsummaryrefslogtreecommitdiff
path: root/multimedia/phonon-gstreamer/Makefile
blob: 79a691a48e5a07f84ef3b8b618dec527d4309534 (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
# Created by: Martin Wilke <miwi@FreeBSD.org>

PORTNAME=	phonon
DISTVERSION=	4.10.0
PORTREVISION=	2
CATEGORIES=	multimedia kde
MASTER_SITES=	KDE/stable/${PORTNAME}/${PORTNAME}-backend-${PHONON_PLUGIN}/${DISTVERSION}
DISTNAME=	${PORTNAME}-backend-${PHONON_PLUGIN}-${DISTVERSION}
DIST_SUBDIR=	KDE/phonon
PKGNAMESUFFIX=	-${PHONON_PLUGIN}-qt5

MAINTAINER=	kde@FreeBSD.org
COMMENT=	GStreamer backend for Phonon

LICENSE=	LGPL21

USES=		cmake compiler:c++11-lang gl gnome kde:5 pkgconfig qt:5 tar:xz xorg
USE_GL=		gl
USE_GNOME=	glib20 libxml2
USE_GSTREAMER1=	yes
USE_KDE=	ecm
USE_QT=		core gui opengl phonon4 widgets x11extras \
		buildtools_build qmake_build
USE_XORG=	x11

CMAKE_ON=	PHONON_BUILD_PHONON4QT5

SUB_FILES=	pkg-message

OPTIONS_DEFINE=	GST_PLUGINS
GST_PLUGINS_DESC=	Install GStreamer plugins
GST_PLUGINS_RUN_DEPENDS=	gstreamer1-plugins-all>=0:multimedia/gstreamer1-plugins-all

PHONON_PLUGIN=	gstreamer
WRKSRC=		${WRKDIR}/${PORTNAME}-backend-${PHONON_PLUGIN}-${DISTVERSION}

.include <bsd.port.mk>