summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Kohler <bkohler@gentoo.org>2024-08-23 09:52:17 -0500
committerBen Kohler <bkohler@gentoo.org>2024-08-27 14:23:15 -0500
commitf7f1d95a084c0a095ddc7a055f35670cf93c273b (patch)
tree755adbb7ad6d8df0241c958de830b0743cf9cc2c /dev-libs/ell
parentdev-java/openjdk: mark as LTO-unsafe (diff)
downloadgentoo-f7f1d95a084c0a095ddc7a055f35670cf93c273b.tar.gz
gentoo-f7f1d95a084c0a095ddc7a055f35670cf93c273b.tar.bz2
gentoo-f7f1d95a084c0a095ddc7a055f35670cf93c273b.zip
dev-libs/ell: add 0.68
Signed-off-by: Ben Kohler <bkohler@gentoo.org>
Diffstat (limited to 'dev-libs/ell')
-rw-r--r--dev-libs/ell/Manifest1
-rw-r--r--dev-libs/ell/ell-0.68.ebuild59
2 files changed, 60 insertions, 0 deletions
diff --git a/dev-libs/ell/Manifest b/dev-libs/ell/Manifest
index 1245aecbac06..88f01a25ad83 100644
--- a/dev-libs/ell/Manifest
+++ b/dev-libs/ell/Manifest
@@ -1,2 +1,3 @@
DIST ell-0.66.tar.xz 570708 BLAKE2B 64beecc2dfc5a1b0feccc415801aee71e20a1fd115eadc950c7c85b5b8ba52fca57f029799291dbf75106987870f2d82a9dfdb80d2f5cf22d31c06151b43c491 SHA512 e2d18a41ff6e7cf2fa55309abfa55b64a126979ade81c3af6d9f1c2ea7976e5667914fa6d61754f6c4646aff5719110e0fd03bcaeaa1780ca2fe2b170202cfbc
DIST ell-0.67.tar.xz 570720 BLAKE2B 27b886de9d4d4d812cf724e3a45f1bcb1cf021e0f88661357b14b643916c36ec6e0bdb8cbb177e33ff991483815af2176139c9bbad8645533aaa15830ce765a9 SHA512 a241c5f05bdff908d4c7a477d16f4d8857a725b3f1da5b08ecf031f73d1ebd80c6717dd99efbbf662a8801f10496249bc707d8dc17be88e63d0deb5418b3786a
+DIST ell-0.68.tar.xz 573704 BLAKE2B 742f097f5adbaab790320ce509851b8baac8b0929194f319d7c9889fe0da1f3461a1fffba50fd93c7706d41f52220e0ea094488c4ea58bd9eb127b511a628912 SHA512 dc604015151e1bc5945c08e31fcf35a679264be13e31b4ee0e297defb7452b3bc6bf44b7e1c07177ff172708b099e2a2940b68ceb9937a1c285f3af01e64bc2c
diff --git a/dev-libs/ell/ell-0.68.ebuild b/dev-libs/ell/ell-0.68.ebuild
new file mode 100644
index 000000000000..975d6b799e59
--- /dev/null
+++ b/dev-libs/ell/ell-0.68.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 ~ia64 ~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
+}