Commit be7e3f05 authored by Sam Hocevar's avatar Sam Hocevar

* toolbox: On Debian woody, don't activate the speex plugin, and use

    ttf-thryomanes instead of ttf-freefonts (not available).
parent 38b51aec
#! /bin/sh
## toolbox for the VLC media player
## $Id: toolbox,v 1.45 2003/09/15 18:28:47 sam Exp $
## $Id: toolbox,v 1.46 2003/10/24 14:50:07 sam Exp $
##
## Authors: Samuel Hocevar <sam@zoy.org>
......@@ -595,11 +595,13 @@ then
# libdvdread3-dev with libdvdread2-dev
# libdvdplay0-dev (>=1.0.1-2) with libdvdplay0-dev
# libxosd-dev (>=2.2.4-1.3) with libxosd-dev
# ttf-freefonts with ttf-thryomanes
# remove libwxgtk2.4-dev
# libflac-dev
# libidl0 (workaround for mozilla-dev's bad deps)
# libglib2.0-0 (workaround for mozilla-dev's bad deps)
# libmatroska-dev
# libspeex-dev
# change Source: vlc with Source: vlc-woody
# Section: gnome with Section: graphics
# Section: kde with Section: kde
......@@ -613,12 +615,14 @@ then
-e 's/libdvdread[0-9]*-dev/libdvdread2-dev/' \
-e 's/, libdvdplay0-dev[^,]*/, libdvdplay0-dev/' \
-e 's/, libxosd-dev[^,]*/, libxosd-dev/' \
-e 's/, ttf-freefonts[^,]*/, ttf-thryomanes/' \
-e 's/, libwx[^,]*//' \
-e '/Package: wxvlc/,/^ *$/d' \
-e 's/, libflac-dev[^,]*//' \
-e 's/, libidl0[^,]*//' \
-e 's/, libglib2.0-0[^,]*//' \
-e 's/, libmatroska-dev[^,]*//' \
-e 's/, libspeex-dev[^,]*//' \
-e 's/Source: vlc/Source: vlc-woody/' \
-e 's/Section: gnome/Section: graphics/' \
-e 's/Section: kde/Section: graphics/' \
......@@ -634,6 +638,7 @@ then
-e 's,--enable-skins,--disable-skins,' \
-e 's,--enable-flac,--disable-flac,' \
-e 's,--enable-mkv,--disable-mkv,' \
-e 's,--enable-speex,--disable-speex,' \
< "$1/debian/rules" > "$1/debian/rules.woody"
mv "$1/debian/rules.woody" "$1/debian/rules"
chmod 0755 "$1/debian/rules"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment