1
mirror of https://code.videolan.org/videolan/vlc synced 2024-08-06 16:44:19 +02:00

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

ttf-thryomanes instead of ttf-freefonts (not available).
This commit is contained in:
Sam Hocevar 2003-10-24 14:50:07 +00:00
parent 38b51aec85
commit be7e3f05a3

View File

@ -1,7 +1,7 @@
#! /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"