diff options
Diffstat (limited to 'scripts/portable_postbuild.sh')
-rwxr-xr-x | scripts/portable_postbuild.sh | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/scripts/portable_postbuild.sh b/scripts/portable_postbuild.sh index f572240f..45db6740 100755 --- a/scripts/portable_postbuild.sh +++ b/scripts/portable_postbuild.sh @@ -1,10 +1,12 @@ #!/bin/sh VERSION=`cat PORTABLE_VERSION | perl -ne 'chomp and print'` OSTYPE=`uname -s` -OUTDIR=portable/deadbeef-$VERSION +ARCH=`uname -m | perl -ne 'chomp and print'` +OUTDIR=portable/$ARCH/deadbeef-$VERSION PLUGDIR=$OUTDIR/plugins DOCDIR=$OUTDIR/doc PIXMAPDIR=$OUTDIR/pixmaps +echo OUTDIR=$OUTDIR rm -rf $OUTDIR @@ -18,7 +20,7 @@ for i in nullout cdda flac alsa mpgmad hotkeys vtx \ ffap ffmpeg wavpack vorbis oss vfs_curl \ lastfm sid adplug sndfile artwork \ supereq gme dumb notify musepack wildmidi \ - tta dca aac mms shn ao shellexec vfs_zip \ + tta dca aac mms shn ao shellexec shellexecui vfs_zip \ m3u converter pulse dsp_libsrc mono2stereo ; do if [ -f ./plugins/$i/.libs/$i.so ]; then cp ./plugins/$i/.libs/$i.so $PLUGDIR/ @@ -53,7 +55,7 @@ fi #pixmaps -for i in pause_16.png play_16.png noartwork.jpg buffering_16.png; do +for i in pause_16.png play_16.png noartwork.png buffering_16.png; do cp ./pixmaps/$i $PIXMAPDIR/ done @@ -77,6 +79,7 @@ for i in po/*.gmo ; do done cp translation/help.pt_BR.txt $OUTDIR/doc/ cp translation/help.ru.txt $OUTDIR/doc/ +touch $OUTDIR/.ddb_portable # strip if [ $OSTYPE != 'Darwin' ];then |