Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
executable file 41 lines (29 sloc) 903 Bytes
#! /bin/bash
set -xe
umask 022
PKG=avidemux
VERSION=2.8.0
BUILD=0
# source: http://www.fosshub.com/Avidemux.html/avidemux_2.8.0.tar.gz
URL=https://beehive.molgen.mpg.de/ce57eb0c5955a79ca41bf5c781f74e50/avidemux_2.8.0.tar.gz
SRC=avidemux_$VERSION.tar.gz
PREFIX=/pkg/$PKG-$VERSION-$BUILD
# PREFIX=/dev/shm/pkg/$PKG-$VERSION-$BUILD
mkdir -p $PREFIX
cat >$PREFIX/profile <<-EOF
PATH=$PREFIX/bin:\$PATH
LD_LIBRARY_PATH=$PREFIX/lib64\${LD_LIBRARY_PATH:+:}\$LD_LIBRARY_PATH
export LD_LIBRARY_PATH
EOF
source $PREFIX/profile
mkdir -p $PREFIX/build
cd $PREFIX/build
test -e $SRC || wget $URL
test -d avidemux_$VERSION || tar -xf $SRC
export PATH=/usr/local/qt5/bin:$PATH
cd avidemux_$VERSION
# We must use --prefix, albeit the installation has to be done 'by hand'.
# But without avidemux won't find it's libraries to load.
bash bootStrap.bash --prefix=$PREFIX
cp -a install$PREFIX/* $PREFIX
exit