freebsd-ports/x11-wm/compiz/Makefile

172 lines
4.6 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: compiz
# Date created: Dec 20 2006
# Whom: Florent Thoumie <flz@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= compiz
PORTVERSION= 0.8.4
2012-06-01 07:26:28 +02:00
PORTREVISION= 8
CATEGORIES= x11-wm
MASTER_SITES= http://releases.compiz.org/${PORTVERSION}/
2011-07-05 04:51:42 +02:00
MAINTAINER= ports@FreeBSD.org
COMMENT= Compiz Composite/Window Manager
2012-06-01 07:26:28 +02:00
LIB_DEPENDS= png15:${PORTSDIR}/graphics/png \
2010-04-03 08:51:12 +02:00
gtop-2.0.7:${PORTSDIR}/devel/libgtop \
startup-notification-1.0:${PORTSDIR}/x11/startup-notification
RUN_DEPENDS= glxinfo:${PORTSDIR}/graphics/mesa-demos \
nvidia-settings:${PORTSDIR}/x11/nvidia-settings
XORG_CAT= app
GNU_CONFIGURE= yes
USE_BZIP2= yes
#USE_TGZ= yes
USE_GMAKE= yes
USE_GETTEXT= yes
USE_GL= glu
USE_GNOME= gnomehack gconf2 libxslt
USE_XORG= xcomposite xfixes xdamage xrandr xrender ice sm xinerama glproto
USE_LDCONFIG= yes
2010-12-04 08:34:27 +01:00
USE_AUTOTOOLS= libtool
GCONF_SCHEMAS= gwd.schemas \
compiz-annotate.schemas \
compiz-blur.schemas \
compiz-clone.schemas \
compiz-commands.schemas \
compiz-core.schemas \
compiz-cube.schemas \
compiz-dbus.schemas \
compiz-decoration.schemas \
compiz-fade.schemas \
compiz-fs.schemas \
compiz-gconf.schemas \
compiz-glib.schemas \
compiz-gnomecompat.schemas \
compiz-ini.schemas \
compiz-inotify.schemas \
compiz-kconfig.schemas \
compiz-minimize.schemas \
compiz-move.schemas \
compiz-obs.schemas \
compiz-place.schemas \
compiz-png.schemas \
compiz-regex.schemas \
compiz-resize.schemas \
compiz-rotate.schemas \
compiz-scale.schemas \
compiz-screenshot.schemas \
compiz-svg.schemas \
compiz-switcher.schemas \
compiz-video.schemas \
compiz-water.schemas \
compiz-wobbly.schemas \
compiz-zoom.schemas
CONFIGURE_ARGS= --disable-kde4
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
2012-05-31 16:49:26 +02:00
OPTIONS_DEFINE= SVG GTK2 METACITY GNOME DBUS FUSE KDE3
OPTIONS_DEFAULT= SVG GTK2 METACITY GNOME DBUS
METACITY_DESC= Enable Metacity support
SUB_FILES= compiz-manager
DESKTOP_ENTRIES= "Compiz Manager" \
"A wrapper script for starting compiz" \
"" \
"compiz-manager" \
"Application;Core;" \
false
post-patch:
2012-06-01 07:26:28 +02:00
@${REINPLACE_CMD} -e 's|libpng|libpng15|' -e 's|gnome-desktop-2.0|gnome-desktop-2.0 gconf-2.0|g' \
Presenting GNOME 2.28.1 for FreeBSD. The official release notes for this release can be found at http://library.gnome.org/misc/release-notes/2.28/ . Officially, this is mostly a polishing release in preparation for GNOME 3.0 due in about a year. On the FreeBSD front, though, a lot went into this release. Major thanks goes to kwm and avl who did a lot of the porting work for this release. In particular, kwm brought in Evolution MAPI support for better Microsoft Exchange integration. Avl made sure that the new gobject introspection repository ports were nicely compartmentalized so that large dependencies aren't brought in wholesale. But, every GNOME team member (ahze, avl, bland, kwm, mezz, and myself) contributed to this release. Other major improvements include an updated HAL with better volume probing code, ufsid integration, and support for volume names containing spaces (big thanks to J.R. Oldroyd); a new WebKit; updated AbiWord; an updated Gimp; and a preview of the new GNOME Shell project (thanks to Pawel Worach). The FreeBSD GNOME Team would like to that the following additional contributors to this release whose patches and testing really helped make it a success: Andrius Morkunas Dominique Goncalves Eric L. Chen J.R. Oldroyd Joseph S. Atkinson Li Pawel Worach Romain Tartière Thomas Vogt Yasuda Keisuke Rui Paulo Martin Wilke (and an extra shout out to miwi and pav for pointyhat runs) We would like to send this release out to Alexander Loginov (avl) in hopes that he feels better soon. PR: 136676 136967 138872 (obsolete with new epiphany-webkit) 139160 134737 139941 140097 140838 140929
2009-11-28 21:06:37 +01:00
${WRKSRC}/configure
post-install:
${INSTALL_SCRIPT} ${WRKDIR}/compiz-manager ${PREFIX}/bin/compiz-manager
.include <bsd.port.pre.mk>
2012-05-31 16:49:26 +02:00
.if ${PORT_OPTIONS:MSVG}
CONFIGURE_ARGS+= --enable-librsvg
USE_GNOME+= librsvg2
PLIST_SUB+= RSVG=""
.else
CONFIGURE_ARGS+= --disable-librsvg
PLIST_SUB+= RSVG="@comment "
.endif
2012-05-31 16:49:26 +02:00
.if ${PORT_OPTIONS:MGTK2}
CONFIGURE_ARGS+= --enable-gtk
USE_GNOME+= glib20 libwnck
2012-05-31 16:49:26 +02:00
PLIST_SUB+= GTK2=""
.else
CONFIGURE_ARGS+= --disable-gtk
2012-05-31 16:49:26 +02:00
PLIST_SUB+= GTK2="@comment "
.endif
.if !empty(PORT_OPTIONS:MMETACITY) && !empty(PORT_OPTIONS:MGNOME) && !empty(PORT_OPTIONS:MGTK2)
CONFIGURE_ARGS+= --enable-metacity
USE_GNOME+= metacity
.else
CONFIGURE_ARGS+= --disable-metacity
.endif
2012-05-31 16:49:26 +02:00
.if ${PORT_OPTIONS:MGNOME} && ${PORT_OPTIONS:MGTK2}
CONFIGURE_ARGS+= --enable-gnome \
--enable-gnome-keybindings
USE_GNOME+= gnomecontrolcenter2
WINDOWSETTINGSDATADIR= \
`pkg-config --variable=prefix gnome-window-settings-2.0`
WINDOWSETTINGSLIBDIR= \
`pkg-config --variable=libdir gnome-window-settings-2.0`
PLIST_SUB+= GNOME="" \
WINDOWSETTINGSDATADIR="${WINDOWSETTINGSDATADIR}" \
WINDOWSETTINGSLIBDIR="${WINDOWSETTINGSLIBDIR}"
.else
CONFIGURE_ARGS+= --disable-gnome \
--disable-gnome-keybindings
PLIST_SUB+= GNOME="@comment "
.endif
2012-05-31 16:49:26 +02:00
.if ${PORT_OPTIONS:MDBUS}
CONFIGURE_ARGS+= --enable-dbus
BUILD_DEPENDS+= ${LOCALBASE}/libdata/pkgconfig/dbus-1.pc:${PORTSDIR}/devel/dbus
RUN_DEPENDS+= ${LOCALBASE}/libdata/pkgconfig/dbus-1.pc:${PORTSDIR}/devel/dbus
2012-05-31 16:49:26 +02:00
.if ${PORT_OPTIONS:MGTK} && ${PORT_OPTIONS:MGNOME}
CONFIGURE_ARGS+= --enable-dbus-glib
BUILD_DEPENDS+= ${LOCALBASE}/libdata/pkgconfig/dbus-glib-1.pc:${PORTSDIR}/devel/dbus-glib
RUN_DEPENDS+= ${LOCALBASE}/libdata/pkgconfig/dbus-glib-1.pc:${PORTSDIR}/devel/dbus-glib
.endif
PLIST_SUB+= DBUS=""
.else
CONFIGURE_ARGS+= --disable-dbus --disable-dbus-glib
PLIST_SUB+= DBUS="@comment "
.endif
2012-05-31 16:49:26 +02:00
.if ${PORT_OPTIONS:MFUSE}
CONFIGURE_ARGS+= --enable-fuse
BUILD_DEPENDS+= ${LOCALBASE}/libdata/pkgconfig/fuse.pc:${PORTSDIR}/sysutils/fusefs-libs
RUN_DEPENDS+= ${LOCALBASE}/libdata/pkgconfig/fuse.pc:${PORTSDIR}/sysutils/fusefs-libs
2012-05-31 16:49:26 +02:00
PLIST_SUB+= FUSE=""
.else
CONFIGURE_ARGS+= --disable-fuse
2012-05-31 16:49:26 +02:00
PLIST_SUB+= FUSE="@comment "
.endif
2012-05-31 16:49:26 +02:00
.if ${PORT_OPTIONS:MKDE3}
USE_KDEBASE_VER= 3
CONFIGURE_ARGS+= --enable-kde
2012-05-31 16:49:26 +02:00
PLIST_SUB+= KDE3=""
# allow bsd.kde.mk to be included after bsd.port.mk
.include "${PORTSDIR}/Mk/bsd.kde.mk"
.else
CONFIGURE_ARGS+= --disable-kde
2012-05-31 16:49:26 +02:00
PLIST_SUB+= KDE3="@comment "
.endif
.include <bsd.port.post.mk>