diff options
author | Josh Driver <keeperofdakeys@gmail.com> | 2013-12-26 04:06:43 +1030 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-12-29 19:41:12 +0100 |
commit | b73d7dc35e652394ec8520b13d4efdd6c0cb6235 (patch) | |
tree | 2a6f996a7813bbb8a8ec8806641131b8ed7fe3cb /scripts | |
parent | bb41e83d8c32611cceef4dd18f1b7a76f243ceca (diff) | |
download | mpv-build-b73d7dc35e652394ec8520b13d4efdd6c0cb6235.tar.bz2 mpv-build-b73d7dc35e652394ec8520b13d4efdd6c0cb6235.tar.xz |
Adding waf support for mpv.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/ffmpeg-build | 4 | ||||
-rwxr-xr-x | scripts/ffmpeg-clean | 3 | ||||
-rwxr-xr-x | scripts/fribidi-build | 4 | ||||
-rwxr-xr-x | scripts/libass-build | 4 | ||||
-rwxr-xr-x | scripts/libass-clean | 3 | ||||
-rwxr-xr-x | scripts/mpv-bootstrap | 9 | ||||
-rwxr-xr-x | scripts/mpv-build | 5 | ||||
-rwxr-xr-x | scripts/mpv-clean | 4 | ||||
-rwxr-xr-x | scripts/mpv-config | 2 | ||||
-rwxr-xr-x | scripts/mpv-install | 5 | ||||
-rwxr-xr-x | scripts/mpv-uninstall | 5 |
11 files changed, 47 insertions, 1 deletions
diff --git a/scripts/ffmpeg-build b/scripts/ffmpeg-build new file mode 100755 index 0000000..575282c --- /dev/null +++ b/scripts/ffmpeg-build @@ -0,0 +1,4 @@ +#!/bin/sh +set -e + +make -C ffmpeg_build install $@ diff --git a/scripts/ffmpeg-clean b/scripts/ffmpeg-clean new file mode 100755 index 0000000..ed128f3 --- /dev/null +++ b/scripts/ffmpeg-clean @@ -0,0 +1,3 @@ +#!/bin/sh + +rm -rf ffmpeg_build diff --git a/scripts/fribidi-build b/scripts/fribidi-build new file mode 100755 index 0000000..6ff54eb --- /dev/null +++ b/scripts/fribidi-build @@ -0,0 +1,4 @@ +#!/bin/sh +set -e + +make -C fribidi install $@ diff --git a/scripts/libass-build b/scripts/libass-build new file mode 100755 index 0000000..b7c2048 --- /dev/null +++ b/scripts/libass-build @@ -0,0 +1,4 @@ +#!/bin/sh +set -e + +make -C libass install $@ diff --git a/scripts/libass-clean b/scripts/libass-clean new file mode 100755 index 0000000..2a2efce --- /dev/null +++ b/scripts/libass-clean @@ -0,0 +1,3 @@ +#!/bin/sh + +make -C libass distclean diff --git a/scripts/mpv-bootstrap b/scripts/mpv-bootstrap new file mode 100755 index 0000000..4e9b8cc --- /dev/null +++ b/scripts/mpv-bootstrap @@ -0,0 +1,9 @@ +#!/bin/sh +set -e + +cd mpv + +if [ -x "bootstrap.py" ]; then + ./bootstrap.py $@ +fi + diff --git a/scripts/mpv-build b/scripts/mpv-build new file mode 100755 index 0000000..1e7ca7b --- /dev/null +++ b/scripts/mpv-build @@ -0,0 +1,5 @@ +#!/bin/sh +set -e + +cd mpv +./waf build $@ diff --git a/scripts/mpv-clean b/scripts/mpv-clean new file mode 100755 index 0000000..cac8c0e --- /dev/null +++ b/scripts/mpv-clean @@ -0,0 +1,4 @@ +#!/bin/sh + +cd mpv +./waf clean diff --git a/scripts/mpv-config b/scripts/mpv-config index 2ba46d2..f7f92f7 100755 --- a/scripts/mpv-config +++ b/scripts/mpv-config @@ -5,4 +5,4 @@ OPTIONS="" BUILD="$(pwd)" cd "$BUILD"/mpv -PKG_CONFIG_PATH="$BUILD"/build_libs/lib/pkgconfig ./configure --extra-cflags=-I"$BUILD"/build_libs/include --extra-ldflags=-L"$BUILD"/build_libs/lib $OPTIONS "$@" +PKG_CONFIG_PATH="$BUILD"/build_libs/lib/pkgconfig ./waf configure $OPTIONS "$@" diff --git a/scripts/mpv-install b/scripts/mpv-install new file mode 100755 index 0000000..cb22a37 --- /dev/null +++ b/scripts/mpv-install @@ -0,0 +1,5 @@ +#!/bin/sh +set -e + +cd mpv +./waf install diff --git a/scripts/mpv-uninstall b/scripts/mpv-uninstall new file mode 100755 index 0000000..3a4384e --- /dev/null +++ b/scripts/mpv-uninstall @@ -0,0 +1,5 @@ +#!/bin/sh +set -e + +cd mpv +./waf uninstall |