aboutsummaryrefslogtreecommitdiffstats
path: root/packages/xfce/xfwm4.inc
blob: e7e5bc186248326a5e718bfd4d87f2d0cca8b045 (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
# xfwm4 OE build file
# Copyright (C) 2004, Advanced Micro Devices, Inc.  All Rights Reserved
# Released under the MIT license (see packages/COPYING)

DESCRIPTION="XFCE4 Window Manager"
SECTION = "x11/wm"
inherit xfce

FILES_${PN} += "${datadir}/xfwm4/defaults ${datadir}/xfwm4/themes/default.keys/*"

DEPENDS = "startup-notification virtual/libx11 libxpm libxfce4util libxfcegui4 libxfce4mcs xfce-mcs-manager"
RDEPENDS = "xfwm4-theme-default"


EXTRA_OECONF += " --enable-startup-notification"

do_configure_append() {
	sed -i s:/usr/include/xfce4::g mcs-plugin/Makefile
}

PACKAGES_DYNAMIC = "xfwm4-theme-*"

python populate_packages_prepend () {
	themedir = bb.data.expand('${datadir}/themes', d)
	do_split_packages(d, themedir, '^(.*)', 'xfwm4-theme-%s', 'XFWM4 theme %s', allow_dirs=True)
}

PACKAGES += " ${PN}-mcs-plugins"

FILES_${PN}-mcs-plugins += "${libdir}/xfce4/mcs-plugins/*.so"