Skip to content

Instantly share code, notes, and snippets.

@nihilismus
Last active December 28, 2015 23:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nihilismus/d65b967b14f0b3a40054 to your computer and use it in GitHub Desktop.
Save nihilismus/d65b967b14f0b3a40054 to your computer and use it in GitHub Desktop.
metaSlackBuilds for sbo_tools... just testing.
checking for LUA... no
configure: WARNING: No package 'lua5.2' found, trying lua 5.1 instead
checking for LUA... no
configure: WARNING: No package 'lua5.1' found, trying lua >= 5.1 instead
checking for LUA... yes
checking for luac... /usr/bin/luac
--
checking for LIVE555... no
configure: WARNING: No package 'live555' found.
checking for live555 version 1324598400 or later... no
configure: WARNING: live555 is missing or its installed version is too old:
Version 2011.12.23 or later is required to proceed.
You can get an updated one from http://www.live555.com/liveMedia .
--
checking for LINSYS_SDI... no
configure: WARNING: No package 'zvbi-0.2' found.
checking for DVDREAD... yes
checking for DVDNAV... yes
--
checking for OPENCV... no
configure: WARNING: Library opencv > 2.0 needed for opencv was not found
checking for SMBCLIENT... yes
checking for SFTP... no
configure: WARNING: Library libssh2 needed for sftp was not found
checking linux/videodev2.h usability... yes
checking linux/videodev2.h presence... yes
--
checking for DeckLinkAPIDispatch.cpp... no
configure: WARNING: Blackmagic DeckLink SDI include files not found
checking for GNOMEVFS... no
configure: WARNING: Library gnome-vfs-2.0 needed for gnomevfs was not found
checking for cdrom_msf0 in linux/cdrom.h... yes
checking for scsireq in sys/scsiio.h... no
--
checking for LIBFREERDP... no
configure: WARNING: Library freerdp >= 1.0.1 needed for libfreerdp was not found
checking for DVBPSI... yes
checking gme/gme.h usability... no
--
checking for SID... no
configure: WARNING: No package 'libsidplay2' found (required for sid).
checking for OGG... yes
checking for MUX_OGG... yes
checking for SHOUT... no
configure: WARNING: Library shout >= 2.1 needed for shout was not found
checking ebml/EbmlVersion.h usability... yes
checking ebml/EbmlVersion.h presence... yes
--
checking for LIBVA... no
configure: WARNING: No package 'libva' found
No package 'libva-x11' found.
checking for AVFORMAT... yes
--
checking for DIRAC... no
configure: WARNING: Library dirac >= 0.10.0 needed for dirac was not found
checking for SCHROEDINGER... yes
checking png.h usability... yes
--
checking for QUICKSYNC... no
configure: WARNING: Library libmfx needed for quicksync was not found
checking for FLUIDSYNTH... no
configure: WARNING: Library fluidsynth >= 1.1.2 needed for fluidsynth was not found
checking for ZVBI... no
configure: WARNING: No package 'zvbi-0.2' found. Enabling the telx module instead.
checking for LIBASS... yes
checking fontconfig/fontconfig.h usability... yes
--
checking for KATE... no
configure: WARNING: Library kate >= 0.3.0 needed for kate was not found
checking for TIGER... no
checking for GL... yes
--
checking for JACK... no
configure: WARNING: No package 'jack' found, trying jack1 instead
checking for JACK... no
configure: WARNING: No package 'jack' found
No package 'jack' found.
checking for SAMPLERATE... yes
--
checking for CHROMAPRINT... no
configure: WARNING: Library libchromaprint >= 0.6.0 needed for chromaprint was not found
checking for QT... no
checking for QT... yes
--
checking for GOOM... no
configure: WARNING: Library libgoom2 needed for goom was not found
checking for PROJECTM... no
configure: WARNING: No package 'libprojectM' found.
checking for VSXU... no
configure: WARNING: No package 'libvsxu' found.
checking for BONJOUR... no
configure: WARNING: Library avahi-client >= 0.6 needed for bonjour was not found
checking for UDEV... yes
checking for MTP... yes
#!/bin/sh
# Slackware meta-build script for vlc
set -e
META_PRGNAM=vlc
META_VERSION=2.1.1
META_OUTPUT=${META_OUTPUT:-/tmp/$META_PRGNAM}
# Order matters!
# List of SlackBuilds to install-upgrade in order to
# get ffmpeg (a "huge" dependency) and at the end vlc
SLACKBUILDS="a52dec \
faac \
faad2 \
\
libass \
libbluray \
celt \
libdc1394 \
frei0r \
gsm \
libiec61883 \
libavc1394 \
libilbc \
openjpeg \
ladspa_sdk \
lame \
libmodplug \
OpenAL \
opencore-amr \
opus \
rtmpdump \
orc \
schroedinger \
speex \
twolame \
libvpx \
x264 \
xvidcore \
ffmpeg
\
libdca \
libdvbpsi \
libdvdcss \
libdvdnav \
libebml \
libmatroska \
libmpeg2 \
libupnp \
live555 \
lua \
libcuefile \
libreplaygain \
musepack-tools \
portaudio \
vcdimager \
vlc \
"
# For ffmpeg
export ASS=yes
export BLURAY=yes
export CELT=yes
export DC1394=yes
export FAAC=yes
export FREI0R=yes
export GSM=yes
export IEC61883=yes
export ILBC=yes
export JP2=yes
export LADSPA=yes
export LAME=yes
export MODPLUG=yes
export OPENAL=yes
export OPENCORE=yes
export OPENSSL=yes
export OPUS=yes
export RTMP=yes
export SCHROEDINGER=yes
export SPEEX=yes
export TWOLAME=yes
export VPX=yes
export X264=yes
export XVID=yes
for SLK in $SLACKBUILDS; do
if ! $(sbo_find -e $SLK 1> /dev/null); then
# The "local repository" is always /usr/ports/$SLACKWARE_VERSION which is
# synchronized with sbo_sync from SBo official rsync repository.
echo "Error, $SLK could not be found inside local repository."
exit 1
fi
done
for SLK in $SLACKBUILDS; do
# Get SlackBuild directory,
# for example: /usr/ports/14.1/multimedia/x264 if SLK is equal to x264
SLK_DIR=$(sbo_find -e $SLK)
# Build and install-upgrade just the ones that are not installed, this means that
# $VERSION and $BUILD does not matches between x264.{info,SlackBuild}
# and its entry in /var/log/packages/x264-$VERSION-*-$BUILD*). In case $SLK
# is already installed then *continue* with xvidcore (following the example).
sbo_inst $SLK_DIR && continue
OUTPUT_DIR=$META_OUTPUT/$(basename $SLK_DIR)
OUTPUT=$OUTPUT_DIR sbo_pkg $SLK_DIR
if [ "$?" = "0" ]; then
upgradepkg --install-new --reinstall $OUTPUT_DIR/*
fi
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment