summaryrefslogtreecommitdiff
path: root/multimedia/phonon/Makefile.common
blob: b40e1f0c156dd926fc7fc24c4358d3eace8f4567 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# $NetBSD: Makefile.common,v 1.6 2019/08/27 06:39:24 markd Exp $

CATEGORIES=	multimedia
MASTER_SITES=	${MASTER_SITE_KDE:=phonon/4.10.3/}
EXTRACT_SUFX=	.tar.xz

MAINTAINER=	markd@NetBSD.org
HOMEPAGE=	https://phonon.kde.org/
LICENSE=	gnu-lgpl-v2.1

PATCHDIR=	${.CURDIR}/../../multimedia/phonon/patches
DISTINFO_FILE=	${.CURDIR}/../../multimedia/phonon/distinfo

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 "../../multimedia/phonon/options.mk"

PKGCONFIG_OVERRIDE+=	phonon.pc.cmake

pre-configure:
	${LN} -sf ${QTDIR}/bin/qmake ${BUILDLINK_DIR}/bin/
	${MKDIR} ${WRKSRC}/_build