mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-06 08:25:01 +01:00
media-libs/mbelib and net-wireless/dsd: cleanup, snapshot
This commit is contained in:
parent
111d7b592f
commit
8046a8b312
9 changed files with 115 additions and 121 deletions
|
|
@ -1,2 +1 @@
|
||||||
DIST mbelib-1.2.5.tar.gz 38261 SHA256 59d5e821b976a57f1eae84dd57ba84fd980d068369de0bc6a75c92f0b286c504 SHA512 09a28a8500104803e0aa2d541b0985b2b769ae00e09838d5803727c3c8a88097852b12afeaa6fce35ef60b51dd3dc5f149ea442a5418cebd2226728564a22e14 WHIRLPOOL 71f1d3af598dec577610955050d6cb3395a03b6e39e2f0c37897472c2850dbee42a0f19aad3ba88dc109b84f928080052ae615a2d45b549e0896deaa590b880e
|
DIST mbelib-1.3.0-r1.tar.gz 400754 BLAKE2B 9cd1d15c592d5f8523dc5904b9060967089b119e2c9a9ff5bfce61aeb7cfbdd73a305c9b4bde714cb9cecd8e6b585652e26c1e7f01250484f5d6e0f598093f00 SHA512 5de9408fa37298a8a6d24021fba0d050e9164388a29ef24358340ac7d89f4b3068d5001a534a41ebbeec842e2c8442084cc364f896c70ade2c8b467c483f4c0f
|
||||||
DIST mbelib-1.3.0.tar.gz 398902 SHA256 5a2d5ca37cef3b6deddd5ce8c73918f27936c50eb0e63b27e4b4fc493310518d SHA512 1148b2c2e6e26f92e2d9643a79dc7ed3616e5903268b0a970d97abc9aff9a19241f037f82814109a247251796c652287c557e04dd1da2d827fd068534ac20a99 WHIRLPOOL 0003fd51c81e5ad107e77e63032c57fdf4bcd2a2e6c383f06cfc9a7514c8cf7785dbdfccc6f9781cfec3e0b879dcf9a17bb28c2fb9ea68b4dbb29301d4ad2aba
|
|
||||||
|
|
|
||||||
|
|
@ -1,31 +0,0 @@
|
||||||
# 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
|
|
||||||
}
|
|
||||||
38
media-libs/mbelib/mbelib-1.3.0-r1.ebuild
Normal file
38
media-libs/mbelib/mbelib-1.3.0-r1.ebuild
Normal file
|
|
@ -0,0 +1,38 @@
|
||||||
|
# Copyright 1999-2020 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: $
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
inherit cmake-utils multilib
|
||||||
|
|
||||||
|
HOMEPAGE="https://github.com/szechyjs/mbelib"
|
||||||
|
DESCRIPTION="P25 Phase 1 and ProVoice vocoder"
|
||||||
|
LICENSE="BSD"
|
||||||
|
SLOT=0
|
||||||
|
IUSE="test"
|
||||||
|
|
||||||
|
if [[ ${PV} == "9999" ]] ; then
|
||||||
|
EGIT_REPO_URI="https://github.com/szechyjs/mbelib.git"
|
||||||
|
KEYWORDS=""
|
||||||
|
inherit git-r3
|
||||||
|
else
|
||||||
|
COMMIT="9a04ed5c78176a9965f3d43f7aa1b1f5330e771f"
|
||||||
|
SRC_URI="https://github.com/szechyjs/mbelib/archive/9a04ed5c78176a9965f3d43f7aa1b1f5330e771f.tar.gz -> ${P}-r1.tar.gz"
|
||||||
|
S="${WORKDIR}/${PN}-${COMMIT}"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
fi
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
sed -i -e '/TARGET_LINK_LIBRARIES(mbe-static m)/d' \
|
||||||
|
-e '/ADD_LIBRARY(mbe-static STATIC ${SRCS})/d' \
|
||||||
|
-e 's#mbe-static ##g' CMakeLists.txt
|
||||||
|
cmake-utils_src_prepare
|
||||||
|
}
|
||||||
|
src_configure() {
|
||||||
|
mycmakeargs=(
|
||||||
|
CMAKE_INSTALL_LIBDIR="/usr/$(get_libdir)"
|
||||||
|
-DDISABLE_TEST="$(usex test OFF ON)"
|
||||||
|
)
|
||||||
|
cmake-utils_src_configure
|
||||||
|
}
|
||||||
|
|
@ -1,31 +0,0 @@
|
||||||
# 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
|
|
||||||
}
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
# Copyright 1999-2014 Gentoo Foundation
|
# Copyright 1999-2020 Gentoo Foundation
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
# $Header: $
|
# $Header: $
|
||||||
|
|
||||||
EAPI=5
|
EAPI=7
|
||||||
|
|
||||||
inherit cmake-utils multilib
|
inherit cmake-utils multilib
|
||||||
|
|
||||||
|
|
@ -10,22 +10,29 @@ HOMEPAGE="https://github.com/szechyjs/mbelib"
|
||||||
DESCRIPTION="P25 Phase 1 and ProVoice vocoder"
|
DESCRIPTION="P25 Phase 1 and ProVoice vocoder"
|
||||||
LICENSE="BSD"
|
LICENSE="BSD"
|
||||||
SLOT=0
|
SLOT=0
|
||||||
IUSE=static-libs
|
IUSE="test"
|
||||||
|
|
||||||
if [[ ${PV} == "9999" ]] ; then
|
if [[ ${PV} == "9999" ]] ; then
|
||||||
EGIT_REPO_URI="https://github.com/szechyjs/mbelib.git"
|
EGIT_REPO_URI="https://github.com/szechyjs/mbelib.git"
|
||||||
KEYWORDS=""
|
KEYWORDS=""
|
||||||
inherit git-r3
|
inherit git-r3
|
||||||
else
|
else
|
||||||
SRC_URI="https://github.com/szechyjs/mbelib/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
COMMIT="9a04ed5c78176a9965f3d43f7aa1b1f5330e771f"
|
||||||
|
SRC_URI="https://github.com/szechyjs/mbelib/archive/9a04ed5c78176a9965f3d43f7aa1b1f5330e771f.tar.gz -> ${P}-r1.tar.gz"
|
||||||
|
S="${WORKDIR}/${PN}-${COMMIT}"
|
||||||
KEYWORDS="~amd64 ~x86"
|
KEYWORDS="~amd64 ~x86"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
src_prepare() {
|
src_prepare() {
|
||||||
sed -i -e "s#X}/lib#X}/$(get_libdir)#" -e "s#N lib#N $(get_libdir)#" "${S}/CMakeLists.txt"
|
sed -i -e '/TARGET_LINK_LIBRARIES(mbe-static m)/d' \
|
||||||
|
-e '/ADD_LIBRARY(mbe-static STATIC ${SRCS})/d' \
|
||||||
|
-e 's#mbe-static ##g' CMakeLists.txt
|
||||||
|
cmake-utils_src_prepare
|
||||||
}
|
}
|
||||||
|
src_configure() {
|
||||||
src_install() {
|
mycmakeargs=(
|
||||||
cmake-utils_src_install
|
CMAKE_INSTALL_LIBDIR="/usr/$(get_libdir)"
|
||||||
use static-libs || rm "${ED}"/usr/$(get_libdir)/libmbe.a
|
-DDISABLE_TEST="$(usex test OFF ON)"
|
||||||
|
)
|
||||||
|
cmake-utils_src_configure
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
DIST dsd-1.6.0.tar.gz 40959 BLAKE2B 642e1f55ab562c79e8e448269d33c947ba65c27a97af3e41956597abaf5bcbd45405add5a08b6ef346ca6fd0e2f7aa4a1f58d663b58028bed9053a68bb562949 SHA512 a7a7ddef091efe2bc6a20bb0c21d1ba176d7e9a54dbfca407e8b768ba31e4be533f28842a1985ceb2d7379dc4ff9ad437ac677e3044350b0ad47769c8237cca1
|
DIST dsd-1.7.0_pre20180701.tar.gz 437985 BLAKE2B 3acc90d0dac0913dc86920ae732280563da84fa7f1996fefa2b8240dd03dfcbbd89f8133de5fb9b609d76c9fadab8612a95852748dcb35cf7c8e5336822b3c1f SHA512 6cda59541f2ee2ef67bba561297c42e96e765122886e580808c44b7ffa04049ed622e22e8d9d652b6735b7ca15fe149712e4171bf00d21052d2528addb5a58ca
|
||||||
|
|
|
||||||
|
|
@ -1,42 +0,0 @@
|
||||||
# Copyright 1999-2014 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: $
|
|
||||||
|
|
||||||
EAPI=5
|
|
||||||
|
|
||||||
DESCRIPTION="Digital Speech Decoder"
|
|
||||||
HOMEPAGE="https://github.com/szechyjs/dsd"
|
|
||||||
LICENSE="bsd"
|
|
||||||
SLOT="0"
|
|
||||||
|
|
||||||
if [[ ${PV} == "9999" ]] ; then
|
|
||||||
EGIT_REPO_URI="https://github.com/szechyjs/dsd.git"
|
|
||||||
KEYWORDS=""
|
|
||||||
inherit git-r3
|
|
||||||
DEPEND="=media-libs/mbelib-9999"
|
|
||||||
|
|
||||||
else
|
|
||||||
SRC_URI="https://github.com/szechyjs/dsd/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
KEYWORDS="~amd64 ~x86"
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
DEPEND="${DEPEND}
|
|
||||||
>=sci-libs/itpp-4.3.1
|
|
||||||
media-libs/libsndfile
|
|
||||||
sci-libs/fftw:3.0
|
|
||||||
"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
sed -i \
|
|
||||||
-e "s#DEST_BASE=/usr/local#DEST_BASE=${ED}/usr/#" \
|
|
||||||
-e "s#CFLAGS =#CFLAGS ?=#" \
|
|
||||||
-e 's#$(CFLAGS)#$(CFLAGS) $(LDFLAGS)#' \
|
|
||||||
-e '#CFLAGS ?=#a LDFLAGS?=#' \
|
|
||||||
Makefile
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
dodir /usr/bin
|
|
||||||
default
|
|
||||||
}
|
|
||||||
42
net-wireless/dsd/dsd-1.7.0_pre20180701.ebuild
Normal file
42
net-wireless/dsd/dsd-1.7.0_pre20180701.ebuild
Normal file
|
|
@ -0,0 +1,42 @@
|
||||||
|
# Copyright 1999-2020 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: $
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
inherit cmake-utils
|
||||||
|
|
||||||
|
DESCRIPTION="Digital Speech Decoder"
|
||||||
|
HOMEPAGE="https://github.com/szechyjs/dsd"
|
||||||
|
LICENSE="bsd"
|
||||||
|
SLOT="0"
|
||||||
|
IUSE="test"
|
||||||
|
|
||||||
|
if [[ ${PV} == "9999" ]] ; then
|
||||||
|
EGIT_REPO_URI="https://github.com/szechyjs/dsd.git"
|
||||||
|
KEYWORDS=""
|
||||||
|
inherit git-r3
|
||||||
|
|
||||||
|
else
|
||||||
|
COMMIT="f175834e45a1a190171dff4597165b27d6b0157b"
|
||||||
|
SRC_URI="https://github.com/szechyjs/dsd/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||||
|
S="${WORKDIR}/${PN}-${COMMIT}"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
DEPEND="
|
||||||
|
>=media-libs/mbelib-1.3.0-r1
|
||||||
|
media-libs/portaudio
|
||||||
|
>=sci-libs/itpp-4.3.1
|
||||||
|
media-libs/libsndfile
|
||||||
|
sci-libs/fftw:3.0
|
||||||
|
"
|
||||||
|
RDEPEND="${DEPEND}"
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
mycmakeargs=(
|
||||||
|
-DDISABLE_TEST="$(usex test OFF ON)"
|
||||||
|
)
|
||||||
|
cmake-utils_src_configure
|
||||||
|
}
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
# Copyright 1999-2014 Gentoo Foundation
|
# Copyright 1999-2020 Gentoo Foundation
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
# $Header: $
|
# $Header: $
|
||||||
|
|
||||||
EAPI=5
|
EAPI=7
|
||||||
|
|
||||||
inherit cmake-utils
|
inherit cmake-utils
|
||||||
|
|
||||||
|
|
@ -10,21 +10,33 @@ DESCRIPTION="Digital Speech Decoder"
|
||||||
HOMEPAGE="https://github.com/szechyjs/dsd"
|
HOMEPAGE="https://github.com/szechyjs/dsd"
|
||||||
LICENSE="bsd"
|
LICENSE="bsd"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
|
IUSE="test"
|
||||||
|
|
||||||
if [[ ${PV} == "9999" ]] ; then
|
if [[ ${PV} == "9999" ]] ; then
|
||||||
EGIT_REPO_URI="https://github.com/szechyjs/dsd.git"
|
EGIT_REPO_URI="https://github.com/szechyjs/dsd.git"
|
||||||
KEYWORDS=""
|
KEYWORDS=""
|
||||||
inherit git-r3
|
inherit git-r3
|
||||||
DEPEND="=media-libs/mbelib-9999"
|
|
||||||
|
|
||||||
else
|
else
|
||||||
SRC_URI="https://github.com/szechyjs/dsd/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
COMMIT="f175834e45a1a190171dff4597165b27d6b0157b"
|
||||||
|
SRC_URI="https://github.com/szechyjs/dsd/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||||
|
S="${WORKDIR}/${PN}-${COMMIT}"
|
||||||
KEYWORDS="~amd64 ~x86"
|
KEYWORDS="~amd64 ~x86"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
DEPEND="${DEPEND}
|
DEPEND="
|
||||||
|
>=media-libs/mbelib-1.3.0-r1
|
||||||
|
media-libs/portaudio
|
||||||
>=sci-libs/itpp-4.3.1
|
>=sci-libs/itpp-4.3.1
|
||||||
media-libs/libsndfile
|
media-libs/libsndfile
|
||||||
sci-libs/fftw:3.0
|
sci-libs/fftw:3.0
|
||||||
"
|
"
|
||||||
|
RDEPEND="${DEPEND}"
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
mycmakeargs=(
|
||||||
|
-DDISABLE_TEST="$(usex test OFF ON)"
|
||||||
|
)
|
||||||
|
cmake-utils_src_configure
|
||||||
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue