aboutsummaryrefslogtreecommitdiffstats
path: root/meta-xfce/classes/xfce.bbclass
blob: 7cd806701c5ac1dfaa146c14657d6c23f9cc741f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
def xfce_verdir(v):
    import re
    m = re.match("^([0-9]+)\.([0-9]+)", v)
    return "%s.%s" % (m.group(1), m.group(2))

HOMEPAGE = "http://www.xfce.org"
SRC_URI = "http://archive.xfce.org/src/xfce/${BPN}/${@xfce_verdir("${PV}")}/${BPN}-${PV}.tar.bz2"

inherit autotools gettext gtk-icon-cache pkgconfig

DEPENDS += "intltool-native"

FILES:${PN} += "${datadir}/icons/* ${datadir}/applications/* ${libdir}/xfce4/modules/*.so*"
FILES:${PN}-doc += "${datadir}/xfce4/doc"