mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-05 11:00:48 +02:00
dsd-fme: thanks Zach
This commit is contained in:
parent
5567ba6d2f
commit
3e6af905ee
3 changed files with 47 additions and 2 deletions
1
net-wireless/dsd-fme/Manifest
Normal file
1
net-wireless/dsd-fme/Manifest
Normal file
|
|
@ -0,0 +1 @@
|
|||
DIST dsd-1.7.0_pre20211213.tar.gz 495432 BLAKE2B 6a2abbfd5dc41031cdfc2080fe684ac0c27d8f6fdfb8d48264624e88a840f172e4acf728150924e00362005fd55471b1cd241623ceed13826f7ce946548243bf SHA512 af35aa724c994c455d0d14f9da758a6ddab50312a5ea5dab6f5d986d8448e4da8b7f3f776f89efaf66dffcc4402a39b01884806ed4176638854e89627e7cf664
|
||||
45
net-wireless/dsd-fme/dsd-fme-9999.ebuild
Normal file
45
net-wireless/dsd-fme/dsd-fme-9999.ebuild
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="Digital Speech Decoder"
|
||||
HOMEPAGE="https://github.com/lwvmobile/dsd-fme"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE="test"
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
EGIT_REPO_URI="https://github.com/lwvmobile/dsd-fme.git"
|
||||
EGIT_BRANCH="dev"
|
||||
inherit git-r3
|
||||
|
||||
else
|
||||
SRC_URI="https://github.com/lwvmobile/dsd-fme/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
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_prepare() {
|
||||
#sed '/find_program(HELP2MAN_FOUND/d' -i CMakeLists.txt
|
||||
cmake_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
mycmakeargs=(
|
||||
-DDISABLE_TEST="$(usex test OFF ON)"
|
||||
)
|
||||
cmake_src_configure
|
||||
# the cmake looks right to me, I have no idea why this is needed
|
||||
sed -i 's/-lncursesw/-lncursesw -ltinfow/' "${BUILD_DIR}/build.ninja" || die
|
||||
}
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
EAPI=8
|
||||
|
||||
#CMAKE_MAKEFILE_GENERATOR=emake
|
||||
inherit cmake
|
||||
|
|
@ -14,7 +14,6 @@ IUSE="test"
|
|||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
EGIT_REPO_URI="https://github.com/szechyjs/dsd.git"
|
||||
KEYWORDS=""
|
||||
inherit git-r3
|
||||
|
||||
else
|
||||
|
|
|
|||
Loading…
Reference in a new issue