Skip to content

Commit

Permalink
avidemux: Update to ver. 2.8.0
Browse files Browse the repository at this point in the history
- Video window has lost green artifacts with VDPAU
- GUI improvements

More: http://avidemux.sourceforge.net/news.html
  • Loading branch information
thomas committed Jan 10, 2022
1 parent 2d86a58 commit 459f477
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions avidemux-2.8.0-0.build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
#! /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

0 comments on commit 459f477

Please sign in to comment.