summaryrefslogtreecommitdiffstats
path: root/multimedia/cheese3/Makefile
blob: 8af126168e5b2f9751d46b7d83f0bc08770d9ec6 (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
45
46
47
48
49
50
51
52
# $FreeBSD$
#   $MCom: ports/multimedia/cheese3/Makefile,v 1.17 2013/03/13 22:35:53 kwm Exp $

PORTNAME=   cheese
PORTVERSION=    3.6.0
CATEGORIES= multimedia gnome
MASTER_SITES=   GNOME
DIST_SUBDIR=    gnome3

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

BUILD_DEPENDS=  ${LOCALBASE}/include/linux/videodev.h:${PORTSDIR}/multimedia/v4l_compat \
        ${LOCALBASE}/libdata/pkgconfig/gnome-video-effects.pc:${PORTSDIR}/graphics/gnome-video-effects \
        vala>=0.14.0:${PORTSDIR}/lang/vala \
        itstool:${PORTSDIR}/textproc/itstool \
        g-ir-scanner:${PORTSDIR}/devel/gobject-introspection
LIB_DEPENDS=    canberra-gtk3:${PORTSDIR}/audio/libcanberra-gtk3 \
        hal:${PORTSDIR}/sysutils/hal \
        gee.2:${PORTSDIR}/devel/libgee06 \
        clutter-gtk-1.0:${PORTSDIR}/graphics/clutter-gtk3 \
        clutter-gst-2.0:${PORTSDIR}/multimedia/clutter-gst
RUN_DEPENDS=    ${LOCALBASE}/libdata/pkgconfig/gnome-video-effects.pc:${PORTSDIR}/graphics/gnome-video-effects

CONFLICTS=  cheese-2.[0-9]*

LATEST_LINK=    cheese3
USE_XORG=   xxf86vm x11
USE_XZ=     yes
USE_GMAKE=  yes
USE_GNOME=  gnomeprefix intlhack evolutiondataserver3 librsvg2 \
        gnomedesktop3 libxml2:build
USES=       gettext pathfix pkgconfig
# USE_GSTREAMER= bad gconf good jpeg ogg theora v4l2 vorbis
USE_GSTREAMER1= bad good jpeg ogg theora v4l2
INSTALLS_OMF=   yes
INSTALLS_ICONS= yes
USE_LDCONFIG=   yes
GNU_CONFIGURE=  yes
CPPFLAGS+=  -I${LOCALBASE}/include -Wno-format-nonliteral
LDFLAGS+=   -L${LOCALBASE}/lib

DOCS=       AUTHORS COPYING ChangeLog NEWS README
GLIB_SCHEMAS=   org.gnome.Cheese.gschema.xml

post-install:
    @${MKDIR} ${DOCSDIR}
.for i in ${DOCS}
    @${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
.endfor

.include <bsd.port.mk>