summaryrefslogtreecommitdiffstats
path: root/meta-agl-core-test/recipes-test/fontconfig/fontconfig_%.bbappend
blob: 481dd9ee496127277973cd3358d5a795dceb815d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
do_install:append() {
	install -m 755 -d ${D}/${datadir}/fontconfig-test
	install -m 755 ${S}/test/run-test.sh ${D}/${datadir}/fontconfig-test/

	sed -i -e "s#^FCLIST=\.\./fc-list/fc-list#FCLIST=/usr/bin/fc-list#g" -e "s#^FCCACHE=\.\./fc-cache/fc-cache#FCCACHE=/usr/bin/fc-cache#g" ${D}/${datadir}/fontconfig-test/run-test.sh 

	install -m 644 ${B}/test/out.expected ${D}/${datadir}/fontconfig-test/
	for x in 4x6.pcf 8x16.pcf fonts.conf.in; do
		install -m 644 ${S}/test/$x ${D}/${datadir}/fontconfig-test/
	done
}

PACKAGES =+ "fontconfig-test"

DEBIAN_NOAUTONAME:fontconfig-test = "1"
FILES:fontconfig-test = "${datadir}/fontconfig-test/*"