38 lines
932 B
Makefile
38 lines
932 B
Makefile
# $NetBSD: Makefile,v 1.40 2014/02/12 23:18:18 tron Exp $
|
|
|
|
DISTNAME= phonon-4.7.1
|
|
PKGREVISION= 1
|
|
CATEGORIES= multimedia
|
|
MASTER_SITES= ${MASTER_SITE_KDE:=phonon/4.7.1/}
|
|
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
|
|
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"
|