From b59bed361bb1fb1042c4a80378608da8cdc5b7c5 Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Wed, 10 Apr 2024 05:41:32 +0000 Subject: Adding metadata --- dev-cpp/abseil-cpp/Manifest | 1 + dev-cpp/abseil-cpp/abseil-cpp-20240116.2.ebuild | 65 +++++++++++++++++++++++++ dev-cpp/asio/Manifest | 2 +- dev-cpp/asio/asio-1.28.2.ebuild | 58 ---------------------- dev-cpp/asio/asio-1.30.1.ebuild | 58 ++++++++++++++++++++++ dev-cpp/cairomm/cairomm-1.18.0.ebuild | 2 +- dev-cpp/glibmm/glibmm-2.66.7.ebuild | 2 +- dev-cpp/glibmm/glibmm-2.78.1.ebuild | 2 +- 8 files changed, 128 insertions(+), 62 deletions(-) create mode 100644 dev-cpp/abseil-cpp/abseil-cpp-20240116.2.ebuild delete mode 100644 dev-cpp/asio/asio-1.28.2.ebuild create mode 100644 dev-cpp/asio/asio-1.30.1.ebuild (limited to 'dev-cpp') diff --git a/dev-cpp/abseil-cpp/Manifest b/dev-cpp/abseil-cpp/Manifest index a6c0702de8d2..edec68c8b942 100644 --- a/dev-cpp/abseil-cpp/Manifest +++ b/dev-cpp/abseil-cpp/Manifest @@ -4,5 +4,6 @@ DIST abseil-cpp-20230802.0.tar.gz 2156669 BLAKE2B 34de2f949db3e7578cae39bdd85178 DIST abseil-cpp-20230802.1.tar.gz 2157158 BLAKE2B 98a9efb0fdc3801ff26d53202a1737cdf2d4115690f358abe16ba8b82625ee9df109e50ad50a30dc8e368b78630c3e7a31006801060b431c1b07b157366f1210 SHA512 14390380655c41483a98487e3b012110dd8d1743fdd68d8cde7e0d7c2730312d564b15726d8c9d2fff237d2fce3983bbbb5213f59612c7c6feaeb402dff9609f DIST abseil-cpp-20240116.0.tar.gz 2150815 BLAKE2B bfdb94b6e88da2c99cf757d80fbf4409c882fe6c669e0ffe481ea949ff9f5e67a17ff22605a6670b20ed6eb74d756279de9e4c73db705c01c85a3dc248284f5a SHA512 018488e69cca472ef118631bd79bca4ef0cf1363432e79b81532942168d305511e4cdf4dc72611275e9a9de00cd71c0245be4ec287ff36147248e218218bf825 DIST abseil-cpp-20240116.1.tar.gz 2151012 BLAKE2B 2baf781b7c4502f704b12223a1de9210e2f98167aa4b91e5b22edc754c29b50be6e4cd4c49a2e88c35cf842ff9a2421a61a923e8688e32561ab25cdbc884b6e7 SHA512 41504899ac4fd4a6eaa0a5fdf27a7765ec81962fb99b6a07982ceed32c5289e9eb12206c83a70fd44c5c3e1b96c2bfa160eb12f1dbbb45f1109d632c7690de90 +DIST abseil-cpp-20240116.2.tar.gz 2151288 BLAKE2B 2e843e29869bf69e46ec48884cbd2ba955eab2329716c4df7b9be0ded550f976184b945587af08d01a7aa77560ae679191c1a1de51c75311d3a5ee87c15017c8 SHA512 5062e731ee8c9a757e6d75fc1c558652deb4dd1daab4d6143f7ad52a139501c61365f89acbf82480be0f9a4911a58286560068d8b1a8b6774e6afad51739766e DIST gtest-1.13.0.tar.gz 862871 BLAKE2B d2768332c233d62f7a5f5332b63dc587c96c24765b2eeaa4f4caf5d421b175aa850d81cec4f50eeef9e06d4b86cb959555b4c2862a197ce3cb86d61fcb51f5d1 SHA512 70c0cfb1b4147bdecb467ecb22ae5b5529eec0abc085763213a796b7cdbd81d1761d12b342060539b936fa54f345d33f060601544874d6213fdde79111fa813e DIST gtest-1.14.0.tar.gz 867764 BLAKE2B c457f55ac572b9fb1553eee3df7eeeaf1e7dd2c3d747dd5e90dd279038fa5c71bb7b7d9ba1cf7e6143898b2a1d24d100584bd2a48ded41a426870c4825eec1b2 SHA512 765c326ccc1b87a01027385e69238266e356361cd4ee3e18e3c9d137a5d11fa5d657c164d02dd1be8fe693c8e10f2b580588dbfa57d27f070e2750f50d3e662c diff --git a/dev-cpp/abseil-cpp/abseil-cpp-20240116.2.ebuild b/dev-cpp/abseil-cpp/abseil-cpp-20240116.2.ebuild new file mode 100644 index 000000000000..252c4f5d21a5 --- /dev/null +++ b/dev-cpp/abseil-cpp/abseil-cpp-20240116.2.ebuild @@ -0,0 +1,65 @@ +# Copyright 2023-2024 Liguros Authors +# Distributed under the terms of the GNU General Public License v2 +EAPI=8 + +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) + +inherit cmake-multilib python-any-r1 + +# yes, it needs SOURCE, not just installed one +GTEST_COMMIT="v1.14.0" +GTEST_FILE="gtest-${GTEST_COMMIT#v}.tar.gz" + +DESCRIPTION="Abseil Common Libraries (C++), LTS Branch" +HOMEPAGE="https://abseil.io" +SRC_URI="https://github.com/abseil/abseil-cpp/archive/${PV}.tar.gz -> ${P}.tar.gz + test? ( https://github.com/google/googletest/archive/${GTEST_COMMIT}.tar.gz -> ${GTEST_FILE} )" + +LICENSE=" + Apache-2.0 + test? ( BSD ) +" +SLOT="0/${PV%%.*}" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~sparc ~x86" +IUSE="test" + +BDEPEND=" + ${PYTHON_DEPS} + test? ( sys-libs/timezone-data ) +" + +RESTRICT="!test? ( test )" + +src_prepare() { + cmake_src_prepare + + # un-hardcode abseil compiler flags + sed -i \ + -e '/"-maes",/d' \ + -e '/"-msse4.1",/d' \ + -e '/"-mfpu=neon"/d' \ + -e '/"-march=armv8-a+crypto"/d' \ + absl/copts/copts.py || die + + # now generate cmake files + python_fix_shebang absl/copts/generate_copts.py + absl/copts/generate_copts.py || die + + if use test; then + sed -i 's/-Werror//g' \ + "${WORKDIR}/googletest-${GTEST_COMMIT#v}"/googletest/cmake/internal_utils.cmake || die + fi +} + +multilib_src_configure() { + local mycmakeargs=( + -DCMAKE_CXX_STANDARD=14 + -DABSL_ENABLE_INSTALL=TRUE + -DABSL_LOCAL_GOOGLETEST_DIR="${WORKDIR}/googletest-${GTEST_COMMIT#v}" + -DABSL_PROPAGATE_CXX_STD=TRUE + -DABSL_BUILD_TEST_HELPERS=$(usex test ON OFF) + -DABSL_BUILD_TESTING=$(usex test ON OFF) + $(usex test -DBUILD_TESTING=ON '') #intentional usex, it used both variables for tests. + ) + cmake_src_configure +} diff --git a/dev-cpp/asio/Manifest b/dev-cpp/asio/Manifest index 7f7c648b84bd..b75852986914 100644 --- a/dev-cpp/asio/Manifest +++ b/dev-cpp/asio/Manifest @@ -1,2 +1,2 @@ -DIST asio-1-28-2.tar.gz 2974732 BLAKE2B 80a627aa0683e9894d8a13257eaef06a667ddfa97b2c4758b509156d1fa9f03b60e255074fd5bc408d8db49718193ef1cbd4e4be33677e95598f699a9775e5cf SHA512 435c13f6f14a35bde042c6d86965ec104ae33be0b6a3c156518b29f851ad2b69c67bf760a20932d847e3b171f571bedc541c6a0d0541980aee8558b09e70357f DIST asio-1-29-0.tar.gz 2878653 BLAKE2B 3fcf033a468267deaec64e29ae137598642dc198fd81909ec83793965d1d465b1ce1807c902d01e729a633fab89502ce1006220420b39561c5c539c3ff634cb5 SHA512 f8df39c5a5e89dcfe4bd37c7e757e44e3e94d9b79d7ab08d1804ad8980993a607070f7e12238ffe3286840cd08c0b3c8e3639d3a1177e5ff795994cbc42a8292 +DIST asio-1-30-1.tar.gz 2842718 BLAKE2B b99f6e1ab03c4da9bc802e04d66b46ac2374f7da9f65dd98dd3da3cf1cf507548ae2645343a63378ab91d665fc6e2efe5c5262f33757e851973534e23291abb1 SHA512 6b5f41479e20500dff6c535d8e3b096e11815784923bb4c0f68f69be59c80d7ad99c7e0380a1de4dd350e6cc6a79315d4645378a9b8d70d9f8d28a17f1cc68af diff --git a/dev-cpp/asio/asio-1.28.2.ebuild b/dev-cpp/asio/asio-1.28.2.ebuild deleted file mode 100644 index f301c1f1d54f..000000000000 --- a/dev-cpp/asio/asio-1.28.2.ebuild +++ /dev/null @@ -1,58 +0,0 @@ -# Copyright 2021-2023 Liguros Authors -# Distributed under the terms of the GNU General Public License v2 -EAPI=8 - -inherit autotools - -DESCRIPTION="Asynchronous Network Library" -HOMEPAGE="http://think-async.com/Asio/ https://github.com/chriskohlhoff/asio" -MY_PV=$(ver_rs 1- "-") -SRC_URI="https://github.com/chriskohlhoff/asio/archive/${PN}-${MY_PV}.tar.gz" - -LICENSE="Boost-1.0" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" -IUSE="doc examples libressl ssl test" -RESTRICT="!test? ( test )" -# test searches for libssl during ./configure, and REQUIRED_USE is easier than -# patching configure to not search for it with USE=-ssl -REQUIRED_USE="test? ( ssl )" - -RDEPEND="dev-libs/boost:= - ssl? ( - !libressl? ( dev-libs/openssl:0= ) - libressl? ( >=dev-libs/libressl-3.5.0:0= ) - )" -DEPEND="${RDEPEND}" - -S=${WORKDIR}/${PN}-${PN}-${MY_PV}/asio - -src_prepare() { - default - - eautoreconf - - if ! use test; then - # Don't build nor install any examples or unittests - # since we don't have a script to run them - cat > src/Makefile.in <<-EOF || die - all: - - install: - - clean: - EOF - fi -} - -src_install() { - use doc && local HTML_DOCS=( doc/. ) - default - - if use examples; then - # Get rid of the object files - emake clean - dodoc -r src/examples - docompress -x /usr/share/doc/${PF}/examples - fi -} diff --git a/dev-cpp/asio/asio-1.30.1.ebuild b/dev-cpp/asio/asio-1.30.1.ebuild new file mode 100644 index 000000000000..bafa58f95e12 --- /dev/null +++ b/dev-cpp/asio/asio-1.30.1.ebuild @@ -0,0 +1,58 @@ +# Copyright 2021-2024 Liguros Authors +# Distributed under the terms of the GNU General Public License v2 +EAPI=8 + +inherit autotools + +DESCRIPTION="Asynchronous Network Library" +HOMEPAGE="http://think-async.com/Asio/ https://github.com/chriskohlhoff/asio" +MY_PV=$(ver_rs 1- "-") +SRC_URI="https://github.com/chriskohlhoff/asio/archive/${PN}-${MY_PV}.tar.gz" + +LICENSE="Boost-1.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="doc examples libressl ssl test" +RESTRICT="!test? ( test )" +# test searches for libssl during ./configure, and REQUIRED_USE is easier than +# patching configure to not search for it with USE=-ssl +REQUIRED_USE="test? ( ssl )" + +RDEPEND="dev-libs/boost:= + ssl? ( + !libressl? ( dev-libs/openssl:0= ) + libressl? ( >=dev-libs/libressl-3.5.0:0= ) + )" +DEPEND="${RDEPEND}" + +S=${WORKDIR}/${PN}-${PN}-${MY_PV}/asio + +src_prepare() { + default + + eautoreconf + + if ! use test; then + # Don't build nor install any examples or unittests + # since we don't have a script to run them + cat > src/Makefile.in <<-EOF || die + all: + + install: + + clean: + EOF + fi +} + +src_install() { + use doc && local HTML_DOCS=( doc/. ) + default + + if use examples; then + # Get rid of the object files + emake clean + dodoc -r src/examples + docompress -x /usr/share/doc/${PF}/examples + fi +} diff --git a/dev-cpp/cairomm/cairomm-1.18.0.ebuild b/dev-cpp/cairomm/cairomm-1.18.0.ebuild index a8f3d02bdd33..594e59f6a04a 100644 --- a/dev-cpp/cairomm/cairomm-1.18.0.ebuild +++ b/dev-cpp/cairomm/cairomm-1.18.0.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://www.cairographics.org/releases/${P}.tar.xz" LICENSE="LGPL-2+" SLOT="1.16" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux ~ppc-macos" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux ~ppc-macos" IUSE="gtk-doc test X" RESTRICT="!test? ( test )" diff --git a/dev-cpp/glibmm/glibmm-2.66.7.ebuild b/dev-cpp/glibmm/glibmm-2.66.7.ebuild index 4bc782b8f32f..f65160974d66 100644 --- a/dev-cpp/glibmm/glibmm-2.66.7.ebuild +++ b/dev-cpp/glibmm/glibmm-2.66.7.ebuild @@ -10,7 +10,7 @@ HOMEPAGE="https://www.gtkmm.org https://gitlab.gnome.org/GNOME/glibmm" LICENSE="LGPL-2.1+" SLOT="2" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux ~ppc-macos" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux ~ppc-macos" IUSE="gtk-doc debug test" RESTRICT="!test? ( test )" diff --git a/dev-cpp/glibmm/glibmm-2.78.1.ebuild b/dev-cpp/glibmm/glibmm-2.78.1.ebuild index 40c40c38ef93..5c80e2258211 100644 --- a/dev-cpp/glibmm/glibmm-2.78.1.ebuild +++ b/dev-cpp/glibmm/glibmm-2.78.1.ebuild @@ -10,7 +10,7 @@ HOMEPAGE="https://www.gtkmm.org https://gitlab.gnome.org/GNOME/glibmm" LICENSE="LGPL-2.1+" SLOT="2.68" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux ~ppc-macos" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux ~ppc-macos" IUSE="gtk-doc debug test" RESTRICT="!test? ( test )" -- cgit v1.3