pkgsrc/multimedia/phonon/Makefile
markd f7c78883ba Update to phonon 4.7.2
* Fix CMake 3 compatibility by synchronizing the FindQt4.cmake module from
  kdelibs git.
* Prevent possible internal infinite loop call chains when trying to handle
  backend construction in simulation mode (i.e. without actual backend
  being installed on the system).
* When not building with PHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT, make
  sure that the relative Qt paths are set according to whether the build is
  meant for Qt4 or 5. Previously this would always install to a path for
  qt5.
2014-08-12 07:54:07 +00:00

37 lines
924 B
Makefile

# $NetBSD: Makefile,v 1.45 2014/08/12 07:54:07 markd Exp $
DISTNAME= phonon-4.7.2
CATEGORIES= multimedia
MASTER_SITES= ${MASTER_SITE_KDE:=phonon/4.7.2/}
EXTRACT_SUFX= .tar.xz
MAINTAINER= markd@NetBSD.org
HOMEPAGE= http://phonon.kde.org/
COMMENT= Multimedia API for KDE and QT
LICENSE= gnu-lgpl-v2.1
# BUILD_MAKE_FLAGS+= VERBOSE=1
BUILD_DEPENDS+= automoc4>=0.9.83:../../devel/automoc4
USE_TOOLS+= pkg-config gmake
USE_LANGUAGES= c c++
USE_CMAKE= yes
CMAKE_ARG_PATH= ..
CONFIGURE_DIRS= _build
CMAKE_ARGS+= -DPHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT:BOOL=TRUE
.include "options.mk"
PKGCONFIG_OVERRIDE+= phonon.pc.cmake
pre-configure:
${LN} -sf ${QTDIR}/bin/qmake ${BUILDLINK_DIR}/bin/
${MKDIR} ${WRKSRC}/_build
.include "../../x11/qt4-libs/buildlink3.mk"
BUILDLINK_DEPMETHOD.qt4-tools= full
.include "../../x11/qt4-tools/buildlink3.mk"
.include "../../x11/qt4-qdbus/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"