mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
media-libs/harfbuzz: Removed old
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
DIST harfbuzz-3.1.2.tar.gz 26678706 BLAKE2B 231687fa77983217cf60eda2b4796431c15a9efa79e8925363e6d8374ea2710d167eb1bcf5e14a7c738a98f6be06e24ee6b038ea5697b380b81425c9d4244dad SHA512 4d1093904bd450c6d65130b3d7198c07cfc5cce9a5d234fcb14bae1101b28e697ba42cb455217f863d8d5c83830784f716ae59a2dbb38e88156677213bdb4799
|
||||
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
|
||||
|
||||
@@ -1,98 +0,0 @@
|
||||
# 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
|
||||
}
|
||||
Reference in New Issue
Block a user