diff options
Diffstat (limited to 'dev-libs/libsigc++')
-rw-r--r-- | dev-libs/libsigc++/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/libsigc++/libsigc++-3.0.6.ebuild | 55 |
2 files changed, 56 insertions, 0 deletions
diff --git a/dev-libs/libsigc++/Manifest b/dev-libs/libsigc++/Manifest index 8d41655bf0fd..9bc6d98f27fd 100644 --- a/dev-libs/libsigc++/Manifest +++ b/dev-libs/libsigc++/Manifest @@ -2,3 +2,4 @@ DIST libsigc++-1.2.7.tar.bz2 326205 BLAKE2B b316460178224c0b8177ce9a236c69a8b737 DIST libsigc++-2.10.1.tar.xz 4062388 BLAKE2B 3bd988acae78b7d463c966fa5c8da68b35d8a0b0bf4762811b7a9fdf82357b29aaa48d64e19f4cb6bd0f42ee70ad77a64a4905d1ad609dbe11ca8ff7596527c6 SHA512 e2bd7b1a97019be010dee1594271bbf7cae92b28e31dcb3c6d7d60643a0996233f0a75a9337b4afcb5b7dc453bfc3159d82f6daacfbcd8993a39ccecaf811bb2 DIST libsigc++-2.10.3.tar.xz 4558428 BLAKE2B fcaaae7bf3a3aea30c0b8b63d7a7c5fa137d16128ef9652b611613118e323f7bcabafe28d42407df0e08c323c540143c152ac91e04e9f101c1971ddaf0f9144c SHA512 3c7f90be84724e39073c05624ad2bee6a5835e2c6cb6cf9e605edc6574eb7cd99ec153aaca6e8fcf7e3a6c031c4e9c334da32d04177d36788e64a17667c70b4e DIST libsigc++-2.10.6.tar.xz 4791016 BLAKE2B c50283da7eb3ec1b595514ac805c5fe0b4f7687ec77478c7c703ce8915ea72e065f4e7cbe53fb90c13b81d266df74cade8f5a5c0ff2dcc3880e852f02508eaf9 SHA512 7dd57c061defe323de5721d187145dcf63346311d8993eb6346a33789f26c8509c1bf5a73d55776cc5ebe85fb14d54107553a652dd42f452aed6aed20047b549 +DIST libsigc++-3.0.6.tar.xz 789916 BLAKE2B 54d8dccd245a1a2c8bde34eb937eb536b88f36ee15eedd8d2ed0ad1b19933600d04669f9082053ba20543d2195e8833b46a2056055da23fc2ceb1784d5c96cc9 SHA512 4ec5319eda5c0809f1971044152ec7aa142742941644f43ec3944b248667d5694b97a30de8ea0e2260265bbf26a2ffdefbfa8cac5016799d26b92b02411b1c51 diff --git a/dev-libs/libsigc++/libsigc++-3.0.6.ebuild b/dev-libs/libsigc++/libsigc++-3.0.6.ebuild new file mode 100644 index 000000000000..6888d76ae737 --- /dev/null +++ b/dev-libs/libsigc++/libsigc++-3.0.6.ebuild @@ -0,0 +1,55 @@ +# 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 )" + +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 +} |