Merge pull request #15 from vwegert/update-libfcache

consolidated update of dev-libs/libfcache
This commit is contained in:
Volker Wegert 2022-11-17 20:33:50 +01:00 committed by GitHub
commit aa9fce59b4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 81 additions and 40 deletions

View file

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

View file

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

View file

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

View file

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