re-applied changes to libcthreads

This commit is contained in:
Volker Wegert 2022-11-20 22:16:28 +01:00
parent 99e2331873
commit 496d27e396
No known key found for this signature in database
GPG key ID: 1BCEC13D2F171EC4
5 changed files with 70 additions and 61 deletions

View file

@ -1,3 +1,2 @@
DIST libcthreads-alpha-20180724.tar.gz 531227 BLAKE2B be3c4b1690239ca0a4ad5a4f289e216d11543621fee26f728df97709a2cf197209dc64008e49848d7f8c0313e8b860d52a04f5f6a8a8ebbcb082951af6e7a229 SHA512 153a1bc895b0d31c8711bf1849889080ed5509d1d7ee797eb4e7d7bb16963d8a09000dee52520ba26e7dea5e0e408e697211052efee84c7ec5a26de04427c1d9
DIST libcthreads-alpha-20200508.tar.gz 548083 BLAKE2B be47b90e1379225d5e063462d4939072c525770b040a1a10d52fe06dab052501df1ce5471beaea475958962780a10c313831dd10a1d5b834d8b82e5f7d518b91 SHA512 0952cee6299701fc8aa2418fd3a3a99ab1634e4b19fe193aad8779740715fb2b7a7b4f7aec5fb1a5ab12cdf4235acff06bb59cb97911f4a3536031dcc7f1f86b
DIST libcthreads-alpha-20211115.tar.gz 548946 BLAKE2B cf5f4346fc11a74e26a3d1369ded47e5b8257c08ae830acc72f497e39f51e60c31a101ef298d8560301c2e56b83e74970d127b0e915678770bf431d33179c46b SHA512 073cabfb75387329e08244284dc3f986be7ebdd944f23e51c8af395a4d3defd6ffd74192559720120df5391f597bfeef8aaf854517dd3662e3f5de702a756821
DIST libcthreads-alpha-20220102.tar.gz 548820 BLAKE2B 4e5766997595d4a998e1b2c3d33a1ad96c405b6d6399eda7f373a578c95dad29b32be6d08da744e0a3cd2477bdfaaf211fd997bd0525d5f08bec393cc2896a32 SHA512 82c13a4511aab4827c3c89c77324f7cc010702f431e9ff5a2f41511467653df3ff0f363926ea62a4760ff6ab7d2168271ec8a8264de67133332ba77a0b3bf6a0

View file

@ -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 threads 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
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
}

View file

@ -1,26 +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 threads 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
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
}

View file

@ -0,0 +1,44 @@
# 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 threads functions"
HOMEPAGE="https://github.com/libyal/libcthreads"
SRC_URI="https://github.com/libyal/libcthreads/releases/download/${PV}/${PN}-alpha-${PV}.tar.gz"
LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
IUSE="nls"
DEPEND="
dev-libs/libcerror[nls=]
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)
# --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
}

View file

@ -1,26 +1,43 @@
# 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 threads 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/libcthreads"
SRC_URI="https://github.com/libyal/libcthreads/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 )"
DEPEND="
dev-libs/libcerror[nls=]
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)
# \
#--with-libcerror
# --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
}