aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/qt5-phonon4-vlc/Makefile
blob: bc8ea580a79b44314502696c4a17cbd8590eb519 (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
# $FreeBSD$

PORTNAME=   phonon
PORTVERSION=    0.9.0
CATEGORIES= multimedia
MASTER_SITES=   KDE/stable/${PORTNAME}/${PORTNAME}-backend${PKGNAMESUFFIX}/${PORTVERSION}
PKGNAMEPREFIX=  qt5-
PKGNAMESUFFIX=  -vlc
DISTNAME=   ${PORTNAME}-backend${PKGNAMESUFFIX}-${PORTVERSION}
DIST_SUBDIR=    KDE

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

LIB_DEPENDS=    libvlc.so:multimedia/vlc

WRKSRC=     ${WRKDIR}/${DISTNAME:S/-backend//}

USES=       cmake:outsource kde:5 pkgconfig tar:xz
USE_KDE=    ecm
USE_QT5=    core gui widgets phonon4 \
        buildtools_build qmake_build
CMAKE_ARGS= -DPHONON_BUILD_PHONON4QT5=ON

PLIST_FILES=    ${QT_PLUGINDIR_REL}/phonon4qt5_backend/phonon_vlc.so

.include <bsd.port.mk>