summaryrefslogtreecommitdiff
path: root/classes/gnome.oeclass
blob: e09d5b0f5119c0b275668afddd05cc2745662a8d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
def gnome_verdir(v):
	import re
	m = re.match("([0-9]+)\.([0-9]+)\..*", v)
	return "%s.%s" % (m.group(1), m.group(2))

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

FILES_${PN} += "${datadir}/application-registry ${datadir}/mime-info"

inherit autotools pkgconfig

gnome_stage_includes() {
	autotools_stage_includes
}