aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/phonon-vlc/Makefile
blob: 211669882c170ddcee7bde9b3085cbd35db28e5f (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
# $FreeBSD$

PORTNAME=   phonon
PORTVERSION=    0.9.1
CATEGORIES= multimedia kde
MASTER_SITES=   KDE/stable/${PORTNAME}/${PORTNAME}-backend${PKGNAMESUFFIX}/${PORTVERSION}
PKGNAMESUFFIX=  -vlc
DISTNAME=   ${PORTNAME}-backend${PKGNAMESUFFIX}-${PORTVERSION}
DIST_SUBDIR=    KDE

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

LICENSE=    LGPL21+
LICENSE_FILE=   ${WRKSRC}/COPYING.LIB

LIB_DEPENDS=    libvlc.so:multimedia/vlc-qt4

USES=       cmake:outsource kde:4 pkgconfig tar:xz
USE_KDE=    automoc4
USE_QT4=    corelib gui phonon \
        qmake_build moc_build rcc_build uic_build

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

.include <bsd.port.mk>