[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / graphics / cheese

File: [cvs.NetBSD.org] / pkgsrc / graphics / cheese / Makefile (download)

Revision 1.87, Thu Jan 23 16:06:36 2020 UTC (12 months ago) by nia
Branch: MAIN
Changes since 1.86: +2 -1 lines

cheese: Needs vala

# $NetBSD: Makefile,v 1.87 2020/01/23 16:06:36 nia Exp $

DISTNAME=	cheese-3.34.0
CATEGORIES=	graphics gnome
MASTER_SITES=	${MASTER_SITE_GNOME:=sources/cheese/3.34/}
EXTRACT_SUFX=	.tar.xz

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	https://wiki.gnome.org/Apps/Cheese
COMMENT=	Use your webcam to take photos and videos
LICENSE=	gnu-gpl-v2

DEPENDS+=	gst-plugins1-v4l2-[0-9]*:../../multimedia/gst-plugins1-v4l2

USE_TOOLS+=	pkg-config msgfmt xgettext

MESON_ARGS+=	-Dgtk_doc=false
MESON_ARGS+=	-Dman=false

PYTHON_FOR_BUILD_ONLY=	tool

# workaround for build failure
# https://gitlab.gnome.org/GNOME/json-glib/issues/35
MAKE_ENV+=	LD_LIBRARY_PATH=${WRKSRC}/output/libcheese

# XXX msgfmt: unknown option -- desktop
_TOOLS_USE_PKGSRC.msgfmt=	yes

PKGCONFIG_OVERRIDE_STAGE=	pre-install
PKGCONFIG_OVERRIDE+=		output/meson-private/cheese.pc
PKGCONFIG_OVERRIDE+=		output/meson-private/cheese-gtk.pc

.include "../../devel/meson/build.mk"
.include "../../devel/glib2/schemas.mk"
.include "../../audio/libcanberra/buildlink3.mk"
.include "../../devel/gobject-introspection/buildlink3.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../graphics/clutter-gtk/buildlink3.mk"
.include "../../lang/vala/buildlink3.mk"
.include "../../multimedia/clutter-gst/buildlink3.mk"
.include "../../multimedia/gstreamer1/buildlink3.mk"
.include "../../multimedia/gst-plugins1-good/buildlink3.mk"
.include "../../multimedia/gst-plugins1-bad/buildlink3.mk"
.include "../../multimedia/gnome-video-effects/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../x11/gnome-desktop3/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"