From 7afd563983bb88163dbb4332cb9c4f50b6ce2824 Mon Sep 17 00:00:00 2001 From: Volker Wegert Date: Thu, 17 Nov 2022 20:23:13 +0100 Subject: [PATCH] consolidated update of dev-libs/libcdata --- dev-libs/libcdata/Manifest | 3 +- dev-libs/libcdata/libcdata-20190112.ebuild | 25 ------------ dev-libs/libcdata/libcdata-20200509.ebuild | 25 ------------ dev-libs/libcdata/libcdata-20220103.ebuild | 47 ++++++++++++++++++++++ dev-libs/libcdata/libcdata-20220115.ebuild | 40 +++++++++++++----- 5 files changed, 79 insertions(+), 61 deletions(-) delete mode 100644 dev-libs/libcdata/libcdata-20190112.ebuild delete mode 100644 dev-libs/libcdata/libcdata-20200509.ebuild create mode 100644 dev-libs/libcdata/libcdata-20220103.ebuild diff --git a/dev-libs/libcdata/Manifest b/dev-libs/libcdata/Manifest index 344a3b156..4b6a7c178 100644 --- a/dev-libs/libcdata/Manifest +++ b/dev-libs/libcdata/Manifest @@ -1,3 +1,2 @@ -DIST libcdata-alpha-20190112.tar.gz 619019 BLAKE2B 0edf101c3f8aa439d49ab64e97a05dbbf1ce84ad582634c53b480ab01c0042c1ad92fa501e31492d3ae67ea571d8eb93dbd74ce9732c574847d6d7d1cf23fe3e SHA512 d61e2b4208e11730d3184339e02ee014ac20e096d159e68bedce2a3bb642c840fdb204be2bca3950653de6dc5204c627912de34df936d7ee88d511f15101b1be -DIST libcdata-alpha-20200509.tar.gz 631375 BLAKE2B 2b842ce91e8617bb51aa135bd430353779a011d13771a175237e6b4e343d4a9ff3dae86427f5b0d62f0b2d867f3abfeffd5552a6ff73388087608d3b273a3b41 SHA512 214301d316ba603da9da8fe48a1b3c85b6796eba15273c26b5631dab1b10844b03620a4c4ad5afc3460b23af40e01ed601eee19b6a164df18fdbceee1e8dabf5 +DIST libcdata-alpha-20220103.tar.gz 632650 BLAKE2B 52e01e4df9b1de7ee476385443462d514660a0f198d06fcc1e44346bcbc3ce34ec847ca0d7a16ecc896236b0aa52e0b76b66f733067a8a54ff9cfcb98e952245 SHA512 cf4b381bd5f1a14112f61255931e4ffbb350834a087952695cb652d57fa5a9e5203b2226c3a97589ee7c23938242667c19e5f807126d5cb2a7bde1ed3a581a3c DIST libcdata-alpha-20220115.tar.gz 632725 BLAKE2B 9d94cdb963e4ce91584f71710a9f6300bbd3a5ebbd5256cb50a6001a6aee7a5c9ce6e5be3b45cb7a9b9d88ce425b6c4aa92b345f4c302862046f0f2cb2967bc8 SHA512 9bca3c011ee26fac3a02adf6d89ea6672307dc0a103df7cd695d141b332a45bbb70dc303ead1013538ed8cb5103e640d97b6aa21cc550c33d94c82e5f324ed01 diff --git a/dev-libs/libcdata/libcdata-20190112.ebuild b/dev-libs/libcdata/libcdata-20190112.ebuild deleted file mode 100644 index 2b40f8649..000000000 --- a/dev-libs/libcdata/libcdata-20190112.ebuild +++ /dev/null @@ -1,25 +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 generic data 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 ~arm64 ~x86" -IUSE="nls" - -DEPEND="dev-libs/libcerror - 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) -} diff --git a/dev-libs/libcdata/libcdata-20200509.ebuild b/dev-libs/libcdata/libcdata-20200509.ebuild deleted file mode 100644 index 86c96f1c2..000000000 --- a/dev-libs/libcdata/libcdata-20200509.ebuild +++ /dev/null @@ -1,25 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DESCRIPTION="Library for cross-platform C generic data 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 ~arm64 x86" -IUSE="nls" - -DEPEND="dev-libs/libcerror - 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) -} diff --git a/dev-libs/libcdata/libcdata-20220103.ebuild b/dev-libs/libcdata/libcdata-20220103.ebuild new file mode 100644 index 000000000..382d2be2d --- /dev/null +++ b/dev-libs/libcdata/libcdata-20220103.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 generic data functions" +HOMEPAGE="https://github.com/libyal/libcdata" +SRC_URI="https://github.com/libyal/libcdata/releases/download/${PV}/${PN}-alpha-${PV}.tar.gz" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="amd64 ~arm64 x86" +IUSE="nls +threads" + +DEPEND=" + dev-libs/libcerror + dev-libs/libcthreads + nls? ( + virtual/libiconv + virtual/libintl + ) +" + +src_prepare() { + #makefile was created with 1.16, let's regenerate it + eautoreconf + eapply_user +} + +RDEPEND="${DEPEND}" + +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/libcdata/libcdata-20220115.ebuild b/dev-libs/libcdata/libcdata-20220115.ebuild index 86c96f1c2..382d2be2d 100644 --- a/dev-libs/libcdata/libcdata-20220115.ebuild +++ b/dev-libs/libcdata/libcdata-20220115.ebuild @@ -1,25 +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 generic data 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/libcdata" +SRC_URI="https://github.com/libyal/libcdata/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/libcerror +DEPEND=" + dev-libs/libcerror dev-libs/libcthreads - nls? ( virtual/libiconv - virtual/libintl )" + nls? ( + virtual/libiconv + virtual/libintl + ) +" + +src_prepare() { + #makefile was created with 1.16, let's regenerate it + eautoreconf + eapply_user +} + RDEPEND="${DEPEND}" src_configure() { - econf $(use_enable nls) \ + econf \ + $(use_enable nls) \ $(use_with nls libiconv-prefix) \ - $(use_with nls libintl-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 }