VLC 2.1.4 + deps for LXDE 32

Post links to your 32-bit module repos here. Repo maintainers are responsible for resolving any issues caused by their xzm's.
User avatar
sabir
White ninja
White ninja
Posts: 12
Joined: 14 May 2014, 19:54
Distribution: Porteus LXDE 32
Location: Russia

VLC 2.1.4 + deps for LXDE 32

Post#1 by sabir » 14 May 2014, 22:42

Hi all!
Do you like vlc media player?
OK, it's easy to build without 500 GiB of dependencies:

#--------------------------------------------------cut me-----------------------------------------------------------------------------------
#!/bin/bash

wget http://taper.alienbase.nl/mirrors/peopl ... 1alien.txz
wget http://mirrors.slackware.com/slackware/ ... i486-2.txz
wget http://mirrors.slackware.com/slackware/ ... i486-1.txz

installpkg -root /tmp/vlc/ vlc-2.1.4-i486-1alien.txz
rm -rf /tmp/vlc/usr/doc
rm -rf /tmp/vlc/usr/include
rm -rf /tmp/vlc/usr/man
rm -rf /tmp/vlc/usr/share/locale

installpkg -root /tmp/qt/ qt-4.8.5-i486-2.txz
cp /tmp/qt/usr/lib/qt/lib/libQtCore.so.4.8.5 /tmp/vlc/usr/lib/
cp /tmp/qt/usr/lib/qt/lib/libQtGui.so.4.8.5 /tmp/vlc/usr/lib/
rm -rf /tmp/qt

installpkg -root /tmp/xcb/ xcb-util-keysyms-0.3.9-i486-1.txz
cp /tmp/xcb/usr/lib/libxcb-keysyms.so.1.0.0 /tmp/vlc/usr/lib/
rm -rf /tmp/xcb

cd /tmp/vlc/usr/lib
ln -sf libQtCore.so.4.8.5 libQtCore.so.4
ln -sf libQtGui.so.4.8.5 libQtGui.so.4
ln -sf libxcb-keysyms.so.1.0.0 libxcb-keysyms.so.1

cd /tmp
dir2xzm /tmp/vlc vlc-2.1.4.xzm
rm -rf /tmp/vlc
#-------------------------------------------------------------------------------------------------------------------------------------

Just save it as /home/your_user_name/any_name.sh and run it as root.

For example:
/home/guest/vlc.sh
su
root password
sh vlc.sh

You will find you're vlc-2.1.4.xzm (24.3 MiB) in /tmp directory. Enjoy it.