summaryrefslogtreecommitdiff
path: root/portable_postbuild.sh
diff options
context:
space:
mode:
authorGravatar waker <wakeroid@gmail.com>2010-11-01 18:39:58 +0100
committerGravatar waker <wakeroid@gmail.com>2010-11-01 18:39:58 +0100
commite0e7250cf34b03edb61195f0e3d28aeb85922372 (patch)
tree14cdb820cbd14fabe7cf68b73f340cb03d748604 /portable_postbuild.sh
parent86c756deeb6effd9b29968a3649f8387c0b6d62a (diff)
0.4.3-portable-build1
Diffstat (limited to 'portable_postbuild.sh')
-rwxr-xr-xportable_postbuild.sh59
1 files changed, 59 insertions, 0 deletions
diff --git a/portable_postbuild.sh b/portable_postbuild.sh
new file mode 100755
index 00000000..a76a722f
--- /dev/null
+++ b/portable_postbuild.sh
@@ -0,0 +1,59 @@
+#!/bin/sh
+VERSION=`cat PORTABLE_VERSION | perl -ne 'chomp and print'`
+OUTDIR=deadbeef-$VERSION-portable
+PLUGDIR=$OUTDIR/plugins
+DOCDIR=$OUTDIR/doc
+PIXMAPDIR=$OUTDIR/pixmaps
+mkdir -p $PLUGDIR
+mkdir -p $DOCDIR
+mkdir -p $PIXMAPDIR
+
+cp ./deadbeef ./deadbeef-$VERSION-portable/
+cp ./plugins/nullout/.libs/nullout.so $PLUGDIR/
+cp ./plugins/cdda/.libs/cdda.so $PLUGDIR/
+cp ./plugins/flac/.libs/flac.so $PLUGDIR/
+cp ./plugins/alsa/.libs/alsa.so $PLUGDIR/
+cp ./plugins/mpgmad/.libs/mpgmad.so $PLUGDIR/
+cp ./plugins/hotkeys/.libs/hotkeys.so $PLUGDIR/
+cp ./plugins/vtx/.libs/vtx.so $PLUGDIR/
+cp ./plugins/ffap/.libs/ffap.so $PLUGDIR/
+cp ./plugins/wavpack/.libs/wavpack.so $PLUGDIR/
+cp ./plugins/vorbis/.libs/vorbis.so $PLUGDIR/
+cp ./plugins/oss/.libs/oss.so $PLUGDIR/
+cp ./plugins/vfs_curl/.libs/vfs_curl.so $PLUGDIR/
+cp ./plugins/lastfm/.libs/lastfm.so $PLUGDIR/
+cp ./plugins/sid/.libs/sid.so $PLUGDIR/
+cp ./plugins/adplug/.libs/adplug.so $PLUGDIR/
+cp ./plugins/gtkui/.libs/gtkui.so $PLUGDIR/
+cp ./plugins/sndfile/.libs/sndfile.so $PLUGDIR/
+cp ./plugins/artwork/.libs/artwork.so $PLUGDIR/
+cp ./plugins/supereq/.libs/supereq.so $PLUGDIR/
+cp ./plugins/gme/.libs/gme.so $PLUGDIR/
+cp ./plugins/dumb/.libs/dumb.so $PLUGDIR/
+cp ./plugins/notify/.libs/notify.so $PLUGDIR/
+cp ./plugins/musepack/.libs/musepack.so $PLUGDIR/
+cp ./plugins/wildmidi/.libs/wildmidi.so $PLUGDIR/
+cp ./plugins/tta/.libs/tta.so $PLUGDIR/
+cp ./plugins/dca/.libs/dca.so $PLUGDIR/
+cp ./plugins/aac/.libs/aac.so $PLUGDIR/
+cp ./plugins/mms/.libs/mms.so $PLUGDIR/
+cp ./plugins/shn/.libs/shn.so $PLUGDIR/
+cp ./plugins/ao/.libs/ao.so $PLUGDIR/
+cp ./plugins/shellexec/.libs/shellexec.so $PLUGDIR/
+
+#pixmaps
+cp ./pixmaps/pause_16.png $PIXMAPDIR/
+cp ./pixmaps/play_16.png $PIXMAPDIR/
+cp ./pixmaps/buffering_16.png $PIXMAPDIR/
+cp ./pixmaps/noartwork.jpg $PIXMAPDIR/
+
+# docs
+cp ./ChangeLog ./$DOCDIR/
+cp ./help.txt ./$DOCDIR/
+cp ./COPYING.GPLv2 ./$DOCDIR/
+cp ./about.txt ./$DOCDIR/
+cp ./translators.txt ./$DOCDIR/
+
+# strip
+strip --strip-unneeded ./deadbeef-$VERSION-portable/deadbeef
+for i in $PLUGDIR/*.so ; do strip --strip-unneeded $i ; done