Bump x11-wm/mutter to version 3.18.4_1
[dports.git] / x11-wm / mutter / Makefile
1 # Created by: Pawel Worach <pawel.worach@gmail.com>
2 # $FreeBSD$
3
4 PORTNAME=       mutter
5 PORTVERSION=    3.18.4
6 PORTREVISION=   1
7 CATEGORIES=     x11-wm
8 MASTER_SITES=   GNOME
9 DIST_SUBDIR=    gnome3
10
11 MAINTAINER=     gnome@FreeBSD.org
12 COMMENT=        Window and compositing manager based on Clutter
13
14 LICENSE=        GPLv2+
15 LICENSE_FILE=   ${WRKSRC}/COPYING
16
17 BUILD_DEPENDS=  zenity>=3.0.0:x11/zenity \
18                 gsettings-desktop-schemas>=3.4.0:devel/gsettings-desktop-schemas
19 LIB_DEPENDS=    libstartup-notification-1.so:x11/startup-notification \
20                 libclutter-1.0.so:graphics/clutter \
21                 libxkbcommon.so:x11/libxkbcommon \
22                 libcanberra-gtk3.so:audio/libcanberra-gtk3 \
23                 libupower-glib.so:sysutils/upower
24 RUN_DEPENDS=    zenity>=3.0.0:x11/zenity \
25                 gsettings-desktop-schemas>=3.4.0:devel/gsettings-desktop-schemas
26
27 PORTSCOUT=      limitw:1,even
28
29 USES=           compiler:c++0x gettext gmake gmake libtool pathfix \
30                 pkgconfig tar:xz
31 USE_GNOME=      gnomedesktop3 gtk30 intlhack introspection:build
32 USE_XORG=       x11 xext xrandr xcomposite xcursor xinerama ice sm xfixes \
33                 xrender xdamage
34 GNU_CONFIGURE=  yes
35 USE_LDCONFIG=   yes
36 CPPFLAGS+=      -I${LOCALBASE}/include -fno-omit-frame-pointer
37 LDFLAGS+=       -L${LOCALBASE}/lib
38 CONFIGURE_ARGS= --enable-compile-warnings=maximum
39 INSTALL_TARGET= install-strip
40 GLIB_SCHEMAS=   org.gnome.mutter.gschema.xml \
41                 org.gnome.mutter.wayland.gschema.xml
42
43 PLIST_SUB=      VERSION=${PORTVERSION:R}
44
45 post-patch:
46         @${REINPLACE_CMD} -e 's|-Wcast-align||g' \
47                 ${WRKSRC}/configure
48
49 .include <bsd.port.mk>