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
|
# xfwm4-themes OE build file
SECTION = "x11/wm"
PR = "r5"
DEPENDS = "xfwm4 libglade libxml2"
RDEPENDS_${PN} = "xfwm4 libglade libxml2"
inherit xfce46
SRC_URI = "http://mocha.xfce.org/archive/src/art/xfwm4-themes/4.6/xfwm4-themes-${PV}.tar.bz2"
SRC_URI += " \
file://remove-double-files.patch \
"
PACKAGES_DYNAMIC = "xfwm4-theme-*"
python populate_packages_prepend () {
themedir = bb.data.expand('${datadir}/themes', d)
do_split_packages(d, themedir, '^(.*)', 'xfwm4-theme-%s', 'Xfce4 Window Manager theme - %s', allow_dirs=True)
metapkg = "xfwm4-themes"
bb.data.setVar('ALLOW_EMPTY_' + metapkg, "1", d)
bb.data.setVar('FILES_' + metapkg, "", d)
blacklist = [ 'xfwm4-themes', 'xfwm4-themes-dev', 'xfwm4-themes-doc', 'xfwm4-themes-dbg', 'xfwm4-themes-static', 'xfwm4-themes-locale' ]
recipe_rdepends = bb.data.getVar('RDEPENDS', d, 1).split()
metapkg_rdepends = []
packages = bb.data.getVar('PACKAGES', d, 1).split()
for pkg in packages[1:]:
if not pkg in blacklist and not pkg in metapkg_rdepends:
bb.data.setVar('RDEPENDS_' + pkg, ' '.join(recipe_rdepends), d)
metapkg_rdepends.append(pkg)
metapkg_rdepends.extend(recipe_rdepends)
bb.data.setVar('RDEPENDS_' + metapkg, ' '.join(metapkg_rdepends), d)
bb.data.setVar('DESCRIPTION_' + metapkg, 'Xfce4 Window Manager extra themes - Meta package', d)
}
SRC_URI[md5sum] = "4dc5cb29cbd40e3b9dece12a85e20854"
SRC_URI[sha256sum] = "9964ce221c1715a892c3ecb802739c0f5eae2b64912093d13fe7631710254c8c"
|