diff options
author | Matt Turner <mattst88@gentoo.org> | 2021-05-27 18:31:07 -0700 |
---|---|---|
committer | Matt Turner <mattst88@gentoo.org> | 2021-06-03 18:14:14 -0700 |
commit | 00a9cd3dbb977db79e860a8332ed3ed15cff0688 (patch) | |
tree | a41f75941cac907ee2baadf147252ed0e749c4fb /x11-libs/gdk-pixbuf | |
parent | sys-fs/udev: Switch to meson-multilib (diff) | |
download | gentoo-00a9cd3dbb977db79e860a8332ed3ed15cff0688.tar.gz gentoo-00a9cd3dbb977db79e860a8332ed3ed15cff0688.tar.bz2 gentoo-00a9cd3dbb977db79e860a8332ed3ed15cff0688.zip |
x11-libs/gdk-pixbuf: Switch to meson-multilib
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'x11-libs/gdk-pixbuf')
-rw-r--r-- | x11-libs/gdk-pixbuf/gdk-pixbuf-2.42.6.ebuild | 32 |
1 files changed, 5 insertions, 27 deletions
diff --git a/x11-libs/gdk-pixbuf/gdk-pixbuf-2.42.6.ebuild b/x11-libs/gdk-pixbuf/gdk-pixbuf-2.42.6.ebuild index cd29c1da60d0..146867dc375b 100644 --- a/x11-libs/gdk-pixbuf/gdk-pixbuf-2.42.6.ebuild +++ b/x11-libs/gdk-pixbuf/gdk-pixbuf-2.42.6.ebuild @@ -3,7 +3,7 @@ EAPI=7 -inherit gnome.org gnome2-utils meson multilib multilib-minimal xdg +inherit gnome.org gnome2-utils meson-multilib multilib xdg DESCRIPTION="Image loading library for GTK+" HOMEPAGE="https://gitlab.gnome.org/GNOME/gdk-pixbuf" @@ -70,37 +70,15 @@ multilib_src_configure() { #native_windows_loaders -Dinstalled_tests=false -Dgio_sniffing=true + $(meson_native_use_bool gtk-doc gtk_doc) + $(meson_native_use_feature introspection) + $(meson_native_true man) ) - if multilib_is_native_abi; then - emesonargs+=( - $(meson_use gtk-doc gtk_doc) - $(meson_feature introspection) - -Dman=true - ) - else - emesonargs+=( - -Dgtk_doc=false - -Dintrospection=disabled - -Dman=false - ) - fi - meson_src_configure -} - -multilib_src_compile() { - meson_src_compile -} - -multilib_src_test() { - meson_src_test -} -multilib_src_install() { - meson_src_install + meson_src_configure } multilib_src_install_all() { - einstalldocs if use gtk-doc; then mkdir "${ED}"/usr/share/doc/${PF}/html || die mv "${ED}"/usr/share/doc/{${PN}/,${PF}/html/} || die |