1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-30 05:40:06 +00:00
freebsd-ports/multimedia/cheese/Makefile
Gleb Popov 09b21175cf multimedia/cheese: Fix build with non-default LOCALBASE.
PR:		226106
Submitted by:	John Hein <jcfyecrayz@liamekaens.com>
2020-04-28 09:42:17 +00:00

65 lines
1.9 KiB
Makefile

# Created by: FreeBSD GNOME Team <gnome@freebsd.org>
# $FreeBSD$
PORTNAME= cheese
PORTVERSION= 3.28.0
CATEGORIES= multimedia gnome
MASTER_SITES= GNOME
DIST_SUBDIR= gnome3
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 \
libhal.so:sysutils/hal \
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 gmake gnome libtool localbase pathfix \
pkgconfig tar:xz xorg
USE_GNOME= cairo intlhack evolutiondataserver3 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
GNU_CONFIGURE= yes
CPPFLAGS+= -Wno-format-nonliteral
INSTALL_TARGET= install-strip
DOCS= AUTHORS COPYING ChangeLog NEWS README
GLIB_SCHEMAS= org.gnome.Cheese.gschema.xml
OPTIONS_SUB= yes
OPTIONS_DEFINE= MANPAGES DOCS
OPTIONS_DEFAULT=MANPAGES
MANPAGES_CONFIGURE_ENABLE= man
MANPAGES_CONFIGURE_WITH= xml-catalog=${LOCALBASE}/share/xml/catalog
MANPAGES_BUILD_DEPENDS= docbook-xml>=0:textproc/docbook-xml \
docbook-xsl>=0:textproc/docbook-xsl
MANPAGES_USE= GNOME=libxslt:build
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in ${DOCS}
@${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
.endfor
.include <bsd.port.mk>