openbsd-ports/x11/gnome/controlcenter/Makefile

126 lines
3.9 KiB
Makefile
Raw Normal View History

2011-11-14 08:28:04 -05:00
# $OpenBSD: Makefile,v 1.55 2011/11/14 13:28:04 ajacoutot Exp $
2011-10-02 09:31:33 -04:00
# XXX Binary files patch-panels_info_hostnames-test_txt and
# patch-panels_info_hostnames-test_txt.new differ
DIFF_ARGS= -a
2011-09-12 03:33:03 -04:00
SHARED_ONLY= Yes
COMMENT= GNOME control center
GNOME_PROJECT= gnome-control-center
GNOME_VERSION= 3.2.2
2011-09-12 03:33:03 -04:00
2011-11-14 08:28:04 -05:00
REVISION= 1
2011-09-12 03:33:03 -04:00
SHARED_LIBS += gnome-control-center 0.0 # 1.0
CATEGORIES= x11
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2011-11-02 12:43:00 -04:00
WANTLIB += GL ICE SM X11 Xau Xcomposite Xcursor Xdamage Xdmcp
WANTLIB += Xext Xfixes Xi Xinerama Xrandr Xrender Xt Xxf86vm asn1
WANTLIB += atk-1.0 c cairo cairo-gobject canberra canberra-gtk3
WANTLIB += colord crypto cups dbus-1 dbus-glib-1 drm enchant execinfo
WANTLIB += expat ffi fontconfig freetype gailutil-3 gconf-2 gcrypt
WANTLIB += gdbm gdk-3 gdk_pixbuf-2.0 gio-2.0 glib-2.0 gmodule-2.0
WANTLIB += gnome-desktop-3 gnome-keyring gnome-menu-3 gnomekbd
WANTLIB += gnomekbdui goa-1.0 goa-backend-1.0 gobject-2.0 gpg-error
WANTLIB += gssapi gstapp-0.10 gstbase-0.10 gstinterfaces-0.10
WANTLIB += gstpbutils-0.10 gstreamer-0.10 gstvideo-0.10 gthread-2.0
WANTLIB += gtk-3 gtop-2.0 icudata icui18n icuuc javascriptcoregtk-3.0
WANTLIB += jpeg json json-glib-1.0 krb5 kvm ltdl m notify ogg
WANTLIB += pango-1.0 pangocairo-1.0 pangoft2-1.0 pcre pixman-1
WANTLIB += png polkit-gobject-1 pthread pthread-stubs pulse pulse-mainloop-glib
WANTLIB += rest-0.7 sndfile soup-2.4 soup-gnome-2.4 sqlite3 ssl
2011-11-06 04:00:31 -05:00
WANTLIB += stdc++ upower-glib vorbis vorbisfile webkitgtk-3.0
WANTLIB += xcb xcb-render xcb-shm xkbfile xklavier xml2 xslt z
2011-09-12 03:33:03 -04:00
MODULES= devel/gettext \
x11/gnome
LIB_DEPENDS= x11/gnome/desktop \
2011-09-27 08:15:23 -04:00
x11/gnome/menus>=3.2.0 \
2011-09-12 03:33:03 -04:00
x11/gnome/libgnomekbd \
2011-09-27 08:15:23 -04:00
x11/gnome/online-accounts \
2011-09-12 03:33:03 -04:00
sysutils/upower \
devel/libgtop2 \
2011-09-25 08:47:49 -04:00
print/cups \
2011-11-02 12:43:00 -04:00
audio/pulseaudio \
graphics/colord
2011-09-12 03:33:03 -04:00
2011-11-02 12:43:00 -04:00
BUILD_DEPENDS= x11/gnome/settings-daemon>=3.2.0p1 \
devel/gsettings-desktop-schemas>=3.0.2
2011-11-02 12:43:00 -04:00
RUN_DEPENDS= x11/gnome/settings-daemon>=3.2.0p1 \
devel/gsettings-desktop-schemas>=3.0.2
2011-09-12 03:33:03 -04:00
# NOTE that a11y dependencies (e.g. mousetweaks, caribou...) are not
# enforced on purpose.
# needed for gnome-color-panel
RUN_DEPENDS+= x11/gnome/color-manager
2011-09-12 03:33:03 -04:00
# needed for gnome-power-panel+gnome-screen-panel
RUN_DEPENDS+= x11/gnome/power-manager
# needed for gnome-printers-panel
RUN_DEPENDS+= print/cups-pk-helper
2011-09-12 03:33:03 -04:00
# needed for gnome-screen-panel
RUN_DEPENDS+= x11/gnome/screensaver
2011-09-25 08:47:49 -04:00
# needed for gnome-sound-applet
RUN_DEPENDS+= x11/gnome/icon-theme-symbolic
2011-09-12 03:33:03 -04:00
# needed for gnome-user-accounts-panel
RUN_DEPENDS+= sysutils/accountsservice \
security/apg
2011-09-20 16:52:45 -04:00
MODGNOME_TOOLS= yelp
2011-09-25 08:47:49 -04:00
MODGNOME_DESKTOP_FILE= Yes
2011-09-12 03:33:03 -04:00
# Language code is synced with gdm but gnome-control-center does not
# provide a --with-incomplete-locales configure switch.
CFLAGS += -DWITH_INCOMPLETE_LOCALES
2011-09-25 08:47:49 -04:00
LIBTOOL_FLAGS= --tag=disable-static
CONFIGURE_ARGS= --disable-static \
--disable-update-mimedb \
2011-09-12 03:33:03 -04:00
--without-cheese \
--enable-cups
# Disable libsocialweb support until Flickr integration is fixed upstream.
CONFIGURE_ARGS+=--without-libsocialweb
MODGNOME_CPPFLAGS= -I${X11BASE}/include
MODGNOME_LDFLAGS= -L${X11BASE}/lib
2011-09-12 03:33:03 -04:00
FAKE_FLAGS= sysconfdir=${PREFIX}/share/examples/gnome-control-center \
pkgconfigdir=${PREFIX}/lib/pkgconfig/
2011-09-27 08:15:23 -04:00
# XXX plugins that are not fully working yet:
2011-09-12 03:33:03 -04:00
# * gnome-media-panel needs udev to take appropriate action on device
# plug (see patch-schemas_org_gnome_desktop_media-handling_gschema_xml_in_in
# in devel/gsettings-desktop-schemas).
# * gnome-wacom-panel needs device detection support and gnome-bluetooth
2011-11-05 10:07:43 -04:00
DISABLED_PLUGINS= media wacom
2011-09-12 03:33:03 -04:00
pre-configure:
${SUBST_CMD} ${WRKSRC}/panels/printers/cc-printers-panel.c
post-install:
.for i in ${DISABLED_PLUGINS}
cd ${PREFIX} && \
2011-09-27 08:15:23 -04:00
rm lib/control-center-1/panels/lib$i* ;\
2011-09-12 03:33:03 -04:00
rm share/applications/gnome-$i-panel.desktop ;\
rm share/gnome-control-center/ui/*$i*.ui
.endfor
.include <bsd.port.mk>