diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-05-18 15:28:09 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-05-18 15:28:09 +0000 |
| commit | dd7fcdaffc94c2c2a9e9ee70a16e2da831368a8c (patch) | |
| tree | ed36bed7ab44e989dc0d89d7f460429b6039f77c /dev-cpp/muParser | |
| parent | cb8e099d303cfee5b033613e0a34096f7f580667 (diff) | |
| download | baldeagleos-repo-dd7fcdaffc94c2c2a9e9ee70a16e2da831368a8c.tar.gz baldeagleos-repo-dd7fcdaffc94c2c2a9e9ee70a16e2da831368a8c.tar.xz baldeagleos-repo-dd7fcdaffc94c2c2a9e9ee70a16e2da831368a8c.zip | |
Adding metadata
Diffstat (limited to 'dev-cpp/muParser')
| -rw-r--r-- | dev-cpp/muParser/Manifest | 2 | ||||
| -rw-r--r-- | dev-cpp/muParser/files/muParser-1.32-parallel-build.patch | 15 | ||||
| -rw-r--r-- | dev-cpp/muParser/muParser-2.2.6.1.ebuild | 45 | ||||
| -rw-r--r-- | dev-cpp/muParser/muParser-2.3.3.ebuild | 40 |
4 files changed, 41 insertions, 61 deletions
diff --git a/dev-cpp/muParser/Manifest b/dev-cpp/muParser/Manifest index 01cb9ff97db2..2a400643c4b5 100644 --- a/dev-cpp/muParser/Manifest +++ b/dev-cpp/muParser/Manifest @@ -1,2 +1,2 @@ -DIST muParser-2.2.6.1.tar.gz 755653 BLAKE2B b3b6b8da57c0e8a0bda74038689d444ba8da00d6cce80030d8b35693209f0293874e4822c4941974be21fd4b7c09ba7df2c9cef861bc10b890aae4f641040faf SHA512 01bfc8cc48158c8413ae5e1da2ddbac1c9f0b9075470b1ab75853587d641dd195ebea268e1060a340098fd8015bc5f77d8e9cde5f81cffeade2f157c5f295496 DIST muParser-2.3.2.tar.gz 103979 BLAKE2B f892b4d440a1b7326be27aa0a2b703ccafc02de5e881ef4780e8907688cf7905284f3e5f5855ad2596683f1dad309d287ebae527d917ebf5e0dad045551df7de SHA512 8ef5c8b3834da3995a782b7364a4eb4197fb706bee4cadabe5511d2a9cf2912c3db6de422a91eff7f9690f8c9c355b9900335e940749d5c243cb732ac1992aef +DIST muParser-2.3.3.tar.gz 112100 BLAKE2B 79a0a29781596f114aeea9756a5a2141eed19857c08d0a32093353eb049f8b179af577cbd07747d2b8093e448714397b47f36c68e54bbce22386f5ec06365bda SHA512 f7e01c83f6ffe71e240653c47fdb8f3152d7fdf61b5997a3c717dec50d0175065c4fc4241ec95fb35b60b968c5c965a820009163ebe84f0fa57d64b3a23226b4 diff --git a/dev-cpp/muParser/files/muParser-1.32-parallel-build.patch b/dev-cpp/muParser/files/muParser-1.32-parallel-build.patch deleted file mode 100644 index 1681c6e68034..000000000000 --- a/dev-cpp/muParser/files/muParser-1.32-parallel-build.patch +++ /dev/null @@ -1,15 +0,0 @@ -Fixing parallel build issue - -http://bugs.gentoo.org/show_bug.cgi?id=310037 - ---- muparser_v132/Makefile.in -+++ muparser_v132/Makefile.in -@@ -291,7 +291,7 @@ - @COND_SHARED_1@ rm -f $(DESTDIR)$(prefix)/$$f; \ - @COND_SHARED_1@ done - --@COND_SAMPLES_1@$(top_builddir)/samples/example1/example1$(EXEEXT): $(EXAMPLE1_OBJECTS) $(__muParser_lib___depname) -+@COND_SAMPLES_1@$(top_builddir)/samples/example1/example1$(EXEEXT): $(EXAMPLE1_OBJECTS) $(__muParser_lib___depname) lib - @COND_SAMPLES_1@ $(CXX) -o $@ $(EXAMPLE1_OBJECTS) -L$(top_builddir)/lib -L$(srcdir)/lib $(LDFLAGS) -lmuparser$(DEBUG_BUILD_POSTFIX) $(LIBS) - @COND_SAMPLES_1@ - @COND_SAMPLES_1@ $(__example1___mac_setfilecmd) diff --git a/dev-cpp/muParser/muParser-2.2.6.1.ebuild b/dev-cpp/muParser/muParser-2.2.6.1.ebuild deleted file mode 100644 index d8bd2f678d9a..000000000000 --- a/dev-cpp/muParser/muParser-2.2.6.1.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DESCRIPTION="Library for parsing mathematical expressions" -HOMEPAGE="https://beltoforion.de/en/muparser/" -SRC_URI="https://github.com/beltoforion/muparser/archive/v${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}"/muparser-${PV} - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv x86 ~amd64-linux ~x86-linux ~ppc-macos" -IUSE="doc test" -RESTRICT="!test? ( test )" - -PATCHES=( - "${FILESDIR}"/${PN}-1.32-parallel-build.patch -) - -src_prepare() { - default - - sed -i \ - -e 's:-O2::g' \ - configure || die -} - -src_configure() { - econf $(use_enable test samples) -} - -src_test() { - cat > test.sh <<- EOFTEST - LD_LIBRARY_PATH="${S}/lib" samples/example1/example1 <<- EOF - quit - EOF - EOFTEST - sh ./test.sh || die "test failed" -} - -src_install() { - default - dodoc Changes.txt -} diff --git a/dev-cpp/muParser/muParser-2.3.3.ebuild b/dev-cpp/muParser/muParser-2.3.3.ebuild new file mode 100644 index 000000000000..6ff856ad49c8 --- /dev/null +++ b/dev-cpp/muParser/muParser-2.3.3.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +# The upstream tag is v2.3.3-1 instead of v2.3.3 +suffix="-1" + +DESCRIPTION="Library for parsing mathematical expressions" +HOMEPAGE="https://beltoforion.de/en/muparser/" +SRC_URI="https://github.com/beltoforion/muparser/archive/refs/tags/v${PV}${suffix}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}"/muparser-${PV} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos" +IUSE="doc openmp test" +RESTRICT="!test? ( test )" + +S="${S}${suffix}" + +PATCHES=( +) + +src_configure() { + mycmakeargs=( + -DENABLE_OPENMP=$(usex openmp) + ) + cmake_src_configure +} + +src_test() { + cmake_src_compile test +} + +src_install() { + cmake_src_install +} |
