Merge pull request #1295 from vwegert/update-libcdata-2

updated ebuilds for dev-libs/libcdata from libyal
This commit is contained in:
Anton Bolshakov 2023-01-27 12:29:20 +08:00 committed by GitHub
commit 3b9bba85a7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 92 additions and 64 deletions

View file

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

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

View file

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

View file

@ -0,0 +1,52 @@
# 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[nls=]
dev-libs/libcthreads[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) \
$(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
}
src_install() {
default
# see https://projects.gentoo.org/qa/policy-guide/installed-files.html#pg0303
find "${ED}" -name '*.la' -delete || die
}

View file

@ -1,25 +1,52 @@
# 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
dev-libs/libcthreads
nls? ( virtual/libiconv
virtual/libintl )"
DEPEND="
dev-libs/libcerror[nls=]
dev-libs/libcthreads[nls=]
nls? (
virtual/libiconv
virtual/libintl
)
"
RDEPEND="${DEPEND}"
src_configure() {
econf $(use_enable nls) \
$(use_with nls libiconv-prefix) \
$(use_with nls libintl-prefix)
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
}
src_install() {
default
# see https://projects.gentoo.org/qa/policy-guide/installed-files.html#pg0303
find "${ED}" -name '*.la' -delete || die
}