freebsd-ports/multimedia/phonon/Makefile
Tobias C. Berner d4c2713478 Update phonon to 4.9.1
* https://community.kde.org/Phonon/Releases/Core
* The backend have not [yet] been releaesed.

Reviewed by:	rakuco
Approved by:	rakuco (mentor)
Differential Revision:	https://reviews.freebsd.org/D9335
2017-01-26 18:05:48 +00:00

46 lines
1.4 KiB
Makefile

# Created by: Martin Wilke <miwi@FreeBSD.org>
# $FreeBSD$
PORTNAME= phonon
PORTVERSION= 4.9.1
CATEGORIES= multimedia kde
MASTER_SITES= KDE/stable/${PORTNAME}/${PORTVERSION}
DIST_SUBDIR= KDE
MAINTAINER= kde@FreeBSD.org
COMMENT= KDE multimedia framework
LICENSE= LGPL21
LIB_DEPENDS= libqzeitgeist.so:sysutils/qzeitgeist
USES= cmake kde:4 pathfix tar:xz
USE_KDE= automoc4
USE_QT4= corelib dbus declarative gui testlib\
qmake_build moc_build rcc_build uic_build
CMAKE_ARGS= -DPHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT:BOOL=TRUE \
-DPHONON_NO_PLATFORMPLUGIN:BOOL=TRUE \
-DPHONON_BUILD_DESIGNER_PLUGIN:BOOL=OFF
USE_LDCONFIG= yes
PLIST_SUB= SHLIB_VER=${PORTVERSION}
OPTIONS_DEFINE= PULSEAUDIO
PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio
PULSEAUDIO_USE= GNOME=glib20
PULSEAUDIO_CMAKE_ON= -DWITH_PulseAudio:BOOL=ON
PULSEAUDIO_CMAKE_OFF= -DWITH_PulseAudio:BOOL=OFF
post-install:
${MKDIR} ${STAGEDIR}${QT_INCDIR}
${MKDIR} ${STAGEDIR}${QT_LIBDIR}
${LN} -sf ${PREFIX}/include/phonon ${STAGEDIR}${QT_INCDIR}/phonon
${LN} -sf ${PREFIX}/include/phonon ${STAGEDIR}${QT_INCDIR}/Phonon
${LN} -sf ${PREFIX}/include/KDE/Phonon ${STAGEDIR}${PREFIX}/include/phonon/Phonon
.for lib in phonon phononexperimental
${LN} -sf ${PREFIX}/lib/lib${lib}.so.${PORTVERSION} ${STAGEDIR}${QT_LIBDIR}/lib${lib}.so
${LN} -sf ${PREFIX}/lib/lib${lib}.so.${PORTVERSION} ${STAGEDIR}${QT_LIBDIR}/lib${lib}.so.4
.endfor
.include <bsd.port.mk>