Skip to content

Commit

Permalink
dev-cpp/glibmm: Switch to meson-multilib
Browse files Browse the repository at this point in the history
Signed-off-by: Matt Turner <[email protected]>
  • Loading branch information
mattst88 committed Jun 4, 2021
1 parent fe13b28 commit 5cf7f90
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 30 deletions.
18 changes: 3 additions & 15 deletions dev-cpp/glibmm/glibmm-2.66.1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

EAPI=7
PYTHON_COMPAT=( python3_{7..9} )
inherit gnome.org meson multilib-minimal python-any-r1
inherit gnome.org meson-multilib python-any-r1

DESCRIPTION="C++ interface for glib2"
HOMEPAGE="https://www.gtkmm.org"
Expand Down Expand Up @@ -46,21 +46,9 @@ multilib_src_configure() {
local emesonargs=(
-Dwarnings=min
-Dbuild-deprecated-api=true
-Dbuild-documentation=$(usex doc true false)
-Ddebug-refcounting=$(usex debug true false)
$(meson_native_use_bool doc build-documentation)
$(meson_use debug debug-refcounting)
-Dbuild-examples=false
)
meson_src_configure
}

multilib_src_compile() {
meson_src_compile
}

multilib_src_test() {
meson_src_test
}

multilib_src_install() {
meson_src_install
}
18 changes: 3 additions & 15 deletions dev-cpp/glibmm/glibmm-2.68.1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

EAPI=7
PYTHON_COMPAT=( python3_{7..9} )
inherit gnome.org meson multilib-minimal python-any-r1
inherit gnome.org meson-multilib python-any-r1

DESCRIPTION="C++ interface for glib2"
HOMEPAGE="https://www.gtkmm.org"
Expand Down Expand Up @@ -44,21 +44,9 @@ multilib_src_configure() {
local emesonargs=(
-Dwarnings=min
-Dbuild-deprecated-api=true
-Dbuild-documentation=$(usex doc true false)
-Ddebug-refcounting=$(usex debug true false)
$(meson_native_use_bool doc build-documentation)
$(meson_use debug debug-refcounting)
-Dbuild-examples=false
)
meson_src_configure
}

multilib_src_compile() {
meson_src_compile
}

multilib_src_test() {
meson_src_test
}

multilib_src_install() {
meson_src_install
}

0 comments on commit 5cf7f90

Please sign in to comment.