freebsd-ports/multimedia/phonon-vlc/Makefile
Raphael Kubo da Costa a8a5b40afa Update to 0.7.0.
Release notes: http://community.kde.org/Phonon/Releases/VLC/0.7.0

This commit introduces a new build-time dependency on pkg-config, necessary
to properly detect libvlc. A patch to correctly support the non-pkg-config
code path has been submitted upstream.

Note that multimedia/vlc needs to be at least at version 2.1.0_6,4 (r333434)
for phonon-vlc to manage to find libvlc and actually build.
2013-11-10 20:19:46 +00:00

35 lines
955 B
Makefile

# $FreeBSD$
PORTNAME= phonon
PORTVERSION= 0.7.0
CATEGORIES= multimedia kde ipv6
MASTER_SITES= ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= ${PHONON_BRANCH}/${PORTNAME}/${PORTNAME}-backend${PKGNAMESUFFIX}/${PORTVERSION}/src
PKGNAMESUFFIX= -vlc
DISTNAME= ${PORTNAME}-backend${PKGNAMESUFFIX}-${PORTVERSION}
DIST_SUBDIR= KDE
MAINTAINER= kde@FreeBSD.org
COMMENT= VLC backend for Phonon
LIB_DEPENDS= vlc:${PORTSDIR}/multimedia/vlc
# Required in order to avoid conflicts with multimedia/phonon.
LATEST_LINK= ${PORTNAME}${PKGNAMESUFFIX}
USE_KDE4= kdehier kdeprefix automoc4
USE_QT4= corelib gui phonon \
qmake_build moc_build rcc_build uic_build
USE_XZ= yes
USES= cmake pkgconfig
PHONON_BRANCH= stable
PLIST_SUB+= QT_PREFIX=${QT_PREFIX}
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>