summaryrefslogtreecommitdiff
path: root/packages/gnome-desktop/gnome-session/gnome-session-3.26.1.exheres-0
blob: 1f9bf2c7180346a5ff6b362f3bc75b63fe95a4f6 (plain)
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
# Copyright 2008 Saleem Abdulrasool <compnerd@compnerd.org>
# Distributed under the terms of the GNU General Purpose License v2

require gnome-session
require autotools [ supported_autoconf=[ 2.5 ] supported_automake=[ 1.15 ] ]

LICENCES="GPL-2"
SLOT="0"
PLATFORMS="~amd64 ~x86"
MYOPTIONS="doc systemd
    man-pages [[ description = [ generate and install man-pages ] ]]
    ( linguas: af am an ar as ast az be be@latin bg bn bn_IN br bs ca ca@valencia crh cs csb cy da
               de dz el en_CA en_GB en@shaw eo es et eu fa fi fr fur fy ga gl gu ha he hi hr hu hy
               id ig is it ja ka kk km kn ko ku lt lv mai mg mi mk ml mn mr ms nb nds ne nl nn nso
               oc or pa pl ps pt pt_BR ro ru rw si sk sl sq sr sr@latin sv ta te tg th tk tr ug uk
               uz uz@cyrillic vi wa xh yo zh_CN zh_HK zh_TW zu )
"

DEPENDENCIES="
    build:
        dev-libs/libxslt
        virtual/pkg-config[>=0.20]
        dev-util/intltool[>=0.40.6]
        doc? ( app-text/xmlto )
    build+run:
        dev-libs/glib:2[>=2.46.0]
        dev-libs/libepoxy
        x11-libs/gtk+:3[>=3.18.0]
        core/json-glib[>=0.10]
        gnome-desktop/gnome-desktop:3.0[>=3.18.0]
        x11-libs/libX11
        x11-libs/libSM
        x11-libs/libICE
        x11-libs/libXext
        x11-libs/libXau
        x11-libs/libXcomposite
        x11-dri/mesa [[ note = [ provides gl.pc ] ]]
        x11-libs/pango
        x11-libs/libXtst
        x11-libs/libXrender
        x11-libs/xtrans
        gnome-desktop/gsettings-desktop-schemas[>=0.1.7] [[ note = [ See GNOME bug #641686 ] ]]
        systemd? ( sys-apps/systemd[>=209] )
        !systemd? ( dev-libs/dbus-glib:1[>=0.76] )
    run:
        (
            gnome-desktop/gnome-shell
            gnome-desktop/gnome-settings-daemon
        ) [[ *description = [ minimum requirements for the default session ] ]]
    recommendation:
        gnome-desktop/zenity[>=3.7.0] [[ description = [ used to display init errors ] ]]
        !systemd? ( sys-auth/ConsoleKit2 ) [[ note = [ systemd provides session management ] ]]
    suggestion:
        gnome-desktop/polkit-gnome:1
"

DEFAULT_SRC_CONFIGURE_PARAMS=( --disable-gconf )
DEFAULT_SRC_CONFIGURE_OPTION_ENABLES=( 'doc docbook-docs' 'man-pages man' 'systemd' '!systemd consolekit' )

AT_M4DIR=( 'm4' )

src_prepare() {
    edo sed -e '/GNOME_MAINTAINER_MODE_DEFINES/d' -e '/GNOME_COMPILE_WARNINGS/d' -i configure.ac
    autotools_src_prepare
}