3
# === This file is part of Tomahawk Player - <http://tomahawk-player.org> ===
5
# Copyright 2011-2012, Dominik Schmidt <dev@dominik-schmidt.de>
7
# Tomahawk is free software: you can redistribute it and/or modify
8
# it under the terms of the GNU General Public License as published by
9
# the Free Software Foundation, either version 3 of the License, or
10
# (at your option) any later version.
12
# Tomahawk is distributed in the hope that it will be useful,
13
# but WITHOUT ANY WARRANTY; without even the implied warranty of
14
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
# GNU General Public License for more details.
17
# You should have received a copy of the GNU General Public License
18
# along with Tomahawk. If not, see <http://www.gnu.org/licenses/>.
20
# Shamelessly taken from the tomahawk project. All prasises to domme for setting
22
# www.tomahawk-player.com
24
if [ "$1" = "-c" ] ; then
25
echo "Continuing last download.."
28
echo "Update archive..."
34
echo "Download phonon archive..."
35
# wget -c "http://downloads.sourceforge.net/project/vlc/1.1.9/win32/vlc-1.1.9-win32.7z?r=http%3A%2F%2Fwww.videolan.org%2Fvlc%2Fdownload-windows.html&ts=1306272584&use_mirror=leaseweb"
36
# wget -c "http://download.tomahawk-player.org/tomahawk-vlc-0.1.zip"
37
# wget -c http://people.videolan.org/~jb/phonon/phonon-vlc-last.7z
38
# wget -c http://people.videolan.org/~jb/phonon/phonon_phonon-vlc_20111128.7z
39
wget -c http://download.tomahawk-player.org/test/pvlc.tar.bz2
41
echo "Extract binary..."
44
# unzip tomahawk-vlc-0.1.zip
47
# echo "Download phonon_vlc_no_video.dll..."
48
# wget -c http://people.videolan.org/~jb/phonon/phonon_vlc_no_video.dll
49
# cp -v phonon_vlc_no_video.dll prefix/bin/phonon_backend/phonon_vlc.dll
51
# echo "Strip unneeded plugins from vlc/plugins..."
52
# cd prefix/bin/plugins
53
# rm -rvf libold* libvcd* libdvd* liblibass* libx264* libschroe* liblibmpeg2* \
54
# libstream_out_* libmjpeg_plugin* libh264_plugin* libzvbi_plugin* lib*sub* \
55
# *qt4* *skins2* libaccess_bd_plugin.dll \
56
# libaudiobargraph_* libball_plugin.dll \
57
# libdirac_plugin.dll \
58
# libgnutls_plugin.dll \
59
# libcaca_plugin.dll \
60
# libfreetype_plugin.dll \
61
# libaccess_output_shout_plugin.dll \
62
# libremoteosd_plugin.dll \
63
# libsdl_image_plugin.dll \
64
# libvout_sdl_plugin.dll \
66
# libgoom_plugin.dll \
67
# libatmo_plugin.dll \
68
# libmux_ts_plugin.dll \
69
# libkate_plugin.dll \
70
# libtaglib_plugin.dll
97
**/libtheora_plugin* \
98
**/liblibbluray_plugin* \
102
echo "Downloaded and stripped VLC"