diff options
author | Matt Turner <mattst88@gentoo.org> | 2021-05-21 18:57:45 -0700 |
---|---|---|
committer | Matt Turner <mattst88@gentoo.org> | 2021-05-21 19:17:27 -0700 |
commit | 046e84dbdf654168e4aa28f15852c55ccd6cbd1b (patch) | |
tree | b879e8b3879277791b53fad250910a7dcfa3a178 /dev-libs/libsigc++ | |
parent | dev-libs/libsigc++: Version bump to 2.10.7 (diff) | |
download | gentoo-046e84dbdf654168e4aa28f15852c55ccd6cbd1b.tar.gz gentoo-046e84dbdf654168e4aa28f15852c55ccd6cbd1b.tar.bz2 gentoo-046e84dbdf654168e4aa28f15852c55ccd6cbd1b.zip |
dev-libs/libsigc++: Version bump to 3.0.7
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'dev-libs/libsigc++')
-rw-r--r-- | dev-libs/libsigc++/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/libsigc++/libsigc++-3.0.7.ebuild | 61 |
2 files changed, 62 insertions, 0 deletions
diff --git a/dev-libs/libsigc++/Manifest b/dev-libs/libsigc++/Manifest index 22000a317083..e50c4a7d11f8 100644 --- a/dev-libs/libsigc++/Manifest +++ b/dev-libs/libsigc++/Manifest @@ -1,3 +1,4 @@ DIST libsigc++-2.10.6.tar.xz 4791016 BLAKE2B c50283da7eb3ec1b595514ac805c5fe0b4f7687ec77478c7c703ce8915ea72e065f4e7cbe53fb90c13b81d266df74cade8f5a5c0ff2dcc3880e852f02508eaf9 SHA512 7dd57c061defe323de5721d187145dcf63346311d8993eb6346a33789f26c8509c1bf5a73d55776cc5ebe85fb14d54107553a652dd42f452aed6aed20047b549 DIST libsigc++-2.10.7.tar.xz 4791304 BLAKE2B f3e41a753097d55d2e6f47407033139733dc813d84ffa8ba97ca94dbb2f1abc714a541fd90347c1477736eb9be109dd25d5ffc9998430b7d0fe9c627a9b2cfde SHA512 075f120f7261eac020a92956a4b2d8bfa380a63bf4e78d057d93b035dcb0590df1ee1e2d3af59edf97e3c30cc01359d259d24e4fc69bdb99952d4c9c02eb6015 DIST libsigc++-3.0.6.tar.xz 789916 BLAKE2B 54d8dccd245a1a2c8bde34eb937eb536b88f36ee15eedd8d2ed0ad1b19933600d04669f9082053ba20543d2195e8833b46a2056055da23fc2ceb1784d5c96cc9 SHA512 4ec5319eda5c0809f1971044152ec7aa142742941644f43ec3944b248667d5694b97a30de8ea0e2260265bbf26a2ffdefbfa8cac5016799d26b92b02411b1c51 +DIST libsigc++-3.0.7.tar.xz 790604 BLAKE2B 2363fda42744c3c4a2c31f236a2160f8dd63bae098e8190e2ef20acc23296de26cb7c275b928785c99c33d23f15709e411dc51f973d4fdd6a0556b11b0031512 SHA512 0ce4b56d85ccb0041096e2241523b9ca5bf0fd52f9655d2216e2280d5902075a4685023aa60058eb8ee9b7ed0ffc945d652940b0bda73f2fc7ce4de7371ca984 diff --git a/dev-libs/libsigc++/libsigc++-3.0.7.ebuild b/dev-libs/libsigc++/libsigc++-3.0.7.ebuild new file mode 100644 index 000000000000..9915fc5555e0 --- /dev/null +++ b/dev-libs/libsigc++/libsigc++-3.0.7.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit gnome.org flag-o-matic meson multilib-minimal + +DESCRIPTION="Typesafe callback system for standard C++" +HOMEPAGE="https://libsigcplusplus.github.io/libsigcplusplus/ + https://github.com/libsigcplusplus/libsigcplusplus" + +LICENSE="LGPL-2.1+" +SLOT="3" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +IUSE="doc examples test" +RESTRICT="!test? ( test )" + +BDEPEND=" + doc? ( + app-doc/doxygen[dot] + dev-lang/perl + dev-libs/libxslt + ) +" + +src_prepare() { + default + + if ! use test; then + sed -i -e "/^subdir('tests')/d" meson.build || die + fi +} + +multilib_src_configure() { + filter-flags -fno-exceptions #84263 + + local emesonargs=( + -Dbuild-examples=false + -Dbuild-documentation=$(multilib_native_usex doc true false) + ) + 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 +} |