summaryrefslogtreecommitdiff
path: root/recipes/xfce-base/xfwm4_4.6.1.bb
blob: 116006ada7ef2f214be9705b5f149ea594f1204c (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
# xfwm4 OE build file

DESCRIPTION="XFCE4 Window Manager"
SECTION = "x11/wm"
PR = "r1"

inherit xfce46 update-alternatives

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

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

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

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)
}

ALTERNATIVE_NAME = "x-window-manager"
ALTERNATIVE_LINK = "${bindir}/x-window-manager"
ALTERNATIVE_PATH = "${bindir}/xfce4-session"
ALTERNATIVE_PRIORITY = "30"

FILES_${PN}-dbg += "${libexecdir}/xfce4/xfwm4/.debug/*"