[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / chat / telepathy-qt

File: [cvs.NetBSD.org] / pkgsrc / chat / telepathy-qt / Makefile (download)

Revision 1.15, Sat Dec 21 16:43:59 2019 UTC (3 years, 1 month ago) by nros
Branch: MAIN
CVS Tags: pkgsrc-2019Q4-base, pkgsrc-2019Q4
Changes since 1.14: +3 -1 lines

Turn off -Werror for telepathy-qt

Warnings are emitted in example code because some dependencies has depracated
some things. This breaks the build because -Werror is used. So turn it off.

# $NetBSD: Makefile,v 1.15 2019/12/21 16:43:59 nros Exp $

DISTNAME=	telepathy-qt-0.9.6.1
PKGREVISION=	3
CATEGORIES=	chat
MASTER_SITES=	http://telepathy.freedesktop.org/releases/telepathy-qt/

MAINTAINER=	jaapb@NetBSD.org
HOMEPAGE=	https://telepathy.freedesktop.org/doc/telepathy-qt/
COMMENT=	Qt bindings for telepathy
LICENSE=	gnu-lgpl-v2.1

USE_CMAKE=	yes
USE_TOOLS+=	pkg-config
USE_LANGUAGES=	c c++

CMAKE_ARGS+=-DDISABLE_WERROR=ON

PKGCONFIG_OVERRIDE+=	TelepathyQt/TelepathyQt.pc.in
PKGCONFIG_OVERRIDE+=	TelepathyQt/TelepathyQtService.pc.in
PKGCONFIG_OVERRIDE+=	TelepathyQt/Farstream/TelepathyQtFarstream.pc.in

PYTHON_FOR_BUILD_ONLY=		yes
PYTHON_VERSIONS_ACCEPTED=	27 # not yet ported as of 0.24.1
BUILD_DEPENDS+=			${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat

BUILDLINK_TRANSFORM.SunOS+=	rm:-Wl,--no-add-needed

.include "../../chat/telepathy-farstream/buildlink3.mk"
BUILDLINK_API_DEPENDS.telepathy-glib+=	telepathy-glib>=0.18.0
.include "../../chat/telepathy-glib/buildlink3.mk"
.include "../../devel/glib2/buildlink3.mk"
.include "../../lang/python/application.mk"
.include "../../multimedia/gstreamer1/buildlink3.mk"
.include "../../sysutils/dbus/buildlink3.mk"
.include "../../sysutils/dbus-glib/buildlink3.mk"
.include "../../x11/qt4-libs/buildlink3.mk"
.include "../../x11/qt4-tools/buildlink3.mk"
.include "../../x11/qt4-qdbus/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"