summaryrefslogtreecommitdiff
path: root/packages/openmoko-base/openmoko-theme-standard_svn.bb
blob: ffcbf43cb73b7fae882445b753484be1ca59fb9e (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
DESCRIPTION = "Standard Gtk+ theme for the Openmoko distribution"
SECTION = "openmoko/base"
PV = "0.0+svnr${SRCREV}"
FILE_PR = "r5"

inherit openmoko-base

SRC_URI = "${OPENMOKO_MIRROR}/src/target/${OPENMOKO_RELEASE}/artwork;module=themes;proto=http"
S = "${WORKDIR}"

dirs = "themes/openmoko-standard"

do_install() {
	find ${WORKDIR} -name ".svn" | xargs rm -rf
	install -d ${D}${datadir}/themes/
	for i in ${dirs}; do
		cp -fpPR ${WORKDIR}/$i ${D}${datadir}/themes/
	done
	
	install -d ${D}${sysconfdir}/gtk-2.0
	echo 'include "${datadir}/themes/openmoko-standard/gtk-2.0/gtkrc"' >> ${D}${sysconfdir}/gtk-2.0/gtkrc
}

CONFFILES_${PN} = "${sysconfdir}/gtk-2.0/gtkrc"

PACKAGE_ARCH = "all"
FILES_${PN} = "${datadir} ${sysconfdir}"