From 4d07d371135c979b5feec44f51fa5da7971e1fa4 Mon Sep 17 00:00:00 2001 From: Volker Wegert Date: Thu, 17 Nov 2022 20:23:29 +0100 Subject: [PATCH] consolidated update of dev-libs/libfcache --- dev-libs/libfcache/Manifest | 2 +- dev-libs/libfcache/libfcache-20181011.ebuild | 26 ----------- dev-libs/libfcache/libfcache-20200708.ebuild | 46 +++++++++++++------ dev-libs/libfcache/libfcache-20220110.ebuild | 47 ++++++++++++++++++++ 4 files changed, 81 insertions(+), 40 deletions(-) delete mode 100644 dev-libs/libfcache/libfcache-20181011.ebuild create mode 100644 dev-libs/libfcache/libfcache-20220110.ebuild diff --git a/dev-libs/libfcache/Manifest b/dev-libs/libfcache/Manifest index c1fd75f71..0a58b2bae 100644 --- a/dev-libs/libfcache/Manifest +++ b/dev-libs/libfcache/Manifest @@ -1,2 +1,2 @@ -DIST libfcache-alpha-20181011.tar.gz 588295 BLAKE2B a5723bb2db9f05a1b5c13a1e41bc097e8f6db804d7baedd9aaae9b62b5fed28a323f6b9ef397aedb49a8e906f09e1d1095ca2722971953ce06aa18fe73c472f6 SHA512 4812fef63f863678c733561c1963535b5279eab890ec18d1e23e30e3cab0a30660f055679073848f9ff0a390d3b0ba89cc432e170a0f6c96b0990c7bbea7467c DIST libfcache-alpha-20200708.tar.gz 608441 BLAKE2B 861a9a63c8250a2272f75cf1bcd387d4b19c278e152f306823870f1e6ee56a1b3d3a55c1768f2821b6f29cee4222695de1ad2fca7a93dcd2f6756af456de3ee0 SHA512 c32ac6f07a0696eacaf5833c6bba6ec97b72a4cce8777824e73091bfff8eacf8fca90b7be2897ceb7ea73a5106f758b200b64f19dbf4f3eef1c1ef35f6c462cc +DIST libfcache-alpha-20220110.tar.gz 609372 BLAKE2B 6bc1c4750ef9bab85494026c5b85cd45fc9ba2ea551dc41bdf0c5e7659c0575031202236d108adc40791a5281f87830268b8c255e3795772fdccb6350b77ed8d SHA512 ef8b55f0e9a34b349b101b96fa2365131284b51e436d1213439c057fc95a983abfc0fbd7abb2d802bb7a1e247fee651a62f76f60836bf30804821f1f9f0eb954 diff --git a/dev-libs/libfcache/libfcache-20181011.ebuild b/dev-libs/libfcache/libfcache-20181011.ebuild deleted file mode 100644 index 497b4364a..000000000 --- a/dev-libs/libfcache/libfcache-20181011.ebuild +++ /dev/null @@ -1,26 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DESCRIPTION="Library for cross-platform C cache functions" -HOMEPAGE="https://github.com/libyal/${PN}" -SRC_URI="https://github.com/libyal/${PN}/releases/download/${PV}/${PN}-alpha-${PV}.tar.gz" - -LICENSE="LGPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="nls" - -DEPEND="dev-libs/libcdata - dev-libs/libcerror - dev-libs/libcthreads" -RDEPEND="${DEPEND}" - -src_configure() { - econf $(use_enable nls) \ - $(use_with nls libiconv-prefix) \ - $(use_with nls libintl-prefix) \ - --with-libcdata --with-libcerror \ - --with-libcthreads -} diff --git a/dev-libs/libfcache/libfcache-20200708.ebuild b/dev-libs/libfcache/libfcache-20200708.ebuild index db02c2e59..6684b3f7f 100644 --- a/dev-libs/libfcache/libfcache-20200708.ebuild +++ b/dev-libs/libfcache/libfcache-20200708.ebuild @@ -1,27 +1,47 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 + +inherit autotools DESCRIPTION="Library for cross-platform C cache functions" -HOMEPAGE="https://github.com/libyal/${PN}" -SRC_URI="https://github.com/libyal/${PN}/releases/download/${PV}/${PN}-alpha-${PV}.tar.gz" +HOMEPAGE="https://github.com/libyal/libfcache" +SRC_URI="https://github.com/libyal/libfcache/releases/download/${PV}/${PN}-alpha-${PV}.tar.gz" LICENSE="LGPL-3" SLOT="0" KEYWORDS="amd64 ~arm64 x86" -IUSE="nls" +IUSE="nls +threads" -DEPEND="dev-libs/libcdata +DEPEND=" + dev-libs/libcdata dev-libs/libcerror - dev-libs/libcthreads" + dev-libs/libcthreads + nls? ( + virtual/libiconv + virtual/libintl + ) +" RDEPEND="${DEPEND}" -src_configure() { - econf $(use_enable nls) \ - $(use_with nls libiconv-prefix) \ - $(use_with nls libintl-prefix) - # \ - #--with-libcdata --with-libcerror \ - #--with-libcthreads +src_prepare() { + #makefile was created with 1.16, let's regenerate it + eautoreconf + eapply_user +} + +src_configure() { + econf \ + $(use_enable nls) \ + $(use_with nls libiconv-prefix) \ + $(use_with nls libintl-prefix) \ + $(use_enable threads multi-threading-support) + +# --disable-shared-libs disable shared library support +# not supported in the ebuild at the moment - kind of defeats the entire process + +# --enable-winapi enable WINAPI support for cross-compilation +# [default=auto-detect] +# not supported in the ebuild at the moment - requires windows.h, does not make much sense for us } diff --git a/dev-libs/libfcache/libfcache-20220110.ebuild b/dev-libs/libfcache/libfcache-20220110.ebuild new file mode 100644 index 000000000..6684b3f7f --- /dev/null +++ b/dev-libs/libfcache/libfcache-20220110.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="Library for cross-platform C cache functions" +HOMEPAGE="https://github.com/libyal/libfcache" +SRC_URI="https://github.com/libyal/libfcache/releases/download/${PV}/${PN}-alpha-${PV}.tar.gz" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="amd64 ~arm64 x86" +IUSE="nls +threads" + +DEPEND=" + dev-libs/libcdata + dev-libs/libcerror + dev-libs/libcthreads + nls? ( + virtual/libiconv + virtual/libintl + ) +" +RDEPEND="${DEPEND}" + +src_prepare() { + #makefile was created with 1.16, let's regenerate it + eautoreconf + eapply_user +} + +src_configure() { + econf \ + $(use_enable nls) \ + $(use_with nls libiconv-prefix) \ + $(use_with nls libintl-prefix) \ + $(use_enable threads multi-threading-support) + +# --disable-shared-libs disable shared library support +# not supported in the ebuild at the moment - kind of defeats the entire process + +# --enable-winapi enable WINAPI support for cross-compilation +# [default=auto-detect] +# not supported in the ebuild at the moment - requires windows.h, does not make much sense for us +}