diff options
author | Matt Turner <mattst88@gentoo.org> | 2021-05-22 20:47:55 -0700 |
---|---|---|
committer | Matt Turner <mattst88@gentoo.org> | 2021-06-03 18:14:10 -0700 |
commit | fefd85b193e5a8b51d86a63def58294831f86e61 (patch) | |
tree | 09c06506c3c6243a5283ae1ae68645992441cc05 /media-libs | |
parent | media-libs/graphene: Switch to meson-multilib (diff) | |
download | gentoo-fefd85b193e5a8b51d86a63def58294831f86e61.tar.gz gentoo-fefd85b193e5a8b51d86a63def58294831f86e61.tar.bz2 gentoo-fefd85b193e5a8b51d86a63def58294831f86e61.zip |
media-libs/harfbuzz: Switch to meson-multilib
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/harfbuzz/harfbuzz-2.7.4.ebuild | 30 | ||||
-rw-r--r-- | media-libs/harfbuzz/harfbuzz-2.8.0.ebuild | 30 | ||||
-rw-r--r-- | media-libs/harfbuzz/harfbuzz-2.8.1.ebuild | 30 | ||||
-rw-r--r-- | media-libs/harfbuzz/harfbuzz-9999.ebuild | 30 |
4 files changed, 20 insertions, 100 deletions
diff --git a/media-libs/harfbuzz/harfbuzz-2.7.4.ebuild b/media-libs/harfbuzz/harfbuzz-2.7.4.ebuild index faa0655ca207..453389b63317 100644 --- a/media-libs/harfbuzz/harfbuzz-2.7.4.ebuild +++ b/media-libs/harfbuzz/harfbuzz-2.7.4.ebuild @@ -5,7 +5,7 @@ EAPI=7 PYTHON_COMPAT=( python3_{7..9} ) -inherit flag-o-matic meson multilib-minimal python-any-r1 xdg-utils +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" @@ -73,23 +73,15 @@ src_prepare() { done } -meson_multilib_native_feature() { - if multilib_is_native_abi && use "$1" ; then - echo "enabled" - else - echo "disabled" - fi -} - multilib_src_configure() { # harfbuzz-gobject only used for instrospection, bug #535852 local emesonargs=( - -Dcairo="$(meson_multilib_native_feature cairo)" + $(meson_native_use_feature cairo) -Dcoretext="disabled" - -Ddocs="$(meson_multilib_native_feature doc)" + $(meson_native_use_feature doc) -Dfontconfig="disabled" #609300 - -Dintrospection="$(meson_multilib_native_feature introspection)" - -Dstatic="$(usex static-libs true false)" + $(meson_native_use_feature introspection) + $(meson_use static-libs static) $(meson_feature glib) $(meson_feature graphite) $(meson_feature icu) @@ -99,15 +91,3 @@ multilib_src_configure() { ) meson_src_configure } - -multilib_src_compile() { - meson_src_compile -} - -multilib_src_install() { - meson_src_install -} - -multilib_src_install_all() { - einstalldocs -} diff --git a/media-libs/harfbuzz/harfbuzz-2.8.0.ebuild b/media-libs/harfbuzz/harfbuzz-2.8.0.ebuild index 48efc9f4fcbc..9f52c19d3421 100644 --- a/media-libs/harfbuzz/harfbuzz-2.8.0.ebuild +++ b/media-libs/harfbuzz/harfbuzz-2.8.0.ebuild @@ -5,7 +5,7 @@ EAPI=7 PYTHON_COMPAT=( python3_{7..9} ) -inherit flag-o-matic meson multilib-minimal python-any-r1 xdg-utils +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" @@ -73,23 +73,15 @@ src_prepare() { done } -meson_multilib_native_feature() { - if multilib_is_native_abi && use "$1" ; then - echo "enabled" - else - echo "disabled" - fi -} - multilib_src_configure() { # harfbuzz-gobject only used for instrospection, bug #535852 local emesonargs=( - -Dcairo="$(meson_multilib_native_feature cairo)" + $(meson_native_use_feature cairo) -Dcoretext="disabled" - -Ddocs="$(meson_multilib_native_feature doc)" + $(meson_native_use_feature doc) -Dfontconfig="disabled" #609300 - -Dintrospection="$(meson_multilib_native_feature introspection)" - -Dstatic="$(usex static-libs true false)" + $(meson_native_use_feature introspection) + $(meson_use static-libs static) $(meson_feature glib) $(meson_feature graphite) $(meson_feature icu) @@ -99,15 +91,3 @@ multilib_src_configure() { ) meson_src_configure } - -multilib_src_compile() { - meson_src_compile -} - -multilib_src_install() { - meson_src_install -} - -multilib_src_install_all() { - einstalldocs -} diff --git a/media-libs/harfbuzz/harfbuzz-2.8.1.ebuild b/media-libs/harfbuzz/harfbuzz-2.8.1.ebuild index faa0655ca207..453389b63317 100644 --- a/media-libs/harfbuzz/harfbuzz-2.8.1.ebuild +++ b/media-libs/harfbuzz/harfbuzz-2.8.1.ebuild @@ -5,7 +5,7 @@ EAPI=7 PYTHON_COMPAT=( python3_{7..9} ) -inherit flag-o-matic meson multilib-minimal python-any-r1 xdg-utils +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" @@ -73,23 +73,15 @@ src_prepare() { done } -meson_multilib_native_feature() { - if multilib_is_native_abi && use "$1" ; then - echo "enabled" - else - echo "disabled" - fi -} - multilib_src_configure() { # harfbuzz-gobject only used for instrospection, bug #535852 local emesonargs=( - -Dcairo="$(meson_multilib_native_feature cairo)" + $(meson_native_use_feature cairo) -Dcoretext="disabled" - -Ddocs="$(meson_multilib_native_feature doc)" + $(meson_native_use_feature doc) -Dfontconfig="disabled" #609300 - -Dintrospection="$(meson_multilib_native_feature introspection)" - -Dstatic="$(usex static-libs true false)" + $(meson_native_use_feature introspection) + $(meson_use static-libs static) $(meson_feature glib) $(meson_feature graphite) $(meson_feature icu) @@ -99,15 +91,3 @@ multilib_src_configure() { ) meson_src_configure } - -multilib_src_compile() { - meson_src_compile -} - -multilib_src_install() { - meson_src_install -} - -multilib_src_install_all() { - einstalldocs -} diff --git a/media-libs/harfbuzz/harfbuzz-9999.ebuild b/media-libs/harfbuzz/harfbuzz-9999.ebuild index 48efc9f4fcbc..9f52c19d3421 100644 --- a/media-libs/harfbuzz/harfbuzz-9999.ebuild +++ b/media-libs/harfbuzz/harfbuzz-9999.ebuild @@ -5,7 +5,7 @@ EAPI=7 PYTHON_COMPAT=( python3_{7..9} ) -inherit flag-o-matic meson multilib-minimal python-any-r1 xdg-utils +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" @@ -73,23 +73,15 @@ src_prepare() { done } -meson_multilib_native_feature() { - if multilib_is_native_abi && use "$1" ; then - echo "enabled" - else - echo "disabled" - fi -} - multilib_src_configure() { # harfbuzz-gobject only used for instrospection, bug #535852 local emesonargs=( - -Dcairo="$(meson_multilib_native_feature cairo)" + $(meson_native_use_feature cairo) -Dcoretext="disabled" - -Ddocs="$(meson_multilib_native_feature doc)" + $(meson_native_use_feature doc) -Dfontconfig="disabled" #609300 - -Dintrospection="$(meson_multilib_native_feature introspection)" - -Dstatic="$(usex static-libs true false)" + $(meson_native_use_feature introspection) + $(meson_use static-libs static) $(meson_feature glib) $(meson_feature graphite) $(meson_feature icu) @@ -99,15 +91,3 @@ multilib_src_configure() { ) meson_src_configure } - -multilib_src_compile() { - meson_src_compile -} - -multilib_src_install() { - meson_src_install -} - -multilib_src_install_all() { - einstalldocs -} |