summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Kohler <bkohler@gentoo.org>2020-03-25 10:33:26 -0500
committerBen Kohler <bkohler@gentoo.org>2020-03-25 10:37:40 -0500
commite5908a30fa022635daf42c7d0226965ff6da3045 (patch)
treecbb3ebb06d34757e003bb01c0b3ab4022b5734aa /dev-libs/ell
parentdev-python/pyxattr: ia64 stable wrt bug #714478 (diff)
downloadgentoo-e5908a30fa022635daf42c7d0226965ff6da3045.tar.gz
gentoo-e5908a30fa022635daf42c7d0226965ff6da3045.tar.bz2
gentoo-e5908a30fa022635daf42c7d0226965ff6da3045.zip
dev-libs/ell: bump to 0.30 & add CONFIG_* checks
Closes: https://bugs.gentoo.org/714716 Closes: https://bugs.gentoo.org/657352 Package-Manager: Portage-2.3.95, Repoman-2.3.21 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.30.ebuild59
-rw-r--r--dev-libs/ell/ell-9999.ebuild15
3 files changed, 74 insertions, 1 deletions
diff --git a/dev-libs/ell/Manifest b/dev-libs/ell/Manifest
index cca43917a1e3..3f71973fe554 100644
--- a/dev-libs/ell/Manifest
+++ b/dev-libs/ell/Manifest
@@ -1,3 +1,4 @@
DIST ell-0.26.tar.xz 473512 BLAKE2B bad1545b65caad7263e03156740ef5dfc401536fc063f34bdac5346a9edca8b7b16fd175abb264a6163e9dca87d1469f388984a95962dcc695e3e98549ff2a0a SHA512 b7a841f6e3c50077b60c210549744344ee70b5116bc9ee0f44dfea896f68fe6ab89a6fa38fcfe04e259648de978162aa5592f2e07accf13825584b40d57ef6cb
DIST ell-0.27.tar.xz 474412 BLAKE2B 3b7d7ccfff8a92bbe930032b6a54bdc91b6541d1e6d8e514f1e49fcd08f3f5bc47beb3722dc864a63dcbbd72f793fbc2bc590b168f1623ff6e7088fbc960acb1 SHA512 ecda285155ef5ac1b8bdeabfba2e972149a5027c85236af74366c735aec7304b2dee8ff6aa931000b4299e8bb7654e7d4a63c1738de6e6e740f5ba16467f2823
DIST ell-0.28.tar.xz 474880 BLAKE2B 2c571f952056c9f4e3e8c245b2b57645c4baa2935fdbe758170dcfe689f4db2162322f25a80cc5a7d4d5bded6159d1fa0d583be979a2708d32e61e91d1ced585 SHA512 6c3aef4d403878c0c9b8a1e5e8861656f2abbab19dd275b1aecca899ca615c00aee30e18f194435ec6be859adcffbe3703a79b13508e1e76c2192ec51f7c0cd7
+DIST ell-0.30.tar.xz 478204 BLAKE2B 77d1b7307949feb47da28e0c777172b9f5272676dc6fe677955118a9f8dfdaad43fc400e0057ae8b370ac441c61a21bc351fe89053e40d0d94f9874a3b373726 SHA512 e58ad67b8c6aca5294eb00cc194bac672f8666a445295f289e68462981bc07e5c2bce1297423470e1ba34cc2e2d10ee57741ce370e7c013991571ad1f685c6ff
diff --git a/dev-libs/ell/ell-0.30.ebuild b/dev-libs/ell/ell-0.30.ebuild
new file mode 100644
index 000000000000..a16ad16548b3
--- /dev/null
+++ b/dev-libs/ell/ell-0.30.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit flag-o-matic linux-info multilib-minimal
+
+DESCRIPTION="Embedded Linux Library provides core, low-level functionality for system daemons"
+HOMEPAGE="https://01.org/ell"
+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 ~mips ~ppc ~ppc64 ~sparc ~x86"
+fi
+LICENSE="LGPL-2.1"
+SLOT="0"
+
+IUSE="glib pie"
+
+RDEPEND="
+ glib? ( dev-libs/glib:2[${MULTILIB_USEDEP}] )
+"
+DEPEND="${RDEPEND}"
+
+pkg_pretend() {
+ CONFIG_CHECK="
+ ~TIMERFD
+ ~EVENTFD
+ ~CRYPTO_USER_API
+ ~CRYPTO_USER_API_HASH
+ ~CRYPTO_MD5
+ ~CRYPTO_SHA1
+ ~KEY_DH_OPERATIONS
+ "
+ check_extra_config
+}
+
+src_prepare() {
+ default
+ [[ "${PV}" == *9999 ]] && eautoreconf
+}
+
+multilib_src_configure() {
+ append-cflags "-fsigned-char" #662694
+ local myeconfargs=(
+ $(use_enable glib)
+ $(use_enable pie)
+ )
+ ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
+}
+
+multilib_src_install_all() {
+ local DOCS=( ChangeLog README )
+ einstalldocs
+
+ find "${ED}" -name "*.la" -delete || die
+}
diff --git a/dev-libs/ell/ell-9999.ebuild b/dev-libs/ell/ell-9999.ebuild
index 615074c27a1b..a16ad16548b3 100644
--- a/dev-libs/ell/ell-9999.ebuild
+++ b/dev-libs/ell/ell-9999.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-inherit flag-o-matic multilib-minimal
+inherit flag-o-matic linux-info multilib-minimal
DESCRIPTION="Embedded Linux Library provides core, low-level functionality for system daemons"
HOMEPAGE="https://01.org/ell"
@@ -24,6 +24,19 @@ RDEPEND="
"
DEPEND="${RDEPEND}"
+pkg_pretend() {
+ CONFIG_CHECK="
+ ~TIMERFD
+ ~EVENTFD
+ ~CRYPTO_USER_API
+ ~CRYPTO_USER_API_HASH
+ ~CRYPTO_MD5
+ ~CRYPTO_SHA1
+ ~KEY_DH_OPERATIONS
+ "
+ check_extra_config
+}
+
src_prepare() {
default
[[ "${PV}" == *9999 ]] && eautoreconf