blob: b49bba19b79e3cbeda576f2079e2693961302b41 [file] [log] [blame]
Patrick Williamsb48b7b42016-08-17 15:04:38 -05001def xfce_verdir(v):
2 import re
3 m = re.match("^([0-9]+)\.([0-9]+)", v)
4 return "%s.%s" % (m.group(1), m.group(2))
5
6HOMEPAGE = "http://www.xfce.org"
7SRC_URI = "http://archive.xfce.org/src/xfce/${BPN}/${@xfce_verdir("${PV}")}/${BPN}-${PV}.tar.bz2"
8
9inherit autotools gettext gtk-icon-cache pkgconfig
10
11DEPENDS += "intltool-native"
12
13FILES_${PN} += "${datadir}/icons/* ${datadir}/applications/* ${libdir}/xfce4/modules/*.so*"
14FILES_${PN}-doc += "${datadir}/xfce4/doc"
15
16FILES_${PN}-dev += "${libdir}/xfce4/*/*.la"
17FILES_${PN}-dev += "${libdir}/xfce4/*/*/*.la"
18FILES_${PN}-staticdev += "${libdir}/xfce4/*/*.a"
19FILES_${PN}-staticdev += "${libdir}/xfce4/*/*/*.a"
20FILES_${PN}-dbg += "${libdir}/xfce4/*/.debug"
21FILES_${PN}-dbg += "${libdir}/xfce4/*/*/.debug"
22