diff options
author | 2016-03-08 22:44:58 +0100 | |
---|---|---|
committer | 2016-03-08 22:45:21 +0100 | |
commit | 2ed594f4e7d2ce4948089dd581f65bf57f69b7da (patch) | |
tree | f8f0f1d0bebaeac5d6a4972aabe832a517b43f03 /media-video/raspberrypi-omxplayer/raspberrypi-omxplayer-9999.ebuild | |
parent | dev-go/go-gitlab-client: Initial version (diff) | |
download | gentoo-2ed594f4e7d2ce4948089dd581f65bf57f69b7da.tar.gz gentoo-2ed594f4e7d2ce4948089dd581f65bf57f69b7da.tar.bz2 gentoo-2ed594f4e7d2ce4948089dd581f65bf57f69b7da.zip |
renamed media-video/omxplayer to media-video/raspberrypi-omxplayer
Diffstat (limited to 'media-video/raspberrypi-omxplayer/raspberrypi-omxplayer-9999.ebuild')
-rw-r--r-- | media-video/raspberrypi-omxplayer/raspberrypi-omxplayer-9999.ebuild | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/media-video/raspberrypi-omxplayer/raspberrypi-omxplayer-9999.ebuild b/media-video/raspberrypi-omxplayer/raspberrypi-omxplayer-9999.ebuild new file mode 100644 index 000000000000..88ac4d327fef --- /dev/null +++ b/media-video/raspberrypi-omxplayer/raspberrypi-omxplayer-9999.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils git-r3 toolchain-funcs flag-o-matic + +DESCRIPTION="Command line media player for the Raspberry Pi" +HOMEPAGE="https://github.com/popcornmix/omxplayer" +EGIT_REPO_URI="https://github.com/popcornmix/omxplayer.git" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="" +IUSE="" + +RDEPEND="dev-libs/libpcre + media-fonts/freefont + || ( media-libs/raspberrypi-userland media-libs/raspberrypi-userland-bin ) + sys-apps/dbus + sys-apps/fbset + virtual/ffmpeg + x11-apps/xrefresh + x11-apps/xset" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-9999-Makefile.patch \ + "${FILESDIR}"/fonts-path.patch + + cat > Makefile.include << EOF +LIBS=-lvchiq_arm -lvcos -lbcm_host -lEGL -lGLESv2 -lopenmaxil -lrt -lpthread +EOF + + tc-export CXX +} + +src_compile() { + emake ${PN}.bin +} + +src_install() { + dobin ${PN} ${PN}.bin + dodoc README.md +} |