summaryrefslogtreecommitdiff
path: root/media-gfx/birdfont
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /media-gfx/birdfont
reinit the tree, so we can have metadata
Diffstat (limited to 'media-gfx/birdfont')
-rw-r--r--media-gfx/birdfont/Manifest4
-rw-r--r--media-gfx/birdfont/birdfont-2.18.3.ebuild88
-rw-r--r--media-gfx/birdfont/metadata.xml11
3 files changed, 103 insertions, 0 deletions
diff --git a/media-gfx/birdfont/Manifest b/media-gfx/birdfont/Manifest
new file mode 100644
index 000000000000..41da3bf9f0db
--- /dev/null
+++ b/media-gfx/birdfont/Manifest
@@ -0,0 +1,4 @@
+DIST birdfont-2.18.3.tar.xz 2333612 SHA256 1ef5e4c19f6da423b30a1e33c21b53335c235a6e0a46da86e422f4ebb48bc03d SHA512 c86fff4e40ecfc571e3880cfa99f6adf518daae5476ea1b2a78bab031bc832bc5c8d58ecc928eda4922134fd3ceca312b80cbb8cf2fd35ecb8dc7656addb854e WHIRLPOOL de7d281163f6d668741439f8e452116683ce8a4e928b70a6dcfc9123768d34661c0fddea7ef91fd503ed2ba0be09815a6f666be55def880b068b60336ce5c16e
+EBUILD birdfont-2.18.3.ebuild 1831 SHA256 793daf45ae34ec1340099cd57ede9e70eacc2c880d0ec60a66957beee7d8c46b SHA512 3a6dac916f99c69cff94e4661ccef0fbb651dd95114ebdb9802a32d92551215f1681a6dd7319b2b0fc35a5081daf4658c4228b7554234707b02101f401495832 WHIRLPOOL b4a2cc52beb853977eaa69556aef75f60c90ee433bd0a46a8e8c75d59664441a4eb886c246a8705eb0c0495de729065ed2b5ae1330d4fe8ffa1fb8fbb62d98b3
+MISC ChangeLog 949 SHA256 99c477a2308f240b77314c885db3f3345a598e404420b83d37bee3f6dd6b44fb SHA512 92f14e6879399c4d022d94c5b5d82bda325699a2d37d583b7687850dac52abd33c541240941718edeb55388e790947abca4bbe54ca1fb2f6c20875a8ec74a286 WHIRLPOOL 499868d09d9311d0a447fc2451593f6a7775047f7a8a361ba957df7c568825c94f324b7f409a5eef4d4a4bce2cd3ab2f1d4c21364b067ab99c8d099c06ad7fab
+MISC metadata.xml 352 SHA256 a5eb44b8575ee07ad47283cfc0f069993600ae48cce150d1713c087c086d4864 SHA512 ef910c9c78ad31aff97b15546e892bfa52a18ca9ccbf2b325c96c60f440fa09d5535ea2455e42dba2a11983b4e8b7eb7c3881c47fa6d43df6a22ac4d01535adc WHIRLPOOL 80d73bc750f35972f2c5aa98dd15dcb96904342f57ac67cfac4641d515ec7e2937dbc72581238b66944b16595f2479e28ad9f02f02d1dd94b1930dd4360f4ba1
diff --git a/media-gfx/birdfont/birdfont-2.18.3.ebuild b/media-gfx/birdfont/birdfont-2.18.3.ebuild
new file mode 100644
index 000000000000..cc951a0230fa
--- /dev/null
+++ b/media-gfx/birdfont/birdfont-2.18.3.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
+PLOCALES="cs de it nl pt_BR sv"
+
+inherit python-any-r1 vala l10n toolchain-funcs multiprocessing
+
+DESCRIPTION="Font editor for the creation of vector graphics and export TTF, EOT & SVG fonts"
+HOMEPAGE="https://birdfont.org/"
+SRC_URI="https://birdfont.org/releases/${P}.tar.xz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="gtk nls"
+
+RDEPEND="
+ dev-db/sqlite:3
+ dev-libs/libgee:0.8=
+ dev-libs/glib:2
+ media-libs/fontconfig
+ media-libs/freetype:2
+ media-libs/libxmlbird
+ x11-libs/gdk-pixbuf:2
+ gtk? (
+ net-libs/libsoup:2.4
+ net-libs/webkit-gtk:4=
+ x11-libs/cairo
+ x11-libs/gdk-pixbuf:2
+ x11-libs/gtk+:3
+ x11-libs/libnotify
+ )
+"
+DEPEND="${RDEPEND}
+ ${PYTHON_DEPS}
+ $(python_gen_any_dep 'dev-python/doit[${PYTHON_USEDEP}]')
+ $(vala_depend)
+ nls? ( sys-devel/gettext )
+"
+
+src_prepare() {
+ default
+ vala_src_prepare
+ sed -i \
+ -e "s:pkg-config:$(tc-getPKG_CONFIG):" \
+ configure dodo.py || die
+}
+
+v() {
+ echo "$@"
+ "$@" || die
+}
+
+src_configure() {
+ # The build scripts glob all po files to see what's available.
+ # Delete the files for langs we don't want to support.
+ if use nls ; then
+ l10n_find_plocales_changes po "" ".po" || die
+ rm_locale() { rm "po/$1.po" || die ; }
+ l10n_for_each_disabled_locale_do rm_locale
+ else
+ rm po/*.po || die
+ fi
+
+ v ./configure \
+ --prefix "${EPREFIX}/usr" \
+ --gtk $(usex gtk True False) \
+ --gee gee-0.8 \
+ --valac "${VALAC}" \
+ --cc "$(tc-getCC)" \
+ --cflags "${CFLAGS} ${CPPFLAGS}" \
+ --ldflags "${LDFLAGS}"
+}
+
+src_compile() {
+ v doit run -n $(makeopts_jobs)
+}
+
+src_install() {
+ v ./install.py \
+ --dest "${D}" \
+ --nogzip \
+ --libdir "$(get_libdir)" \
+ --manpages-directory "/share/man/man1"
+ einstalldocs
+}
diff --git a/media-gfx/birdfont/metadata.xml b/media-gfx/birdfont/metadata.xml
new file mode 100644
index 000000000000..c0c763874bf4
--- /dev/null
+++ b/media-gfx/birdfont/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>fonts@gentoo.org</email>
+</maintainer>
+<upstream>
+ <bugs-to>https://birdfont.org/bugtracker/</bugs-to>
+ <remote-id type="github">johanmattssonm/birdfont</remote-id>
+</upstream>
+</pkgmetadata>