# $FreeBSD$ PORTNAME= phonon PORTVERSION= 4.9.0 PORTREVISION= 1 CATEGORIES= multimedia MASTER_SITES= KDE/stable/${PORTNAME}/${PORTVERSION} PKGNAMEPREFIX= qt5- PKGNAMESUFFIX= 4 DIST_SUBDIR= KDE MAINTAINER= kde@FreeBSD.org COMMENT= Phonon 4 transitional library for Qt 5 LICENSE= LGPL21 USES= cmake:outsource kde:5 pathfix tar:xz USE_KDE= ecm USE_QT5= core dbus gui opengl widgets \ buildtools_build qmake_build CMAKE_ARGS= -DPHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT:BOOL=TRUE \ -DPHONON_NO_PLATFORMPLUGIN:BOOL=TRUE \ -DPHONON_BUILD_DESIGNER_PLUGIN:BOOL=OFF \ -DPHONON_BUILD_DECLARATIVE_PLUGIN:BOOL=OFF \ -DPHONON_BUILD_PHONON4QT5=ON 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 .include