From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/graphite2/
Date: Sat, 4 Apr 2020 01:08:28 +0000 (UTC) [thread overview]
Message-ID: <1585962478.3d54bca88fd315a9279187421c1608d4c63af39b.asturm@gentoo> (raw)
commit: 3d54bca88fd315a9279187421c1608d4c63af39b
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 4 01:07:58 2020 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sat Apr 4 01:07:58 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d54bca8
media-gfx/graphite2: 1.3.14 version bump
Package-Manager: Portage-2.3.96, Repoman-2.3.22
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
media-gfx/graphite2/Manifest | 1 +
media-gfx/graphite2/graphite2-1.3.14.ebuild | 115 ++++++++++++++++++++++++++++
2 files changed, 116 insertions(+)
diff --git a/media-gfx/graphite2/Manifest b/media-gfx/graphite2/Manifest
index d1930261a2b..e1d0dd2638a 100644
--- a/media-gfx/graphite2/Manifest
+++ b/media-gfx/graphite2/Manifest
@@ -1 +1,2 @@
DIST graphite2-1.3.13.tgz 6664757 BLAKE2B 3faad44f7ba5e0729f722fd4589c5f6a4c53cffc2bb93615c8220d03c759dedf05924b1f56cafcf1c28e0a4b50fba0d319da30572fffde4baab6bc240528a0d3 SHA512 44ac2f353c1a795a55c78b4ff72df35a3a5a94700356c0eefe105d66cd499ac93f9cfd5ab7b3ea842b575156cb8df19e0b57ff8b9dbaee8a576319ff5889c131
+DIST graphite2-1.3.14.tgz 6630061 BLAKE2B 72bf6736aaa8476a89e44ef53c5b6c94f45d815fe1a451ba6b3696bfe023971210975dee4a9c8cb3042f36442e4efecf5baf171ef4230ad2b10694a89865f918 SHA512 14b5eb2ba8158b8b62ffa7fb142100a0af1de0f0c45b2673801b636714a106b46fcd423b05c722d963c9543fafcf10fec811975308211a54f20a3ba322d7b295
diff --git a/media-gfx/graphite2/graphite2-1.3.14.ebuild b/media-gfx/graphite2/graphite2-1.3.14.ebuild
new file mode 100644
index 00000000000..89ce22d2c57
--- /dev/null
+++ b/media-gfx/graphite2/graphite2-1.3.14.ebuild
@@ -0,0 +1,115 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7,8} )
+
+CMAKE_ECLASS=cmake
+GENTOO_DEPEND_ON_PERL="no"
+inherit perl-module python-any-r1 cmake-multilib
+
+DESCRIPTION="Library providing rendering capabilities for complex non-Roman writing systems"
+HOMEPAGE="https://scripts.sil.org/cms/scripts/page.php?site_id=projects&item_id=graphite_home"
+SRC_URI="mirror://sourceforge/silgraphite/${PN}/${P}.tgz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="perl test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ perl? ( dev-lang/perl:= )
+"
+DEPEND="${RDEPEND}
+ perl? (
+ dev-perl/Locale-Maketext-Lexicon
+ dev-perl/Module-Build
+ )
+ test? (
+ ${PYTHON_DEPS}
+ dev-libs/glib:2
+ $(python_gen_any_dep 'dev-python/fonttools[${PYTHON_USEDEP}]')
+ media-libs/fontconfig
+ perl? ( virtual/perl-Test-Simple )
+ )
+"
+
+PATCHES=( "${FILESDIR}/${PN}-1.3.5-includes-libs-perl.patch" )
+
+pkg_setup() {
+ use perl && perl_set_version
+ use test && python-any-r1_pkg_setup
+}
+
+python_check_deps() {
+ has_version "dev-python/fonttools[${PYTHON_USEDEP}]"
+}
+
+src_prepare() {
+ cmake_src_prepare
+
+ # make tests optional
+ if ! use test; then
+ sed -e '/tests/d' -i CMakeLists.txt || die
+ fi
+}
+
+multilib_src_configure() {
+ local mycmakeargs=(
+ # Renamed VM_MACHINE_TYPE to GRAPHITE2_VM_TYPE
+ -DGRAPHITE2_VM_TYPE=direct
+ )
+ # https://sourceforge.net/p/silgraphite/bugs/49/
+ [[ ${CHOST} == powerpc*-apple* ]] && mycmakeargs+=(
+ -DGRAPHITE2_NSEGCACHE:BOOL=ON
+ )
+
+ cmake_src_configure
+
+ # fix perl linking
+ if multilib_is_native_abi && use perl; then
+ # we rely on the fact that cmake_src_configure sets BUILD_DIR
+ sed -e "s:@BUILD_DIR@:\"${BUILD_DIR}/src\":" \
+ -i "${S}"/contrib/perl/Build.PL || die
+ fi
+}
+
+src_compile() {
+ cmake-multilib_src_compile
+ if use perl; then
+ cd contrib/perl || die
+ perl-module_src_configure
+ perl-module_src_compile
+ fi
+}
+
+multilib_src_test() {
+ if multilib_is_native_abi; then
+ cmake_src_test
+ else
+ einfo "Cannot test since python is not multilib."
+ fi
+}
+
+src_test() {
+ cmake-multilib_src_test
+ if use perl; then
+ # Perl tests fail due to missing POD coverage...
+ perl_rm_files "contrib/perl/t/pod.t" "contrib/perl/t/pod-coverage.t"
+ cd contrib/perl || die
+ perl-module_src_test
+ fi
+}
+
+src_install() {
+ cmake-multilib_src_install
+ if use perl; then
+ cd contrib/perl || die
+ perl-module_src_install
+ perl_delete_localpod
+ fi
+
+ find "${ED}" \( -name '*.a' -o -name '*.la' \) -delete || die
+}
next reply other threads:[~2020-04-04 1:08 UTC|newest]
Thread overview: 127+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-04 1:08 Andreas Sturmlechner [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-10-08 8:21 [gentoo-commits] repo/gentoo:master commit in: media-gfx/graphite2/ Sam James
2024-05-31 6:12 Andreas Sturmlechner
2024-03-25 10:01 Sam James
2024-03-14 0:30 Sam James
2023-06-10 9:39 Andreas Sturmlechner
2023-06-09 12:04 Arthur Zamarin
2023-06-09 9:54 Sam James
2023-06-09 9:54 Sam James
2023-06-09 6:53 Arthur Zamarin
2023-06-03 19:45 Arthur Zamarin
2023-06-02 16:13 Arthur Zamarin
2023-06-01 19:15 Arthur Zamarin
2023-06-01 19:15 Arthur Zamarin
2023-02-17 6:27 Sam James
2023-02-03 19:53 Sam James
2022-12-02 18:47 Arthur Zamarin
2022-11-23 2:26 Sam James
2022-11-21 20:43 Arthur Zamarin
2022-11-21 17:52 Arthur Zamarin
2022-11-21 17:52 Arthur Zamarin
2022-11-21 17:52 Arthur Zamarin
2022-11-21 17:50 Arthur Zamarin
2022-11-21 17:43 Arthur Zamarin
2022-09-16 23:50 Sam James
2022-09-13 19:12 Sam James
2022-06-07 11:34 Andreas Sturmlechner
2022-06-06 21:19 Jakov Smolić
2022-06-06 6:53 Jakov Smolić
2022-06-06 6:53 Jakov Smolić
2022-06-06 6:53 Jakov Smolić
2022-06-06 6:53 Jakov Smolić
2022-06-06 6:31 Jakov Smolić
2022-06-06 6:28 Jakov Smolić
2022-06-06 6:28 Jakov Smolić
2022-05-07 4:28 WANG Xuerui
2021-12-23 8:14 Sam James
2021-12-20 1:06 Sam James
2021-12-20 0:49 Sam James
2021-05-01 21:24 Andreas Sturmlechner
2021-01-06 14:07 Fabian Groffen
2020-06-06 17:48 Andreas Sturmlechner
2020-06-06 17:29 Agostino Sarubbo
2020-05-31 16:15 Mikle Kolyada
2020-05-31 16:07 Mikle Kolyada
2020-05-31 15:45 Mikle Kolyada
2020-05-31 15:40 Mikle Kolyada
2020-05-29 20:42 Sergei Trofimovich
2020-05-20 14:41 Mikle Kolyada
2020-05-20 13:35 Mikle Kolyada
2020-05-19 19:36 Mikle Kolyada
2020-01-03 19:40 Andreas Sturmlechner
2019-12-25 21:20 Andreas Sturmlechner
2019-12-25 20:50 Sergei Trofimovich
2019-12-25 20:39 Sergei Trofimovich
2019-11-30 10:18 Sergei Trofimovich
2019-11-17 1:34 Andreas Sturmlechner
2019-05-06 15:25 Tobias Klausmann
2019-03-03 6:37 Mikle Kolyada
2019-03-03 6:36 Mikle Kolyada
2019-03-02 20:02 Matt Turner
2019-02-17 17:58 Mikle Kolyada
2019-02-17 16:05 Mart Raudsepp
2019-02-17 15:33 Mikle Kolyada
2019-01-09 11:52 Andreas Sturmlechner
2018-12-30 21:02 Andreas Sturmlechner
2018-12-30 21:02 Andreas Sturmlechner
2018-09-03 12:11 Lars Wendler
2018-09-03 9:42 Lars Wendler
2018-06-13 10:06 Mikle Kolyada
2018-03-21 21:08 Matt Turner
2018-03-07 16:55 Lars Wendler
2017-06-30 7:37 Sergei Trofimovich
2017-06-26 12:48 Alexis Ballier
2017-06-23 4:39 Markus Meier
2017-06-21 12:17 Agostino Sarubbo
2017-06-20 14:56 Tobias Klausmann
2017-06-16 14:10 Agostino Sarubbo
2017-06-10 21:15 Andreas Hüttel
2017-06-03 22:49 Andreas Sturmlechner
2017-05-12 14:55 Agostino Sarubbo
2017-05-11 19:27 Markus Meier
2017-05-10 12:02 Lars Wendler
2017-05-04 15:55 Agostino Sarubbo
2017-04-30 9:37 Agostino Sarubbo
2017-04-29 14:49 Agostino Sarubbo
2017-04-29 12:33 Jeroen Roovers
2017-04-28 20:42 Andreas Hüttel
2017-03-29 21:26 Michael Weber
2017-01-24 13:41 Agostino Sarubbo
2016-12-20 23:12 Kent Fredric
2016-11-21 11:54 Lars Wendler
2016-09-29 13:08 Agostino Sarubbo
2016-07-13 13:51 Jeroen Roovers
2016-07-13 6:35 Jeroen Roovers
2016-07-07 9:36 Agostino Sarubbo
2016-07-07 9:23 Agostino Sarubbo
2016-07-05 21:02 Markus Meier
2016-07-05 7:53 Tobias Klausmann
2016-07-04 9:19 Tobias Klausmann
2016-06-07 17:36 Tobias Klausmann
2016-05-20 12:46 Tobias Klausmann
2016-04-28 16:32 Tobias Klausmann
2016-04-11 10:39 Agostino Sarubbo
2016-04-07 13:40 Lars Wendler
2016-04-07 13:40 Lars Wendler
2016-03-30 18:30 Markus Meier
2016-03-27 10:16 Agostino Sarubbo
2016-03-26 9:25 Jeroen Roovers
2016-03-22 14:32 Agostino Sarubbo
2016-03-21 0:38 Andreas Hüttel
2016-03-20 12:24 Agostino Sarubbo
2016-03-19 12:28 Agostino Sarubbo
2016-03-18 7:16 Lars Wendler
2016-03-16 14:09 Agostino Sarubbo
2016-03-15 20:50 Tobias Klausmann
2016-03-11 16:38 Markus Meier
2016-03-07 3:17 Jeroen Roovers
2016-03-06 14:58 Jeroen Roovers
2016-03-06 8:33 Jeroen Roovers
2016-03-03 21:37 Andreas Hüttel
2016-03-02 13:58 Agostino Sarubbo
2016-02-29 12:59 Andreas Hüttel
2016-02-29 12:48 Andreas Hüttel
2016-02-29 12:48 Andreas Hüttel
2016-02-26 22:57 Andreas Hüttel
2016-01-30 8:16 Michael Palimaka
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1585962478.3d54bca88fd315a9279187421c1608d4c63af39b.asturm@gentoo \
--to=asturm@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox