ajacoutot 205c226bb2 Rework the way we handle build_depends with the gnome MODULE when
MODGNOME_HELP_FILES is set to yes.

* add a build_depends on gnome-doc-utils if MODGNOME_HELP_FILES is set
to yes
* add rarian as a run_depends for gnome-doc-utils (will help with older
ports that will never be updated from using deprecated scrollkeeper)
* remove build+run_depends on gnome-doc-utils and rarian for ports that
have MODGNOME_HELP_FILES as they are now implied.
* bump where needed

This should help in having all required build dependencies for
gnome-related ports and it greatly simplifies things.

"thanks for cleaning this mess" and ok jasper@
2009-04-06 10:05:20 +00:00

60 lines
2.0 KiB
Makefile

# $OpenBSD: Makefile,v 1.14 2009/04/06 10:05:20 ajacoutot Exp $
BROKEN= does not work after changes in the UVC layer
COMMENT= PhotoBooth inspired application
GNOME_PROJECT= cheese
GNOME_VERSION= 2.24.3
PKGNAME= ${DISTNAME}p5
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 art_lgpl_2 asn1 atk-1.0 \
bonobo-2 bonobo-activation bonoboui-2 bz2 c cairo \
com_err croco-0.6 crypto dbus-1 dbus-glib-1 \
expat fontconfig freetype gailutil gconf-2 gcrypt 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 gnutls \
gobject-2.0 gpg-error gsf-1 gssapi gthread-2.0 gtk-x11-2.0 \
krb5 m nspr4 nss3 pango-1.0 pangocairo-1.0 \
pangoft2-1.0 pcre pixman-1 plc4 plds4 png popt pthread \
ssl ssl3 tasn1 util xml2 z soup-2.4 sqlite3
MODULES= devel/gettext \
x11/gnome
LIB_DEPENDS= camel-1.2.>=11,ebook-1.2,edataserver-1.2,smime3,softokn3::databases/evolution-data-server \
rsvg-2.>=20::x11/gnome/librsvg \
gstinterfaces-0.10,gstreamer-0.10::multimedia/gstreamer-0.10/plugins-base \
gnomeui-2::x11/gnome/libgnomeui
RUN_DEPENDS= :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>