The following script must be run in the same directory as was used for
the CPAN build script above. It depends on having a ./slimserver-vendor
directory with a successfully built
arm-linux-gnueabihf-thread-multi-64int shared object file set. 

Code:
--------------------
    
  #!/bin/bash
  thisdir=`pwd`
  if [ ! -f ./logitechmediaserver-7.8.0-noCPAN.tgz ]
  then
  wget 
http://downloads.slimdevices.com/LogitechMediaServer_v7.8.0/logitechmediaserver-7.8.0-noCPAN.tgz
  fi
  if [ ! -d ./logitechmediaserver-7.8.0-noCPAN ]
  then
  tar xf logitechmediaserver-7.8.0-noCPAN.tgz 
  fi
  cd logitechmediaserver-7.8.0-noCPAN/CPAN/
  cp -r 
$thisdir/slimserver-vendor/CPAN/build/5.14/lib/perl5/arm-linux-gnueabihf-thread-multi-64int/*
 .
  cd ./arch
  cp -r $thisdir/slimserver-vendor/CPAN/build/arch/* .
  cd ..
  rm -rf ./auto
  cd .. 
  patch -p1 < $thisdir/0001-lms-server-DSD.patch
  patch -p1 < $thisdir/0002-lms-server-aiff-non-transcode.patch
  patch modules.conf < $thisdir/modules.patch
  cd $thisdir
  git clone https://github.com/SqueezeOnArch/dsdplay.git
  cd dsdplay/
  cd src/
  make
  cd build/
  cp -v dsdplay $thisdir/logitechmediaserver-7.8.0-noCPAN/Bin 
  cp -v $thisdir/dsdplay/src/doc/custom-convert.conf 
$thisdir/logitechmediaserver-7.8.0-noCPAN/
  
--------------------

The attached patches are intended to enable DSD support, and allow LMS
to use the Audio-Scan-0.95 version that results from the build procedure
I outlined in the previous post.


+-------------------------------------------------------------------+
|Filename: 0002-lms-server-aiff-non-transcode.patch                 |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=16383|
+-------------------------------------------------------------------+


----------------------
"Dreamer, easy in the chair that really fits you..."
------------------------------------------------------------------------
dsdreamer's Profile: http://forums.slimdevices.com/member.php?userid=12588
View this thread: http://forums.slimdevices.com/showthread.php?t=102075

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to