summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gentoo.org>2021-05-22 20:03:38 -0700
committerMatt Turner <mattst88@gentoo.org>2021-06-03 18:14:03 -0700
commit589def762b597bce6a8603b15adce8e4d06360c9 (patch)
treed78bb908479189b6cbe0e502cbc6508b167b05dd /app-crypt/libsecret
parentapp-arch/bzip2: Switch to meson-multilib (diff)
downloadgentoo-589def762b597bce6a8603b15adce8e4d06360c9.tar.gz
gentoo-589def762b597bce6a8603b15adce8e4d06360c9.tar.bz2
gentoo-589def762b597bce6a8603b15adce8e4d06360c9.zip
app-crypt/libsecret: Switch to meson-multilib
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'app-crypt/libsecret')
-rw-r--r--app-crypt/libsecret/libsecret-0.20.4.ebuild22
1 files changed, 5 insertions, 17 deletions
diff --git a/app-crypt/libsecret/libsecret-0.20.4.ebuild b/app-crypt/libsecret/libsecret-0.20.4.ebuild
index fc8e3656fc55..5db7cd230147 100644
--- a/app-crypt/libsecret/libsecret-0.20.4.ebuild
+++ b/app-crypt/libsecret/libsecret-0.20.4.ebuild
@@ -5,7 +5,7 @@ EAPI=7
PYTHON_COMPAT=( python3_{7..9} )
VALA_USE_DEPEND=vapigen
-inherit gnome2 meson multilib-minimal python-any-r1 vala virtualx
+inherit gnome2 meson-multilib python-any-r1 vala virtualx
DESCRIPTION="GObject library for accessing the freedesktop.org Secret Service API"
HOMEPAGE="https://wiki.gnome.org/Projects/Libsecret"
@@ -71,32 +71,20 @@ src_prepare() {
-i libsecret/secret-enum-types.h.template || die
}
-meson_multilib_native_use() {
- multilib_native_usex "$1" "-D${2-$1}=true" "-D${2-$1}=false"
-}
-
multilib_src_configure() {
local emesonargs=(
$(meson_use crypt gcrypt)
# Don't build docs multiple times
- -Dmanpage=$(multilib_is_native_abi && echo true || echo false)
- $(meson_multilib_native_use gtk-doc gtk_doc)
+ $(meson_native_true manpage)
+ $(meson_native_use_bool gtk-doc gtk_doc)
- $(meson_multilib_native_use introspection)
- $(meson_multilib_native_use vala vapi)
+ $(meson_native_use_bool introspection)
+ $(meson_native_use_bool vala vapi)
)
meson_src_configure
}
-multilib_src_compile() {
- meson_src_compile
-}
-
multilib_src_test() {
virtx meson_src_test
}
-
-multilib_src_install() {
- meson_src_install
-}