summaryrefslogtreecommitdiff
path: root/classes/xfce46.bbclass
blob: 7e3e41877b50b56e68bbcfd8f48748016cbf038c (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
# xfce46.bbclass

# Global class to help maintain XFCE 4.6.* packages

HOMEPAGE = "http://www.xfce.org"
LICENSE = "LGPLv2"

DEPENDS += "startup-notification"

SECTION ?= "x11/xfce"

XFCE_VERSION = ${PV}

SRC_URI = "http://mocha.xfce.org/archive/src/xfce/${PN}/${@'${PV}'[0:3]}/${PN}-${PV}.tar.bz2;name=archive"

inherit autotools gtk-icon-cache pkgconfig

AUTOTOOLS_STAGE_PKGCONFIG = "1"

EXTRA_OECONF += "--with-pluginsdir=${libdir}/xfce4/panel-plugins/"

# FIXME:  Put icons in their own package too?

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

FILES_${PN}-dev += "${libdir}/xfce4/*/*.la"
FILES_${PN}-dbg += "${libdir}/xfce4/*/.debug"