94 lines
3.8 KiB
Bash
94 lines
3.8 KiB
Bash
# Copyright 2009 Saleem Abdulrasool <compnerd@compnerd.org>
|
|
# Copyright 2011 Brett Witherspoon <spoonb@exherbo.org>
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
require gnome.org [ suffix=tar.xz ] gsettings autotools [ supported_autoconf=[ 2.5 ] supported_automake=[ 1.16 ] ]
|
|
|
|
|
|
SUMMARY="Clutter and metacity based compositing window manager"
|
|
|
|
LICENCES="GPL-2"
|
|
SLOT="0"
|
|
PLATFORMS="~amd64 ~x86"
|
|
MYOPTIONS="gobject-introspection
|
|
remote-desktop [[ description = [ Support remote desktop and screen casting ] ]]
|
|
sound [[ description = [ Enable the use of libcanberra for event sounds ] ]]
|
|
wacom [[ description = [ Use libwacom for tablet identification ] ]]
|
|
( linguas: am ar as ast az be be@latin bg bn bn_IN br bs ca ca@valencia cs cy da de dz el en_CA
|
|
en_GB eo es et eu fa fi fr fur ga gl gu ha he hi hr hu hy id ig is it ja ka kk kn ko ku
|
|
la lt lv mai mg mk ml mn mr ms nb nds ne nl nn oc or pa pl pt pt_BR ro ru rw si sk
|
|
sl sq sr sr@latin sv ta te tg th tk tr ug uk vi wa xh yo zh_CN zh_HK zh_TW )
|
|
( providers: elogind systemd ) [[
|
|
*description = [ Session tracking provider ]
|
|
number-selected = at-most-one
|
|
]]
|
|
"
|
|
|
|
BUGS_TO="spoonb@exherbo.org"
|
|
|
|
DEPENDENCIES="
|
|
build:
|
|
sys-devel/gettext[>=0.19.6]
|
|
sys-libs/wayland-protocols[>=1.12]
|
|
virtual/pkg-config[>=0.21]
|
|
build+run:
|
|
core/json-glib
|
|
dev-libs/glib:2[>=2.53.2]
|
|
gnome-desktop/gnome-desktop:3.0
|
|
gnome-desktop/gsettings-desktop-schemas[>=3.21.4][gobject-introspection?]
|
|
gnome-desktop/libgudev[>=232]
|
|
gnome-desktop/zenity
|
|
sys-apps/upower[>=0.99.0]
|
|
sys-libs/libinput[>=1.4]
|
|
sys-libs/wayland[>=1.13.0]
|
|
x11-apps/xkeyboard-config
|
|
x11-dri/mesa[>=10.3]
|
|
x11-dri/libdrm[>=2.4.83]
|
|
x11-libs/cairo[>=1.10.0]
|
|
x11-libs/gtk+:3[>=3.19.8][gobject-introspection?][wayland]
|
|
x11-libs/pango[>=1.2.0]
|
|
x11-libs/libICE
|
|
x11-libs/libSM
|
|
x11-libs/libX11
|
|
x11-libs/libXcomposite[>=0.2]
|
|
x11-libs/libXcursor
|
|
x11-libs/libXdamage
|
|
x11-libs/libXext
|
|
x11-libs/libXfixes
|
|
x11-libs/libXi[>=1.6.99.1]
|
|
x11-libs/libXinerama
|
|
x11-libs/libXrandr[>=1.5.0]
|
|
x11-libs/libXrender
|
|
x11-libs/libxcb
|
|
x11-libs/libxkbcommon[X][>=0.4.3]
|
|
x11-libs/libxkbfile
|
|
x11-libs/startup-notification[>=0.7]
|
|
gobject-introspection? ( gnome-desktop/gobject-introspection:1[>=0.9.5] )
|
|
providers:elogind? ( sys-auth/elogind )
|
|
providers:systemd? ( sys-apps/systemd )
|
|
remote-desktop? ( media/pipewire[>=0.2.2] )
|
|
sound? ( media-libs/libcanberra[providers:gtk3][>=0.26] )
|
|
wacom? ( x11-libs/libwacom[>=0.19] )
|
|
run:
|
|
x11-server/xorg-server[xwayland]
|
|
recommendation:
|
|
gnome-desktop/gnome-themes-standard [[
|
|
description = [ Provides default GNOME 3 theme (Adwaita) ]
|
|
]]
|
|
"
|
|
|
|
# Bundled clutter fails its tests
|
|
RESTRICT="test"
|
|
|
|
DEFAULT_SRC_PREPARE_PATCHES=(
|
|
"${FILES}"/c216397974a7d75a3fdb374becbc40a23ec878bf.patch
|
|
"${FILES}"/0407a8b33d8c3503fba63ad260984bb08bd6e0dc.patch
|
|
)
|
|
DEFAULT_SRC_CONFIGURE_PARAMS=( '--enable-sm' '--enable-startup-notification' '--disable-debug'
|
|
'--enable-native-backend' '--enable-wayland' '--enable-gudev'
|
|
'--enable-egl-device' '--disable-scrollkeeper' '--disable-static'
|
|
# need to reduce default compiler warnings due to deprecation errors
|
|
'--enable-compile-warnings=maximum' )
|
|
DEFAULT_SRC_CONFIGURE_OPTION_ENABLES=( 'gobject-introspection introspection' 'remote-desktop' 'wacom libwacom' )
|
|
DEFAULT_SRC_CONFIGURE_OPTION_WITHS=( 'sound libcanberra' )
|
|
|