summaryrefslogtreecommitdiffstats
path: root/MPlayer
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2007-10-09 20:43:02 +0000
committer Eric Hameleers <alien@slackware.com>2007-10-09 20:43:02 +0000
commitdea724c90c1dac55c12da1f9a492b6f109c87a5d (patch)
treeb45b420db2f870f4e7d9a94194cb28964caab502 /MPlayer
parent0dcaba38f4310975296554305a4e6ba06318578b (diff)
downloadasb-dea724c90c1dac55c12da1f9a492b6f109c87a5d.tar.gz
asb-dea724c90c1dac55c12da1f9a492b6f109c87a5d.tar.xz
Final version for 1.0rc2
Diffstat (limited to 'MPlayer')
-rwxr-xr-xMPlayer/build/MPlayer.SlackBuild14
1 files changed, 10 insertions, 4 deletions
diff --git a/MPlayer/build/MPlayer.SlackBuild b/MPlayer/build/MPlayer.SlackBuild
index 2fd196b7..025000a3 100755
--- a/MPlayer/build/MPlayer.SlackBuild
+++ b/MPlayer/build/MPlayer.SlackBuild
@@ -202,13 +202,13 @@ echo "++"
# Warn about libdvdread requirement:
if [ "$REMOVECSS" == "yes" ]; then
- echo -e "\n***\n*** Removing internal DECSS library.\n*** If you want to play encrypted DVD's you need to install libdvdcss separately.\n***\n*** If you do not want to remove libdvdcss, then\n*** edit this SlackBuild script and change the line:\n*** REMOVECSS=${REMOVECSS:-"yes"}\n*** to:\n*** REMOVECSS="no"\n***\n"
+ echo -e "\n**\n** Removing internal DECSS library.\n** If you want to play encrypted DVD's you need to install libdvdcss separately.\n**\n** If you do not want to remove libdvdcss, then\n** edit this SlackBuild script and change the line:\n** REMOVECSS=${REMOVECSS:-"yes"}\n** to:\n** REMOVECSS="no"\n**\n"
sleep 2
fi
cd $TMP/tmp-$PRGNAM
echo "Extracting the source archive(s) for $PRGNAM..."
-tar -xjvf ${SOURCE[$i]}
+tar -xjvf ${SOURCE[0]}
chown -R root:root *
chmod -R u+w,go+r-w,a-s *
cd ${PRGNAM}-${VERSION}
@@ -317,8 +317,7 @@ done
# Save a transcript of all configured options for this specific build:
if [ -n $OUTPUT/configure-${PRGNAM}.log ]; then
cat $OUTPUT/configure-${PRGNAM}.log \
- | sed -n "/^Config files successfully generated/,/^'config.h' and 'config.ma
-k' contain your configuration options./p" \
+ | sed -n "/^Config files successfully generated/,/^'config.h' and 'config.mak' contain your configuration options./p" \
> $PKG/usr/doc/$PRGNAM-$VERSION/${PRGNAM}.configuration
fi
# Finally;
@@ -362,3 +361,10 @@ if [ "$P1" = "--cleanup" ]; then
rm -rf $TMP/tmp-$PRGNAM
rm -rf $PKG
fi
+
+# Warn about libdvdread requirement (again):
+if [ "$REMOVECSS" == "yes" ]; then
+ echo -e "\n**\n** Internal DECSS library was not built.\n** If you want to play encrypted DVD's you need to install libdvdcss separately.\n**\n** If you do not care about patent issues,\n** and want to keep support for internal libdvdcss, then\n** edit this SlackBuild script and change the line:\n** REMOVECSS=${REMOVECSS:-"yes"}\n** to:\n** REMOVECSS="no"\n**\n"
+ sleep 2
+fi
+