mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-28 17:50:58 +02:00
dsdcc: add tool
This commit is contained in:
parent
8046a8b312
commit
b688d9d229
3 changed files with 83 additions and 0 deletions
1
net-wireless/dsdcc/Manifest
Normal file
1
net-wireless/dsdcc/Manifest
Normal file
|
|
@ -0,0 +1 @@
|
|||
DIST dsdcc-1.8.6_p20200216.tar.gz 12746266 BLAKE2B 9cd5c9344ecf9e3ca1c1a92366cb023c197c130999b57d08803aaa03cd29f005330348308fd74422e3bab5fe4581b0212318733d28e65d75715f96228a509136 SHA512 1f9e2dff483a4d9efe77c2088483b5012ca36b55bb0b8c622f5d81fd3eee36891e31080061b664b0e734912cafc3273ec7a4cadd1a3f176a7cbf1e23f900864e
|
||||
41
net-wireless/dsdcc/dsdcc-1.8.6_p20200216.ebuild
Normal file
41
net-wireless/dsdcc/dsdcc-1.8.6_p20200216.ebuild
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
# Copyright 2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit cmake-utils
|
||||
|
||||
DESCRIPTION="Digital Speech Decoder rewritten as a C++ library"
|
||||
HOMEPAGE=""
|
||||
SRC_URI=""
|
||||
|
||||
if [ "${PV}" = "9999" ]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/f4exb/dsdcc.git"
|
||||
else
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
COMMIT="41abd5fa94e79fa60cb82f3365a7016ae4e84cd7"
|
||||
SRC_URI="https://github.com/f4exb/dsdcc/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/${PN}-${COMMIT}"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
IUSE="mbelib"
|
||||
|
||||
DEPEND="mbelib? ( media-libs/mbelib )"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND=""
|
||||
|
||||
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-utils_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
mycmakeargs=(
|
||||
-DUSE_MBELIB="$(usex mbelib)"
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
41
net-wireless/dsdcc/dsdcc-9999.ebuild
Normal file
41
net-wireless/dsdcc/dsdcc-9999.ebuild
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
# Copyright 2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit cmake-utils
|
||||
|
||||
DESCRIPTION="Digital Speech Decoder rewritten as a C++ library"
|
||||
HOMEPAGE=""
|
||||
SRC_URI=""
|
||||
|
||||
if [ "${PV}" = "9999" ]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/f4exb/dsdcc.git"
|
||||
else
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
COMMIT="41abd5fa94e79fa60cb82f3365a7016ae4e84cd7"
|
||||
SRC_URI="https://github.com/f4exb/dsdcc/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/${PN}-${COMMIT}"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
IUSE="mbelib"
|
||||
|
||||
DEPEND="mbelib? ( media-libs/mbelib )"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND=""
|
||||
|
||||
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-utils_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
mycmakeargs=(
|
||||
-DUSE_MBELIB="$(usex mbelib)"
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
Loading…
Reference in a new issue