diff options
author | 2022-02-13 13:13:56 +0100 | |
---|---|---|
committer | 2022-02-13 13:14:42 +0100 | |
commit | fb35bccab8687a547aabdcb86e5afd9aeafd9acd (patch) | |
tree | 8db8da1815c62a7f6287c6a0d44e1a7e2c665543 /media-libs/harfbuzz | |
parent | net-irc/hexchat: Synced live ebuild (diff) | |
download | gentoo-fb35bccab8687a547aabdcb86e5afd9aeafd9acd.tar.gz gentoo-fb35bccab8687a547aabdcb86e5afd9aeafd9acd.tar.bz2 gentoo-fb35bccab8687a547aabdcb86e5afd9aeafd9acd.zip |
media-libs/harfbuzz: Bump to version 3.4.0
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'media-libs/harfbuzz')
-rw-r--r-- | media-libs/harfbuzz/Manifest | 1 | ||||
-rw-r--r-- | media-libs/harfbuzz/harfbuzz-3.4.0.ebuild | 98 |
2 files changed, 99 insertions, 0 deletions
diff --git a/media-libs/harfbuzz/Manifest b/media-libs/harfbuzz/Manifest index 5c12fd5bca02..a5ceaf5dbe8f 100644 --- a/media-libs/harfbuzz/Manifest +++ b/media-libs/harfbuzz/Manifest @@ -1,3 +1,4 @@ DIST harfbuzz-3.2.0.tar.gz 28221148 BLAKE2B 55ff832d3f740e2d3819f66ddfadd10312533addc975a8871e549ad33f27f4a6da33cc190e3de17bd12c9716258bd0cb165c4c04da5057f92cc53e8673d4c10a SHA512 5d8c629416c0bc557b83e8d9d731d41b9e8ee3abc74590e65ed6ca67d74d3a440d038134313f17a7b1b14ef0fc1ecf8bb87113fdcf5f0c8d3dc3d2eeb9b08c18 DIST harfbuzz-3.3.1.tar.gz 29039964 BLAKE2B 55034a83d63369fe6b8a010cbab35615c60d03e052f2f49a6ed176222f2623beaa11e32a3872a0f2128d10b4e7240fcf198d8445b8b80ae0134ff2bf9a51ece4 SHA512 05a5fd52e0eac9eb1288c4d5e49154a29c1dd98032b5afd49cbb563520865ead0fd756651e46374b016fac0d1a584fb89aef5835758b5970266a3c926676da95 DIST harfbuzz-3.3.2.tar.gz 29043591 BLAKE2B 77bd8dffed30b47901780ee893c2df8c8d6e86d400b3cb03b553140a62ddd44b72441a40f2e96230f44e5dde83a97dfc1ca7f8809fd8762f98a0dc777cf9a270 SHA512 f821fd85b5b554ef0810f4f5ae8d8c7116c73ec021433a8a6bac8a23933ff066d3fe333e412d75520dcdccdb9a3080aa97956bdaf1920afa10d3997ab9208f83 +DIST harfbuzz-3.4.0.tar.gz 29043149 BLAKE2B 7b779149b34353ebb85143f74e9efdd8f8ba3616cd192df63ae43aa86f3f08d9a4104554f1f43624824549cf957625e496a307470dd1a9599e492cbf490ab1f3 SHA512 c0b3802fc084cb781acb717f07ca7811685e6834d97ae1a2f13ddc68ce0a31d672cb92e1192705c6d5ed870cb735f5d37150f7bf661b95d806a9d8f362520c01 diff --git a/media-libs/harfbuzz/harfbuzz-3.4.0.ebuild b/media-libs/harfbuzz/harfbuzz-3.4.0.ebuild new file mode 100644 index 000000000000..9322b2928b1c --- /dev/null +++ b/media-libs/harfbuzz/harfbuzz-3.4.0.ebuild @@ -0,0 +1,98 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) + +inherit flag-o-matic meson-multilib python-any-r1 xdg-utils + +DESCRIPTION="An OpenType text shaping engine" +HOMEPAGE="https://www.freedesktop.org/wiki/Software/HarfBuzz" + +if [[ ${PV} = 9999 ]] ; then + EGIT_REPO_URI="https://github.com/harfbuzz/harfbuzz.git" + inherit git-r3 +else + SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +fi + +LICENSE="Old-MIT ISC icu" +# 0.9.18 introduced the harfbuzz-icu split; bug #472416 +# 3.0.0 dropped some unstable APIs; bug #813705 +SLOT="0/3.0.0" + +IUSE="+cairo debug doc experimental +glib +graphite icu +introspection test +truetype" +RESTRICT="!test? ( test )" +REQUIRED_USE="introspection? ( glib )" + +RDEPEND=" + cairo? ( x11-libs/cairo:= ) + glib? ( >=dev-libs/glib-2.38:2[${MULTILIB_USEDEP}] ) + graphite? ( >=media-gfx/graphite2-1.2.1:=[${MULTILIB_USEDEP}] ) + icu? ( >=dev-libs/icu-51.2-r1:=[${MULTILIB_USEDEP}] ) + introspection? ( >=dev-libs/gobject-introspection-1.34:= ) + truetype? ( >=media-libs/freetype-2.5.0.1:2=[${MULTILIB_USEDEP}] ) +" +DEPEND="${RDEPEND} + >=dev-libs/gobject-introspection-common-1.34 +" +BDEPEND=" + ${PYTHON_DEPS} + virtual/pkgconfig + doc? ( dev-util/gtk-doc ) + introspection? ( dev-util/glib-utils ) +" + +pkg_setup() { + python-any-r1_pkg_setup + if ! use debug ; then + append-cppflags -DHB_NDEBUG + fi +} + +src_prepare() { + default + + xdg_environment_reset + + sed -i \ + -e '/tests\/macos\.tests/d' \ + test/shape/data/in-house/Makefile.sources \ + || die # bug 726120 + + # bug 618772 + append-cxxflags -std=c++14 + + # bug 790359 + filter-flags -fexceptions -fthreadsafe-statics + + # bug 762415 + local pyscript + for pyscript in $(find -type f -name "*.py") ; do + python_fix_shebang -q "${pyscript}" + done +} + +multilib_src_configure() { + # harfbuzz-gobject only used for instrospection, bug #535852 + local emesonargs=( + -Dcoretext="disabled" + -Dchafa="disabled" + + $(meson_feature glib) + $(meson_feature graphite graphite2) + $(meson_feature icu) + $(meson_feature introspection gobject) + $(meson_feature test tests) + $(meson_feature truetype freetype) + + $(meson_native_use_feature cairo) + $(meson_native_use_feature doc docs) + $(meson_native_use_feature introspection) + + $(meson_use experimental experimental_api) + ) + meson_src_configure +} |