summaryrefslogtreecommitdiff
path: root/classes/gnome.bbclass
blob: d2ca739e40b2fc4dad66254101359e5341d25757 (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
def gnome_verdir(v):
	import re
	m = re.match("^([0-9]+)\.([0-9]+)", v)
	return "%s.%s" % (m.group(1), m.group(2))

SECTION ?= "x11/gnome"
SRC_URI = "${GNOME_MIRROR}/${PN}/${@gnome_verdir("${PV}")}/${PN}-${PV}.tar.bz2"

DEPENDS += "gnome-common"

FILES_${PN} += "${datadir}/application-registry  \
	${datadir}/mime-info \
	${datadir}/mime/packages \	
	${datadir}/gnome-2.0"

inherit autotools gtk-icon-cache pkgconfig gconf mime

AUTOTOOLS_STAGE_PKGCONFIG = "1"

PACKAGES =+ "${PN}-scrollkeeper-leftovers"
FILES_${PN}-scrollkeeper-leftovers = "${localstatedir}/lib/scrollkeeper"

gnome_stage_includes() {
	autotools_stage_includes
}