summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/harfbuzz/harfbuzz-2.7.0.ebuild')
-rw-r--r--media-libs/harfbuzz/harfbuzz-2.7.0.ebuild110
1 files changed, 0 insertions, 110 deletions
diff --git a/media-libs/harfbuzz/harfbuzz-2.7.0.ebuild b/media-libs/harfbuzz/harfbuzz-2.7.0.ebuild
deleted file mode 100644
index 8bb87bd9b556..000000000000
--- a/media-libs/harfbuzz/harfbuzz-2.7.0.ebuild
+++ /dev/null
@@ -1,110 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{6,7,8} )
-
-inherit autotools flag-o-matic libtool multilib-minimal 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 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
-fi
-
-LICENSE="Old-MIT ISC icu"
-SLOT="0/0.9.18" # 0.9.18 introduced the harfbuzz-icu split; bug #472416
-
-IUSE="+cairo debug doc +glib +graphite icu +introspection static-libs 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
- test? ( ${PYTHON_DEPS} )
-"
-BDEPEND="
- virtual/pkgconfig
- doc? ( dev-util/gtk-doc )
-"
-
-pkg_setup() {
- use test && python-any-r1_pkg_setup
- if ! use debug ; then
- append-cppflags -DHB_NDEBUG
- fi
-}
-
-src_prepare() {
- default
-
- xdg_environment_reset
-
- if [[ ${CHOST} == *-darwin* || ${CHOST} == *-solaris* ]] ; then
- # on Darwin/Solaris we need to link with g++, like automake defaults
- # to, but overridden by upstream because on Linux this is not
- # necessary, bug #449126
- sed -i \
- -e 's/\<LINK\>/CXXLINK/' \
- src/Makefile.am || die
- fi
-
- sed -i \
- -e 's:tests/macos.tests::' \
- test/shaping/data/in-house/Makefile.sources \
- || die # bug 726120
-
- if ! use doc ; then
- # Taken from shipped autogen.sh script
- echo "EXTRA_DIST = " > gtk-doc.make
- fi
-
- eautoreconf
- elibtoolize # for Solaris
-
- # bug 618772
- append-cxxflags -std=c++14
-}
-
-multilib_src_configure() {
- # harfbuzz-gobject only used for instrospection, bug #535852
- local myeconfargs=(
- --without-coretext
- --without-fontconfig #609300
- --without-uniscribe
- $(multilib_native_use_enable doc gtk-doc)
- $(multilib_native_use_enable doc gtk-doc-html)
- $(use_enable static-libs static)
- $(multilib_native_use_with cairo)
- $(use_with glib)
- $(use_with introspection gobject)
- $(use_with graphite graphite2)
- $(use_with icu)
- $(multilib_native_use_enable introspection)
- $(use_with truetype freetype)
- )
- ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
-
- if multilib_is_native_abi; then
- ln -s "${S}"/docs/html docs/html || die
- fi
-}
-
-multilib_src_install_all() {
- einstalldocs
- find "${ED}" -type f -name "*.la" -delete || die
-}