summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-graphics/ttf-fonts/ttf-mplus_027.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-graphics/ttf-fonts/ttf-mplus_027.bb')
-rw-r--r--meta-oe/recipes-graphics/ttf-fonts/ttf-mplus_027.bb6
1 files changed, 4 insertions, 2 deletions
diff --git a/meta-oe/recipes-graphics/ttf-fonts/ttf-mplus_027.bb b/meta-oe/recipes-graphics/ttf-fonts/ttf-mplus_027.bb
index 11c1ac1b2..9ad348d9f 100644
--- a/meta-oe/recipes-graphics/ttf-fonts/ttf-mplus_027.bb
+++ b/meta-oe/recipes-graphics/ttf-fonts/ttf-mplus_027.bb
@@ -11,9 +11,11 @@ PR = "r4"
11SRC_URI = "http://osdn.dl.sourceforge.jp/mplus-fonts/6650/mplus-TESTFLIGHT-${PV}.tar.gz" 11SRC_URI = "http://osdn.dl.sourceforge.jp/mplus-fonts/6650/mplus-TESTFLIGHT-${PV}.tar.gz"
12S = "${WORKDIR}/mplus-TESTFLIGHT-${PV}" 12S = "${WORKDIR}/mplus-TESTFLIGHT-${PV}"
13 13
14python populate_packages_prepend() { 14PACKAGESPLITFUNCS_prepend = "split_ttf_mplus_packages "
15
16python split_ttf_mplus_packages() {
15 plugindir = d.expand('${datadir}/fonts/ttf-mplus/') 17 plugindir = d.expand('${datadir}/fonts/ttf-mplus/')
16 packages = do_split_packages(d, plugindir, '^(.*)\.ttf$', 'ttf-%s', 'TTF Font %s', extra_depends = "ttf-common") 18 packages = do_split_packages(d, plugindir, '^(.*)\.ttf$', 'ttf-%s', 'TTF Font %s')
17 d.setVar('FONT_PACKAGES', ' '.join(packages)) 19 d.setVar('FONT_PACKAGES', ' '.join(packages))
18} 20}
19 21