freebsd-ports/multimedia/phonon-gstreamer/Makefile
Raphael Kubo da Costa c4394b98d4 Update Phonon to 4.9.0.
Release notes:
- https://community.kde.org/Phonon/Releases/Core/4.9.0
- https://community.kde.org/Phonon/Releases/GStreamer/4.9.0
- https://community.kde.org/Phonon/Releases/VLC/0.9.0

This release fixes the build with the upcoming Qt 5.6, which was failing like
this:

    /usr/bin/c++   -O2 -pipe -fstack-protector -fno-strict-aliasing -Wnon-virtual-dtor -Wno-long-long -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -Woverloaded-virtual -fno-common -fvisibility=hidden -Werror=return-type -fvisibility-inlines-hidden -Wno-return-type-c-linkage     CMakeFiles/cmTC_08ed6.dir/check_qt_visibility.cpp.o  -o cmTC_08ed6
    CMakeFiles/cmTC_08ed6.dir/check_qt_visibility.cpp.o:(.qtversion[qt_version_tag]+0x0): undefined reference to `qt_version_tag'

Most of the work was done by tcberner@.

PR:		211916
2016-09-04 14:30:13 +00:00

39 lines
1 KiB
Makefile

# Created by: Martin Wilke <miwi@FreeBSD.org>
# $FreeBSD$
PORTNAME= phonon
PORTVERSION= 4.9.0
CATEGORIES= multimedia kde
MASTER_SITES= KDE/stable/${PORTNAME}/${PORTNAME}-backend${PKGNAMESUFFIX}/${PORTVERSION}
PKGNAMESUFFIX= -gstreamer
DISTNAME= ${PORTNAME}-backend${PKGNAMESUFFIX}-${PORTVERSION}
DIST_SUBDIR= KDE
MAINTAINER= kde@FreeBSD.org
COMMENT= GStreamer backend for Phonon
LICENSE= LGPL21
WRKSRC= ${WRKDIR}/${DISTNAME:S/-backend//}
USES= cmake kde:4 pkgconfig tar:xz
USE_GL= gl
USE_GNOME= glib20 libxml2
USE_GSTREAMER1= yes
USE_KDE= automoc4
USE_QT4= corelib gui opengl phonon \
qmake_build moc_build rcc_build uic_build
USE_XORG= x11
SUB_FILES= pkg-message
OPTIONS_DEFINE= GST_PLUGINS
GST_PLUGINS_DESC= Install GStreamer plugins
GST_PLUGINS_RUN_DEPENDS= gstreamer1-plugins-all>=0:multimedia/gstreamer1-plugins-all
post-install:
${MKDIR} ${STAGEDIR}${QT_PLUGINDIR}/phonon_backend
${LN} -sf ${PREFIX}/lib/kde4/plugins/phonon_backend/phonon_gstreamer.so \
${STAGEDIR}${QT_PLUGINDIR}/phonon_backend/libphonon_gstreamer.so
.include <bsd.port.mk>