2 # Copyright (C) 2019 Álvaro Fernández Rojas <noltari@gmail.com>
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE_URL
:=https
://github.com
/popcornmix
/omxplayer.git
15 PKG_SOURCE_VERSION
:=ecd446d2de7eb86a43acaae59807a8e5c173f80d
16 PKG_MIRROR_HASH
:=03ccbd4b64944b417749aa5e2f3efad6bf5480efb52cdc4f51b4dcf490e5cd15
20 PKG_MAINTAINER
:=Álvaro Fernández Rojas
<noltari@gmail.com
>
22 include $(INCLUDE_DIR
)/package.mk
23 include $(INCLUDE_DIR
)/cmake.mk
26 -I
$(STAGING_DIR
)/usr
/include/freetype2 \
27 -I
$(STAGING_DIR
)/usr
/include/dbus-1.0 \
28 -I
$(STAGING_DIR
)/usr
/lib
/dbus-1.0
/include
31 $(call Build
/Prepare
/Default
,)
32 $(CP
) files
/* $(PKG_BUILD_DIR
)/
35 define Package
/omxplayer
36 TITLE
:=Raspberry Pi command line OMX player
39 DEPENDS
:=@
(TARGET_brcm2708_bcm2708||TARGET_brcm2708_bcm2709
) \
40 +brcm2708-userland
+alsa-lib
+libffmpeg-omx
+libpcre
+libdbus \
41 +boost
+boost-libs
+libfreetype
+libdbus \
42 +dejavu-fonts-ttf-DejaVuSans
+dejavu-fonts-ttf-DejaVuSans-Oblique
45 define Package
/omxplayer
/description
46 OMXPlayer is a command-line video player for the Raspberry Pi.
47 It can play video directly from the command line and does not require a
49 OMXPlayer leverages the OpenMAX API to make use of the hardware video
50 decoder in the GPU. Hardware acceleration along with direct command-line
51 use on ARM silicon allows ultra low overhead
, low power video playback.
52 OMXPlayer was developed
as a testbed for the XBMC Raspberry Pi
53 implementation and is quite handy to use standalone.
56 define Package
/omxplayer
/install
57 $(INSTALL_DIR
) $(1)/usr
/bin
58 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/bin
/omxplayer.bin
$(1)/usr
/bin
/omxplayer
61 $(eval
$(call BuildPackage
,omxplayer
))