1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
5 PYTHON_COMPAT=( python{2_7,3_6} )
6 PLOCALES="cs de it nl pt_BR sv"
8 inherit python-any-r1 vala l10n toolchain-funcs multiprocessing
10 DESCRIPTION="Font editor for the creation of vector graphics and export TTF, EOT & SVG fonts"
11 HOMEPAGE="https://birdfont.org/"
12 SRC_URI="https://birdfont.org/releases/${P}.tar.xz"
16 KEYWORDS="~amd64 ~x86"
29 net-libs/webkit-gtk:4=
38 $(python_gen_any_dep 'dev-python/doit[${PYTHON_USEDEP}]')
40 nls? ( sys-devel/gettext )
47 -e "s:pkg-config:$(tc-getPKG_CONFIG):" \
48 configure dodo.py || die
57 # The build scripts glob all po files to see what's available.
58 # Delete the files for langs we don't want to support.
60 l10n_find_plocales_changes po "" ".po" || die
61 rm_locale() { rm "po/$1.po" || die ; }
62 l10n_for_each_disabled_locale_do rm_locale
68 --prefix "${EPREFIX}/usr" \
69 --gtk $(usex gtk True False) \
73 --cflags "${CFLAGS} ${CPPFLAGS}" \
74 --ldflags "${LDFLAGS}"
78 v doit run -n $(makeopts_jobs)
85 --libdir "$(get_libdir)" \
86 --manpages-directory "/share/man/man1"