libfvalue: fix compilation error. Upstream insane

This commit is contained in:
blshkv 2019-09-14 17:37:05 +08:00
parent fb04f8d68c
commit 202c906899
No known key found for this signature in database
GPG key ID: 273E3E90D1A6294F
3 changed files with 40 additions and 8 deletions

View file

@ -1,2 +1,3 @@
DIST libfdata-alpha-20170112.tar.gz 692704 BLAKE2B 208cac822e4887c71aa7257726e289d32aeb938e3ff14b10d4d29a70528d89a1298a7b9ce1d2e560216524f325811ce4cf3d7d46f8c3d376f43fbf095b937cca SHA512 43eb21a9f60f52d79bbc4b7f1188981f1f13ce97b8b395cd9e5fcd6bf2f77285f378e0f61b51eda7173dea8318334f48fc7cce67b34ffa638a00609f16fb09cf
DIST libfdata-alpha-20181124.tar.gz 725676 BLAKE2B 42432d3ca5cd9470873fa1c479b0c4c102d59cbf60cd2172329546078f9b2b3f86ab211064230614f477b93fa620b89aacbf2a68dfdb3f43be192a19566ecf74 SHA512 6c62f570836f380e4a6ca287aafd31649b2f6037d694da9a2437fe19ddebc816bfe1b35c7968b57e88973d4ef977f55e685b6771ec7f7b2ea38ebb7536a2b88e
DIST libfdata-alpha-20190811.tar.gz 731669 BLAKE2B a8d777f6b80901eee5f1efc70f105292cde2a8fc61cf6cb977dfb81f502c2f15081414c18efcb912cd71019a2e3b86dd389991254ec591c576bd6ad0dc6afc74 SHA512 bc714b1bbb5c8630e9d64db9c3d8e68059401893d27694a90929df5f0ee729b33d8b3ad64b131bd69628cfb7acd8c368d9d08a848a93cf4aebd780e17df6cfbc

View file

@ -0,0 +1,33 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
DESCRIPTION="Library for cross-platform C file 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 ~hppa ~ppc ~x86"
IUSE="debug nls"
DEPEND="dev-libs/libcdata
dev-libs/libcerror
dev-libs/libcnotify
dev-libs/libcthreads
dev-libs/libfcache"
RDEPEND="${DEPEND}"
src_configure() {
econf $(use_enable nls) \
$(use_with nls libiconv-prefix) \
$(use_with nls libintl-prefix) \
$(use_enable debug debug-output) \
$(use_enable debug verbose-output)
# \
# --with-libcdata --with-libcerror \
# --with-libcnotify --with-libcthreads \
# --with-libfcache
}

View file

@ -7,7 +7,6 @@ inherit versionator autotools
MY_PV="$(get_major_version)"
MY_PV2="experimental"
#$(get_after_major_version)"
DESCRIPTION="Library for generic file value functions"
HOMEPAGE="https://github.com/libyal/${PN}"
@ -15,8 +14,7 @@ SRC_URI="https://github.com/libyal/${PN}/releases/download/${MY_PV}/${PN}-${MY_P
LICENSE="LGPL-3"
SLOT="0"
#pulling keywords since it doesn't build
#KEYWORDS="~amd64 ~hppa ~ppc ~x86"
KEYWORDS="~amd64 ~hppa ~ppc ~x86"
IUSE="debug nls"
DEPEND="dev-libs/libcdata
@ -37,9 +35,9 @@ src_configure() {
$(use_with nls libiconv-prefix) \
$(use_with nls libintl-prefix) \
$(use_enable debug debug-output) \
$(use_enable debug verbose-output) \
--with-libcdata --with-libcerror \
--with-libcnotify --with-libcthreads \
--with-libfdatetime --with-libfguid \
--with-libfwnt --with-libuna
$(use_enable debug verbose-output)
# --with-libcdata --with-libcerror \
# --with-libcnotify --with-libcthreads \
# --with-libfdatetime --with-libfguid \
# --with-libfwnt --with-libuna
}