diff --git a/dev-cpp/dpp/Manifest b/dev-cpp/dpp/Manifest index 493816edf9..545577451d 100644 --- a/dev-cpp/dpp/Manifest +++ b/dev-cpp/dpp/Manifest @@ -3,3 +3,4 @@ DIST dpp-10.0.24.tar.gz 13739463 BLAKE2B 0531d9d14b943302293aac62a3972a462848733 DIST dpp-10.0.25.tar.gz 14312767 BLAKE2B 52263024ad615198fe901f3cc79290e1b88c4e44c22c318fb7df2e9a3d4069611282b18650602f29f40bff3b042b16d0b8a47b8d3ff9c5b5ea89fa9514777609 SHA512 49cb6fedcb75d3dd146243f46f9e34cfe79e1c9a6ae76fc69c8c6935d9a10ccf562452311085791674ff659913befe1dc6f8a191b518d45151cb23d779396572 DIST dpp-10.0.29.tar.gz 15560520 BLAKE2B 491730da342e2db08e061ec71d5488be3c23addc4ef5ae537631a83d3a461a53f34033da72d387f8202c45d529d39ff6bcc70e8a69f94006b2e1fb607aed2d23 SHA512 fcb9b8181827fc63fb2f9aff44e697d18a0bfd94714888492a63a04e0112f42f9506bfab8181e822aa5ce85e6b6a8aa44e0774baeac3e52c3f41348cbf55a76a DIST dpp-10.0.30.tar.gz 15726421 BLAKE2B 647571d5c7434c3b5636a66a3365d2af8b2d11c81165666d3df2b2ad36d4b61b683a8e3c7ef304fba96a4ac365365272fffa3f0d7d05f697dfe48ba7f972ced6 SHA512 4842e5e688893275e524f998bdcac1d308165a02c280f69eaa898aa8f9986a97fe687e20e3428f30777c49f1feb47905da462bbdba8c9a5ea00067e560208f91 +DIST dpp-10.0.33.tar.gz 17222706 BLAKE2B b4443eade64cb6f98742d37c2cd0776b1a1a643fa86732f964488ff8835f2eee2e85553498d3b63159434a6512c9a7726eeddd0b84d8e725fb65e6bbb2290141 SHA512 69fe3323aceb4ad52ec1fcfb38a8770e88c03ae0b6cb49768441b603e13659625720d984b992311fcca8ef863d40b8b7fb082996fae2d396e785b637b673a328 diff --git a/dev-cpp/dpp/dpp-10.0.33.ebuild b/dev-cpp/dpp/dpp-10.0.33.ebuild new file mode 100644 index 0000000000..bcd0165583 --- /dev/null +++ b/dev-cpp/dpp/dpp-10.0.33.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="Lightweight C++ Discord bot library" +HOMEPAGE="https://dpp.dev/ https://github.com/brainboxdotcc/DPP" +SRC_URI=" + https://github.com/brainboxdotcc/DPP/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz +" + +S="${WORKDIR}/DPP-${PV}" + +LICENSE="Apache-2.0" +# DPP is extremely ABI instable due to frequent changes in the Discord API +# See https://github.com/brainboxdotcc/DPP/issues/207#issuecomment-1007030157 +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="voice coro" + +RDEPEND=" + dev-libs/openssl:= + sys-libs/zlib:= + + voice? ( + dev-libs/libsodium:= + media-libs/opus + ) +" +DEPEND=" + ${RDEPEND} + + dev-cpp/nlohmann_json +" + +DOCS=( "README.md" "SECURITY.md" ) + +src_configure() { + local mycmakeargs=( + -DBUILD_SHARED_LIBS=true + -DBUILD_VOICE_SUPPORT="$(usex voice)" + -DRUN_LDCONFIG=false + # Tests require network access + -DDPP_BUILD_TEST=false + -DDPP_NO_VCPKG=true + -DDPP_USE_EXTERNAL_JSON=true + -DDPP_CORO="$(usex coro)" + ) + + cmake_src_configure +} diff --git a/dev-cpp/dpp/metadata.xml b/dev-cpp/dpp/metadata.xml index bfac808630..1b3960a8f7 100644 --- a/dev-cpp/dpp/metadata.xml +++ b/dev-cpp/dpp/metadata.xml @@ -1,10 +1,6 @@ - - nex+b-g-o@nexadn.de - Adrian Schollmeyer - samuel@seals-are-bouncy.tech diff --git a/dev-lua/cqueues/cqueues-20200726.ebuild b/dev-lua/cqueues/cqueues-20200726.ebuild index 05b66b97e7..10ab77edfe 100644 --- a/dev-lua/cqueues/cqueues-20200726.ebuild +++ b/dev-lua/cqueues/cqueues-20200726.ebuild @@ -37,7 +37,6 @@ src_prepare() { sed \ -e '/LUAPATH :=/d' \ -e '/LUAPATH_FN =/d' \ - -e '/ALL_LIBS +=/d' \ -i GNUmakefile || die lua_copy_sources @@ -55,7 +54,7 @@ lua_src_compile() { fi emake CC="$(tc-getCC)" \ - ALL_CFLAGS="${CFLAGS} $(lua_get_CFLAGS)" \ + ALL_CFLAGS="${CFLAGS} -std=gnu99 -fPIC $(lua_get_CFLAGS)" \ ALL_CPPFLAGS="${CPPFLAGS} -D_GNU_SOURCE" \ ALL_SOFLAGS="${SOFLAGS} -shared" \ ALL_LDFLAGS="${LDFLAGS}" \ diff --git a/dev-python/asyncpg/asyncpg-0.30.0.ebuild b/dev-python/asyncpg/asyncpg-0.30.0.ebuild index a412dba36d..f1897b83e8 100644 --- a/dev-python/asyncpg/asyncpg-0.30.0.ebuild +++ b/dev-python/asyncpg/asyncpg-0.30.0.ebuild @@ -54,22 +54,27 @@ distutils_enable_tests pytest distutils_enable_sphinx docs \ dev-python/sphinx-rtd-theme -src_prepare() { +python_prepare_all() { + # bug #926720 + cat <<-EOF >> setup.cfg || die + [build_ext] + cython_always=True + cython_annotate=False + cython_directives= + EOF + # remove pre-generated Cython sources rm asyncpg/{pgproto/pgproto,protocol/protocol}.c || die - distutils-r1_src_prepare + distutils-r1_python_prepare_all } -src_configure() { +python_configure_all() { use debug && \ export ASYNCPG_DEBUG=1 - if ! use kerberos; then + use kerberos || \ EPYTEST_DESELECT+=( tests/test_connect.py::TestGssAuthentication ) - fi - - distutils-r1_src_configure } python_test() { diff --git a/media-gfx/mayo/mayo-0.8.0-r1.ebuild b/media-gfx/mayo/mayo-0.8.0-r1.ebuild new file mode 100644 index 0000000000..946167f8f6 --- /dev/null +++ b/media-gfx/mayo/mayo-0.8.0-r1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit qmake-utils desktop xdg + +DESCRIPTION="Opensource 3D CAD viewer and converter" +HOMEPAGE="https://github.com/fougue/mayo" +SRC_URI="https://github.com/fougue/mayo/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-qt/qttranslations:6 + >=media-libs/assimp-5.3.1 + >=sci-libs/opencascade-7.7.0-r2 + /dev/null || die + ${FC} -fPIC -c Rutf.for Rut.for Curvif.for || die + # BUG: Undefined symbol curvif_ in + # ${S}/OMSens/fortran_interface/curvif_simplified.cpython-312-x86_64-linux-gnu.so + # See with nm -D or objdump -tT + # ${S}/OMSens/fortran_interface/curvif_simplified.cpython-312-x86_64-linux-gnu.so + # This bug causes "Vectorial Parameter Based Sensitivity Analysis" in OMSens to fail. + f2py --verbose -c -I. Curvif.o Rutf.o Rut.o -m curvif_simplified curvif_simplified.pyf Curvif_simplified.f90 || die + popd > /dev/null || die + + cmake_src_compile +} + +src_install() { + cmake_src_install + + # [2024-07-15] + # OMSens is disabled in "${S}/CMakeLists.txt" (## omc_add_subdirectory(OMSens)) due to lack of a + # working "${S}/OMSens/CMakeLists.txt". So, we install it manually. + cp -a "${WORKDIR}"/"${P}"/OMSens "${ED}"/usr/share/ || die + rm -fr "${ED}"/usr/share/OMSens/{old,.git,.gitignore,CMakeLists.txt,.jenkins,Jenkinsfile,Makefile.omdev.mingw,Makefile.unix} || die + rm -fr "${ED}"/usr/share/OMSens/{README.md,setup.py,testing} || die + + newicon -s scalable OMShell/OMShell/OMShellGUI/Resources/omshell-large.svg omshell.svg + newicon -s scalable OMNotebook/OMNotebook/OMNotebookGUI/Resources/OMNotebook_icon.svg OMNotebook.svg + convert OMEdit/OMEditLIB/Resources/icons/omedit.ico[0] -thumbnail 256x256 -flatten \ + OMEdit/OMEditLIB/Resources/icons/omedit_icon.png || die + newicon -s 256 OMEdit/OMEditLIB/Resources/icons/omedit_icon.png omedit.png + + make_desktop_entry "OMEdit %F" OMedit omedit "Physics;" "MimeType=text/x-modelica;" + make_desktop_entry OMShell OMShell omshell "Physics;" + make_desktop_entry "OMNotebook %f" OMNotebook OMNotebook "Physics;" + + # Fix libraries + if [[ $(get_libdir) != "lib" ]]; then + mv "${ED}"/usr/lib/omc/* "${ED}"/usr/$(get_libdir)/omc/ || die + rmdir "${ED}"/usr/lib/omc/ || die + dosym -r /usr/$(get_libdir)/omc /usr/lib/omc + fi + dosym -r /usr/include/omc/ParModelica /usr/include/ParModelica + + # Documentation housekeeping & QA + mv "${ED}"/usr/share/doc/omc "${ED}"/usr/share/doc/"${PF}" || die + rm -fr "${ED}"/usr/doc "${ED}"/usr/share/{zmq,cmake} || die + + ewarn "Upstream has deprecated OMTLMSimulator and, therefore, it has not been installed. Use OMSimulator/SSP instead." +}