diff options
author | waker <wakeroid@gmail.com> | 2012-10-14 20:33:23 +0200 |
---|---|---|
committer | waker <wakeroid@gmail.com> | 2012-10-14 20:33:23 +0200 |
commit | 939c053d0e57ca5f5cad5e586071650a3a683ec3 (patch) | |
tree | 8a74a53dade20731cab5e2fd4cc4f4e06ea2a7a8 /scripts | |
parent | eb005708fb6bb46f19ca31ca6141cb94f8bad614 (diff) |
gtk3 support in static build
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/portable_package_static.sh | 2 | ||||
-rwxr-xr-x | scripts/portable_postbuild.sh | 8 | ||||
-rwxr-xr-x | scripts/static_build.sh | 2 |
3 files changed, 10 insertions, 2 deletions
diff --git a/scripts/portable_package_static.sh b/scripts/portable_package_static.sh index 1ad0c076..6db7cc3c 100755 --- a/scripts/portable_package_static.sh +++ b/scripts/portable_package_static.sh @@ -32,6 +32,7 @@ tar jcvf ../../portable_out/build/$OUTNAME\ $PLUGDIR/dca.so\ $PLUGDIR/ddb_gui_GTK2.fallback.so\ $PLUGDIR/ddb_gui_GTK2.so\ + $PLUGDIR/ddb_gui_GTK3.so\ $PLUGDIR/ffap.so\ $PLUGDIR/ffmpeg.so\ $PLUGDIR/flac.so\ @@ -66,6 +67,7 @@ tar jcvf ../../portable_out/build/$OUTNAME\ $PLUGDIR/pulse.so\ $PLUGDIR/dsp_libsrc.so\ $PLUGDIR/ddb_mono2stereo.so\ + $PLUGDIR/alac.so\ $PIXMAPDIR\ $SRCDIR/locale cd ../.. diff --git a/scripts/portable_postbuild.sh b/scripts/portable_postbuild.sh index 45db6740..c1de99c7 100755 --- a/scripts/portable_postbuild.sh +++ b/scripts/portable_postbuild.sh @@ -18,7 +18,7 @@ cp ./deadbeef $OUTDIR for i in nullout cdda flac alsa mpgmad hotkeys vtx \ ffap ffmpeg wavpack vorbis oss vfs_curl \ - lastfm sid adplug sndfile artwork \ + lastfm sid adplug sndfile artwork alac \ supereq gme dumb notify musepack wildmidi \ tta dca aac mms shn ao shellexec shellexecui vfs_zip \ m3u converter pulse dsp_libsrc mono2stereo ; do @@ -53,6 +53,12 @@ if [ -f ./plugins/gtkui/.libs/ddb_gui_GTK2.fallback.so ]; then cp ./plugins/gtkui/.libs/ddb_gui_GTK2.fallback.so $PLUGDIR/ fi +if [ -f ./plugins/gtkui/.libs/ddb_gui_GTK3.so ]; then + cp ./plugins/gtkui/.libs/ddb_gui_GTK3.so $PLUGDIR/ +else + echo ./plugins/gtkui/.libs/ddb_gui_GTK3.so not found +fi + #pixmaps for i in pause_16.png play_16.png noartwork.png buffering_16.png; do diff --git a/scripts/static_build.sh b/scripts/static_build.sh index 250b29e8..46e82e9a 100755 --- a/scripts/static_build.sh +++ b/scripts/static_build.sh @@ -11,7 +11,7 @@ cd ../../ ./autogen.sh export APBUILD_STATIC_LIBGCC=1 -CC=$AP/apgcc CXX=$AP/apgcc ./configure --enable-staticlink --disable-artwork-imlib2 --prefix=/opt/deadbeef +CC=$AP/apgcc CXX=$AP/apgcc ./configure --enable-staticlink --disable-artwork-imlib2 --enable-ffmpeg --prefix=/opt/deadbeef sed -i 's/-lstdc++ -lm -lgcc_s -lc -lgcc_s/-lm -lc/g' libtool make clean make DESTDIR=`pwd`/static/$ARCH/deadbeef-$VERSION -j8 install |