openbsd-ports/x11/gnome/cheese/Makefile
ajacoutot eb1e1eb8e9 Import cheese-2.22.3
Cheese uses your webcam to take photos and videos, applies fancy special
effects and lets you share the fun with others.  Under the hood, Cheese
uses GStreamer to apply fancy effects to photos and videos.  With Cheese
it is easy to take photos of you, your friends, pets or whatever you
want and share them with others.

Add a patch from NetBSD to fix v4l2 support.

BEWARE!
This port is not functionnal right now, an update to
gstreamer-plugins-good is needed first
2008-09-22 13:50:29 +00:00

59 lines
2.0 KiB
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2008/09/22 13:50:29 ajacoutot Exp $
COMMENT= PhotoBooth inspired application
GNOME_PROJECT= cheese
GNOME_VERSION= 2.22.3
CATEGORIES= multimedia
HOMEPAGE= http://www.gnome.org/projects/cheese/
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= ICE ORBit-2 ORBitCosNaming-2 SM X11 Xau Xcomposite \
Xcursor Xdamage Xdmcp Xext Xfixes Xi Xinerama Xrandr \
Xrender Xxf86vm art_lgpl_2 asn1 atk-1.0 audiofile \
bonobo-2 bonobo-activation bonoboui-2 bz2 c cairo \
com_err croco-0.6 crypto db dbus-1 dbus-glib-1 esd \
expat fontconfig freetype gailutil gconf-2 gdk-x11-2.0 \
gdk_pixbuf-2.0 gio-2.0 glib-2.0 glitz gmodule-2.0 \
gnome-2 gnome-keyring gnomecanvas-2 gnomevfs-2 \
gobject-2.0 gsf-1 gssapi gthread-2.0 gtk-x11-2.0 jpeg \
krb5 m nspr4 nss3 pango-1.0 pangocairo-1.0 \
pangoft2-1.0 pcre pixman-1 plc4 plds4 png popt pthread \
ssl ssl3 util xml2 z
MODULES= devel/gettext \
x11/gnome
BUILD_DEPENDS= ::x11/gnome/doc-utils
LIB_DEPENDS= camel-1.2.>=11,ebook-1.2,edataserver-1.2,smime3,softokn3::databases/evolution-data-server \
rsvg-2.>=20:librsvg-*-!no_gnome:x11/gnome/librsvg \
gstinterfaces-0.10,gstreamer-0.10::multimedia/gstreamer-0.10/plugins-base \
gnomeui-2::x11/gnome/libgnomeui
RUN_DEPENDS= :scrollkeeper-*:textproc/scrollkeeper \
:gstreamer-ogg-*:multimedia/gstreamer-0.10/plugins-base,-ogg \
:gstreamer-theora-*:multimedia/gstreamer-0.10/plugins-base,-theora \
:gstreamer-vorbis-*:multimedia/gstreamer-0.10/plugins-base,-vorbis \
::multimedia/gstreamer-0.10/plugins-good # gstreamer v4l2 plugin
USE_X11= Yes
DESKTOP_FILES= Yes
MODGNOME_HELP_FILES=Yes
FAKE_FLAGS= schemadir=${LOCALBASE}/share/schemas/cheese
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
--disable-schemas-install \
--disable-scrollkeeper \
--with-gconf-schema-file-dir=${LOCALBASE}/share/schemas/cheese
.include <bsd.port.mk>