dsd: initial import thanks to help from ephemer0l

This commit is contained in:
Zero_Chaos 2014-06-01 03:25:02 +00:00
parent 3fe3ddb9c8
commit 38ac6a5f0a
3 changed files with 75 additions and 0 deletions

View file

@ -0,0 +1,3 @@
DIST dsd-1.6.0.tar.gz 40959 SHA256 44fa3ae108d2c11b4b67388d37fc6a63e8b44fc72fdd5db7b57d9eb045a9df58 SHA512 a7a7ddef091efe2bc6a20bb0c21d1ba176d7e9a54dbfca407e8b768ba31e4be533f28842a1985ceb2d7379dc4ff9ad437ac677e3044350b0ad47769c8237cca1 WHIRLPOOL b663ecfef4896838f1027db29056528c6444be392401d9b27306f8233f9b218547d6681a702c95a210ba2828ba2b5ee87df2ec4ce233fa4697410046752194ba
EBUILD dsd-1.6.0.ebuild 826 SHA256 1e3cc0e3219365cde921a7329546a59132ddddbace39a30389eb6183e2814d09 SHA512 39f3ac5486c3a07d4b46bc9be32e8d57cc20eb0a03b4a6de1b496589a097e892f1de93a6219f07f2d326f2590cf882b56495bcf082e8c54c7808c9d986fd4979 WHIRLPOOL bfe470efbacd6c9c44b865d564bad01646dadab37b75fa1f64eb8870af9d30ebfce55a466c7b8471eee2bba4636372f135fc50c9e4714124c969a6da824eb1ea
EBUILD dsd-9999.ebuild 602 SHA256 dc1698b7146f4e9bdd9756e67bf9699c442c23fee2400e268cd3794b477a2689 SHA512 f5b8815a996e268b51163f7c0b02b7b48ad7282e9e335e95d6fcab2376fe8bcb5e0062c99a0b788e853b94cf902ad8374999cc15feb34007502c5b5c92933b9d WHIRLPOOL 6f9852106c8de220dcd67579596797b2467d9e658086d1125cf257b2809e4d380e16e80fa48d26012477b80320a954c588f94c877cd0df3c072552c40261dbfe

View file

@ -0,0 +1,42 @@
# 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
}

View file

@ -0,0 +1,30 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
inherit cmake-utils
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
"