zita-alsa-pcmi: 0.2.0 -> 0.3.2
This commit is contained in:
parent
d6860f40b4
commit
4fd0f592af
@ -2,16 +2,16 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "zita-alsa-pcmi-${version}";
|
name = "zita-alsa-pcmi-${version}";
|
||||||
version = "0.2.0";
|
version = "0.3.2";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://kokkinizita.linuxaudio.org/linuxaudio/downloads/${name}.tar.bz2";
|
url = "http://kokkinizita.linuxaudio.org/linuxaudio/downloads/${name}.tar.bz2";
|
||||||
sha256 = "1rgv332g82rrrlm4vdam6p2pyrisxbi7b3izfaa0pcjglafsy7j9";
|
sha256 = "12d7vdg74yh21w69qi0wg57iz4876j94qbiq09bvscih6xz9y78s";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ alsaLib ];
|
buildInputs = [ alsaLib ];
|
||||||
|
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
cd libs
|
cd source
|
||||||
make PREFIX="$out"
|
make PREFIX="$out"
|
||||||
|
|
||||||
# create lib link for building apps
|
# create lib link for building apps
|
||||||
@ -19,8 +19,8 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
# apps
|
# apps
|
||||||
cd ../apps
|
cd ../apps
|
||||||
CXXFLAGS+=" -I../libs" \
|
CXXFLAGS+=" -I../source" \
|
||||||
LDFLAGS+=" -L../libs" \
|
LDFLAGS+=" -L../source" \
|
||||||
make PREFIX="$out"
|
make PREFIX="$out"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
@ -30,9 +30,9 @@ stdenv.mkDerivation rec {
|
|||||||
mkdir "$out/include"
|
mkdir "$out/include"
|
||||||
mkdir "$out/bin"
|
mkdir "$out/bin"
|
||||||
|
|
||||||
cd ../libs
|
cd ../source
|
||||||
|
|
||||||
# libs
|
# source
|
||||||
install -Dm755 libzita-alsa-pcmi.so.$version \
|
install -Dm755 libzita-alsa-pcmi.so.$version \
|
||||||
"$out/lib/libzita-alsa-pcmi.so.$version"
|
"$out/lib/libzita-alsa-pcmi.so.$version"
|
||||||
|
|
||||||
@ -50,7 +50,7 @@ stdenv.mkDerivation rec {
|
|||||||
install -Dm755 ../apps/alsa_delay \
|
install -Dm755 ../apps/alsa_delay \
|
||||||
"$out/bin/alsa_delay"
|
"$out/bin/alsa_delay"
|
||||||
install -Dm755 ../apps/alsa_loopback \
|
install -Dm755 ../apps/alsa_loopback \
|
||||||
"$out/bin/alsa_delay"
|
"$out/bin/alsa_loopback"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
Loading…
Reference in New Issue
Block a user