summaryrefslogblamecommitdiffstats
path: root/multimedia/cheese/Makefile
blob: b351049169a7a4e98651eb3768efdb60c6236b01 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                    
           
                                                                                                

                      
                      

                                
                      

                                 







                                                                                                                



                                                                                                              
                                                                     

                                                                    
                           
                                                 


                   
                                                             
                                  

                                                     
                                            

             
                                       
                 
                                                             
       
                                                              

                      
# Created by: FreeBSD GNOME Team <gnome@freebsd.org>
# $FreeBSD$
#   $MCom: ports-experimental/trunk/multimedia/cheese/Makefile 19524 2014-04-15 05:58:53Z gusi $

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

MAINTAINER= gnome@FreeBSD.org
COMMENT=    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
LIB_DEPENDS=    libcanberra-gtk3.so:${PORTSDIR}/audio/libcanberra-gtk3 \
        libhal.so:${PORTSDIR}/sysutils/hal \
        libclutter-gtk-1.0.so:${PORTSDIR}/graphics/clutter-gtk3 \
        libclutter-gst-2.0.so:${PORTSDIR}/multimedia/clutter-gst
RUN_DEPENDS=    ${LOCALBASE}/libdata/pkgconfig/gnome-video-effects.pc:${PORTSDIR}/graphics/gnome-video-effects

USES=       gettext gmake libtool:keepla pathfix pkgconfig tar:xz
USE_GNOME=  gnomeprefix intlhack evolutiondataserver3 librsvg2 \
        gnomedesktop3 libxml2:build introspection:build
USE_XORG=   xxf86vm x11
USE_GSTREAMER1= bad good jpeg ogg theora v4l2 vpx
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} ${STAGEDIR}${DOCSDIR}
.for i in ${DOCS}
    @${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
.endfor
    @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libcheese*.so.*

.include <bsd.port.mk>