openbsd-ports/x11/gnome/settings-daemon/Makefile

82 lines
2.4 KiB
Makefile
Raw Normal View History

2012-08-04 10:48:18 -04:00
# $OpenBSD: Makefile,v 1.78 2012/08/04 14:50:19 ajacoutot Exp $
2010-10-26 10:34:36 -04:00
SHARED_ONLY= Yes
COMMENT= GNOME settings daemon
GNOME_PROJECT= gnome-settings-daemon
GNOME_VERSION= 3.4.2
2012-08-04 10:48:18 -04:00
REVISION= 2
2011-04-06 15:04:50 -04:00
# GPLv3
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2011-11-02 12:42:21 -04:00
WANTLIB += GL X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes
WANTLIB += Xi Xinerama Xrandr Xrender Xxf86vm asn1 atk-1.0 c cairo
WANTLIB += cairo-gobject canberra canberra-gtk3 colord crypto
WANTLIB += cups dbus-1 dbus-glib-1 drm execinfo expat ffi fontconfig
2012-03-29 02:47:51 -04:00
WANTLIB += freetype gdbm gdk-3 gdk_pixbuf-2.0 gio-2.0 glib-2.0
WANTLIB += gmodule-2.0 gnome-desktop-3 gnomekbd gnomekbdui gobject-2.0
WANTLIB += gssapi gthread-2.0 gtk-3 json krb5 lcms2 ltdl m notify
WANTLIB += nspr4 nss3 nssutil3 ogg pango-1.0 pangocairo-1.0 pangoft2-1.0
WANTLIB += pcre pixman-1 plc4 plds4 png pthread pthread-stubs
WANTLIB += pulse pulse-mainloop-glib smime3 sndfile softokn3 sqlite3
WANTLIB += ssl ssl3 stdc++ upower-glib vorbis vorbisfile xcb xcb-render
WANTLIB += xcb-shm xkbfile xklavier xml2 z
MODULES= devel/gettext \
2011-09-12 03:28:52 -04:00
x11/gnome
LIB_DEPENDS= devel/libnotify>=0.7.2 \
2010-11-22 03:36:47 -05:00
x11/gnome/desktop \
x11/gnome/libgnomekbd \
2011-09-12 03:28:52 -04:00
security/nss \
2012-08-04 10:48:18 -04:00
print/cups,-libs \
audio/pulseaudio \
2011-09-27 05:35:06 -04:00
audio/libcanberra,-gtk3 \
2011-11-02 12:42:21 -04:00
sysutils/upower \
graphics/colord
2011-09-26 09:23:15 -04:00
BUILD_DEPENDS= devel/gsettings-desktop-schemas
RUN_DEPENDS= devel/gsettings-desktop-schemas
2012-03-29 02:47:51 -04:00
# share/polkit-1/actions/org.gnome.settings-daemon.plugins.power.policy
RUN_DEPENDS += sysutils/polkit
# otherwise we end up without icons on minimal install
2011-09-26 09:23:15 -04:00
RUN_DEPENDS+= x11/gnome/icon-theme
MODGNOME_DESKTOP_FILE= Yes
2011-12-03 17:17:15 -05:00
MODGNOME_ICON_CACHE= Yes
2011-09-12 03:28:52 -04:00
LIBTOOL_FLAGS= --tag=disable-static
MODGNOME_CPPFLAGS= -I${X11BASE}/include
2012-05-14 13:46:22 -04:00
MODGNOME_LDFLAGS= -L${X11BASE}/lib -Wl,-rpath,${LOCALBASE}/lib/pulseaudio
2012-03-29 02:47:51 -04:00
CONFIGURE_ARGS= --disable-static \
2011-09-12 03:28:52 -04:00
--disable-packagekit \
2011-09-27 05:35:06 -04:00
--disable-gudev \
2012-03-29 02:47:51 -04:00
--disable-systemd
FAKE_FLAGS+= desktopdir=${PREFIX}/share/examples/gnome-settings-daemon/xdg/autostart \
sysconfdir=${PREFIX}/share/examples/gnome-settings-daemon \
DBUS_SYS_DIR=${PREFIX}/share/examples/gnome-settings-daemon/dbus-1/system.d
2012-04-27 06:59:31 -04:00
AUTOCONF_VERSION= 2.68
AUTOMAKE_VERSION= 1.11
BUILD_DEPENDS +=devel/autoconf/${AUTOCONF_VERSION} \
devel/automake/${AUTOMAKE_VERSION} \
devel/libtool
pre-configure:
@cd ${WRKSRC} && \
AUTOCONF_VERSION=${AUTOCONF_VERSION} \
AUTOMAKE_VERSION=${AUTOMAKE_VERSION} \
autoreconf -i
.include <bsd.port.mk>