mbelib: v1.3.0 bump

This commit is contained in:
blshkv 2017-04-27 10:43:33 +08:00
parent 320192063f
commit 71e532d9d9
No known key found for this signature in database
GPG key ID: 9CCF6FCB8D8A14BF
2 changed files with 32 additions and 0 deletions

View file

@ -1 +1,2 @@
DIST mbelib-1.2.5.tar.gz 38261 SHA256 59d5e821b976a57f1eae84dd57ba84fd980d068369de0bc6a75c92f0b286c504 SHA512 09a28a8500104803e0aa2d541b0985b2b769ae00e09838d5803727c3c8a88097852b12afeaa6fce35ef60b51dd3dc5f149ea442a5418cebd2226728564a22e14 WHIRLPOOL 71f1d3af598dec577610955050d6cb3395a03b6e39e2f0c37897472c2850dbee42a0f19aad3ba88dc109b84f928080052ae615a2d45b549e0896deaa590b880e
DIST mbelib-1.3.0.tar.gz 398902 SHA256 5a2d5ca37cef3b6deddd5ce8c73918f27936c50eb0e63b27e4b4fc493310518d SHA512 1148b2c2e6e26f92e2d9643a79dc7ed3616e5903268b0a970d97abc9aff9a19241f037f82814109a247251796c652287c557e04dd1da2d827fd068534ac20a99 WHIRLPOOL 0003fd51c81e5ad107e77e63032c57fdf4bcd2a2e6c383f06cfc9a7514c8cf7785dbdfccc6f9781cfec3e0b879dcf9a17bb28c2fb9ea68b4dbb29301d4ad2aba

View file

@ -0,0 +1,31 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit cmake-utils multilib
HOMEPAGE="https://github.com/szechyjs/mbelib"
DESCRIPTION="P25 Phase 1 and ProVoice vocoder"
LICENSE="BSD"
SLOT=0
IUSE=static-libs
if [[ ${PV} == "9999" ]] ; then
EGIT_REPO_URI="https://github.com/szechyjs/mbelib.git"
KEYWORDS=""
inherit git-r3
else
SRC_URI="https://github.com/szechyjs/mbelib/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
fi
src_prepare() {
sed -i -e "s#X}/lib#X}/$(get_libdir)#" -e "s#N lib#N $(get_libdir)#" "${S}/CMakeLists.txt"
eapply_user
}
src_install() {
cmake-utils_src_install
use static-libs || rm "${ED}"/usr/$(get_libdir)/libmbe.a
}