summaryrefslogtreecommitdiffstats
path: root/MPlayer
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2006-11-08 23:22:28 +0000
committer Eric Hameleers <alien@slackware.com>2006-11-08 23:22:28 +0000
commite05e4a3e67772eb66cb4d0f820ecbbf3da96e58e (patch)
tree2180ee330cec4c55d36dcaad9d5820aee923a77e /MPlayer
parentd3ef0116b5eed0648efc3430436d9dd9fffc4eaf (diff)
downloadasb-e05e4a3e67772eb66cb4d0f820ecbbf3da96e58e.tar.gz
asb-e05e4a3e67772eb66cb4d0f820ecbbf3da96e58e.tar.xz
Install mplayer.conf correctly to /etc/mplayer . Warn about needing libdvdread when building with REMOVECSS=yes
Diffstat (limited to 'MPlayer')
-rwxr-xr-xMPlayer/build/MPlayer.SlackBuild16
1 files changed, 12 insertions, 4 deletions
diff --git a/MPlayer/build/MPlayer.SlackBuild b/MPlayer/build/MPlayer.SlackBuild
index b695cbfc..43ac8f21 100755
--- a/MPlayer/build/MPlayer.SlackBuild
+++ b/MPlayer/build/MPlayer.SlackBuild
@@ -23,6 +23,8 @@
# variable REMOVECSS="no" first (see further down).
# Use this commandline if you can't or won't modify the script:
# REMOVECSS="no" ./MPlayer.SlackBuild
+# 1.0rc1-3: 08/Nov/2006 by Eric Hameleers <alien@slackware.com>
+# * Install the mplayer.conf into correct location '/etc/mplayer/'
#
# Run 'sh SlackBuild --cleanup' to build a Slackware package.
# The package (.tgz) plus descriptive .txt file are created in /tmp .
@@ -36,7 +38,7 @@
PRGNAM=MPlayer
VERSION=${VERSION:-1.0rc1}
ARCH=${ARCH:-i486}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
DOCS="AUTHORS ChangeLog Copyright LICENSE README DOCS/HTML DOCS/tech"
@@ -154,6 +156,12 @@ echo "++"
echo "|| $PRGNAM-$VERSION"
echo "++"
+# Warn about libdvdread requirement:
+if [ "$REMOVECSS" == "yes" ]; then
+ echo -e "\n***\n*** You will need libdvdread installed if you want DVD support!!!\n***\n"
+ sleep 2
+fi
+
cd $PKG
# Explode the package framework:
@@ -209,8 +217,8 @@ else
fi
# Prepare the configfile:
-mkdir -p $PKG/etc
-cp etc/example.conf $PKG/etc/mplayer.conf.new
+mkdir -p $PKG/etc/mplayer
+cp etc/example.conf $PKG/etc/mplayer/mplayer.conf.new
# Fix the .desktop file
sed -i -e 's#^Icon=mplayer.xpm$#Icon=/usr/share/pixmaps/mplayer.xpm#' \
@@ -261,7 +269,7 @@ if [ ! -f usr/share/mplayer/subfont.ttf ]; then
fi
# Prepare the new configuration file
-config etc/mplayer.conf.new
+config etc/mplayer/mplayer.conf.new
EOINS