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

PORTNAME=   phonon
PORTVERSION=    4.8.2
PORTREVISION=   1
CATEGORIES= multimedia kde
MASTER_SITES=   KDE/stable/${PORTNAME}/${PORTNAME}-backend${PKGNAMESUFFIX}/${PORTVERSION}/src
PKGNAMESUFFIX=  -gstreamer
DISTNAME=   ${PORTNAME}-backend${PKGNAMESUFFIX}-${PORTVERSION}
DIST_SUBDIR=    KDE

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

LICENSE=    LGPL21

USES=       cmake kde:4 pkgconfig tar:xz
USE_GL=     gl
USE_GNOME=  glib20 libxml2
USE_GSTREAMER1= yes
USE_KDE=    automoc4
USE_QT4=    corelib gui opengl phonon \
        qmake_build moc_build rcc_build uic_build
USE_XORG=   x11

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

post-install:
    ${MKDIR} ${STAGEDIR}${QT_PLUGINDIR}/phonon_backend
    ${LN} -sf ${PREFIX}/lib/kde4/plugins/phonon_backend/phonon_gstreamer.so \
        ${STAGEDIR}${QT_PLUGINDIR}/phonon_backend/libphonon_gstreamer.so

.include <bsd.port.mk>