aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm/mutter/Makefile
blob: c108752bef05eda67c7085ffef714d1172c7e402 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# Created by: Pawel Worach <pawel.worach@gmail.com>
# $FreeBSD$

PORTNAME=   mutter
PORTVERSION=    3.18.4
PORTREVISION=   1
CATEGORIES= x11-wm
MASTER_SITES=   GNOME
DIST_SUBDIR=    gnome3

MAINTAINER= gnome@FreeBSD.org
COMMENT=    Window and compositing manager based on Clutter

LICENSE=    GPLv2+
LICENSE_FILE=   ${WRKSRC}/COPYING

BUILD_DEPENDS=  zenity>=3.0.0:x11/zenity \
        gsettings-desktop-schemas>=3.4.0:devel/gsettings-desktop-schemas
LIB_DEPENDS=    libstartup-notification-1.so:x11/startup-notification \
        libclutter-1.0.so:graphics/clutter \
        libxkbcommon.so:x11/libxkbcommon \
        libcanberra-gtk3.so:audio/libcanberra-gtk3 \
        libupower-glib.so:sysutils/upower
RUN_DEPENDS=    zenity>=3.0.0:x11/zenity \
        gsettings-desktop-schemas>=3.4.0:devel/gsettings-desktop-schemas

PORTSCOUT=  limitw:1,even

USES=       compiler:c++0x gettext gmake gmake libtool pathfix \
        pkgconfig tar:xz
USE_GNOME=  gnomedesktop3 gtk30 intlhack introspection:build
USE_XORG=   x11 xext xrandr xcomposite xcursor xinerama ice sm xfixes \
        xrender xdamage
GNU_CONFIGURE=  yes
USE_LDCONFIG=   yes
CPPFLAGS+=  -I${LOCALBASE}/include -fno-omit-frame-pointer
LDFLAGS+=   -L${LOCALBASE}/lib
CONFIGURE_ARGS= --enable-compile-warnings=maximum
INSTALL_TARGET= install-strip
GLIB_SCHEMAS=   org.gnome.mutter.gschema.xml \
        org.gnome.mutter.wayland.gschema.xml

PLIST_SUB=  VERSION=${PORTVERSION:R}

post-patch:
    @${REINPLACE_CMD} -e 's|-Wcast-align||g' \
        ${WRKSRC}/configure

.include <bsd.port.mk>