-
Notifications
You must be signed in to change notification settings - Fork 62
/
addon_config.mk
executable file
·28 lines (26 loc) · 1.5 KB
/
addon_config.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# All variables and this file are optional, if they are not present the PG and the
# makefiles will try to parse the correct values from the file system.
#
# Variables that specify exclusions can use % as a wildcard to specify that anything in
# that position will match. A partial path can also be specified to, for example, exclude
# a whole folder from the parsed paths from the file system
#
# Variables can be specified using = or +=
# = will clear the contents of that variable both specified from the file or the ones parsed
# from the file system
# += will add the values to the previous ones in the file or the ones parsed from the file
# system
#
# The PG can be used to detect errors in this file, just create a new project with this addon
# and the PG will write to the console the kind of error and in which line it is
meta:
ADDON_NAME = ofxOMXPlayer
ADDON_DESCRIPTION = Hardware accelerated video player for the Raspberry Pi
ADDON_AUTHOR = Jason Van Cleave
ADDON_TAGS = "raspberry pi, video player"
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