libfwnt: v20180117 bump

This commit is contained in:
blshkv 2018-01-19 11:00:27 +08:00
parent 7634ead1d2
commit 714f4650ec
No known key found for this signature in database
GPG key ID: 273E3E90D1A6294F
2 changed files with 57 additions and 0 deletions

View file

@ -1 +1,2 @@
DIST libfwnt-alpha-20170115.tar.gz 696120 SHA256 010990789656a4a17537a68d625e5ba1f7243dffe4d1b993a64f10036fd40de1 SHA512 931ce4603400ba48b32e9063c1ff011db172698e40f99970cf409c9ce573bc02a9cbbbeeb22f9ff363bc1b6fa0a73a5ce153901a0bfa128208c86d801025c122 WHIRLPOOL 70712d56ffa266119a386e08e4a18b506f04a22b61a3fc85a5ff7faa622d8e181450944c95385db2942aa085b24ac5f19109cdfc0a24b495ff1f9e146169a08a
DIST libfwnt-alpha-20180117.tar.gz 695519 SHA256 d968bbbf900b5dbd8a19458986967b7e4715fe6019b6c85a57ae3a962c138096 SHA512 2210ac6dc2b3a319887ed64a519c0d4337ecfc10c3a05621e97bc0e48ed78565a2a092d4a3a1e337d68d7d064ea865751e475e854e00b3cfcc24099657191008 WHIRLPOOL f292b70f26fa0a6c8a23d137b03b0746cad35c1db5d8d644dd2b4e74ee6a9617745803bcf7813e7c272d1619f00710d8429c9accff04ae6306a06d0bb1525f70

View file

@ -0,0 +1,56 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
inherit python-r1
DESCRIPTION="Library for Windows NT data types"
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 python +threads winapi"
DEPEND="dev-libs/libcdata
dev-libs/libcerror
dev-libs/libcnotify
dev-libs/libcthreads"
RDEPEND="${DEPEND}"
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
CMAKE_IN_SOURCE_BUILD=1
src_configure() {
local myconf=(
$(use_enable python) \
$(use_enable nls) \
$(use_with nls libiconv-prefix) \
$(use_with nls libintl-prefix) \
$(use_enable debug debug-output) \
$(use_enable debug verbose-output) \
$(use_enable winapi) \
$(use_enable threads multi-threading-support)
# --with-libcdata --with-libcerror \
# --with-libcnotify --with-libcthreads
)
if use python ; then
#todo: make python2 optional
myconf+=( --enable-python2 )
prepare_python() {
if python_is_python3; then
myconf+=( --enable-python3 )
fi
}
python_foreach_impl run_in_build_dir prepare_python
fi
econf ${myconf[@]}
}