1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00

- Fix plist when WITH_DEBUG is set.

- Add LICENSE.
- Use LIB_DEPENDS new format.
- Use OPTIONS helpers.
This commit is contained in:
Alberto Villa 2013-11-13 01:57:13 +00:00
parent b454b52e5a
commit c6a872f8a5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=333638
2 changed files with 10 additions and 13 deletions

View File

@ -11,7 +11,9 @@ DIST_SUBDIR= KDE
MAINTAINER= kde@FreeBSD.org
COMMENT= KDE multimedia framework
LIB_DEPENDS= qzeitgeist:${PORTSDIR}/sysutils/qzeitgeist
LICENSE= LGPL21
LIB_DEPENDS= libqzeitgeist.so:${PORTSDIR}/sysutils/qzeitgeist
CONFLICTS= qt4-phonon-4*
@ -27,19 +29,14 @@ CMAKE_ARGS= -DPHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT:BOOL=TRUE \
-DPHONON_BUILD_DESIGNER_PLUGIN:BOOL=OFF
USE_LDCONFIG= yes
PLIST_SUB= QT_PREFIX=${QT_PREFIX}
OPTIONS_DEFINE= PULSEAUDIO
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MPULSEAUDIO}
LIB_DEPENDS+= pulse:${PORTSDIR}/audio/pulseaudio
USE_GNOME+= glib20
CMAKE_ARGS+= -DWITH_PulseAudio:BOOL=ON
.else
CMAKE_ARGS+= -DWITH_PulseAudio:BOOL=OFF
.endif
PLIST_SUB+= QT_PREFIX=${QT_PREFIX}
PULSEAUDIO_LIB_DEPENDS= libpulse.so:${PORTSDIR}/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}

View File

@ -159,7 +159,7 @@ include/phonon/volumefaderinterface.h
include/phonon/volumeslider.h
lib/cmake/phonon/PhononConfig.cmake
lib/cmake/phonon/PhononConfigVersion.cmake
lib/cmake/phonon/PhononTargets-release.cmake
lib/cmake/phonon/PhononTargets-%%CMAKE_BUILD_TYPE%%.cmake
lib/cmake/phonon/PhononTargets.cmake
lib/libphonon.so
lib/libphonon.so.4