The nightly build of Realplayer. It will be updated from time to time.
#!/bin/sh
# Adapted from update-Helix.
WORKDIR=/tmp/real ## Edit to suit preferences.
[ -d "$WORKDIR"/pkg ] && sudo rm -rf "$WORKDIR"/pkg
[ -d "$WORKDIR"/opt ] && sudo rm -rf "$WORKDIR"/opt
mkdir -p "$WORKDIR"/pkg/usr/local/lib
mkdir -p "$WORKDIR"/pkg/usr/local/share/applications
[ -f /usr/local/tce.installed/gtk2.tcz ] || tce-load -iw gtk2.tcz > /dev/null 2>&1
[ -f /usr/local/tce.installed/shared-mime-info.tcz ] || tce-load -iw shared-mime-info.tcz > /dev/null 2>&1
[ -f /usr/local/tce.installed/libasound.tcz ] || tce-load -iw libasound.tcz > /dev/null 2>&1
[ -f /usr/local/tce.installed/squashfs-tools-4.x.tcz ] || tce-load -iw squashfs-tools-4.x.tcz > /dev/null 2>&1
[ -f /usr/local/tce.installed/wget.tcz ] || tce-load -iw wget.tcz > /dev/null 2>&1
pressEnter () {
echo -n "Press Enter to finish "
read REPLY
}
[ -d "$WORKDIR" ] && mkdir -p "$WORKDIR"
cd "$WORKDIR"
if [ ! -e RealPlayer11GOLD.rpm ]; then
echo
DONE=0
while [ $DONE = 0 ]; do
busybox wget http://forms.real.com/real/player/download.html?f=unix/RealPlayer11GOLD.rpm
[ $? = 0 ] && DONE=1
done
fi
rpm2cpio RealPlayer11GOLD.rpm | cpio -iud
cd opt/real
sudo mv RealPlayer "$WORKDIR"/pkg/usr/local/lib
cd "$WORKDIR"
if [ ! -f "$WORKDIR"/pkg/usr/local/share/applications ]; then
cat > "$WORKDIR"/pkg/usr/local/share/applications/realplayer.desktop << "EOF"
[Desktop Entry]
Type=Application
Name=RealPlayer
Exec=/usr/local/lib/RealPlayer/realplay.bin
Categories=Utility
EOF
fi
if [ ! -f realplayer.tcz.dep ]; then
cat > realplayer.tcz.dep << "EOF"
gtk2.tcz
shared-mime-info.tcz
libasound.tcz
wget.tcz
EOF
fi
mksquashfs pkg `cat /opt/.tce_dir`/optional/realplayer.tcz -noappend > /dev/null 2>&1
cd `cat /opt/.tce_dir`/optional
md5sum realplayer.tcz > realplayer.tcz.md5.txt
if [ ! -f realplayer.tcz.dep ]; then
cat > realplayer.tcz.dep << "EOF"
gtk2.tcz
shared-mime-info.tcz
libasound.tcz
EOF
fi
echo
echo "Done!"
echo "You will need to reboot to use the new realplayer.tcz"
echo
echo "Reboot, load the extension with "tce-load -i realplayer.tcz" and run the updated RealPlayer"
echo
echo "Remember to select your ALSA/OSS audio driver in Tools>Preferences>Hardware"
echo
pressEnter