commit:     527a687bcf5eab4e8f9b57b77307bbf32c7833eb
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Fri May 28 01:22:59 2021 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Fri Jun  4 01:14:12 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=527a687b

net-libs/gssdp: Switch to meson-multilib

Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 net-libs/gssdp/gssdp-1.2.2.ebuild | 24 ++++++------------------
 net-libs/gssdp/gssdp-1.2.3.ebuild | 24 ++++++------------------
 2 files changed, 12 insertions(+), 36 deletions(-)

diff --git a/net-libs/gssdp/gssdp-1.2.2.ebuild 
b/net-libs/gssdp/gssdp-1.2.2.ebuild
index 4590776d84b..689c160c9ce 100644
--- a/net-libs/gssdp/gssdp-1.2.2.ebuild
+++ b/net-libs/gssdp/gssdp-1.2.2.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="7"
 VALA_USE_DEPEND="vapigen"
 
-inherit gnome.org meson multilib-minimal vala xdg
+inherit gnome.org meson-multilib vala xdg
 
 DESCRIPTION="GObject-based API for handling resource discovery and 
announcement over SSDP"
 HOMEPAGE="https://wiki.gnome.org/Projects/GUPnP";
@@ -39,23 +39,11 @@ src_prepare() {
 
 multilib_src_configure() {
        local emesonargs=(
-               -Dgtk_doc=$(multilib_native_usex gtk-doc true false)
-               -Dsniffer=$(multilib_native_usex gtk true false)
-               -Dintrospection=$(multilib_native_usex introspection true false)
-               -Dvapi=$(multilib_native_usex vala true false)
+               $(meson_native_use_bool gtk-doc gtk_doc)
+               $(meson_native_use_bool gtk sniffer)
+               $(meson_native_use_bool introspection)
+               $(meson_native_use_bool vala vapi)
                -Dexamples=false
        )
        meson_src_configure
 }
-
-multilib_src_compile() {
-       meson_src_compile
-}
-
-multilib_src_test() {
-       meson_src_test
-}
-
-multilib_src_install() {
-       meson_src_install
-}

diff --git a/net-libs/gssdp/gssdp-1.2.3.ebuild 
b/net-libs/gssdp/gssdp-1.2.3.ebuild
index 4590776d84b..689c160c9ce 100644
--- a/net-libs/gssdp/gssdp-1.2.3.ebuild
+++ b/net-libs/gssdp/gssdp-1.2.3.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="7"
 VALA_USE_DEPEND="vapigen"
 
-inherit gnome.org meson multilib-minimal vala xdg
+inherit gnome.org meson-multilib vala xdg
 
 DESCRIPTION="GObject-based API for handling resource discovery and 
announcement over SSDP"
 HOMEPAGE="https://wiki.gnome.org/Projects/GUPnP";
@@ -39,23 +39,11 @@ src_prepare() {
 
 multilib_src_configure() {
        local emesonargs=(
-               -Dgtk_doc=$(multilib_native_usex gtk-doc true false)
-               -Dsniffer=$(multilib_native_usex gtk true false)
-               -Dintrospection=$(multilib_native_usex introspection true false)
-               -Dvapi=$(multilib_native_usex vala true false)
+               $(meson_native_use_bool gtk-doc gtk_doc)
+               $(meson_native_use_bool gtk sniffer)
+               $(meson_native_use_bool introspection)
+               $(meson_native_use_bool vala vapi)
                -Dexamples=false
        )
        meson_src_configure
 }
-
-multilib_src_compile() {
-       meson_src_compile
-}
-
-multilib_src_test() {
-       meson_src_test
-}
-
-multilib_src_install() {
-       meson_src_install
-}

Reply via email to