mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-06 08:25:01 +01:00
mbelibs: initial import with help from ephemer0l
This commit is contained in:
parent
7a30c4f63d
commit
3fe3ddb9c8
3 changed files with 65 additions and 0 deletions
3
media-libs/mbelib/Manifest
Normal file
3
media-libs/mbelib/Manifest
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
DIST mbelib-1.2.5.tar.gz 38261 SHA256 59d5e821b976a57f1eae84dd57ba84fd980d068369de0bc6a75c92f0b286c504 SHA512 09a28a8500104803e0aa2d541b0985b2b769ae00e09838d5803727c3c8a88097852b12afeaa6fce35ef60b51dd3dc5f149ea442a5418cebd2226728564a22e14 WHIRLPOOL 71f1d3af598dec577610955050d6cb3395a03b6e39e2f0c37897472c2850dbee42a0f19aad3ba88dc109b84f928080052ae615a2d45b549e0896deaa590b880e
|
||||
EBUILD mbelib-1.2.5.ebuild 736 SHA256 6a9c5c0c215c9c20cb845f6f16ca7427285698307b38f0b8fd581fd2cedd3853 SHA512 0975c83f4e6e3eb845ba9be637e6f9004ea7a29d9d8d5fb720de14c49aca0d4b39f4f882467bb50f674df5be259ede135e68df0c707b8e9f56ea88c27ff4f309 WHIRLPOOL 55b2d271f69ad0418251c22f6c1f32e106837a2b298770d199f7d0679236da7e9f5324e7670c8d3f22fa0950233d92241b092e516aa32c6cf65b769ecb2c76b5
|
||||
EBUILD mbelib-9999.ebuild 736 SHA256 6a9c5c0c215c9c20cb845f6f16ca7427285698307b38f0b8fd581fd2cedd3853 SHA512 0975c83f4e6e3eb845ba9be637e6f9004ea7a29d9d8d5fb720de14c49aca0d4b39f4f882467bb50f674df5be259ede135e68df0c707b8e9f56ea88c27ff4f309 WHIRLPOOL 55b2d271f69ad0418251c22f6c1f32e106837a2b298770d199f7d0679236da7e9f5324e7670c8d3f22fa0950233d92241b092e516aa32c6cf65b769ecb2c76b5
|
||||
31
media-libs/mbelib/mbelib-1.2.5.ebuild
Normal file
31
media-libs/mbelib/mbelib-1.2.5.ebuild
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI=5
|
||||
|
||||
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"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
use static-libs || rm "${ED}"/usr/$(get_libdir)/libmbe.a
|
||||
}
|
||||
31
media-libs/mbelib/mbelib-9999.ebuild
Normal file
31
media-libs/mbelib/mbelib-9999.ebuild
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI=5
|
||||
|
||||
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"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
use static-libs || rm "${ED}"/usr/$(get_libdir)/libmbe.a
|
||||
}
|
||||
Loading…
Reference in a new issue