mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
1ad6236c36
Because vlc uses a dynamic plist that dynamic plist should be created after the removal of the .la files hence move this target into add-plist-data (this is a dirty workaround) and one more reason why dynamic plist are evil libvlc.so.X number has changed (hidden by dynamic plist, told you this is evil) bump all consumers of libvlc.so
29 lines
759 B
Makefile
29 lines
759 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= phonon
|
|
PORTVERSION= 0.7.1
|
|
PORTREVISION= 3
|
|
CATEGORIES= multimedia kde
|
|
MASTER_SITES= KDE/stable/${PORTNAME}/${PORTNAME}-backend${PKGNAMESUFFIX}/${PORTVERSION}
|
|
PKGNAMESUFFIX= -vlc
|
|
DISTNAME= ${PORTNAME}-backend${PKGNAMESUFFIX}-${PORTVERSION}
|
|
DIST_SUBDIR= KDE
|
|
|
|
MAINTAINER= kde@FreeBSD.org
|
|
COMMENT= VLC backend for Phonon
|
|
|
|
LIB_DEPENDS= libvlc.so:${PORTSDIR}/multimedia/vlc
|
|
|
|
USE_KDE4= kdehier kdeprefix automoc4
|
|
USE_QT4= corelib gui phonon \
|
|
qmake_build moc_build rcc_build uic_build
|
|
USE_XZ= yes
|
|
USES= cmake pkgconfig
|
|
|
|
post-install:
|
|
${MKDIR} ${STAGEDIR}${QT_PLUGINDIR}/phonon_backend
|
|
${LN} -sf ${PREFIX}/lib/kde4/plugins/phonon_backend/phonon_vlc.so \
|
|
${STAGEDIR}${QT_PLUGINDIR}/phonon_backend/libphonon_vlc.so
|
|
|
|
.include <bsd.port.mk>
|