mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-06 08:25:01 +01:00
dsdcc-1.9.5.ebuild
This commit is contained in:
parent
86a238aac6
commit
f6a0b1a50c
2 changed files with 38 additions and 0 deletions
|
|
@ -1 +1,2 @@
|
|||
DIST dsdcc-1.9.3.tar.gz 12751147 BLAKE2B 55cd93f79ed65317109dd53cf7adfd4ce190bd8518fde8cf01d96cd90a43b1a12a56990efb0acf4307314e0724344417477a76c1d329f6e852563637d297a825 SHA512 c62baa022526053d99bcc64ed4a5dcdaa5c82fb82357639d4eb4c1d99cf704050faa55a6de155eed44b76c0f0c37fd65c8a038ee03dd074251f06aa0c5620c01
|
||||
DIST dsdcc-1.9.5.tar.gz 12752151 BLAKE2B 3455105f303ceec3878d944d4e8042ae7b95bb667b9b4192055629e29bb00b7dfdac06e38a2dc8b121e1eaee9d88ea587c5c3be71bf11b143d5ad528846ed9a1 SHA512 c86b8eda93b54d5f2f47791eb98822891643ed45310f087b48ebeaee674ad34479dcb0ddf07e0c0dd9c203c237e4d8a039b26995431f54e9f16db200ad50c7db
|
||||
|
|
|
|||
37
net-wireless/dsdcc/dsdcc-1.9.5.ebuild
Normal file
37
net-wireless/dsdcc/dsdcc-1.9.5.ebuild
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
# Copyright 2022-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="Digital Speech Decoder rewritten as a C++ library"
|
||||
HOMEPAGE="https://github.com/f4exb/dsdcc"
|
||||
|
||||
if [ "${PV}" = "9999" ]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/f4exb/dsdcc.git"
|
||||
else
|
||||
KEYWORDS="amd64 ~x86"
|
||||
SRC_URI="https://github.com/f4exb/dsdcc/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
IUSE="mbelib"
|
||||
|
||||
DEPEND="mbelib? ( media-libs/mbelib )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e 's#-Wall##g' -e 's#-fmax-errors=10 -O2 -ffast-math -ftree-vectorize##g' CMakeLists.txt
|
||||
sed -i -e 's#PATCH_VERSION 5#PATCH_VERSION 6#' CMakeLists.txt
|
||||
cmake_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
mycmakeargs=(
|
||||
-DUSE_MBELIB="$(usex mbelib)"
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
Loading…
Reference in a new issue