mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-01 03:00:57 +02:00
added new version of libfwnt (old version went AWOL)
This commit is contained in:
parent
f7e4d1646b
commit
6b654c33d1
2 changed files with 57 additions and 0 deletions
|
|
@ -1,2 +1,3 @@
|
|||
DIST libfwnt-alpha-20200723.tar.gz 1085871 BLAKE2B 88ebeb9e2b9a0d3e562c7c364f76517b402df21b5cd941c3e5130f18c8d48cbe41dbc501cbf68b44f0ea15a6dccee2b38a4c2e4556213ef871b8aeefbb3a2250 SHA512 db2454a4da3d0613b3931da1db8808974bcafec32d4f7c4b72b8ef58b8a28283ce27544f6da7a8c5d0f4851d929d836717e852bcac39979b90aa98014c8d89ca
|
||||
DIST libfwnt-alpha-20210421.tar.gz 1086509 BLAKE2B 5fa82d30e168d98c0ba920b2b30063064a674c9d6f96879f969d3ac884c9116c0d6a7e455663e4014e83251209012cf3a02639e82dd3e942f7603e3ddcce63fd SHA512 5f7dd9653d4a266ad0e126ee60d98a80930bfe5f81a4707499231e0da8cc1947e7467ec64bc26d7622496582414e001dcaea8be455a48dba99ca21116ae3f550
|
||||
DIST libfwnt-alpha-20220922.tar.gz 1153326 BLAKE2B 5ff6016e0e372f37966f5c322dd17e3ff5a932311269eec5e3d8e13a20f9ce48afcbcb1214fbd2e414399a71e2b77b1b2f67f5cf19684a412592169fa8192b42 SHA512 93ef460c771b6c5c04219f8d6765cdddc6a047e1ce45696ed7a863e36f10cc392cb1cd1338f0d4f3220f1c6d9ee25fb679f6001f090fd69d7ee269adcac064bf
|
||||
|
|
|
|||
56
dev-libs/libfwnt/libfwnt-20220922.ebuild
Normal file
56
dev-libs/libfwnt/libfwnt-20220922.ebuild
Normal file
|
|
@ -0,0 +1,56 @@
|
|||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{9..10} )
|
||||
|
||||
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 ~arm64 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[@]}
|
||||
}
|
||||
Loading…
Reference in a new issue