2009-03-09 01:55:48 +01:00
|
|
|
# New ports collection Makefile for: phonon
|
|
|
|
# Date created: 2008-01-30
|
|
|
|
# Whom: Martin Wilke <miwi@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= phonon
|
2010-06-09 21:39:52 +02:00
|
|
|
PORTVERSION= 4.4.2
|
2009-03-09 01:55:48 +01:00
|
|
|
CATEGORIES= multimedia kde ipv6
|
2010-06-09 21:39:52 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_KDE}
|
2010-06-11 00:18:02 +02:00
|
|
|
MASTER_SITE_SUBDIR= ${PHONON_BRANCH}/${PORTNAME}/${PORTVERSION}/
|
2009-03-09 01:55:48 +01:00
|
|
|
PKGNAMESUFFIX= -xine
|
|
|
|
DIST_SUBDIR= KDE
|
|
|
|
|
|
|
|
MAINTAINER= kde@FreeBSD.org
|
|
|
|
COMMENT= Phonon xine backend
|
|
|
|
|
2009-08-05 21:15:14 +02:00
|
|
|
LIB_DEPENDS= xine.1:${PORTSDIR}/multimedia/libxine
|
2009-03-09 01:55:48 +01:00
|
|
|
|
|
|
|
CONFLICTS= phonon-4.3.0*
|
|
|
|
|
2010-05-11 11:47:27 +02:00
|
|
|
PHONON_BRANCH= stable
|
2009-03-09 01:55:48 +01:00
|
|
|
USE_BZIP2= yes
|
|
|
|
USE_CMAKE= yes
|
|
|
|
USE_KDE4= kdehier automoc4 kdeprefix
|
|
|
|
USE_QT_VER= 4
|
2009-08-05 21:15:14 +02:00
|
|
|
QT_COMPONENTS= gui dbus xml phonon \
|
2009-03-09 01:55:48 +01:00
|
|
|
qmake_build moc_build rcc_build uic_build
|
|
|
|
|
2010-05-11 11:47:27 +02:00
|
|
|
PLIST_SUB+= QT_PREFIX=${QT_PREFIX}
|
|
|
|
|
2009-03-09 01:55:48 +01:00
|
|
|
post-patch:
|
|
|
|
#fix finding automoc when PREFIX is not matched KDE4_PREFIX
|
|
|
|
${REINPLACE_CMD} -e 's|NO_DEFAULT_PATH|${KDE4_PREFIX} NO_DEFAULT_PATH|' \
|
|
|
|
${WRKSRC}/cmake/FindAutomoc4.cmake
|
|
|
|
|
2010-05-11 11:47:27 +02:00
|
|
|
pre-install:
|
|
|
|
${MKDIR} ${QT_PLUGINDIR}/phonon_backend
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
${LN} -sf ${PREFIX}/lib/kde4/plugins/phonon_backend/phonon_xine.so ${QT_PLUGINDIR}/phonon_backend/libphonon_xine.so
|
|
|
|
|
2009-03-09 01:55:48 +01:00
|
|
|
.include <bsd.port.mk>
|