libsmdev: v20171112 bump

This commit is contained in:
blshkv 2017-11-20 15:43:28 +08:00
parent 416a5d5b1b
commit b61839258a
No known key found for this signature in database
GPG key ID: 273E3E90D1A6294F
2 changed files with 55 additions and 0 deletions

View file

@ -1 +1,2 @@
DIST libsmdev-alpha-20170225.tar.gz 1185544 SHA256 aa5d1cac3c23b46adc9c69e8bcc9b3782cfbf6cb0c2ab7fbd2c5a39b299fcc04 SHA512 f56f93b5c27fd41fbf3f1932922d0d318430151a79b8253f79fd1bc8c11d1e05d490b9313dfbe598b7fd907e4fdfecc6da068f4d9fa1da895af29aea9e43a232 WHIRLPOOL 331f80eaf81176ff3ac57ac40a36b0e72a391414f2ddcb28ed83a37b5f91a8a8d623aeb601191c0d3e599737cfed4dfa334791388777fd429f950090cdb49a17
DIST libsmdev-alpha-20171112.tar.gz 1187736 SHA256 bc0659d3a3fc43193614690e027e1d59dceee45aaed49f031b5ecaee3f8c525c SHA512 e61f7c5cc18a8f7ddc8f20bd6394d7aa132341ad3f4b6e8beaf7db9fff2922f71d25477e71bf49925200f3c501467e7a9ba8572e0530abfefcdf244d3e55e46d WHIRLPOOL d0f529859214bccb3e2599749f3308285138ca93f2688b603fca7343ff59024b02211f02d1bbb3449bd2373930970f0dd638ac0013f8d94a51cb57a697687fc2

View file

@ -0,0 +1,54 @@
# 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} )
inherit python-r1
DESCRIPTION="Library to access to storage media device"
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="nls unicode python +threads"
DEPEND="dev-libs/libcdata
dev-libs/libcerror
dev-libs/libcfile
dev-libs/libclocale
dev-libs/libcnotify
dev-libs/libcthreads
dev-libs/libuna
"
RDEPEND="${DEPEND}"
src_configure() {
# econf $(use_enable nls) \
local myconf=(
$(use_with nls libiconv-prefix)
$(use_with nls libintl-prefix)
$(use_enable unicode wide-character-type)
$(use_enable threads multi-threading-support)
--with-libcdata --with-libcerror --with-libcfile
--with-libclocale --with-libcnotify
)
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[@]}
}