5e28a4dfc5
Since the bump in 58a00a13
(omxplayer: bump to version 2ee17b2),
omxplayer gained a dependency to alsa-lib.
Fixes:
http://autobuild.buildroot.org/results/652/65212c59a37398681b341263bd76ba8a65ff7828/
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Julius Kriukas <julius@kriukas.lt>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
40 lines
1.2 KiB
Makefile
40 lines
1.2 KiB
Makefile
################################################################################
|
|
#
|
|
# omxplayer
|
|
#
|
|
################################################################################
|
|
|
|
OMXPLAYER_VERSION = 2ee17b22a6149a043a2e402580504f282c615373
|
|
OMXPLAYER_SITE = $(call github,popcornmix,omxplayer,$(OMXPLAYER_VERSION))
|
|
OMXPLAYER_LICENSE = GPL-2.0+
|
|
OMXPLAYER_LICENSE_FILES = COPYING
|
|
|
|
OMXPLAYER_DEPENDENCIES = \
|
|
host-pkgconf alsa-lib boost dbus ffmpeg freetype libidn libusb pcre \
|
|
rpi-userland zlib
|
|
|
|
OMXPLAYER_EXTRA_CFLAGS = \
|
|
-DTARGET_LINUX -DTARGET_POSIX \
|
|
`$(PKG_CONFIG_HOST_BINARY) --cflags bcm_host` \
|
|
`$(PKG_CONFIG_HOST_BINARY) --cflags freetype2` \
|
|
`$(PKG_CONFIG_HOST_BINARY) --cflags dbus-1`
|
|
|
|
# OMXplayer has support for building in Buildroot, but that
|
|
# procedure is, well, tainted. Fix this by forcing the real,
|
|
# correct values.
|
|
OMXPLAYER_MAKE_ENV = \
|
|
SDKSTAGE=$(STAGING_DIR) \
|
|
$(TARGET_CONFIGURE_OPTS) \
|
|
STRIP=true \
|
|
CFLAGS="$(TARGET_CFLAGS) $(OMXPLAYER_EXTRA_CFLAGS)"
|
|
|
|
define OMXPLAYER_BUILD_CMDS
|
|
$(OMXPLAYER_MAKE_ENV) $(MAKE) -C $(@D) omxplayer.bin
|
|
endef
|
|
|
|
define OMXPLAYER_INSTALL_TARGET_CMDS
|
|
$(INSTALL) -m 0755 -D $(@D)/omxplayer.bin $(TARGET_DIR)/usr/bin/omxplayer
|
|
endef
|
|
|
|
$(eval $(generic-package))
|