commit: 3bcd7806deaea6e60116f011470791601e90b621 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> AuthorDate: Tue Aug 27 07:44:53 2024 +0000 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> CommitDate: Tue Aug 27 08:24:48 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3bcd7806
dev-libs/ayatana-ido: add 0.10.4 Thanks-to: Joakim Tjernlund Closes: https://bugs.gentoo.org/937927 Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org> dev-libs/ayatana-ido/Manifest | 1 + dev-libs/ayatana-ido/ayatana-ido-0.10.4.ebuild | 46 ++++++++++++++++++++++++++ 2 files changed, 47 insertions(+) diff --git a/dev-libs/ayatana-ido/Manifest b/dev-libs/ayatana-ido/Manifest index 899dbf27f4e3..00451e0ccc98 100644 --- a/dev-libs/ayatana-ido/Manifest +++ b/dev-libs/ayatana-ido/Manifest @@ -1,2 +1,3 @@ DIST ayatana-ido-0.10.2.tar.gz 137434 BLAKE2B dee5d048c05ea7eced96896abd0bdad804b6d2f9f7b03b01b8839a433bec7bb7da64c57f2ce2128e4d6044d3608b73ba6ed984f464a436ba6f8ac4cc8a949025 SHA512 c4d143a93331984758755b3c8b2c5dc92a07bccf8994ebaa24688ceec52b32049677144045817686210594df961e49eee90ff0ede5905153950eb2a9d20605c5 +DIST ayatana-ido-0.10.4.tar.gz 137966 BLAKE2B 02b7de508de1e5463895fe7bed002e1cdb2b9c6a5142f240cfa7cd7dfa6b4f404f3fdb5f063352be3338ddac2e890eea2cec67b4a1cf0811b9d915231f23d2d2 SHA512 a36b67cb505b9340a8193e281c72831b56d6a620054e99e1032145ec0d8d26fe4768402b36ee4d7e115dbbd6fb393cc15c3d71c15d040f5eb22d3d2114f80536 DIST ayatana-ido-0.9.3.tar.gz 122912 BLAKE2B 80c07c6f90b7e2b6d68c2629990918f091abdc85616cbf472dbcc1bbea87dabb9649d8da4d676f1acbc65c34e5a5b53143449759a0d65661352898199c1ea592 SHA512 61c9fe35be9dceabba3d61add0fa51cf0447572dbedf48f710b79cf9c4fed2a049f6d2c0069ae8499aa41f008e736e257da47c6b07fd4e20778689c9ab6853d4 diff --git a/dev-libs/ayatana-ido/ayatana-ido-0.10.4.ebuild b/dev-libs/ayatana-ido/ayatana-ido-0.10.4.ebuild new file mode 100644 index 000000000000..9ba002fe8538 --- /dev/null +++ b/dev-libs/ayatana-ido/ayatana-ido-0.10.4.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +VALA_USE_DEPEND="vapigen" + +inherit cmake vala virtualx + +DESCRIPTION="Ayatana Application Indicators (Shared Library)" +HOMEPAGE="https://github.com/AyatanaIndicators/ayatana-ido" +SRC_URI="https://github.com/AyatanaIndicators/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-2.1 LGPL-3 GPL-3" +SLOT="0" +IUSE="test" +RESTRICT="!test? ( test )" + +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" + +RDEPEND=" + >=dev-libs/glib-2.58:2 + >=x11-libs/gtk+-3.24:3[introspection] +" +DEPEND="${RDEPEND}" +BDEPEND=" + $(vala_depend) + test? ( dev-cpp/gtest ) +" + +src_prepare() { + cmake_src_prepare + vala_setup +} + +src_configure() { + local mycmakeargs+=( + -DVALA_COMPILER="${VALAC}" + -DVAPI_GEN="${VAPIGEN}" + -DENABLE_TESTS="$(usex test)" + ) + cmake_src_configure +} + +src_test() { + virtx cmake_src_test +}
