summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2024-10-17 13:16:06 +0200
committerPacho Ramos <pacho@gentoo.org>2024-10-17 13:55:53 +0200
commite6908f8562b0b88dd6a0374a50e18c524b6c3b79 (patch)
tree7f74db3ade62ca382f85874e90eaf95018c641eb /sci-libs
parentgnome-extra/gnome-firmware: Needs rebuilding with future fwupd subslot bumps (diff)
downloadgentoo-e6908f8562b0b88dd6a0374a50e18c524b6c3b79.tar.gz
gentoo-e6908f8562b0b88dd6a0374a50e18c524b6c3b79.tar.bz2
gentoo-e6908f8562b0b88dd6a0374a50e18c524b6c3b79.zip
sci-libs/libcifpp: add 7.0.7
Signed-off-by: Pacho Ramos <pacho@gentoo.org>
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/libcifpp/Manifest2
-rw-r--r--sci-libs/libcifpp/libcifpp-7.0.7.ebuild39
2 files changed, 41 insertions, 0 deletions
diff --git a/sci-libs/libcifpp/Manifest b/sci-libs/libcifpp/Manifest
index 5725efb9add0..df68a74600c9 100644
--- a/sci-libs/libcifpp/Manifest
+++ b/sci-libs/libcifpp/Manifest
@@ -1,2 +1,4 @@
DIST libcifpp-7.0.6-components.cif.xz 65615784 BLAKE2B 680aa4e10e8297541f7c8f4eda5ed29bfbbbe0f91495b0cdb0f0796b3b800ab7a7ea97078f011d248e550c5fb5b3a5359dbddd70475a50e770f2aa1f1c8a4751 SHA512 4b992ae9f8a8acb5d15742899178e69b668380d67dfad1f320a2ca0c9e2f813d4877a9eb37729372265403b3b6c8d3a302b81b8a5d4087444a722b182495e432
DIST libcifpp-7.0.6.tar.gz 2648194 BLAKE2B 569a0357b77a7b86686e49e5b117e926147ec93cf16671a3869d8d355e4fdbdc1144bbffb7be8ac29ac4299b9ca3860ca2bdbcf1cf5f6ed3f83eadf00beb5e3d SHA512 e0a599928d6126321a3b2af99943bb627369f10c97bf5eacfa314e245dcf3c195a46d34e7b30600e2d4ae94a87567e7d86fb8178eca75dad2a38d5fbd5b4dbc1
+DIST libcifpp-7.0.7-components.cif.xz 65615784 BLAKE2B 680aa4e10e8297541f7c8f4eda5ed29bfbbbe0f91495b0cdb0f0796b3b800ab7a7ea97078f011d248e550c5fb5b3a5359dbddd70475a50e770f2aa1f1c8a4751 SHA512 4b992ae9f8a8acb5d15742899178e69b668380d67dfad1f320a2ca0c9e2f813d4877a9eb37729372265403b3b6c8d3a302b81b8a5d4087444a722b182495e432
+DIST libcifpp-7.0.7.tar.gz 2648232 BLAKE2B 559c62110dd700262bc403a7fac2d4e65a29a86a84313823796cf1b99c5e37ccfd453c113db5509bf5c2cadc0bcfc0e1267a9ff4863d165e984beeb20fd927d5 SHA512 a3f4bb8218b8136b17a440a4e1ad3b8c2674bbb37084e60ad743b41b3d7d7f765c51495adb1789e63624d889cf43e3a001e1a2dd2c5d38d3268b680a77510120
diff --git a/sci-libs/libcifpp/libcifpp-7.0.7.ebuild b/sci-libs/libcifpp/libcifpp-7.0.7.ebuild
new file mode 100644
index 000000000000..855615bcc0ce
--- /dev/null
+++ b/sci-libs/libcifpp/libcifpp-7.0.7.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2024 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.4.0:3
+ dev-libs/boost:=
+ sys-libs/zlib
+ test? ( dev-cpp/catch:0 )
+"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+ cp "${WORKDIR}"/${P}-components.cif rsrc/components.cif || die
+
+ local mycmakeargs=(
+ -DBUILD_SHARED_LIBS=ON
+ -DCIFPP_INSTALL_UPDATE_SCRIPT=OFF
+ -DBUILD_TESTING="$(usex test)"
+ )
+ cmake_src_configure
+}