aboutsummaryrefslogtreecommitdiff
path: root/multimedia/cheese/Makefile
blob: b6d6376a0862695926b92e9bc3c10cc72171eafe (plain) (blame)
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# Created by: FreeBSD GNOME Team <gnome@freebsd.org>

PORTNAME=	cheese
PORTVERSION=	41.0
CATEGORIES=	multimedia gnome
MASTER_SITES=	GNOME/sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+)\..*/\1/}
DIST_SUBDIR=	gnome

MAINTAINER=	gnome@FreeBSD.org
COMMENT=	Photobooth-inspired app for taking pictures and videos from webcam

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/COPYING

BUILD_DEPENDS=	v4l_compat>=0:multimedia/v4l_compat \
		gnome-video-effects>=0:graphics/gnome-video-effects \
		vala>=0.14.0:lang/vala \
		itstool:textproc/itstool
LIB_DEPENDS=	libcanberra-gtk3.so:audio/libcanberra-gtk3 \
		libcanberra.so:audio/libcanberra \
		libclutter-1.0.so:graphics/clutter \
		libcogl.so:graphics/cogl \
		libjson-glib-1.0.so:devel/json-glib \
		libclutter-gtk-1.0.so:graphics/clutter-gtk3 \
		libclutter-gst-3.0.so:multimedia/clutter-gst3
RUN_DEPENDS=	gnome-video-effects>=0:graphics/gnome-video-effects

PORTSCOUT=	limitw:1,even

USES=		gettext gl gnome localbase:ldflags pkgconfig meson tar:xz xorg
USE_GNOME=	cairo librsvg2 gnomedesktop3 libxml2:build introspection:build
USE_GL=		egl
USE_XORG=	xi xext xdamage xfixes xcomposite xrandr xxf86vm x11
USE_GSTREAMER1=	bad good jpeg ogg theora v4l2 vorbis vpx
INSTALLS_ICONS=	yes
USE_LDCONFIG=	yes
CPPFLAGS+=	-Wno-format-nonliteral

MESON_ARGS=	-Dgtk_doc=false \
		-Dman=false

GLIB_SCHEMAS=	org.gnome.Cheese.gschema.xml

.include <bsd.port.mk>