blob: f74e5ce6c3a1fd46601240c4ff3683e3176ca999 [file] [log] [blame]
Patrick Williamsb48b7b42016-08-17 15:04:38 -05001require ttf.inc
2
3SUMMARY = "DejaVu font - TTF Edition"
4HOMEPAGE = "http://dejavu.sourceforge.net/wiki/"
5LICENSE = "BitstreamVera"
Patrick Williamsddad1a12017-02-23 20:36:32 -06006LIC_FILES_CHKSUM = "file://../LICENSE;md5=449b2c30bfe5fa897fe87b8b70b16cfa"
Patrick Williamsb48b7b42016-08-17 15:04:38 -05007
8# all subpackages except ${PN}-common itself rdepends on ${PN}-common
9RDEPENDS_${PN}-sans = "${PN}-common"
10RDEPENDS_${PN}-sans-mono = "${PN}-common"
11RDEPENDS_${PN}-sans-condensed = "${PN}-common"
12RDEPENDS_${PN}-serif = "${PN}-common"
13RDEPENDS_${PN}-serif-condensed = "${PN}-common"
Patrick Williamsddad1a12017-02-23 20:36:32 -060014RDEPENDS_${PN}-mathtexgyre = "${PN}-common"
Patrick Williamsb48b7b42016-08-17 15:04:38 -050015RDEPENDS_${PN}-common = ""
16PR = "r7"
17
18SRC_URI = "${SOURCEFORGE_MIRROR}/dejavu/dejavu-fonts-ttf-${PV}.tar.bz2 \
19 file://30-dejavu-aliases.conf"
20
21S = "${WORKDIR}/dejavu-fonts-ttf-${PV}/ttf"
22
23do_install_append () {
24 install -d ${D}${sysconfdir}/fonts/conf.d/
25 install -m 0644 ${WORKDIR}/30-dejavu-aliases.conf ${D}${sysconfdir}/fonts/conf.d/
26}
27
28PACKAGES = "\
29 ${PN}-sans \
30 ${PN}-sans-mono \
31 ${PN}-sans-condensed \
32 ${PN}-serif \
33 ${PN}-serif-condensed \
Patrick Williamsddad1a12017-02-23 20:36:32 -060034 ${PN}-mathtexgyre \
Patrick Williamsb48b7b42016-08-17 15:04:38 -050035 ${PN}-common"
Patrick Williamsddad1a12017-02-23 20:36:32 -060036FONT_PACKAGES = "${PN}-sans ${PN}-sans-mono ${PN}-sans-condensed ${PN}-serif ${PN}-serif-condensed ${PN}-mathtexgyre"
Patrick Williamsb48b7b42016-08-17 15:04:38 -050037
38FILES_${PN}-sans = "${datadir}/fonts/truetype/DejaVuSans.ttf ${datadir}/fonts/truetype/DejaVuSans-*.ttf"
39FILES_${PN}-sans-mono = "${datadir}/fonts/truetype/DejaVuSansMono*.ttf"
40FILES_${PN}-sans-condensed = "${datadir}/fonts/truetype/DejaVuSansCondensed*.ttf"
41FILES_${PN}-serif = "${datadir}/fonts/truetype/DejaVuSerif.ttf ${datadir}/fonts/truetype/DejaVuSerif-*.ttf"
42FILES_${PN}-serif-condensed = "${datadir}/fonts/truetype/DejaVuSerifCondensed*.ttf"
Patrick Williamsddad1a12017-02-23 20:36:32 -060043FILES_${PN}-mathtexgyre = "${datadir}/fonts/truetype/DejaVuMathTeXGyre.ttf"
Patrick Williamsb48b7b42016-08-17 15:04:38 -050044FILES_${PN}-common = "${sysconfdir}"
45
Patrick Williamsddad1a12017-02-23 20:36:32 -060046SRC_URI[md5sum] = "d0efec10b9f110a32e9b8f796e21782c"
47SRC_URI[sha256sum] = "fa9ca4d13871dd122f61258a80d01751d603b4d3ee14095d65453b4e846e17d7"