From d066b9e716f0a0389754ba2d51834f497fcea9f5 Mon Sep 17 00:00:00 2001 From: Volker Wegert Date: Thu, 17 Nov 2022 20:23:25 +0100 Subject: [PATCH] consolidated update of dev-libs/libfdatetime --- dev-libs/libfdatetime/Manifest | 1 + .../libfdatetime/libfdatetime-20180910.ebuild | 38 ++++++++++++----- .../libfdatetime/libfdatetime-20220112.ebuild | 41 +++++++++++++++++++ 3 files changed, 69 insertions(+), 11 deletions(-) create mode 100644 dev-libs/libfdatetime/libfdatetime-20220112.ebuild diff --git a/dev-libs/libfdatetime/Manifest b/dev-libs/libfdatetime/Manifest index 5961d6f14..880f6acd3 100644 --- a/dev-libs/libfdatetime/Manifest +++ b/dev-libs/libfdatetime/Manifest @@ -1 +1,2 @@ DIST libfdatetime-alpha-20180910.tar.gz 557052 BLAKE2B 08532fb7b07ca83b69214d4bf39811fd03589322690ed4df7d495eff1e05dae6b5fd0c2d996365463c7da7f33f9699a6c22fa6fbfb1430432c890c15b3cc83a4 SHA512 50f867d7e58282e41ff1631648eaebd55b414bda6492c5799fbba24fdf01176be15b2830ef5aaf91744a2cf9578317c6c57961a1acc05ccf718043951d4a9a1c +DIST libfdatetime-alpha-20220112.tar.gz 571149 BLAKE2B dbbb5be8ee3c17e3b4e1481b9094d35e923dc091356e24faf7d0b2a81a99d97d37349dd85bb258aec78ca19a3346e7e250a662f62949d737cac3d4b50a425a83 SHA512 9ee901143a9735d445c2cea35db87fee06be8201b5b8c65a4a324a75e631eaa1ea51dcbde17f380e884d22170cd81bfbee267461d00ebaeec5aa400cc9cd17bd diff --git a/dev-libs/libfdatetime/libfdatetime-20180910.ebuild b/dev-libs/libfdatetime/libfdatetime-20180910.ebuild index 70cbc7ac8..89dacf5ea 100644 --- a/dev-libs/libfdatetime/libfdatetime-20180910.ebuild +++ b/dev-libs/libfdatetime/libfdatetime-20180910.ebuild @@ -1,25 +1,41 @@ # Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 + +inherit autotools DESCRIPTION="Library for date and time formats" HOMEPAGE="https://github.com/libyal/libfdatetime" -SRC_URI="https://github.com/libyal/${PN}/releases/download/${PV}/${PN}-alpha-${PV}.tar.gz" +SRC_URI="https://github.com/libyal/libfdatetime/releases/download/${PV}/${PN}-alpha-${PV}.tar.gz" LICENSE="LGPL-3" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" +KEYWORDS="amd64 ~arm64 x86" IUSE="nls" -DEPEND="dev-libs/libcerror - nls? ( virtual/libiconv - virtual/libintl )" +DEPEND=" + dev-libs/libcerror + nls? ( + virtual/libiconv + virtual/libintl + ) +" RDEPEND="${DEPEND}" -src_configure() { - econf $(use_enable nls) \ - $(use_with nls libiconv-prefix) \ - $(use_with nls libintl-prefix) \ - --with-libcerror +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) + +# --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/libfdatetime/libfdatetime-20220112.ebuild b/dev-libs/libfdatetime/libfdatetime-20220112.ebuild new file mode 100644 index 000000000..89dacf5ea --- /dev/null +++ b/dev-libs/libfdatetime/libfdatetime-20220112.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="Library for date and time formats" +HOMEPAGE="https://github.com/libyal/libfdatetime" +SRC_URI="https://github.com/libyal/libfdatetime/releases/download/${PV}/${PN}-alpha-${PV}.tar.gz" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="amd64 ~arm64 x86" +IUSE="nls" + +DEPEND=" + dev-libs/libcerror + 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) + +# --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 +}