blob: 3b4618a19ee2baeaeae18882fd8046e2d6f71992 (
plain) (
blame)
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
|
# Created by: Joe Marcus Clarke <marcus@FreeBSD.org>
# $FreeBSD$
PORTNAME= gthumb
PORTVERSION= 2.14.1
PORTREVISION= 5
CATEGORIES= graphics
MASTER_SITES= GNOME
DIST_SUBDIR= gnome2
MAINTAINER= pav@FreeBSD.org
COMMENT= An image viewer and browser for the GNOME 2 environment
LIB_DEPENDS= unique-1.0.2:${PORTSDIR}/x11-toolkits/unique
RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/gsettings-desktop-schemas.pc:${PORTSDIR}/devel/gsettings-desktop-schemas
USE_XZ= yes
USES= bison pathfix pkgconfig gettext
USE_GMAKE= yes
USE_GNOME= gnomeprefix intlhack gnomedocutils gconf2
WANT_GSTREAMER= yes
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
INSTALLS_ICONS= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
GCONF_SCHEMAS= gthumb.schemas gthumb-comments.schemas gthumb-file-manager.schemas \
gthumb-image-viewer.schemas gthumb-importer.schemas gthumb-pixbuf-savers.schemas \
gthumb-slideshow.schemas gthumb_change_date.schemas gthumb_contact_sheet.schemas \
gthumb_convert_format.schemas gthumb_crop_options.schemas gthumb_image_print.schemas \
gthumb_photo_importer.schemas gthumb_rename_series.schemas gthumb_resize_images.schemas \
gthumb_resize_options.schemas gthumb_rotate_options.schemas gthumb_webalbums.schemas
PLIST_SUB= GTHUMB_VER=2.14
OPTIONS_DEFINE= EXIV2 CLUTTER GSTREAMER OPENRAW SOUP BRASERO YELP
OPTIONS_DEFAULT= EXIV2 CLUTTER GSTREAMER OPENRAW SOUP BRASERO YELP
CLUTTER_DESC= Fancy slideshows
GSTREAMER_DESC= Video playback
OPENRAW_DESC= Support for camera RAW files
SOUP_DESC= Web services uploaders
BRASERO_DESC= Write galleries to CD/DVD (large dependency)
YELP_DESC= Viewer for built-in help system
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MEXIV2}
LIB_DEPENDS+= exiv2.12:${PORTSDIR}/graphics/exiv2
CONFIGURE_ARGS+=--enable-exiv2
PLIST_SUB+= EXIV2=""
.else
CONFIGURE_ARGS+=--disable-exiv2
PLIST_SUB+= EXIV2="@comment "
.endif
.if ${PORT_OPTIONS:MCLUTTER}
LIB_DEPENDS+= clutter-gtk-0.10.0:${PORTSDIR}/graphics/clutter-gtk
CONFIGURE_ARGS+=--enable-clutter
.else
CONFIGURE_ARGS+=--disable-clutter
.endif
.if ${PORT_OPTIONS:MGSTREAMER}
USE_GSTREAMER= yes
CONFIGURE_ARGS+=--enable-gstreamer
PLIST_SUB+= GSTREAMER=""
GCONF_SCHEMAS+= gthumb-gstreamer.schemas
.else
CONFIGURE_ARGS+=--disable-gstreamer
PLIST_SUB+= GSTREAMER="@comment "
.endif
.if ${PORT_OPTIONS:MOPENRAW}
LIB_DEPENDS+= openrawgnome.6:${PORTSDIR}/graphics/libopenraw
CONFIGURE_ARGS+=--enable-libopenraw
.else
CONFIGURE_ARGS+=--disable-libopenraw
.endif
.if ${PORT_OPTIONS:MSOUP}
LIB_DEPENDS+= soup-gnome-2.4.1:${PORTSDIR}/devel/libsoup-gnome
CONFIGURE_ARGS+=--enable-libsoup --enable-gnome-keyring
PLIST_SUB+= SOUP=""
GCONF_SCHEMAS+= gthumb-facebook.schemas gthumb-picasaweb.schemas
.else
CONFIGURE_ARGS+=--disable-libsoup --disable-gnome-keyring
PLIST_SUB+= SOUP="@comment "
.endif
.if ${PORT_OPTIONS:MBRASERO}
LIB_DEPENDS+= brasero-burn.3:${PORTSDIR}/sysutils/brasero
CONFIGURE_ARGS+=--enable-libbrasero
PLIST_SUB+= BRASERO=""
.else
CONFIGURE_ARGS+=--disable-libbrasero
PLIST_SUB+= BRASERO="@comment "
.endif
.if ${PORT_OPTIONS:MYELP}
RUN_DEPENDS+= yelp:${PORTSDIR}/x11/yelp
.endif
.include <bsd.port.mk>
|