summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2024-04-12 11:55:22 +0300
committerArthur Zamarin <arthurzam@gentoo.org>2024-04-12 12:02:25 +0300
commit4f562e19647013fed215540f068891961e10cda7 (patch)
tree6072a4ed3db31609aaea9b403b936903e124a49c /dev-libs/sexpp
parentmedia-gfx/viewer: drop ppc keyword (diff)
downloadgentoo-4f562e19647013fed215540f068891961e10cda7.tar.gz
gentoo-4f562e19647013fed215540f068891961e10cda7.tar.bz2
gentoo-4f562e19647013fed215540f068891961e10cda7.zip
dev-libs/sexpp: add 0.8.7
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'dev-libs/sexpp')
-rw-r--r--dev-libs/sexpp/Manifest1
-rw-r--r--dev-libs/sexpp/sexpp-0.8.7.ebuild34
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-libs/sexpp/Manifest b/dev-libs/sexpp/Manifest
index 35a444c64a97..fa1a6f6a7e8d 100644
--- a/dev-libs/sexpp/Manifest
+++ b/dev-libs/sexpp/Manifest
@@ -1 +1,2 @@
DIST sexpp-0.8.6.tar.gz 46857 BLAKE2B 5ff8eaf3ba81af243e6780604b51b43743ed7f9de6121c1de273bbbd51d42e3feed3c00357c85ccaa5e808d2e5f753f58b5f96fea38f5b50b2b2bd9ee658be74 SHA512 b2698a397ef1b161a722e1834bc62f6d2b27c403faa27d97e1e137cc7315e004252ac75bbaaf817bc705f7830cb89665bb23ba8d18904fedd6c2f01c5f1e6f0f
+DIST sexpp-0.8.7.tar.gz 46958 BLAKE2B 1b7d45f00769b54c152c25e3befe73db628b8db880ed8b14cc3e1b4c07f90859d2994cbc3a03cad7dfdcc2a20ec4df4263bd04b17ef27f1d3a96e46e6d214923 SHA512 28b93626887da3c1228ddbb9b8566f2d9895f263a1fc31ac2cfa6fc0215cb6a8ec31900255335792bfd580d10f53dd3f88274df83f8c0ddff62ebe35dce7da08
diff --git a/dev-libs/sexpp/sexpp-0.8.7.ebuild b/dev-libs/sexpp/sexpp-0.8.7.ebuild
new file mode 100644
index 000000000000..4a8cbd6cf9ea
--- /dev/null
+++ b/dev-libs/sexpp/sexpp-0.8.7.ebuild
@@ -0,0 +1,34 @@
+# Copyright 2023-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="S-expressions parser and generator library in C++"
+HOMEPAGE="https://github.com/rnpgp/sexpp"
+SRC_URI="https://github.com/rnpgp/sexpp/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~x86"
+IUSE="cli test"
+RESTRICT="!test? ( test )"
+
+BDEPEND="virtual/pkgconfig
+ test? ( dev-cpp/gtest )"
+
+src_configure() {
+ local mycmakeargs=(
+ -DBUILD_SHARED_LIBS=on
+
+ -DDOWNLOAD_GTEST=off
+
+ -DWITH_COVERAGE=off
+ -DWITH_SANITIZERS=off
+ -DWITH_SEXP_CLI=$(usex cli on off)
+ -DWITH_SEXP_TESTS=$(usex test on off)
+ )
+
+ cmake_src_configure
+}