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/" |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame^] | 3 | LICENSE = "BSD-3-Clause & GPL-3.0-only" |
Brad Bishop | 36a3e3e | 2019-10-02 13:29:27 -0400 | [diff] [blame] | 4 | LIC_FILES_CHKSUM = " \ |
| 5 | file://COPYING.gplv3;md5=d32239bcb673463ab874e80d47fae504 \ |
| 6 | file://LICENSE;md5=d042f3d2a8fd7208b704a499168e3c89 \ |
| 7 | " |
| 8 | |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 9 | DEPENDS = "python3 glib-2.0 pango giflib tiff libxml2 jpeg libtool uthash gettext-native" |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 10 | DEPENDS:append:class-target = " libxi" |
Brad Bishop | 36a3e3e | 2019-10-02 13:29:27 -0400 | [diff] [blame] | 11 | |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 12 | inherit autotools pkgconfig python3native features_check gettext gtk-icon-cache mime mime-xdg |
Brad Bishop | 36a3e3e | 2019-10-02 13:29:27 -0400 | [diff] [blame] | 13 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 14 | REQUIRED_DISTRO_FEATURES:append:class-target = " x11" |
Brad Bishop | 36a3e3e | 2019-10-02 13:29:27 -0400 | [diff] [blame] | 15 | |
| 16 | # tag 20190801 |
| 17 | SRCREV = "ac635b818e38ddb8e7e2e1057330a32b4e25476e" |
Andrew Geissler | 595f630 | 2022-01-24 19:11:47 +0000 | [diff] [blame] | 18 | SRC_URI = "git://github.com/${BPN}/${BPN}.git;branch=master;protocol=https \ |
Brad Bishop | 36a3e3e | 2019-10-02 13:29:27 -0400 | [diff] [blame] | 19 | file://0001-include-sys-select-on-non-glibc-platforms.patch \ |
| 20 | " |
| 21 | S = "${WORKDIR}/git" |
| 22 | |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 23 | EXTRA_OECONF += "--without-libuninameslist --enable-python-scripting --enable-python-extension" |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 24 | EXTRA_OECONF:append:class-native = " with_x=no" |
Brad Bishop | 36a3e3e | 2019-10-02 13:29:27 -0400 | [diff] [blame] | 25 | |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 26 | LDFLAGS += "-lpython${PYTHON_BASEVERSION}${PYTHON_ABI}" |
| 27 | BUILD_LDFLAGS += "-lpython${PYTHON_BASEVERSION}${PYTHON_ABI}" |
| 28 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 29 | #do_configure:prepend() { |
Brad Bishop | 36a3e3e | 2019-10-02 13:29:27 -0400 | [diff] [blame] | 30 | # uthash sources are expected in uthash/src |
| 31 | # mkdir -p ${S}/uthash/src |
| 32 | # cp ${STAGING_INCDIR}/ut*.h ${S}/uthash/src |
| 33 | #} |
| 34 | |
| 35 | PACKAGES =+ "${PN}-python" |
| 36 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 37 | FILES:${PN} += " \ |
Brad Bishop | 36a3e3e | 2019-10-02 13:29:27 -0400 | [diff] [blame] | 38 | ${datadir}/appdata \ |
| 39 | ${datadir}/metainfo \ |
| 40 | ${datadir}/mime \ |
| 41 | " |
| 42 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 43 | FILES:${PN}-python = "${PYTHON_SITEPACKAGES_DIR} ${datadir}/${BPN}/python" |
| 44 | RDEPENDS:${PN}-python = "python3" |
Brad Bishop | 36a3e3e | 2019-10-02 13:29:27 -0400 | [diff] [blame] | 45 | |
| 46 | # for e.g kde's oxygen-fonts |
| 47 | BBCLASSEXTEND = "native" |