summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gentoo.org>2021-05-27 18:36:19 -0700
committerMatt Turner <mattst88@gentoo.org>2021-06-03 18:14:16 -0700
commit468c41e83f4935a0f042dd14282f9df4372d139a (patch)
treebc835b245e7ca9efeaa765509ae54341aa9d4d98 /x11-misc
parentx11-libs/pixman: Switch to meson-multilib (diff)
downloadgentoo-468c41e83f4935a0f042dd14282f9df4372d139a.tar.gz
gentoo-468c41e83f4935a0f042dd14282f9df4372d139a.tar.bz2
gentoo-468c41e83f4935a0f042dd14282f9df4372d139a.zip
x11-misc/colord: Switch to meson-multilib
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'x11-misc')
-rw-r--r--x11-misc/colord/colord-1.4.5-r1.ebuild28
1 files changed, 8 insertions, 20 deletions
diff --git a/x11-misc/colord/colord-1.4.5-r1.ebuild b/x11-misc/colord/colord-1.4.5-r1.ebuild
index 16edd7929b58..6431f775af63 100644
--- a/x11-misc/colord/colord-1.4.5-r1.ebuild
+++ b/x11-misc/colord/colord-1.4.5-r1.ebuild
@@ -4,7 +4,7 @@
EAPI=7
VALA_USE_DEPEND="vapigen"
-inherit bash-completion-r1 meson multilib-minimal systemd udev vala
+inherit bash-completion-r1 meson-multilib systemd udev vala
DESCRIPTION="System service to accurately color manage input and output devices"
HOMEPAGE="https://www.freedesktop.org/software/colord/"
@@ -83,18 +83,18 @@ src_prepare() {
multilib_src_configure() {
local emesonargs=(
- -Ddaemon=$(multilib_is_native_abi && echo true || echo false)
+ $(meson_native_true daemon)
-Dexamples=false
-Dbash_completion=false
$(meson_use udev udev_rules)
- -Dsystemd=$(multilib_native_usex systemd true false)
+ $(meson_native_use_bool systemd)
-Dlibcolordcompat=true
- -Dargyllcms_sensor=$(multilib_native_usex argyllcms true false)
+ $(meson_native_use_bool argyllcms argyllcms_sensor)
-Dreverse=false
- -Dsane=$(multilib_native_usex scanner true false)
- -Dintrospection=$(multilib_native_usex introspection true false)
- -Dvapi=$(multilib_native_usex vala true false)
- -Dprint_profiles=$(multilib_native_usex extra-print-profiles true false)
+ $(meson_native_use_bool scanner sane)
+ $(meson_native_use_bool introspection)
+ $(meson_native_use_bool vala vapi)
+ $(meson_native_use_bool extra-print-profiles print_profiles)
$(meson_use test tests)
-Dinstalled_tests=false
-Ddaemon_user=colord
@@ -105,18 +105,6 @@ multilib_src_configure() {
meson_src_configure
}
-multilib_src_compile() {
- meson_src_compile
-}
-
-multilib_src_test() {
- meson_src_test
-}
-
-multilib_src_install() {
- meson_src_install
-}
-
multilib_src_install_all() {
newbashcomp data/colormgr colormgr