~ubuntu-branches/ubuntu/wily/udj-desktop-client/wily

« back to all changes in this revision

Viewing changes to admin/win/update-vlc.sh

  • Committer: Package Import Robot
  • Author(s): Nathan Handler
  • Date: 2012-11-14 15:29:07 UTC
  • mfrom: (1.2.1) (4.1.1 experimental)
  • Revision ID: package-import@ubuntu.com-20121114152907-8uj9bwcima77vu28
Tags: 0.6.3-1
* New upstream release
* debian/copyright: Add stanzas for new upstream files
* debian/rules:
  - Do not install ./usr/share/doc/udj/UDJ.1
  - Remove /usr/share/doc/udj directory if it is empty
* debian/control:
  - Bump Standards-Version to 3.9.4 (no changes)
  - Use my @debian.org address for the Maintainer field

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/bash
 
2
 
 
3
# === This file is part of Tomahawk Player - <http://tomahawk-player.org> ===
 
4
 
5
# Copyright 2011-2012, Dominik Schmidt <dev@dominik-schmidt.de>
 
6
#
 
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.
 
11
#
 
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.
 
16
#
 
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/>.
 
19
 
 
20
# Shamelessly taken from the tomahawk project. All prasises to domme for setting 
 
21
# this up.
 
22
# www.tomahawk-player.com
 
23
 
 
24
if [ "$1" = "-c" ] ; then
 
25
echo "Continuing last download.."
 
26
rm -rvf vlc/
 
27
else
 
28
echo "Update archive..."
 
29
fi
 
30
 
 
31
rm -rvf vlc/
 
32
 
 
33
 
 
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
 
40
 
 
41
echo "Extract binary..."
 
42
# 7z x phonon*.7z
 
43
# mv -v vlc-*/ vlc/
 
44
# unzip tomahawk-vlc-0.1.zip
 
45
tar xvjf pvlc.tar.bz2
 
46
 
 
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
 
50
 
 
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 \
 
65
#     libpng_plugin.dll \
 
66
#     libgoom_plugin.dll \
 
67
#     libatmo_plugin.dll \
 
68
#     libmux_ts_plugin.dll \
 
69
#     libkate_plugin.dll \
 
70
#     libtaglib_plugin.dll
 
71
 
 
72
 
 
73
# this is for vlc-2.x
 
74
rm -rvf \
 
75
    video_*/ \
 
76
    gui/ \
 
77
    **/libold* \
 
78
    **/libvcd* \
 
79
    **/libdvd* \
 
80
    **/liblibass* \
 
81
    **/libx264* \
 
82
    **/libschroe* \
 
83
    **/liblibmpeg2* \
 
84
    **/libstream_out_* \
 
85
    **/libmjpeg_plugin* \
 
86
    **/libh264_plugin* \
 
87
    **/libzvbi_plugin* \
 
88
    **/lib*sub* \
 
89
    services_discovery/ \
 
90
    visualization/ \
 
91
    control/ \
 
92
    misc/ \
 
93
    **/libi420* \
 
94
    **/libi422* \
 
95
    mux/ \
 
96
    stream_filter/ \
 
97
    **/libtheora_plugin* \
 
98
    **/liblibbluray_plugin* \
 
99
    **/libdtv_plugin*
 
100
 
 
101
 
 
102
echo "Downloaded and stripped VLC"
 
103