diff options
author | Matt Turner <mattst88@gentoo.org> | 2021-05-27 18:52:10 -0700 |
---|---|---|
committer | Matt Turner <mattst88@gentoo.org> | 2021-06-03 18:14:07 -0700 |
commit | 619caced8feff5d2af4ffdd725bbda4bbb60fefe (patch) | |
tree | b546ef4f1e1328ad73bef3700f3244510fec2c39 /dev-libs/libgusb | |
parent | dev-libs/libevdev: Switch to meson-multilib (diff) | |
download | gentoo-619caced8feff5d2af4ffdd725bbda4bbb60fefe.tar.gz gentoo-619caced8feff5d2af4ffdd725bbda4bbb60fefe.tar.bz2 gentoo-619caced8feff5d2af4ffdd725bbda4bbb60fefe.zip |
dev-libs/libgusb: Switch to meson-multilib
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'dev-libs/libgusb')
-rw-r--r-- | dev-libs/libgusb/libgusb-0.3.7.ebuild | 21 |
1 files changed, 5 insertions, 16 deletions
diff --git a/dev-libs/libgusb/libgusb-0.3.7.ebuild b/dev-libs/libgusb/libgusb-0.3.7.ebuild index 2288ee798781..40fc43d65a3d 100644 --- a/dev-libs/libgusb/libgusb-0.3.7.ebuild +++ b/dev-libs/libgusb/libgusb-0.3.7.ebuild @@ -7,7 +7,7 @@ VALA_USE_DEPEND="vapigen" PYTHON_COMPAT=( python3_{7,8,9} ) PYTHON_REQ_USE="xml(+)" -inherit meson multilib-minimal python-any-r1 vala +inherit meson-multilib python-any-r1 vala DESCRIPTION="GObject wrapper for libusb" HOMEPAGE="https://github.com/hughsie/libgusb" @@ -53,22 +53,11 @@ multilib_src_configure() { local emesonargs=( -Ddefault_library=$(usex static-libs both shared) $(meson_use test tests) - -Dvapi=$(multilib_native_usex vala true false) + $(meson_native_use_bool vala vapi) -Dusb_ids="${EPREFIX}"/usr/share/misc/usb.ids - -Ddocs=$(multilib_native_usex gtk-doc true false) - -Dintrospection=$(multilib_native_usex introspection true false) + $(meson_native_use_bool gtk-doc docs) + $(meson_native_use_bool introspection) + ) meson_src_configure } - -multilib_src_compile() { - meson_src_compile -} - -multilib_src_test() { - meson_src_test -} - -multilib_src_install() { - meson_src_install -} |