summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Kohler <bkohler@gentoo.org>2024-11-08 05:46:18 -0600
committerBen Kohler <bkohler@gentoo.org>2024-11-08 05:49:05 -0600
commit7ff1710f71eaac6fd2c9db0442691d3e6b4b09d2 (patch)
treef92ce305072bf0d5e753acd758693c6f0fcc30bc /dev-libs
parentdev-vcs/git-absorb: add 0.6.16 (diff)
downloadgentoo-7ff1710f71eaac6fd2c9db0442691d3e6b4b09d2.tar.gz
gentoo-7ff1710f71eaac6fd2c9db0442691d3e6b4b09d2.tar.bz2
gentoo-7ff1710f71eaac6fd2c9db0442691d3e6b4b09d2.zip
dev-libs/ell: add 0.70
Signed-off-by: Ben Kohler <bkohler@gentoo.org>
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/ell/Manifest1
-rw-r--r--dev-libs/ell/ell-0.70.ebuild59
2 files changed, 60 insertions, 0 deletions
diff --git a/dev-libs/ell/Manifest b/dev-libs/ell/Manifest
index 9de4d046fae9..b5d5a59855a1 100644
--- a/dev-libs/ell/Manifest
+++ b/dev-libs/ell/Manifest
@@ -1 +1,2 @@
DIST ell-0.69.tar.xz 574172 BLAKE2B 3d28392b6cb378a8512667172598ec3cf9b5eeb5f68c65b43a939636a23a03d8f168b500171c4e1224e97bc072e88e9d57e5f02a9d5cbf489d684537070cfeef SHA512 9631b364ba48f984b104cf1091a4dbf10f675b04f58b555f55249d3fec6610c3ccf6e1b0197e807e843b179a39f22c33b8e2a58c4dbcff91bb8c6ce628618f65
+DIST ell-0.70.tar.xz 574184 BLAKE2B eee4c9a6bb3a7f2f04c91cca732a1f6aea86eef2006f22bf6e418fbe0ad2301cdead991cd9e46e8ca75178a5fcc7d7db5430dad2dfabe68490def77e0e51ed90 SHA512 9f6613ccd4bc54e75227863adf213d96068305b22bb47049b97ff801b468c8cd828be350f2b8edb27a2fee33a76cba563e53ce17af181ca483917503e9a1932c
diff --git a/dev-libs/ell/ell-0.70.ebuild b/dev-libs/ell/ell-0.70.ebuild
new file mode 100644
index 000000000000..3bc689c9a7c9
--- /dev/null
+++ b/dev-libs/ell/ell-0.70.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit flag-o-matic linux-info
+
+DESCRIPTION="Embedded Linux Library provides core, low-level functionality for system daemons"
+HOMEPAGE="https://git.kernel.org/pub/scm/libs/ell/ell.git"
+if [[ "${PV}" == *9999 ]] ; then
+ inherit autotools git-r3
+ EGIT_REPO_URI="https://git.kernel.org/pub/scm/libs/ell/ell.git"
+else
+ SRC_URI="https://mirrors.edge.kernel.org/pub/linux/libs/${PN}/${P}.tar.xz"
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
+fi
+LICENSE="LGPL-2.1+"
+SLOT="0"
+
+IUSE="pie test"
+RESTRICT="!test? ( test )"
+
+DEPEND="test? ( sys-apps/dbus )"
+
+CONFIG_CHECK="
+ ~TIMERFD
+ ~EVENTFD
+ ~CRYPTO_USER_API
+ ~CRYPTO_USER_API_HASH
+ ~CRYPTO_MD5
+ ~CRYPTO_SHA1
+ ~KEY_DH_OPERATIONS
+"
+
+src_prepare() {
+ default
+ sed -i -e "s#/tmp/ell-test-bus#/tmp/ell-test-bus-$(uuidgen)#" \
+ unit/test-dbus*.c unit/dbus.conf || die
+ [[ "${PV}" == *9999 ]] && eautoreconf
+}
+
+src_configure() {
+ append-cflags "-fsigned-char" #662694
+ local myeconfargs=(
+ $(use_enable pie)
+ )
+ econf "${myeconfargs[@]}"
+}
+
+src_install() {
+ default
+
+ find "${ED}" -name "*.la" -delete || die
+}
+
+src_test() {
+ # New dbus tests fail with >3 jobs, this should get fixed soon
+ emake -j1 check
+}