From b059d8133ae65b41db160c9547adb409362e8e3e Mon Sep 17 00:00:00 2001 From: Jason Van Cleave Date: Fri, 11 May 2018 17:11:56 +0000 Subject: [PATCH] install script --- addon_config.mk | 2 +- install_depends.sh | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100755 install_depends.sh diff --git a/addon_config.mk b/addon_config.mk index 35d38e1..fcaab0e 100755 --- a/addon_config.mk +++ b/addon_config.mk @@ -22,7 +22,7 @@ meta: ADDON_URL = https://github.com/jvcleave/ofxOMXPlayer common: - ADDON_PKG_CONFIG_LIBRARIES = ffmpeg + ADDON_PKG_CONFIG_LIBRARIES = libavcodec libavdevice libavfilter libavformat libavresample libavutil libpostproc libswresample libswscale ADDON_INCLUDES = src ADDON_CFLAGS = -fPIC -U_FORTIFY_SOURCE -Wall -ftree-vectorize -ftree-vectorize -Wno-deprecated-declarations -Wno-sign-compare -Wno-unknown-pragmas -Wno-unused-function -Wno-unused-but-set-variable ADDON_LDFLAGS= -lavcodec -lavformat -lswscale -lavutil -lswresample -lavfilter -lm -lz diff --git a/install_depends.sh b/install_depends.sh new file mode 100755 index 0000000..5419885 --- /dev/null +++ b/install_depends.sh @@ -0,0 +1 @@ +apt-get install libavcodec-dev libavdevice-dev libavfilter-dev libavformat-dev libavresample-dev libavutil-dev libpostproc-dev libswresample-dev libswscale-dev \ No newline at end of file