aboutsummaryrefslogtreecommitdiffstats
path: root/x11/gnome-shell/Makefile
blob: 2cf835e97563e22357c222415b3df4d7a1a71b0b (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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
# Created by: Pawel Worach <pawel.worach@gmail.com>
# $FreeBSD$

PORTNAME=   gnome-shell
PORTVERSION=    3.28.2
CATEGORIES= x11 gnome
MASTER_SITES=   GNOME
DIST_SUBDIR=    gnome3

MAINTAINER= gnome@FreeBSD.org
COMMENT=    Next generation GNOME desktop shell

LICENSE=    GPLv2
LICENSE_FILE=   ${WRKSRC}/COPYING

BUILD_DEPENDS=  docbook-xsl>=0:textproc/docbook-xsl \
        sassc:textproc/sassc \
        gnome-control-center:sysutils/gnome-control-center
LIB_DEPENDS=    libstartup-notification-1.so:x11/startup-notification \
        libdrm.so:graphics/libdrm \
        libmutter-2.so:x11-wm/mutter \
        libatk-bridge-2.0.so:accessibility/at-spi2-atk \
        libsoup-2.4.so:devel/libsoup \
        libjson-glib-1.0.so:devel/json-glib \
        libsecret-1.so:security/libsecret \
        libpolkit-agent-1.so:sysutils/polkit \
        libp11-kit.so:security/p11-kit \
        libical.so:devel/libical \
        libgcr-3.so:security/gcr \
        libicuuc.so:devel/icu \
        libpulse.so:audio/pulseaudio \
        libcroco-0.6.so:textproc/libcroco \
        libcanberra.so:audio/libcanberra \
        libcanberra-gtk3.so:audio/libcanberra-gtk3 \
        libp11-kit.so:security/p11-kit \
        libgjs.so:lang/gjs
RUN_DEPENDS=    gnome-control-center:sysutils/gnome-control-center

PORTSCOUT=  limitw:1,even

USES=       compiler:c11 cpe gettext gl gnome libtool localbase meson \
        pathfix perl5 pkgconfig python:3.4+ shebangfix tar:xz webplugin:native
USE_GNOME=  cairo evolutiondataserver3 gdkpixbuf2 introspection \
        libxslt:build libxml2
USE_XORG=   x11 xcomposite xdamage xext xfixes xi xrandr xtst
USE_GL=     egl gbm
USE_GSTREAMER1= yes
USE_PERL5=  build
USE_LDCONFIG=   yes
SHEBANG_FILES=  src/gnome-shell-perf-tool.in \
        src/gnome-shell-extension-tool.in

WEBPLUGIN_NAME= libgnome-shell-browser-plugin.so
WEBPLUGIN_DIR=  ${PREFIX}/lib/mozilla/plugins/
WEBPLUGIN_FILES=libgnome-shell-browser-plugin.so

MESON_ARGS= -Dsystemd=false \
        -Dnetworkmanager=false
CPE_VENDOR= gnome

GLIB_SCHEMAS=   org.gnome.shell.gschema.xml

post-patch:
    @${REINPLACE_CMD} -e 's|python3|${PYTHON_VERSION}|g' \
        ${WRKSRC}/meson.build
    @${REINPLACE_CMD} -e 's|applications.menu|gnome-applications.menu|g' \
        ${WRKSRC}/src/shell-app-system.c

pre-build:
    @cd ${BUILD_WRKSRC} && ninja src/st/st-scroll-view-fade-generated.c

.include <bsd.port.mk>