freebsd-ports/multimedia/qt5-phonon4-designerplugin/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

30 lines
779 B
Makefile

# $FreeBSD$
PORTNAME= phonon
PORTVERSION= 4.9.0
CATEGORIES= multimedia kde
MASTER_SITES= KDE/stable/${PORTNAME}/${PORTVERSION}
PKGNAMEPREFIX= qt5-
PKGNAMESUFFIX= 4
PKGNAMESUFFIX= -designerplugin
DIST_SUBDIR= KDE
MAINTAINER= kde@FreeBSD.org
COMMENT= Qt 5 Designer plugin for Phonon 4
LICENSE= LGPL21
BUILD_DEPENDS= ${LOCALBASE}/share/ECM/cmake/ECMConfig.cmake:devel/extra-cmake-modules
USES= cmake tar:xz
USE_QT5= buildtools_build qmake_build designer phonon4
CMAKE_ARGS= -DPHONON_QT_PLUGIN_INSTALL_DIR=${PREFIX}/${QT_PLUGINDIR_REL}/designer \
-DPHONON_BUILD_PHONON4QT5=ON
BUILD_WRKSRC= ${WRKSRC}/designer
INSTALL_WRKSRC= ${BUILD_WRKSRC}
DISTINFO_FILE= ${.CURDIR:H}/qt5-phonon4/distinfo
PLIST_FILES= ${QT_PLUGINDIR_REL}/designer/phononwidgets.so
.include <bsd.port.mk>