diff options
Diffstat (limited to 'sci-libs')
-rw-r--r-- | sci-libs/Manifest.gz | bin | 44951 -> 44948 bytes | |||
-rw-r--r-- | sci-libs/indilib/Manifest | 2 | ||||
-rw-r--r-- | sci-libs/indilib/indilib-2.0.4.ebuild | 76 | ||||
-rw-r--r-- | sci-libs/libcifpp/Manifest | 3 | ||||
-rw-r--r-- | sci-libs/libcifpp/libcifpp-5.2.2.ebuild | 38 |
5 files changed, 119 insertions, 0 deletions
diff --git a/sci-libs/Manifest.gz b/sci-libs/Manifest.gz Binary files differindex bce435b28405..a8e3fe52e387 100644 --- a/sci-libs/Manifest.gz +++ b/sci-libs/Manifest.gz diff --git a/sci-libs/indilib/Manifest b/sci-libs/indilib/Manifest index 5e29534135f1..88b9c21ed3b7 100644 --- a/sci-libs/indilib/Manifest +++ b/sci-libs/indilib/Manifest @@ -1,3 +1,5 @@ DIST indilib-2.0.3.tar.gz 2713456 BLAKE2B b74f3319c744227b533616ec369cb6f379253928c1d73ef8336d122152fcb866403efe8c7aa6f65c99ba10149b0b2b43c4a86a87f82353ce045602b261b75618 SHA512 323e694f90d71cf26da8b05d60d136f2422dc12e31ec88012250faf795e67bb95da2fd729cacc5bfa7cb74cc8fe1e12a0512cb57e694c87f362a4828228db0b7 +DIST indilib-2.0.4.tar.gz 2778082 BLAKE2B 21573abeb054f6693d29e5e67908be8be06246c138dba7dd8815c80d338fe8dbc202b103454f8e9a0b97e0fa05d5464547f32a2aa6bc0fa6189ddabd1f67428c SHA512 cb8c05ed2d814350e8357dfb3fd42ce5f2db88a0d150b0feb63fcb85cadd70369bfce1600a60837e242e5815ad076923428c456f4b331ffe1a22a2c02e11ced4 EBUILD indilib-2.0.3.ebuild 1674 BLAKE2B 17ec34ee35842998d1e7b1b7c46a4bb250d653312adc07d8b8ccc7bd0a77e08b6f181bf5fdc3e10a94c9a2f1721c2e602e246898babbadded9d2cd19939e6e3e SHA512 98d92b929252ae0de2afc159fe8a3e1f36bba325badf91886019969cae78f01f1a332c385d79ff048b4c7cfab621a71549d4389e3169844e0f6ae1bd3bd316ee +EBUILD indilib-2.0.4.ebuild 1676 BLAKE2B df40a820ae8638be0ea0f67f35b8ec9d1e357c6fe47f137e96cbcedc55d99c81118ae1530d452759c7ed41ed6e2ca8396f13473cdfffe25276cf47bf5e30adb7 SHA512 f7f2ca8ba14cd21272b92262fcaddde0953638b69d7174f4965f6d7e6cc9956622c8ef6d685267a3ab384862437a1be4d43d7c7dbb0db6db507be805edec1d77 MISC metadata.xml 562 BLAKE2B 675fbd88b6ea5004a89e4d86f397e924317f56ad98743d1d8cd9758f92b516cf70386f4eb59c8869451acd6b312c50a05b37a9ca3cedac87599bd90cd46d6ddd SHA512 ebef1f64112d45534b6ea13ce54b2ee57349d11486b881be277d669e984891fe9d8ca3839aadbbece908f55bd027060739460929bd7e0400cd04e639c7d2186f diff --git a/sci-libs/indilib/indilib-2.0.4.ebuild b/sci-libs/indilib/indilib-2.0.4.ebuild new file mode 100644 index 000000000000..d7542c61a1ac --- /dev/null +++ b/sci-libs/indilib/indilib-2.0.4.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake udev + +DESCRIPTION="INDI Astronomical Control Protocol library" +HOMEPAGE="https://www.indilib.org/" +SRC_URI="https://github.com/${PN}/${PN/lib/}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${P/lib/}" + +LICENSE="BSD GPL-2+ LGPL-2+ LGPL-2.1+" +SLOT="0/1" +KEYWORDS="~amd64 ~ppc ~ppc64 ~riscv ~x86" +IUSE="ogg rtlsdr test websocket" + +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-libs/libev + media-libs/libjpeg-turbo:= + net-misc/curl + sci-libs/cfitsio:= + sci-libs/fftw:3.0= + sci-libs/gsl:= + sci-libs/libnova:= + sys-libs/zlib + virtual/libusb:1 + ogg? ( + media-libs/libogg + media-libs/libtheora + ) + rtlsdr? ( net-wireless/rtl-sdr ) + websocket? ( dev-libs/boost:= ) +" +DEPEND="${RDEPEND} + kernel_linux? ( sys-kernel/linux-headers ) + test? ( >=dev-cpp/gtest-1.8.0 ) + websocket? ( dev-cpp/websocketpp ) +" + +src_configure() { + local mycmakeargs=( + -DINDI_BUILD_QT5_CLIENT=OFF + -DINDI_BUILD_SHARED=ON + -DINDI_BUILD_STATIC=OFF + -DINDI_BUILD_XISF=OFF # not packaged + -DUDEVRULES_INSTALL_DIR="${EPREFIX}$(get_udevdir)"/rules.d + $(cmake_use_find_package ogg OggTheora) + $(cmake_use_find_package rtlsdr RTLSDR) + -DINDI_BUILD_UNITTESTS=$(usex test) + -DINDI_BUILD_INTEGTESTS=$(usex test) + -DINDI_BUILD_WEBSOCKET=$(usex websocket) + ) + + cmake_src_configure +} + +src_test() { + # Unit tests + BUILD_DIR="${BUILD_DIR}"/test cmake_src_test + + # Integration tests + # They fail in parallel because they try to bind to the same port more + # than once. + BUILD_DIR="${BUILD_DIR}"/integs cmake_src_test -j1 +} + +pkg_postinst() { + udev_reload +} + +pkg_postrm() { + udev_reload +} diff --git a/sci-libs/libcifpp/Manifest b/sci-libs/libcifpp/Manifest index 6f6f16b5f4d5..cb779b517899 100644 --- a/sci-libs/libcifpp/Manifest +++ b/sci-libs/libcifpp/Manifest @@ -2,6 +2,9 @@ DIST libcifpp-5.1.1-components.cif.xz 58896016 BLAKE2B 2bf61944fe6b11325df3c6c32 DIST libcifpp-5.1.1.tar.gz 2244833 BLAKE2B 3a5feada63ee123dbed1ba776d0248569f46bbc2d39748db7d3cdfdfb66c89e08c54cdf5133182978e9ef4808c19adfc794ee895a95e882f0d5ff3d173e57311 SHA512 3e988d0e4f24174fb47274b0feaae5a8a793441efb9c8273b328f412fbd29ee082cd91e19f19008069ebfd3507c83f7945dc33fc015784727603f987091eaa5c DIST libcifpp-5.1.2-components.cif.xz 59092332 BLAKE2B 3672ca8e9553be80822ca7d7398fd3b73b14b1bf375e63f3a7aef33c2ee92d837c9ca08b3a756d838c512ac5918a0537d70e9a422331fafaf0ff77ecf2134515 SHA512 b2d3507d339d8467b10d0a638a5b86e75ed73fb64fee854aefeb2f0ce999e6a99755af30483749ce75e8a4ce63536111bd2a7a5f698dfc86d1a2be3d243304ce DIST libcifpp-5.1.2.tar.gz 2244795 BLAKE2B 7bec9f901c112fabf86c9ce691229f42dcf854be4c99bdf09dbe7dd0d0a3a7e92831cb2b72afa4debc1ce8b1a3a33e27cceda048adca6805802189e0ad50349c SHA512 3adb801ed52b250f6779228288a2c2926c1c7d8d0eff0bb6ed610b4258de8537253d2ce95208e8682b2eb8d0c09ecb53b6269c24bdce907360d9478c6c8c3c1b +DIST libcifpp-5.2.2-components.cif.xz 60754468 BLAKE2B 899120c2d6749fb2da9be94de8665f4e961d08c101b33bce98b84bf126b32d43bb79c88da98fb926047522a6f138512dcc59df698f57a83b716e039d422308d4 SHA512 d861b83f8b363f2e64ccf073bae768d73f9f57ec2674bf30d43b05fc9a32d235e26c888faaa02b6276e0734632b237b6dd00d8b966dd63b4fcf6562ebcf41cfc +DIST libcifpp-5.2.2.tar.gz 2277238 BLAKE2B a31af09bed7f1dbd6f610e104f0a8439742c863bc58b3680c058cb570a1f93fbcd6d23f29a372aafbb7166a4d86b2590cd24e092b1cc7af25bd09bbe437c93eb SHA512 2bbe9b13fd0ce8f686b5fa9e1675a41cc37c954cd9d80326fcc7c5f4c767be95dd71f6ddc3e841b6102214cd66205303515fa0750683e539f48b038a32a51af9 EBUILD libcifpp-5.1.1.ebuild 890 BLAKE2B 62a828f715d25d5368f94ad7e226d19caf45b0c37d311e5f6dcd13a3ec5224f296b69dc074891462063ceb92ee1153a7a1552731bef2800c914b201f76bca916 SHA512 0714de6553e370fb4ddb3d50c4e8fdfb227b671a581ef6d1a21257aee932ba816b3f41600c398cef4cd8ffbf99c7ab7824e79af66ab0f8ce877d585614444aad EBUILD libcifpp-5.1.2.ebuild 891 BLAKE2B fe97d75afc5635f9a791f4b814b9386ea075a9fea5c92058701f77cbf2da16c067fcf1bbd1ea505acc51985996fda3eef0608eebd51bdd6b2b4d8561853766b2 SHA512 8f934477871ea87cdee1e102a09d7e36786401da58f1b9453ba113701ad1a2cad51bed6f88f87b09b753358a475f52c82a3f24f1a9c2679405d7ab55a9f21f82 +EBUILD libcifpp-5.2.2.ebuild 893 BLAKE2B c581661af0f35cf4593654dbd915e9eb31fa464790be260faec7924104a341922a95e209415af57462d72f27867b9124af84865a82261cda04231ea37b0b47e2 SHA512 dac5c593845e0274ea86e88805cbe240096529ceb977fafa941d11de6c03618ea8c63eabbe01d6dfdbdf03325de03f380b8d8ad610221516bd48c29fe1de58a7 MISC metadata.xml 299 BLAKE2B 88091a7fbc350db0c22800bcd0de80ec406f7b8a0187b29d8660978384179f8194f7aa794bf0bd3b3f4ab68ac662ca62479319e218d2622e2a3e470653848251 SHA512 e6bc610ae1cf40584ba3067ece0c0c85d08ad0bbb99f5ecd8281c41b04ff932db838926a6ff238794ff46eb8035eb57c750e088bd3f164180952a9e597544e14 diff --git a/sci-libs/libcifpp/libcifpp-5.2.2.ebuild b/sci-libs/libcifpp/libcifpp-5.2.2.ebuild new file mode 100644 index 000000000000..0a794df24722 --- /dev/null +++ b/sci-libs/libcifpp/libcifpp-5.2.2.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit cmake + +DESCRIPTION="Code to work with mmCIF and PDB files" +HOMEPAGE="https://github.com/PDB-REDO/libcifpp" +# Update components file on every bump +# https://files.wwpdb.org/pub/pdb/data/monomers/components.cif.gz +SRC_URI=" + https://github.com/PDB-REDO/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz + https://dev.gentoo.org/~pacho/${PN}/${P}-components.cif.xz +" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +DEPEND=" + dev-cpp/eigen:3 + dev-libs/boost:= +" +RDEPEND="${DEPEND}" + +src_configure() { + cp "${WORKDIR}"/${P}-components.cif data/components.cif || die + + local mycmakeargs=( + -DBUILD_SHARED_LIBS=ON + -DCIFPP_DOWNLOAD_CCD=OFF + -DCIFPP_INSTALL_UPDATE_SCRIPT=OFF + -DBUILD_TESTING="$(usex test)" + ) + cmake_src_configure +} |