dev-libs/libcaes: fix version, issue #1572

This commit is contained in:
João Lucas 2024-04-02 13:30:12 +01:00
parent e46b86bc6b
commit cf3e03b823
No known key found for this signature in database
GPG key ID: 6404947A3E15D5AB
3 changed files with 1 additions and 70 deletions

View file

@ -1,2 +1 @@
DIST libcaes-alpha-20221127.tar.gz 940034 BLAKE2B 49aabb15c406744b8ee0fbb3ec4156ae96e2334394d337d45450f5ae786223a4169285586e328dc3ef81608392c1a6025a7b126b40e9f37949b5f651d1a9b28c SHA512 9ad0f509bd652957550607cafbabcb721c2db473cac7598b84bc6486b5be36dafa6f143acf8197337b4b6ceb16862c6c7fd590f5ac3f5fe044a029a4338f9424
DIST libcaes-alpha-20230406.tar.gz 940493 BLAKE2B b3840c8bf8db3a2e65f2e4acea57b32c04ce96145c329db12bbe02794fb4b2aa83b5e5d8f87b02ac248770bab89866923827b692277871822f68ac2bc5ab65b4 SHA512 4f60565e11eaa88274bcd6080957cfb4c7757879f81f6a9ac3f278791cf56cdc4a86d56294c3a8f45b94885378ff7935fee9eb43815cfdd8ee7440d429330ce3
DIST libcaes-alpha-20240114.tar.gz 912594 BLAKE2B d8d64272eaa6490f0932a48b9c59d267aca20c2b05337901a057b9bb21616ac7e337bb74d166f2f7d6e3d89b18bfe3040f181935e69c81be3107a77237b4c9b8 SHA512 8573d3327a1e41fb3d25f7d22634789a5b479e232e5c0e856d38d6fbea7f84174f41276ad5751ba7e9696c155a350bbc4671288b1ca8975c03140baf88b42d34

View file

@ -1,68 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{10..12} )
inherit python-single-r1 autotools
DESCRIPTION="Library to support cross-platform AES encryption"
HOMEPAGE="https://github.com/libyal/libcaes"
SRC_URI="https://github.com/libyal/libcaes/releases/download/${PV}/${PN}-alpha-${PV}.tar.gz"
LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
IUSE="nls python"
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
DEPEND="
dev-libs/openssl
dev-libs/libcerror[nls=]
nls? (
virtual/libiconv
virtual/libintl
)
python? ( dev-lang/python:* )
"
RDEPEND="
${DEPEND}
python? ( ${PYTHON_DEPS} )
"
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 python) \
$(use_enable python python3)
# --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
# --enable-openssl-evp-cipher
# enable OpenSSL EVP CIPHER support, or no to disable
# [default=auto-detect]
# --enable-openssl-evp-md enable OpenSSL EVP MD support, or no to disable
# [default=auto-detect]
# left at default values for the time being
}
src_install() {
default
# see https://projects.gentoo.org/qa/policy-guide/installed-files.html#pg0303
find "${ED}" -name '*.la' -delete || die
}