1 # Copyright 1999-2016 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 inherit eutils toolchain-funcs flag-o-matic
9 DESCRIPTION="Command line media player for the Raspberry Pi"
10 HOMEPAGE="https://github.com/popcornmix/omxplayer"
11 SRC_URI="https://github.com/popcornmix/omxplayer/tarball/${GIT_COMMIT} -> ${P}.tar.gz"
18 RDEPEND="dev-libs/libpcre
20 || ( media-libs/raspberrypi-userland media-libs/raspberrypi-userland-bin )
33 S="${WORKDIR}/popcornmix-omxplayer-${GIT_COMMIT}"
36 epatch "${FILESDIR}"/Makefile-0_p20160528.patch \
37 "${FILESDIR}"/fonts-path.patch
39 cat > Makefile.include << EOF
40 LIBS=-lvchostif -lvchiq_arm -lvcos -lbcm_host -lEGL -lGLESv2 -lopenmaxil -lrt -lpthread
51 dobin omxplayer omxplayer.bin