summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gentoo.org>2021-05-27 18:06:07 -0700
committerMatt Turner <mattst88@gentoo.org>2021-06-03 18:14:07 -0700
commite36369a4e2ed10540953fb4e76e3e758c2751c9f (patch)
treea4ecf83b76580d76be7fbff7598fc3f2b459399d /dev-libs/libsigc++
parentdev-libs/libgusb: Switch to meson-multilib (diff)
downloadgentoo-e36369a4e2ed10540953fb4e76e3e758c2751c9f.tar.gz
gentoo-e36369a4e2ed10540953fb4e76e3e758c2751c9f.tar.bz2
gentoo-e36369a4e2ed10540953fb4e76e3e758c2751c9f.zip
dev-libs/libsigc++: Switch to meson-multilib
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'dev-libs/libsigc++')
-rw-r--r--dev-libs/libsigc++/libsigc++-2.10.7.ebuild20
-rw-r--r--dev-libs/libsigc++/libsigc++-3.0.7.ebuild18
2 files changed, 5 insertions, 33 deletions
diff --git a/dev-libs/libsigc++/libsigc++-2.10.7.ebuild b/dev-libs/libsigc++/libsigc++-2.10.7.ebuild
index 4133034c604c..04e20fbb28ef 100644
--- a/dev-libs/libsigc++/libsigc++-2.10.7.ebuild
+++ b/dev-libs/libsigc++/libsigc++-2.10.7.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-inherit flag-o-matic gnome.org meson multilib-minimal
+inherit flag-o-matic gnome.org meson-multilib
DESCRIPTION="Typesafe callback system for standard C++"
HOMEPAGE="https://libsigcplusplus.github.io/libsigcplusplus/
@@ -23,28 +23,14 @@ multilib_src_configure() {
local -a emesonargs=(
-Ddefault_library=$(usex static-libs both shared)
- -Dbenchmark=$(usex test true false)
- -Dbuild-documentation=$(multilib_native_usex doc true false)
+ $(meson_use test benchmark)
+ $(meson_native_use_bool doc build-documentation)
-Dbuild-examples=false
)
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() {
- einstalldocs
-
# Note: html docs are installed into /usr/share/doc/libsigc++-2.0
# We can't use /usr/share/doc/${PF} because of links from glibmm etc. docs
if use doc; then
diff --git a/dev-libs/libsigc++/libsigc++-3.0.7.ebuild b/dev-libs/libsigc++/libsigc++-3.0.7.ebuild
index 9915fc5555e0..a091f2583e41 100644
--- a/dev-libs/libsigc++/libsigc++-3.0.7.ebuild
+++ b/dev-libs/libsigc++/libsigc++-3.0.7.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-inherit gnome.org flag-o-matic meson multilib-minimal
+inherit gnome.org flag-o-matic meson-multilib
DESCRIPTION="Typesafe callback system for standard C++"
HOMEPAGE="https://libsigcplusplus.github.io/libsigcplusplus/
@@ -35,27 +35,13 @@ multilib_src_configure() {
local emesonargs=(
-Dbuild-examples=false
- -Dbuild-documentation=$(multilib_native_usex doc true false)
+ $(meson_native_use_bool doc build-documentation)
)
meson_src_configure
}
-multilib_src_compile() {
- meson_src_compile
-}
-
-multilib_src_install() {
- meson_src_install
-}
-
multilib_src_install_all() {
- einstalldocs
-
# Note: html docs are installed into /usr/share/doc/libsigc++-3.0
# We can't use /usr/share/doc/${PF} because of links from glibmm etc. docs
use examples && dodoc -r examples
}
-
-multilib_src_test() {
- meson_src_test
-}