openbsd-ports/x11/gnome/nautilus/Makefile
2013-04-06 07:59:43 +00:00

75 lines
2.0 KiB
Makefile

# $OpenBSD: Makefile,v 1.125 2013/04/06 07:59:43 ajacoutot Exp $
COMMENT= GNOME file manager
# PLIST regen is needed for at least the following ports when
# the nautilus extensions directory changes:
# (i.e. ${LOCALBASE}/lib/nautilus/extensions-3.0)
# graphics/evince
# sysutils/deja-dup
# x11/gnome/file-roller
# x11/gnome/seahorse-nautilus
# x11/gnome/totem
# x11/gnome/tracker
# x11/gnome/user-share
GNOME_PROJECT= nautilus
GNOME_VERSION= 3.8.0
REVISION= 0
SHARED_LIBS += nautilus-extension 3.0 # 5.0
CATEGORIES= x11
HOMEPAGE= http://www.gnome.org/projects/nautilus/
# GPLv2 - LGPLv2 - GFPLv1.1
PERMIT_PACKAGE_CDROM= Yes
WANTLIB += ICE SM X11 Xcomposite Xcursor Xdamage Xext Xfixes Xi
WANTLIB += Xinerama Xrandr Xrender atk-1.0 atk-bridge-2.0 atspi
WANTLIB += c cairo cairo-gobject dbus-1 exempi exif expat ffi
WANTLIB += fontconfig freetype gailutil-3 gdk-3 gdk_pixbuf-2.0
WANTLIB += gio-2.0 glib-2.0 gmodule-2.0 gnome-desktop-3 gobject-2.0
WANTLIB += graphite2 gthread-2.0 gtk-3 harfbuzz icudata icule
WANTLIB += icuuc m notify pango-1.0 pangocairo-1.0 pangoft2-1.0
WANTLIB += pcre pixman-1 png pthread pthread-stubs xcb xcb-render
WANTLIB += xcb-shm xkbfile xml2 z
MODULES= devel/gettext \
x11/gnome \
devel/dconf
RUN_DEPENDS= misc/shared-mime-info \
x11/gnome/gvfs \
devel/gsettings-desktop-schemas
LIB_DEPENDS= x11/gnome/desktop \
devel/libnotify \
graphics/libexif \
textproc/exempi
MODGNOME_TOOLS= goi
MODGNOME_DESKTOP_FILE= Yes
CONFIGURE_ARGS+= --disable-update-mimedb
# it would introduce a cyclic dependency with x11/gnome/tracker; also it
# is better to keep the regular search for nautilus so that we can get
# results from paths not indexed by tracker
CONFIGURE_ARGS += --disable-tracker
MODGNOME_CPPFLAGS= -I${X11BASE}/include
MODGNOME_LDFLAGS= -L${X11BASE}/lib
FAKE_FLAGS= sysconfdir=${PREFIX}/share/examples/nautilus
# needs 'org.gnome.nautilus.preferences'
TEST_DEPENDS= ${BASE_PKGPATH}
TEST_IS_INTERACTIVE= x11
post-install:
rm ${PREFIX}/lib/nautilus/extensions-3.0/*.{a,la}
.include <bsd.port.mk>