diff options
author | waker <wakeroid@gmail.com> | 2011-04-30 21:26:32 +0200 |
---|---|---|
committer | waker <wakeroid@gmail.com> | 2011-04-30 21:26:32 +0200 |
commit | c27d5ba97ff1f15a178751759a54c511f5e13652 (patch) | |
tree | 92f24466bbd2588b6c10348ea2a695c6d3c2d9b9 /scripts | |
parent | 012b016c23fee87d0b78bb42d6b784fddb496a9a (diff) |
0.5.0-beta2 build
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/portable_build.sh | 15 | ||||
-rwxr-xr-x | scripts/portable_package_static.sh | 10 | ||||
-rwxr-xr-x | scripts/portable_postbuild.sh | 2 |
3 files changed, 20 insertions, 7 deletions
diff --git a/scripts/portable_build.sh b/scripts/portable_build.sh index 25ba633c..89fc5a8d 100755 --- a/scripts/portable_build.sh +++ b/scripts/portable_build.sh @@ -3,15 +3,22 @@ VERSION=`cat PORTABLE_VERSION | perl -ne 'chomp and print'` ORIGIN=`pwd | perl -ne 'chomp and print'` export APBUILD_STATIC_LIBGCC=1 -CC=$ORIGIN/tools/apbuild/apgcc CXX=$ORIGIN/tools/apbuild/apgcc ./configure --enable-staticlink --enable-portable --disable-nls --disable-pulse --disable-artwork-imlib2 +#./autogen.sh +CC=$ORIGIN/tools/apbuild/apgcc +CXX=$ORIGIN/tools/apbuild/apgcc + +./configure --enable-staticlink --enable-portable --disable-nls --disable-artwork-imlib2 sed -i 's/-lstdc++ -lm -lgcc_s -lc -lgcc_s/-lm -lc/g' libtool -make clean -make -j9 +#make clean +#make -j9 + +ZLIB_LIBS=$ORIGIN/lib-x86-32/libz.a +CFLAGS=-I $ORIGIN/lib-x86-32/include for i in dumb shn ao ; do cd $ORIGIN/plugins/$i make clean - make -j8 + make -j8 ZLIB_LIBS=$ZLIB_LIBS STATIC_CFLAGS=$CFLAGS CC=$CC CXX=$CXX done cd $ORIGIN diff --git a/scripts/portable_package_static.sh b/scripts/portable_package_static.sh index bbe583ca..b26544be 100755 --- a/scripts/portable_package_static.sh +++ b/scripts/portable_package_static.sh @@ -10,10 +10,10 @@ PLUGDIR=$SRCDIR/plugins DOCDIR=$SRCDIR/doc PIXMAPDIR=$SRCDIR/pixmaps -rm portable_out/build/deadbeef-$VERSION-static.tar.bz2 +rm portable_out/build/deadbeef-$VERSION-static-i686.tar.bz2 cd portable -tar jcvf ../portable_out/build/deadbeef-$VERSION-static.tar.bz2\ +tar jcvf ../portable_out/build/deadbeef-$VERSION-static-i686.tar.bz2\ $SRCDIR/deadbeef\ $SRCDIR/deadbeef.png\ $DOCDIR\ @@ -49,5 +49,11 @@ tar jcvf ../portable_out/build/deadbeef-$VERSION-static.tar.bz2\ $PLUGDIR/vtx.so\ $PLUGDIR/wavpack.so\ $PLUGDIR/wildmidi.so\ + $PLUGDIR/ao.so\ + $PLUGDIR/shn.so\ + $PLUGDIR/dumb.so\ + $PLUGDIR/converter.so\ + $PLUGDIR/converter_gtkui.so\ + $PLUGDIR/pulse.so\ $PIXMAPDIR cd .. diff --git a/scripts/portable_postbuild.sh b/scripts/portable_postbuild.sh index 4c68ad9e..e37c0dab 100755 --- a/scripts/portable_postbuild.sh +++ b/scripts/portable_postbuild.sh @@ -19,7 +19,7 @@ for i in nullout cdda flac alsa mpgmad hotkeys vtx \ lastfm sid adplug sndfile artwork \ supereq gme dumb notify musepack wildmidi \ tta dca aac mms shn ao shellexec vfs_zip \ - m3u converter ; do + m3u converter pulse ; do if [ -f ./plugins/$i/.libs/$i.so ]; then cp ./plugins/$i/.libs/$i.so $PLUGDIR/ elif [ -f ./plugins/$i/$i.so ]; then |