svn commit: r333638 - head/multimedia/phonon
Alberto Villa
avilla at FreeBSD.org
Wed Nov 13 01:57:14 UTC 2013
Author: avilla
Date: Wed Nov 13 01:57:13 2013
New Revision: 333638
URL: http://svnweb.freebsd.org/changeset/ports/333638
Log:
- Fix plist when WITH_DEBUG is set.
- Add LICENSE.
- Use LIB_DEPENDS new format.
- Use OPTIONS helpers.
Modified:
head/multimedia/phonon/Makefile
head/multimedia/phonon/pkg-plist
Modified: head/multimedia/phonon/Makefile
==============================================================================
--- head/multimedia/phonon/Makefile Wed Nov 13 01:54:10 2013 (r333637)
+++ head/multimedia/phonon/Makefile Wed Nov 13 01:57:13 2013 (r333638)
@@ -11,7 +11,9 @@ DIST_SUBDIR= KDE
MAINTAINER= kde at 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_EXTENSIO
-DPHONON_BUILD_DESIGNER_PLUGIN:BOOL=OFF
USE_LDCONFIG= yes
-OPTIONS_DEFINE= PULSEAUDIO
-
-.include <bsd.port.options.mk>
+PLIST_SUB= QT_PREFIX=${QT_PREFIX}
-.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
+OPTIONS_DEFINE= PULSEAUDIO
-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}
Modified: head/multimedia/phonon/pkg-plist
==============================================================================
--- head/multimedia/phonon/pkg-plist Wed Nov 13 01:54:10 2013 (r333637)
+++ head/multimedia/phonon/pkg-plist Wed Nov 13 01:57:13 2013 (r333638)
@@ -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
More information about the svn-ports-all
mailing list