Brad Bishop | 36a3e3e | 2019-10-02 13:29:27 -0400 | [diff] [blame] | 1 | SUMMARY = "A font editor" |
| 2 | HOMEPAGE = "http://fontforge.github.io/en-US/" |
| 3 | LICENSE = "BSD-3-Clause & GPLv3" |
| 4 | LIC_FILES_CHKSUM = " \ |
| 5 | file://COPYING.gplv3;md5=d32239bcb673463ab874e80d47fae504 \ |
| 6 | file://LICENSE;md5=d042f3d2a8fd7208b704a499168e3c89 \ |
| 7 | " |
| 8 | |
| 9 | DEPENDS = "glib-2.0 pango giflib tiff libxml2 jpeg python libtool uthash gettext-native" |
| 10 | DEPENDS_append_class-target = " libxi" |
| 11 | |
| 12 | inherit autotools pkgconfig pythonnative distro_features_check gettext gtk-icon-cache mime |
| 13 | |
| 14 | REQUIRED_DISTRO_FEATURES_append_class-target = " x11" |
| 15 | |
| 16 | # tag 20190801 |
| 17 | SRCREV = "ac635b818e38ddb8e7e2e1057330a32b4e25476e" |
| 18 | SRC_URI = "git://github.com/${BPN}/${BPN}.git \ |
| 19 | file://0001-include-sys-select-on-non-glibc-platforms.patch \ |
| 20 | " |
| 21 | S = "${WORKDIR}/git" |
| 22 | |
| 23 | EXTRA_OECONF += "--without-libuninameslist" |
| 24 | EXTRA_OECONF_append_class-native = " with_x=no" |
| 25 | |
| 26 | #do_configure_prepend() { |
| 27 | # uthash sources are expected in uthash/src |
| 28 | # mkdir -p ${S}/uthash/src |
| 29 | # cp ${STAGING_INCDIR}/ut*.h ${S}/uthash/src |
| 30 | #} |
| 31 | |
| 32 | PACKAGES =+ "${PN}-python" |
| 33 | |
| 34 | RPROVIDES_${PN}-dbg += "${PN}-python-dbg" |
| 35 | |
| 36 | FILES_${PN} += " \ |
| 37 | ${datadir}/appdata \ |
| 38 | ${datadir}/metainfo \ |
| 39 | ${datadir}/mime \ |
| 40 | " |
| 41 | |
| 42 | FILES_${PN}-python = "${PYTHON_SITEPACKAGES_DIR} ${datadir}/${BPN}/python" |
| 43 | RDEPENDS_${PN}-python = "python" |
| 44 | |
| 45 | # for e.g kde's oxygen-fonts |
| 46 | BBCLASSEXTEND = "native" |