From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 61326139694 for ; Fri, 2 Jun 2017 08:43:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C02E9E0D49; Fri, 2 Jun 2017 08:43:42 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 91615E0D49 for ; Fri, 2 Jun 2017 08:43:37 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 782F334169C for ; Fri, 2 Jun 2017 08:43:35 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D5E7D746D for ; Fri, 2 Jun 2017 08:43:33 +0000 (UTC) From: "Pacho Ramos" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Pacho Ramos" Message-ID: <1496392380.484f858c34c2f66e61f83a64d34a8120c3fd0bec.pacho@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/birdfont/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-gfx/birdfont/Manifest media-gfx/birdfont/birdfont-2.18.3.ebuild X-VCS-Directories: media-gfx/birdfont/ X-VCS-Committer: pacho X-VCS-Committer-Name: Pacho Ramos X-VCS-Revision: 484f858c34c2f66e61f83a64d34a8120c3fd0bec X-VCS-Branch: master Date: Fri, 2 Jun 2017 08:43:33 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: d8b25dbf-5f0a-45a3-9acd-e31a21281cfc X-Archives-Hash: 60a3e2a1dcce93bc9570f2f042cf79ea commit: 484f858c34c2f66e61f83a64d34a8120c3fd0bec Author: Pacho Ramos gentoo org> AuthorDate: Fri Jun 2 08:33:00 2017 +0000 Commit: Pacho Ramos gentoo org> CommitDate: Fri Jun 2 08:33:00 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=484f858c media-gfx/birdfont: Version bump Package-Manager: Portage-2.3.6, Repoman-2.3.2 media-gfx/birdfont/Manifest | 1 + media-gfx/birdfont/birdfont-2.18.3.ebuild | 88 +++++++++++++++++++++++++++++++ 2 files changed, 89 insertions(+) diff --git a/media-gfx/birdfont/Manifest b/media-gfx/birdfont/Manifest index 181eb3f8735..521f3b64b63 100644 --- a/media-gfx/birdfont/Manifest +++ b/media-gfx/birdfont/Manifest @@ -1 +1,2 @@ DIST birdfont-2.15.5.tar.xz 2257284 SHA256 5bee9dce0b4e0532665d123fb7acea264768cf213ac088a7eb97ec5bd6a622a6 SHA512 f272917e15a7960ae1a462a85542123cfed501986032ace692e654d4806bed75d36b258d7717761a1a864b00b18d7fb412ac5e83f8ea9805d13893e479f0716e WHIRLPOOL 6d784afd5adcd6582a0574d97ce079b128ed5016879087d089404b167a1c8e2b274588a82491c3b8eb739f74531faaf79f192c53b6022791758c0614ec3906d7 +DIST birdfont-2.18.3.tar.xz 2333612 SHA256 1ef5e4c19f6da423b30a1e33c21b53335c235a6e0a46da86e422f4ebb48bc03d SHA512 c86fff4e40ecfc571e3880cfa99f6adf518daae5476ea1b2a78bab031bc832bc5c8d58ecc928eda4922134fd3ceca312b80cbb8cf2fd35ecb8dc7656addb854e WHIRLPOOL de7d281163f6d668741439f8e452116683ce8a4e928b70a6dcfc9123768d34661c0fddea7ef91fd503ed2ba0be09815a6f666be55def880b068b60336ce5c16e 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 00000000000..2d535e5d265 --- /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="free font editor which lets you create vector graphics and export TTF, EOT and 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 +}