Script de instalação do VLC completo (via slackbuilds)

Publicado por Slackjeff (última atualização em 23/09/2017)

[ Hits: 2.703 ]

Homepage: https://slackjeff.com.br

Download slackvlc.sh




Se você não curte o sbo e caras dessa laia, mas precisa de um script simples que instale o vlc, criei este script para ajudar.

Ao todo são 63 dependências.

- o script foi testado 5x e está completamente livre de bug.
- possui 1181 linhas
- se você quiser melhorar o script fique a vontade!

Dê permissão de uso  e execute:

# chmod +x slackvlc.sh
# sh slackvlc.sh

Agora vá tomar banho e passear, pois em máquinas modestas a instalação vai demorar em torno de 8 horas.

  



Esconder código-fonte

#!/bin/bash
#Script criado por slackjeff <lrcjefferson@gmail.com>
#http://slackjeff.emmilinux.com.br
#
#todos pacotes mantem os devidos creditos
#aos mantenedores.
#https://slackbuilds.org

#Atualizacao-Deps:
#-------------------------------------------------------|
#-------------------------------------------------------|



#INFORMACAO
#=======================================================|
#Todo script foi criado em base do Slackware 14.2
#=======================================================|


#PARA QUE SERVE?
#=======================================================|
#script para fazer todo processo de compilacao do vlc
#para slackware.
#todo conteudo e feito atraves do site slackbuilds.
#=======================================================|

#COMO USAR?
#=======================================================|
#logue-se como root e de a devida permissao ao script:
#chmod +x slackvlc.sh
#
#feito isto execute:
#sh slackvlc.sh ou ./slackvlc.sh
#=======================================================|

#----------------------------------------------------------
#Modo Strict
set -euf -o pipefail

#Confirmação root
if [ `whoami` != 'root' ];then
  echo 'Voce precisa ser root para executar este script.'
  exit 1
fi
#----------------------------------------------------------



#Deps e Subdeps
echo "==============================="
echo "Dependencias e Subdependencias"
echo "==============================="
sleep 1
echo "faad2, fluidsynth,jack-audio-connection-kit,opus,speex,twolame,lua,portaudio,"
echo "chromaprint, gsm, libass, libavc1394, libbluray, libdc1394, libdca,"
echo "libdvbpsi, libdvdcss, libkate, libmatroska, libmodplug,"
echo "libmpeg2, libshout, libsidplay2, libtar, libupnp, live555,"
echo "opencv, qt5, dirac, ffmpeg, rtmpdump, schroedinger,vcdimager, x264, x265, zvbi,"
echo "avahi, gnome-vfs, faac, musepack-tools, libminizip, libwebp, projectM"
echo "libxkbcommon, libinput, libwacom"

sleep 2
echo
echo
echo

echo "As deps acima serão instaladas em seu sistema."
echo
echo "Voce deseja continuar? s/n"
read resposta

if test "$resposta" = "n"
then
   echo "Tenha um bom dia" ;sleep 1
   clear
   exit
else
clear

#Configuracoes iniciais
datainicial=`date +%s`
echo "Configurando pasta..." ;sleep 1
mkdir -v /tmp/vlc
cd /tmp/vlc
clear
echo "Criada pasta vlc em /tmp, será removida no final do processo." ;sleep 2
echo "Iniciando..." ;sleep 1

#-----------------------------------------

#Faad2
wget "http://downloads.sourceforge.net/faac/faad2-2.7.tar.bz2"
wget "https://slackbuilds.org/slackbuilds/14.2/audio/faad2.tar.gz"

echo "Descompactando..." ;sleep 1
tar -xvzf faad2.tar.gz
mv -v faad2-2.7.tar.bz2 faad2
cd faad2
echo "Executando SlackBuild" ;sleep 1
./faad2.SlackBuild
installpkg /tmp/faad2-2.7-x86_64-2_SBo.tgz

cd ..

#-----------------------------------------


#-----------------------------------------

#Fluidsynth
wget "http://downloads.sourceforge.net/fluidsynth/fluidsynth-1.1.6.tar.gz"
wget "https://slackbuilds.org/slackbuilds/14.2/audio/fluidsynth.tar.gz"

echo "Descompactando..."
tar -xvzf fluidsynth.tar.gz
mv -v fluidsynth-1.1.6.tar.gz fluidsynth
cd fluidsynth
echo "Executando Slackbuild"
./fluidsynth.SlackBuild
installpkg /tmp/fluidsynth-1.1.6-x86_64-1_SBo.tgz

cd ..

#-----------------------------------------



#-----------------------------------------

#jack-audio-connection-kit 
wget "http://jackaudio.org/downloads/jack-audio-connection-kit-0.124.1.tar.gz"
wget "https://slackbuilds.org/slackbuilds/14.2/audio/jack-audio-connection-kit.tar.gz"

tar -xvzf jack-audio-connection-kit.tar.gz
mv -v jack-audio-connection-kit-0.124.1.tar.gz jack-audio-connection-kit
cd jack-audio-connection-kit
echo "Executando Slackbuild"
./jack-audio-connection-kit.SlackBuild
installpkg /tmp/jack-audio-connection-kit-0.124.1-x86_64-2_SBo.tgz

cd ..

#-----------------------------------------


#-----------------------------------------

#opus
wget "https://archive.mozilla.org/pub/opus/opus-1.2.1.tar.gz"
wget "https://slackbuilds.org/slackbuilds/14.2/audio/opus.tar.gz"

tar -xvzf opus.tar.gz
mv -v opus-1.2.1.tar.gz opus
cd opus
echo "Executando Slackbuild"
./opus.SlackBuild
installpkg /tmp/opus-1.2.1-x86_64-1_SBo.tgz

cd ..

#-----------------------------------------


#-----------------------------------------

#speex
wget "http://downloads.us.xiph.org/releases/speex/speex-1.2.0.tar.gz"
wget "https://slackbuilds.org/slackbuilds/14.2/audio/speex.tar.gz"

tar -xvzf speex.tar.gz
mv -v speex-1.2.0.tar.gz speex
cd speex
echo "Executando SlackBuild"
./speex.SlackBuild
installpkg /tmp/speex-1.2.0-x86_64-1_SBo.tgz

cd ..

#-----------------------------------------


#-----------------------------------------

#twolame
wget "http://downloads.sourceforge.net/twolame/twolame-0.3.13.tar.gz"
wget "https://slackbuilds.org/slackbuilds/14.2/audio/twolame.tar.gz"

tar -xvzf twolame.tar.gz
mv -v twolame-0.3.13.tar.gz twolame
cd twolame
echo "Executando Slackbuild"
./twolame.SlackBuild
installpkg /tmp/twolame-0.3.13-x86_64-1_SBo.tgz

cd ..

#-----------------------------------------



#-----------------------------------------

#lua
wget "http://www.lua.org/ftp/lua-5.1.5.tar.gz"
wget "https://slackbuilds.org/slackbuilds/14.2/development/lua.tar.gz"

tar -xvzf lua.tar.gz
mv -v lua-5.1.5.tar.gz lua
cd lua
echo "Executando SlackBuild"
./lua.SlackBuild
installpkg /tmp/lua-5.1.5-x86_64-1_SBo.tgz

cd ..

#-----------------------------------------



#-----------------------------------------

#portaudio
wget "http://www.portaudio.com/archives/pa_stable_v19_20140130.tgz"
wget "https://slackbuilds.org/slackbuilds/14.2/development/portaudio.tar.gz"

echo "Descompactando..." ;sleep 1
tar -xvzf portaudio.tar.gz
mv -v pa_stable_v19_20140130.tgz portaudio
cd portaudio
echo "Executando SlackBuild" ;sleep 1
./portaudio.SlackBuild
installpkg /tmp/portaudio-v19_20140130-x86_64-1_SBo.tgz

cd ..

#-----------------------------------------


#-----------------------------------------

#chromaprint
wget "https://github.com/acoustid/chromaprint/releases/download/v1.4.2/chromaprint-1.4.2.tar.gz"
wget "https://slackbuilds.org/slackbuilds/14.2/libraries/chromaprint.tar.gz"

echo "Descompactando..." ;sleep 1
tar -xvzf chromaprint.tar.gz
mv -v chromaprint-1.4.2.tar.gz chromaprint
cd chromaprint
echo "Executando SlackBuild" ;sleep 1
./chromaprint.SlackBuild
installpkg /tmp/chromaprint-1.4.2-x86_64-1_SBo.tgz

cd ..

#-----------------------------------------


#-----------------------------------------

#gsm
wget "http://www.imagemagick.org/download/delegates/ffmpeg/gsm-1.0.13.tar.bz2"
wget "https://slackbuilds.org/slackbuilds/14.2/libraries/gsm.tar.gz"

echo "Descompactando..." ;sleep 1
tar -xvzf gsm.tar.gz gsm
mv -v gsm-1.0.13.tar.bz2
cd gsm
echo "Executando SlackBuild" ;sleep 1
./gsm.SlackBuild
installpkg /tmp/gsm-1.0.13-x86_64-2_SBo.tgz

cd ..

#-----------------------------------------


#-----------------------------------------

#libass
wget "https://github.com/libass/libass/releases/download/0.13.5/libass-0.13.5.tar.xz"
wget "https://slackbuilds.org/slackbuilds/14.2/libraries/libass.tar.gz"

echo "Descompactando..." ;sleep 1
tar -xvzf libass.tar.gz
mv -v libass-0.13.5.tar.xz libass
cd libass
echo "Executando SlackBuild" ;sleep 1
./libass.SlackBuild
installpkg /tmp/libass-0.13.5-x86_64-1_SBo.tgz

cd ..

#-----------------------------------------


#-----------------------------------------

#libavc1394
wget "http://downloads.sourceforge.net/libavc1394/libavc1394-0.5.4.tar.gz"
wget "https://slackbuilds.org/slackbuilds/14.2/libraries/libavc1394.tar.gz"

echo "Descompactando..." ;sleep 1
tar -xvzf libavc1394.tar.gz
mv -v libavc1394-0.5.4.tar.gz libavc1394
cd libavc1394
echo "Executando SlackBuild" ;sleep 1
./libavc1394.SlackBuild
installpkg /tmp/libavc1394-0.5.4-x86_64-1_SBo.tgz

cd ..

#-----------------------------------------


#-----------------------------------------

#libbluray
wget "http://ftp.videolan.org/pub/videolan/libbluray/1.0.1/libbluray-1.0.1.tar.bz2"
wget "https://slackbuilds.org/slackbuilds/14.2/libraries/libbluray.tar.gz"

echo "Descompactando..." ;sleep 1
tar -xvzf libbluray.tar.gz
mv -v libbluray-1.0.1.tar.bz2 libbluray
cd libbluray
echo "Executando SlackBuild" ;sleep 1
./libbluray.SlackBuild
installpkg /tmp/libbluray-1.0.1-x86_64-1_SBo.tgz

cd ..

#-----------------------------------------


#-----------------------------------------

#libdc1394 
wget "https://downloads.sourceforge.net/libdc1394/libdc1394-2.2.4.tar.gz"
wget "https://slackbuilds.org/slackbuilds/14.2/libraries/libdc1394.tar.gz"

echo "Descompactando..." ;sleep 1
tar -xvzf libdc1394.tar.gz
mv -v libdc1394-2.2.4.tar.gz libdc1394
cd libdc1394
echo "Executando SlackBuild" ;sleep 1
./libdc1394.SlackBuild
installpkg /tmp/libdc1394-2.2.4-x86_64-1_SBo.tgz

cd ..

#-----------------------------------------


#-----------------------------------------

#libdca
wget "http://download.videolan.org/pub/videolan/libdca/0.0.5/libdca-0.0.5.tar.bz2"
wget "https://slackbuilds.org/slackbuilds/14.2/libraries/libdca.tar.gz"

echo "Descompactando..." ;sleep 1
tar -xvzf libdca.tar.gz
mv -v libdca-0.0.5.tar.bz2 libdca
cd libdca
echo "Executando SlackBuild" ;sleep 1
./libdca.SlackBuild
installpkg /tmp/libdca-0.0.5-x86_64-1_SBo.tgz 

cd ..

#-----------------------------------------


#-----------------------------------------

#libdvbpsi 
wget "http://download.videolan.org/pub/libdvbpsi/1.3.1/libdvbpsi-1.3.1.tar.bz2"
wget "https://slackbuilds.org/slackbuilds/14.2/libraries/libdvbpsi.tar.gz"

echo "Descompactando..." ;sleep 1
tar -xvzf libdvbpsi
mv -v libdvbpsi-1.3.1.tar.bz2 libdvbpsi
cd libdvbpsi
echo "Executando SlackBuild" ;sleep 1
./libdvbpsi.SlackBuild
installpkg /tmp/libdvbpsi-1.3.1-x86_64-1_SBo.tgz

cd ..

#-----------------------------------------


#-----------------------------------------

#libdvdcss
wget "http://download.videolan.org/pub/libdvdcss/1.4.0/libdvdcss-1.4.0.tar.bz2"
wget "https://slackbuilds.org/slackbuilds/14.2/libraries/libdvdcss.tar.gz"

echo "Descompactando..." ;sleep 1
tar -xvzf libdvdcss.tar.gz
mv -v libdvdcss-1.4.0.tar.bz2 libdvdcss
cd libdvdcss
echo "Executando SlackBuild" ;sleep 1
./libdvdcss.SlackBuild
installpkg /tmp/libdvdcss-1.4.0-x86_64-2_SBo.tgz

cd ..

#-----------------------------------------


#-----------------------------------------

#libkate
wget "http://pkgs.fedoraproject.org/lookaside/pkgs/libkate/libkate-0.4.1.tar.gz/1dfdbdeb2fa5d07063cf5b8261111fca/libkate-0.4.1.tar.gz"
wget "https://slackbuilds.org/slackbuilds/14.2/libraries/libkate.tar.gz"

echo "Descompactando..." ;sleep 1
tar -xvzf libkate.tar.gz
mv -v libkate-0.4.1.tar.gz libkate
cd libkate
echo "Executando SlackBuild" ;sleep 1
./libkate.SlackBuild
installpkg /tmp/libkate-0.4.1-x86_64-1_SBo.tgz

cd ..

#-----------------------------------------



#-----------------------------------------

#libebml
wget "http://dl.matroska.org/downloads/libebml/libebml-1.3.1.tar.bz2"
wget "https://slackbuilds.org/slackbuilds/14.2/libraries/libebml.tar.gz"

echo "Descompactando..." ;sleep 1
tar -xvzf libebml.tar.gz
mv -v libebml-1.3.1.tar.bz2 libebml
cd libebml
echo "Executando SlackBuild" ;sleep 1
./libebml.SlackBuild
installpkg /tmp/libebml-1.3.1-x86_64-1_SBo.tgz

cd ..

#-----------------------------------------



#-----------------------------------------

#libmatroska
wget "http://dl.matroska.org/downloads/libmatroska/libmatroska-1.4.2.tar.bz2"
wget "https://slackbuilds.org/slackbuilds/14.2/libraries/libmatroska.tar.gz"

echo "Descompactando..." ;sleep 1
tar -xvzf libmatroska.tar.gz
mv -v libmatroska-1.4.2.tar.bz2 libmatroska
cd libmatroska
echo "Executando SlackBuild" ;sleep 1
./libmatroska.SlackBuild
installpkg /tmp/libmatroska-1.4.2-x86_64-1_SBo.tgz

cd ..

#-----------------------------------------


#-----------------------------------------

#libmodplug
wget "http://downloads.sourceforge.net/modplug-xmms/libmodplug-0.8.9.0.tar.gz"
wget "https://slackbuilds.org/slackbuilds/14.2/libraries/libmodplug.tar.gz"

echo "Descompactando..." ;sleep 1
tar -xvzf libmodplug.tar.gz
mv -v libmodplug-0.8.9.0.tar.gz libmodplug
cd libmodplug
echo "Executando SlackBuild" ;sleep 1
./libmodplug.SlackBuild
installpkg /tmp/libmodplug-0.8.9.0-x86_64-1_SBo.tgz

cd ..

#-----------------------------------------


#-----------------------------------------

#libmpeg2
wget "http://libmpeg2.sourceforge.net/files/libmpeg2-0.5.1.tar.gz"
wget "https://slackbuilds.org/slackbuilds/14.2/libraries/libmpeg2.tar.gz"

echo "Descompactando..." ;sleep 1
tar -xvzf libmpeg2.tar.gz
mv -v libmpeg2-0.5.1.tar.gz libmpeg2
cd libmpeg2
echo "Executando SlackBuild" ;sleep 1
./libmpeg2.SlackBuild
installpkg /tmp/libmpeg2-0.5.1-x86_64-1_SBo.tgz

cd ..

#-----------------------------------------


#-----------------------------------------

#libshout 
wget "http://downloads.xiph.org/releases/libshout/libshout-2.3.1.tar.gz"
wget "https://slackbuilds.org/slackbuilds/14.2/libraries/libshout.tar.gz"

echo "Descompactando..." ;sleep 1
tar -xvzf libshout.tar.gz
mv -v libshout-2.3.1.tar.gz libshout 
cd libshout 
echo "Executando SlackBuild" ;sleep 1
./libshout.SlackBuild
installpkg /tmp/libshout-2.3.1-x86_64-1_SBo.tgz

cd ..

#-----------------------------------------


#-----------------------------------------

#libsidplay2
wget "http://ftp.debian.org/debian/pool/main/s/sidplay-libs/sidplay-libs_2.1.1.orig.tar.gz"
wget "http://ftp.debian.org/debian/pool/main/s/sidplay-libs/sidplay-libs_2.1.1-14.debian.tar.gz"
wget "https://slackbuilds.org/slackbuilds/14.2/libraries/libsidplay2.tar.gz"

echo "Descompactando..." ;sleep 1
tar -xvzf libsidplay2.tar.gz
mv -v sidplay-libs_2.1.1.orig.tar.gz sidplay-libs_2.1.1-14.debian.tar.gz libsidplay2
cd libsidplay2
echo "Executando SlackBuild" ;sleep 1
./libsidplay2.SlackBuild
installpkg /tmp/libsidplay2-2.1.1-x86_64-3_SBo.tgz

cd ..

#-----------------------------------------


#-----------------------------------------

#libtar
wget "http://sourceforge.net/projects/slackbuildsdirectlinks/files/libtar/libtar-0907a90.tar.gz"
wget "https://slackbuilds.org/slackbuilds/14.2/libraries/libtar.tar.gz"

echo "Descompactando..." ;sleep 1
tar -xvzf libtar.tar.gz
mv -v libtar-0907a90.tar.gz libtar
cd libtar
echo "Executando SlackBuild" ;sleep 1
./libtar.SlackBuild
installpkg /tmp/libtar-1.2.20-x86_64-1_SBo.tgz 

cd ..

#-----------------------------------------


#-----------------------------------------

#libupnp
wget "http://downloads.sourceforge.net/pupnp/libupnp-1.6.22.tar.bz2"
wget "https://slackbuilds.org/slackbuilds/14.2/libraries/libupnp.tar.gz"

echo "Descompactando..." ;sleep 1
tar -xvzf libupnp.tar.gz
mv -v libupnp-1.6.22.tar.bz2 libupnp
cd libupnp
echo "Executando SlackBuild" ;sleep 1
./libupnp.SlackBuild
installpkg /tmp/libupnp-1.6.22-x86_64-1_SBo.tgz

cd ..

#-----------------------------------------


#-----------------------------------------

#live555 
wget "http://sourceforge.net/projects/slackbuildsdirectlinks/files/live555/live.2017.07.18.tar.gz"
wget "https://slackbuilds.org/slackbuilds/14.2/libraries/live555.tar.gz"

echo "Descompactando..." ;sleep 1
tar -xvzf live555.tar.gz
mv -v live.2017.07.18.tar.gz live555
cd live555
echo "Executando SlackBuild" ;sleep 1
./live555.SlackBuild
installpkg /tmp/live555-2017.07.18-x86_64-1_SBo.tgz

cd ..

#-----------------------------------------


#-----------------------------------------

#opencv
wget "https://github.com/Itseez/opencv/archive/3.1.0/opencv-3.1.0.tar.gz"
wget "https://github.com/Itseez/opencv_contrib/archive/3.1.0/opencv_contrib-3.1.0.zip"
wget "http://sourceforge.net/projects/plantuml/files/plantuml.8051.jar"
wget "https://slackbuilds.org/slackbuilds/14.2/libraries/opencv.tar.gz"

echo "Descompactando..." ;sleep 1
tar -xvzf opencv.tar.gz 
mv -v opencv-3.1.0.tar.gz opencv_contrib-3.1.0.zip plantuml.8051.jar opencv
cd opencv
echo "Executando SlackBuild" ;sleep 1
./opencv.SlackBuild
installpkg /tmp/opencv-3.1.0-x86_64-3_SBo.tgz

cd ..

#-----------------------------------------


#-----------------------------------------

#libxkbcommon
wget "https://xkbcommon.org/download/libxkbcommon-0.7.1.tar.xz"
wget "https://slackbuilds.org/slackbuilds/14.2/libraries/libxkbcommon.tar.gz"

echo "Descompactando..." ;sleep 1
tar -xvzf libxkbcommon.tar.gz
mv -v libxkbcommon-0.7.1.tar.xz libxkbcommon
cd libxkbcommon
echo "Executando SlackBuild" ;sleep 1
./libxkbcommon.SlackBuild
installpkg /tmp/libxkbcommon-0.7.1-x86_64-1_SBo.tgz

cd ..

#-----------------------------------------


#-----------------------------------------

#libwacom
wget "https://sourceforge.net/projects/linuxwacom/files/libwacom/libwacom-0.25.tar.bz2"
wget "https://slackbuilds.org/slackbuilds/14.2/libraries/libwacom.tar.gz"

echo "Descompactando..." ;sleep 1
tar -xvzf libwacom.tar.gz
mv -v libwacom-0.25.tar.bz2 libwacom
cd libwacom
echo "Executando SlackBuild" ;sleep 1
./libwacom.SlackBuild
installpkg /tmp/libwacom-0.25-x86_64-1_SBo.tgz

cd ..

#-----------------------------------------


#-----------------------------------------

#libinput 
wget "https://www.freedesktop.org/software/libinput/libinput-1.8.1.tar.xz"
wget "https://slackbuilds.org/slackbuilds/14.2/libraries/libinput.tar.gz"

echo "Descompactando..." ;sleep 1
tar -xvzf libinput.tar.gz
mv -v libinput-1.8.1.tar.xz libinput
cd libinput
echo "Executando SlackBuild" ;sleep 1
./libinput.SlackBuild
installpkg /tmp/libinput-1.8.1-x86_64-1_SBo.tgz 

cd ..

#-----------------------------------------


#-----------------------------------------

#qt5
wget "http://download.qt.io/official_releases/qt/5.7/5.7.1/single/qt-everywhere-opensource-src-5.7.1.tar.xz"
wget "https://slackbuilds.org/slackbuilds/14.2/libraries/qt5.tar.gz"

echo "Descompactando..." ;sleep 1
tar -xvzf qt5.tar.gz
mv -v qt-everywhere-opensource-src-5.7.1.tar.xz qt5
cd qt5
echo "Executando SlackBuild" ;sleep 1
./qt5.SlackBuild
installpkg /tmp/qt5-5.7.1-x86_64-1_SBo.tgz 

cd ..

#-----------------------------------------


#-----------------------------------------

#dirac
wget "http://pkgs.fedoraproject.org/repo/pkgs/dirac/dirac-1.0.2.tar.gz/a57c2c5e58062d437d9ab13dffb28f0f/dirac-1.0.2.tar.gz"
wget "https://slackbuilds.org/slackbuilds/14.2/multimedia/dirac.tar.gz"

echo "Descompactando..." ;sleep 1
tar -xvzf dirac.tar.gz
mv -v dirac-1.0.2.tar.gz dirac
cd dirac
echo "Executando SlackBuild" ;sleep 1
./dirac.SlackBuild
installpkg /tmp/dirac-1.0.2-x86_64-3_SBo.tgz 

cd ..

#-----------------------------------------


#-----------------------------------------

#ffmpeg
wget "http://www.ffmpeg.org/releases/ffmpeg-3.2.4.tar.xz"
wget "https://slackbuilds.org/slackbuilds/14.2/multimedia/ffmpeg.tar.gz"

echo "Descompactando..." ;sleep 1
tar -xvzf ffmpeg.tar.gz
mv -v ffmpeg-3.2.4.tar.xz ffmpeg
cd ffmpeg
echo "Executando SlackBuild" ;sleep 1
./ffmpeg.SlackBuild
installpkg /tmp/ffmpeg-3.2.4-x86_64-1_SBo.tgz  

cd ..

#-----------------------------------------


#-----------------------------------------

#rtmpdump
wget "http://ponce.cc/slackware/sources/repo/rtmpdump-20151223_fa8646d.tar.xz"
wget "https://slackbuilds.org/slackbuilds/14.2/multimedia/rtmpdump.tar.gz"

echo "Descompactando..." ;sleep 1
tar -xvzf rtmpdump.tar.gz
mv -v rtmpdump-20151223_fa8646d.tar.xz rtmpdump
cd rtmpdump
echo "Executando SlackBuild" ;sleep 1
./rtmpdump.SlackBuild
installpkg /tmp/rtmpdump-20151223_fa8646d-x86_64-1_SBo.tgz

cd ..

#-----------------------------------------


#-----------------------------------------

#schroedinger
wget "http://pkgs.fedoraproject.org/repo/pkgs/schroedinger/schroedinger-1.0.11.tar.gz/da6af08e564ca1157348fb8d92efc891/schroedinger-1.0.11.tar.gz"
wget "https://slackbuilds.org/slackbuilds/14.2/multimedia/schroedinger.tar.gz"

echo "Descompactando..." ;sleep 1
tar -xvzf schroedinger.tar.gz
mv -v schroedinger-1.0.11.tar.gz schroedinger
cd schroedinger
echo "Executando SlackBuild" ;sleep 1
./schroedinger.SlackBuild
installpkg /tmp/schroedinger-1.0.11-x86_64-1_SBo.tgz 

cd ..

#-----------------------------------------



#-----------------------------------------

#vcdimager
wget "http://mirrors.kernel.org/gnu/vcdimager/vcdimager-0.7.24.tar.gz"
wget "https://slackbuilds.org/slackbuilds/14.2/multimedia/vcdimager.tar.gz"

echo "Descompactando..." ;sleep 1
tar -xvzf vcdimager.tar.gz
mv -v vcdimager-0.7.24.tar.gz vcdimager 
cd vcdimager
echo "Executando SlackBuild" ;sleep 1
./vcdimager.SlackBuild
installpkg /tmp/vcdimager-0.7.24-x86_64-1_SBo.tgz 

cd ..

#-----------------------------------------


#-----------------------------------------

#x264
wget "http://ftp.videolan.org/x264/snapshots/x264-snapshot-20170225-2245-stable.tar.bz2"
wget "https://slackbuilds.org/slackbuilds/14.2/multimedia/x264.tar.gz"

echo "Descompactando..." ;sleep 1
tar -xvzf x264.tar.gz
mv -v x264-snapshot-20170225-2245-stable.tar.bz2 x264
cd x264
echo "Executando SlackBuild" ;sleep 1
./x264.SlackBuild
installpkg /tmp/x264-20170225-x86_64-1_SBo.tgz 

cd ..

#-----------------------------------------


#-----------------------------------------

#x265
wget "https://bitbucket.org/multicoreware/x265/get/2.5.tar.bz2"
wget "https://slackbuilds.org/slackbuilds/14.2/multimedia/x265.tar.gz"

echo "Descompactando..." ;sleep 1
tar -xvzf x265.tar.gz
mv -v 2.5.tar.bz2 x265
cd x265
echo "Executando SlackBuild" ;sleep 1
./x265.SlackBuild
installpkg /tmp/x265-2.5-x86_64-1_SBo.tgz

cd ..

#-----------------------------------------


#-----------------------------------------

#zvbi
wget "http://sourceforge.net/projects/zapping/files/zvbi/0.2.35/zvbi-0.2.35.tar.bz2"
wget "https://slackbuilds.org/slackbuilds/14.2/multimedia/zvbi.tar.gz"

echo "Descompactando..." ;sleep 1
tar -xvzf zvbi.tar.gz
mv -v zvbi-0.2.35.tar.bz2 zvbi
cd zvbi
echo "Executando SlackBuild" ;sleep 1
./zvbi.SlackBuild
installpkg /tmp/zvbi-0.2.35-x86_64-1_SBo.tgz

cd ..

#-----------------------------------------


#-----------------------------------------

#libdaemon
wget "http://pkgs.fedoraproject.org/repo/pkgs/libdaemon/libdaemon-0.14.tar.gz/509dc27107c21bcd9fbf2f95f5669563/libdaemon-0.14.tar.gz"
wget "https://slackbuilds.org/slackbuilds/14.2/libraries/libdaemon.tar.gz"

echo "Descompactando..." ;sleep 1
tar -xvzf libdaemon.tar.gz
mv -v libdaemon-0.14.tar.gz libdaemon
cd libdaemon
echo "Executando SlackBuild" ;sleep 1
./libdaemon.SlackBuild
installpkg /tmp/libdaemon-0.14-x86_64-1_SBo.tgz 

cd ..

#-----------------------------------------


#-----------------------------------------

#avahi
wget "https://github.com/lathiat/avahi/releases/download/v0.6.32/avahi-0.6.32.tar.gz"
wget "https://slackbuilds.org/slackbuilds/14.2/network/avahi.tar.gz"

echo "Descompactando..." ;sleep 1
tar -xvzf avahi.tar.gz
mv -v avahi-0.6.32.tar.gz avahi
cd avahi

echo "Executando permissões"
groupadd -g 214 avahi
useradd -u 214 -g 214 -c Avahi -d /dev/null -s /bin/false avahi

echo "Executando SlackBuild" ;sleep 1
./avahi.SlackBuild
installpkg /tmp/avahi-0.6.32-x86_64-1_SBo.tgz 

cd ..

#-----------------------------------------


#-----------------------------------------

#ORBit2
wget "ftp://ftp.gnome.org/pub/gnome/sources/ORBit2/2.14/ORBit2-2.14.19.tar.bz2"
wget "https://slackbuilds.org/slackbuilds/14.2/libraries/ORBit2.tar.gz"

echo "Descompactando..." ;sleep 1
tar -xvzf ORBit2.tar.gz
mv -v ORBit2-2.14.19.tar.bz2 ORBit2
cd ORBit2
echo "Executando SlackBuild" ;sleep 1
./ORBit2.SlackBuild
installpkg /tmp/ORBit2-2.14.19-x86_64-3_SBo.tgz 

cd ..

#-----------------------------------------


#-----------------------------------------

#libbonobo
wget "https://ftp.gnome.org/pub/gnome/sources/libbonobo/2.32/libbonobo-2.32.1.tar.bz2"
wget "https://slackbuilds.org/slackbuilds/14.2/libraries/libbonobo.tar.gz"

echo "Descompactando..." ;sleep 1
tar -xvzf libbonobo.tar.gz
mv -v libbonobo-2.32.1.tar.bz2 libbonobo
cd libbonobo
echo "Executando SlackBuild" ;sleep 1
./libbonobo.SlackBuild
installpkg /tmp/libbonobo-2.32.1-x86_64-3_SBo.tgz

cd ..

#-----------------------------------------


#-----------------------------------------

#gnome-mime-data
wget "https://ftp.gnome.org/pub/GNOME/sources/gnome-mime-data/2.18/gnome-mime-data-2.18.0.tar.bz2"
wget "https://slackbuilds.org/slackbuilds/14.2/misc/gnome-mime-data.tar.gz"

echo "Descompactando..." ;sleep 1
tar -xvzf gnome-mime-data.tar.gz
mv -v gnome-mime-data-2.18.0.tar.bz2 gnome-mime-data
cd gnome-mime-data
echo "Executando SlackBuild" ;sleep 1
./gnome-mime-data.SlackBuild
installpkg /tmp/gnome-mime-data-2.18.0-x86_64-2_SBo.tgz

cd ..

#-----------------------------------------


#-----------------------------------------

#gnome-vfs
wget "https://ftp.gnome.org/pub/GNOME/sources/gnome-vfs/2.24/gnome-vfs-2.24.4.tar.bz2"
wget "https://slackbuilds.org/slackbuilds/14.2/system/gnome-vfs.tar.gz"

echo "Descompactando..." ;sleep 1
tar -xvzf gnome-vfs.tar.gz
mv -v gnome-vfs-2.24.4.tar.bz2 gnome-vfs
cd  gnome-vfs
echo "Executando SlackBuild" ;sleep 1
./gnome-vfs.SlackBuild
installpkg /tmp/gnome-vfs-2.24.4-x86_64-3_SBo.tgz

cd ..

#-----------------------------------------


#-----------------------------------------

#libmp4v2
wget "http://pkgs.fedoraproject.org/repo/pkgs/libmp4v2/mp4v2-2.0.0.tar.bz2/c91f06711225b34b4c192c9114887b14/mp4v2-2.0.0.tar.bz2"
wget "https://slackbuilds.org/slackbuilds/14.2/libraries/libmp4v2.tar.gz"

echo "Descompactando..." ;sleep 1
tar -xvzf libmp4v2.tar.gz
mv -v mp4v2-2.0.0.tar.bz2 libmp4v2
cd libmp4v2
echo "Executando SlackBuild" ;sleep 1
./libmp4v2.SlackBuild
installpkg /tmp/libmp4v2-2.0.0-x86_64-1_SBo.tgz

cd ..

#-----------------------------------------


#-----------------------------------------

#faac
wget "http://downloads.sourceforge.net/faac/faac-1.28.tar.bz2"
wget "https://slackbuilds.org/slackbuilds/14.2/audio/faac.tar.gz"

echo "Descompactando..." ;sleep 1
tar -xvzf faac.tar.gz
mv -v faac-1.28.tar.bz2 faac
cd faac
echo "Executando SlackBuild" ;sleep 1
./faac.SlackBuild
installpkg /tmp/faac-1.28-x86_64-3_SBo.tgz 

cd ..

#-----------------------------------------


#-----------------------------------------

#libcuefile
wget "http://files.musepack.net/source/libcuefile_r475.tar.gz"
wget "https://slackbuilds.org/slackbuilds/14.2/libraries/libcuefile.tar.gz"

echo "Descompactando..." ;sleep 1
tar -xvzf libcuefile.tar.gz
mv -v libcuefile_r475.tar.gz libcuefile
cd libcuefile
echo "Executando SlackBuild" ;sleep 1
./libcuefile.SlackBuild
installpkg /tmp/libcuefile-r475-x86_64-1_SBo.tgz 

cd ..

#-----------------------------------------


#-----------------------------------------

#libreplaygain
wget "http://files.musepack.net/source/libreplaygain_r475.tar.gz"
wget "https://slackbuilds.org/slackbuilds/14.2/libraries/libreplaygain.tar.gz"

echo "Descompactando..." ;sleep 1
tar -xvzf libreplaygain.tar.gz
mv -v libreplaygain_r475.tar.gz libreplaygain
cd libreplaygain
echo "Executando SlackBuild" ;sleep 1
./libreplaygain.SlackBuild
installpkg /tmp/libreplaygain-r475-x86_64-1_SBo.tgz 

cd ..

#-----------------------------------------


#-----------------------------------------

#musepack-tools
wget "http://files.musepack.net/source/musepack_src_r475.tar.gz"
wget "https://slackbuilds.org/slackbuilds/14.2/audio/musepack-tools.tar.gz"

echo "Descompactando..." ;sleep 1
tar -xvzf musepack-tools.tar.gz
mv -v musepack_src_r475.tar.gz musepack-tools
cd musepack-tools
echo "Executando SlackBuild" ;sleep 1
./musepack-tools.SlackBuild
installpkg /tmp/musepack-tools-r475-x86_64-2_SBo.tgz 

cd ..

#-----------------------------------------


#-----------------------------------------

#libminizip
wget "http://downloads.sourceforge.net/libpng/zlib-1.2.9.tar.xz"
wget "https://slackbuilds.org/slackbuilds/14.2/libraries/libminizip.tar.gz"

echo "Descompactando..." ;sleep 1
tar -xvzf libminizip.tar.gz
mv -v zlib-1.2.9.tar.xz libminizip
cd libminizip
echo "Executando SlackBuild" ;sleep 1
./libminizip.SlackBuild
installpkg /tmp/libminizip-1.2.9-x86_64-1_SBo.tgz 

cd ..

#-----------------------------------------



#-----------------------------------------

#libwebp
wget "https://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-0.5.2.tar.gz"
wget "https://slackbuilds.org/slackbuilds/14.2/libraries/libwebp.tar.gz"

echo "Descompactando..." ;sleep 1
tar -xvzf libwebp.tar.gz
mv -v libwebp-0.5.2.tar.gz libwebp
cd libwebp
echo "Executando SlackBuild" ;sleep 1
./libwebp.SlackBuild
installpkg /tmp/libwebp-0.5.2-x86_64-1_SBo.tgz 

cd ..

#-----------------------------------------


#-----------------------------------------

#ftgl
wget "http://downloads.sourceforge.net/ftgl/ftgl-2.1.3-rc5.tar.bz2"
wget "https://slackbuilds.org/slackbuilds/14.2/libraries/ftgl.tar.gz"

echo "Descompactando..." ;sleep 1
tar -xvzf ftgl.tar.gz
mv -v ftgl-2.1.3-rc5.tar.bz2 ftgl
cd ftgl
echo "Executando SlackBuild" ;sleep 1
./ftgl.SlackBuild
installpkg /tmp/ftgl-2.1.3_rc5-x86_64-4_SBo.tgz 

cd ..

#-----------------------------------------

#projectM
wget "http://downloads.sourceforge.net/projectm/projectM-complete-2.1.0-Source.tar.gz"
wget "https://slackbuilds.org/slackbuilds/14.2/misc/projectM.tar.gz"

echo "Descompactando..." ;sleep 1
tar -xvzf projectM.tar.gz
mv  -v projectM-complete-2.1.0-Source.tar.gz projectM
cd projectM
echo "Executando SlackBuild" ;sleep 1
./projectM.SlackBuild
installpkg /tmp/projectM-2.1.0-x86_64-1_SBo.tgz

cd ..

#-----------------------------------------


echo "Dependencias concluidas..." ;sleep 1
echo
clear


#-----------------------------------------

#vlc
wget "http://ponce.cc/slackware/sources/repo/vlc-20170523_bec643e.tar.xz"
wget "https://slackbuilds.org/slackbuilds/14.2/multimedia/vlc.tar.gz"

echo "Descompactando e instalando VLC..." ;sleep 1
tar -xvzf vlc.tar.gz 
mv  -v vlc-20170523_bec643e.tar.xz vlc
cd vlc
echo "Executando SlackBuild" ;sleep 1
./vlc.SlackBuild
installpkg /tmp/vlc-20170523_bec643e-x86_64-1_SBo.tgz 

cd ..

#-----------------------------------------


#Configuracoes finais...
echo "Removendo pastas e arquivos da instalacao..." ;sleep 1
cd /tmp/vlc
rm *.gz
echo "Instalacao Concluida." ;sleep 1



#Tempo gasto no script.
datafinal=`date +%s`
soma=`expr $datafinal - $datainicial`
resultado=`expr 10800 + $soma`
tempo=`date -d @$resultado +%H:%M:%S`
echo " Tempo gasto no script: $tempo "


Scripts recomendados

Teste de conexão

Configuração do horário de verão 2006/2007 (Red Hat, Fedora)

Script para renomear vários arquivos ao mesmo tempo.

Converter vários arquivos PDF com senha para sem senha com o qpdf

Ripar dvd


  

Comentários
[1] Comentário enviado por leandro.hamid em 21/07/2018 - 13:45h

Boa tarde meu caro Slackjeff.

Já acompanho você a algum tempo, sou usuário de GNU/Linux a algum tempo em decorrência do trabalho e estou estudando o esta fantástica distribuição Slackware. Eu testei o seu script e o mesmo exibe a seguinte mensagem:

"# sh slackvlc.sh
===============================
Dependencias e Subdependencias
===============================
faad2, fluidsynth,jack-audio-connection-kit,opus,speex,twolame,lua,portaudio,
chromaprint, gsm, libass, libavc1394, libbluray, libdc1394, libdca,
libdvbpsi, libdvdcss, libkate, libmatroska, libmodplug,
libmpeg2, libshout, libsidplay2, libtar, libupnp, live555,
opencv, qt5, dirac, ffmpeg, rtmpdump, schroedinger,vcdimager, x264, x265, zvbi,
avahi, gnome-vfs, faac, musepack-tools, libminizip, libwebp, projectM
libxkbcommon, libinput, libwacom



As deps acima serão instaladas em seu sistema.

Voce deseja continuar? s/n
S
slackvlc.sh: line 1181: erro de sintaxe: fim prematuro do arquivo"

Ou seja, as dependências nem começaram a ser baixadas, será que você poderia me ajudar?

Desde já agradeço.

[2] Comentário enviado por glaypson em 13/09/2018 - 12:32h

Acho que faltou um "fi" no fim do script referente ao bloco: if test "$resposta" = "n"

[3] Comentário enviado por zasdrakano em 25/08/2019 - 11:41h

pelo amor de Deus SlackJeff, o VLC é do capeta.

http://www.slackware.com/~alien/slackbuilds/vlc/

usando esse link acima, vocês vão conseguir instalar o VLC com a instalação de apenas mais 4 pacotes necessários ao pacote raiz do VLC.
os 04 pacotes necessarios são:
OpenAL
SDL_sound
libxkbcommon
qt5

os links desse 04 pacotes estão aqui:
http://www.slackware.com/~alien/slackbuilds/OpenAL/
http://www.slackware.com/~alien/slackbuilds/SDL_sound/
http://www.slackware.com/~alien/slackbuilds/libxkbcommon/
http://www.slackware.com/~alien/slackbuilds/qt5/

depois basta instalar o VLC:
http://www.slackware.com/~alien/slackbuilds/vlc/

CUIDADO::::
O IMPORTANTE É BAIXAR SEMPRE O PACOTE DO MESMO TIPO DO SEU SLACKWARE, o meu é de 64bit versão CURRENT, presta atenção nisso!

Funciona que é uma beleza, suave! kkkk rsrsrs

Boa sorte a todos!








Contribuir com comentário




Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts