mirror of
https://github.com/owntone/owntone-server.git
synced 2025-01-11 15:03:24 -05:00
Remove useless scripts
This commit is contained in:
parent
de33334faf
commit
22dac4bb18
@ -1,8 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
make clean
|
|
||||||
svn update
|
|
||||||
./reconf.sh
|
|
||||||
VERSION=`svnversion .`
|
|
||||||
cat debian/changelog.templ | sed s/@ver@/svn-$VERSION/g > debian/changelog
|
|
||||||
debian/rules binary
|
|
@ -1,24 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
SVNVERSION=`svnversion .`
|
|
||||||
|
|
||||||
echo Current SVN Version $SVNVERSION
|
|
||||||
|
|
||||||
if ( echo $SVNVERSION | grep "M" > /dev/null 2>&1 ); then
|
|
||||||
echo SVN repo not up to date
|
|
||||||
exit
|
|
||||||
fi
|
|
||||||
|
|
||||||
if ( echo $SVNVERSION | grep ":" > /dev/null 2>&1 ); then
|
|
||||||
echo Mixed SVN versions
|
|
||||||
exit
|
|
||||||
fi
|
|
||||||
|
|
||||||
mv configure.in configure.in.mkdist
|
|
||||||
cat configure.in.mkdist | sed -e s/AM_INIT_AUTOMAKE.*$/AM_INIT_AUTOMAKE\(mt-daapd,svn-${SVNVERSION}\)/ > configure.in
|
|
||||||
./reconf.sh
|
|
||||||
./configure --with-id3tag=/sw --enable-sqlite --enable-sqlite3
|
|
||||||
make dist
|
|
||||||
mv configure.in.mkdist configure.in
|
|
||||||
|
|
||||||
|
|
@ -1,98 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
check_error()
|
|
||||||
{
|
|
||||||
if [ "${1}" -ne "0" ]; then
|
|
||||||
echo "ERROR: ${1} : ${2}"
|
|
||||||
exit ${1}
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
SVNVERSION=`svnversion .`
|
|
||||||
|
|
||||||
echo Current SVN Version $SVNVERSION
|
|
||||||
|
|
||||||
if ( echo $SVNVERSION | grep "M" > /dev/null 2>&1 ); then
|
|
||||||
echo SVN repo not up to date
|
|
||||||
exit
|
|
||||||
fi
|
|
||||||
|
|
||||||
if ( echo $SVNVERSION | grep ":" > /dev/null 2>&1 ); then
|
|
||||||
echo Mixed SVN versions
|
|
||||||
exit
|
|
||||||
fi
|
|
||||||
|
|
||||||
#if [ ! -f mt-daapd-svn-${SVNVERSION}.tar.gz ]; then
|
|
||||||
# echo Build svn version ${SVNVERSION} first....
|
|
||||||
# exit
|
|
||||||
#fi
|
|
||||||
|
|
||||||
./mkdist.sh
|
|
||||||
|
|
||||||
rm -rf .build
|
|
||||||
mkdir -p .build/ppc
|
|
||||||
mkdir -p .build/intel
|
|
||||||
|
|
||||||
tar -xvzf mt-daapd-svn-${SVNVERSION}.tar.gz
|
|
||||||
pushd mt-daapd-svn-${SVNVERSION}
|
|
||||||
./configure --enable-static --disable-iconv --with-static-libs=/sw/lib --enable-sqlite --with-id3tag=/sw
|
|
||||||
check_error $? "Configure error"
|
|
||||||
|
|
||||||
make
|
|
||||||
check_error $? "Compile error"
|
|
||||||
popd
|
|
||||||
|
|
||||||
BUILDDIR=mt-daapd-svn-${SVNVERSION}/src
|
|
||||||
cp $BUILDDIR/mt-daapd .build/ppc
|
|
||||||
cp $BUILDDIR/wavstreamer .build/ppc
|
|
||||||
cp $BUILDDIR/plugins/.libs/*so .build/ppc
|
|
||||||
|
|
||||||
# now make the intel version
|
|
||||||
pushd mt-daapd-svn-${SVNVERSION}
|
|
||||||
make clean
|
|
||||||
CFLAGS="-O -g -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386" LDFLAGS="-arch i386" ac_cv_func_setpgrp_void=no ./configure --disable-dependency-tracking --enable-static --disable-iconv --with-static-libs=/sw-x86/lib --enable-sqlite --with-id3tag=/sw-x86 --host=i686-apple-darwin8.8.0
|
|
||||||
|
|
||||||
check_error $? "Configure error"
|
|
||||||
|
|
||||||
make
|
|
||||||
check_error $? "Compile error"
|
|
||||||
popd
|
|
||||||
|
|
||||||
BUILDDIR=mt-daapd-svn-${SVNVERSION}/src
|
|
||||||
cp $BUILDDIR/mt-daapd .build/intel
|
|
||||||
cp $BUILDDIR/wavstreamer .build/intel
|
|
||||||
cp $BUILDDIR/plugins/.libs/*so .build/intel
|
|
||||||
rm -rf mt-daapd-svn-${SVNVERSION}
|
|
||||||
|
|
||||||
for f in .build/intel/*; do
|
|
||||||
f=`basename $f`
|
|
||||||
lipo -create .build/intel/$f .build/ppc/$f -output .build/$f
|
|
||||||
done
|
|
||||||
|
|
||||||
|
|
||||||
ALAC_VERSION=0.1.3
|
|
||||||
|
|
||||||
if [ ! -x alac_decoder/alac ]; then
|
|
||||||
wget http://craz.net/programs/itunes/files/alac_decoder-${ALAC_VERSION}.tar.gz
|
|
||||||
check_error $? "could not download alac decoder"
|
|
||||||
|
|
||||||
tar -xvzf alac_decoder-${ALAC_VERSION}.tar.gz
|
|
||||||
check_error $? "error decompressing alac decoder"
|
|
||||||
|
|
||||||
pushd alac_decoder
|
|
||||||
patch -p0 < ../alac_decoder.patch
|
|
||||||
|
|
||||||
CFLAGS="-O -g -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc" LDFLAGS="-arch i386 -arch ppc" make
|
|
||||||
|
|
||||||
check_error $? "Could not compile alac decoder"
|
|
||||||
popd
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ ! -x alac_decoder/alac ]; then
|
|
||||||
echo "no alac decoder?"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
cp alac_decoder/alac .build
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user