summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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
+