-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Video window has lost green artifacts with VDPAU - GUI improvements More: http://avidemux.sourceforge.net/news.html
- Loading branch information
Showing
1 changed file
with
41 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |