diff --git a/addon_config.mk b/addon_config.mk index e8b1f7e..fcaab0e 100755 --- a/addon_config.mk +++ b/addon_config.mk @@ -22,6 +22,7 @@ meta: ADDON_URL = https://github.com/jvcleave/ofxOMXPlayer common: + 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