summaryrefslogtreecommitdiff
path: root/graphics/pornview/options.mk
blob: 2c7f3098f4097264541c7225bdeff9c10ec3bd3c (plain)
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
# $NetBSD: options.mk,v 1.3 2006/02/13 15:32:31 rillig Exp $

PKG_OPTIONS_VAR=		PKG_OPTIONS.pornview
PKG_SUPPORTED_OPTIONS=		exif gtk1
PKG_OPTIONS_OPTIONAL_GROUPS=	movie
PKG_OPTIONS_GROUP.movie=	mplayer xine
PKG_SUGGESTED_OPTIONS=		exif

.include "../../mk/bsd.options.mk"

.if !empty(PKG_OPTIONS:Mexif)
CONFIGURE_ARGS+=	--enable-exif
.else
CONFIGURE_ARGS+=	--disable-exif
.endif

.if !empty(PKG_OPTIONS:Mgtk1)
CONFIGURE_ARGS+=	--without-gtk2
.  include "../../graphics/gdk-pixbuf/buildlink3.mk"
.  include "../../x11/gtk/buildlink3.mk"
.else
CONFIGURE_ARGS+=	--with-gtk2
USE_TOOLS+=		pkg-config
.  include "../../devel/glib2/buildlink3.mk"
.  include "../../x11/gtk2/buildlink3.mk"
.endif

.if !empty(PKG_OPTIONS:Mmplayer)
DEPENDS+=		mplayer>=1.0rc3:../../multimedia/mplayer
CONFIGURE_ARGS+=	--enable-mplayer
.elif !empty(PKG_OPTIONS:Mxine)
.  include "../../multimedia/xine-lib/buildlink3.mk"
CONFIGURE_ARGS+=	--enable-xine
.endif