From: "Michael Weber" <xmw@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] dev/xmw:master commit in: media-video/omxplayer/files/, media-video/omxplayer/
Date: Fri, 24 Apr 2015 00:54:51 +0000 (UTC) [thread overview]
Message-ID: <1429836882.e17dcf7bc563e742322e3fbb572306fdb07591be.xmw@gentoo> (raw)
commit: e17dcf7bc563e742322e3fbb572306fdb07591be
Author: Michael Weber <michael <AT> xmw <DOT> de>
AuthorDate: Fri Apr 24 00:54:42 2015 +0000
Commit: Michael Weber <xmw <AT> gentoo <DOT> org>
CommitDate: Fri Apr 24 00:54:42 2015 +0000
URL: https://gitweb.gentoo.org/dev/xmw.git/commit/?id=e17dcf7b
Use new upstream Popcornmix.
Package-Manager: portage-2.2.18
Manifest-Sign-Key: 62EEF090
media-video/omxplayer/Manifest | 11 ++++++
.../files/omxplayer-0_p20150421-Makefile.patch | 26 +++++++++++++
media-video/omxplayer/omxplayer-0_p20150421.ebuild | 44 ++++++++++++++++++++++
media-video/omxplayer/omxplayer-9999-r1.ebuild | 44 ++++++++++++++++++++++
4 files changed, 125 insertions(+)
diff --git a/media-video/omxplayer/Manifest b/media-video/omxplayer/Manifest
new file mode 100644
index 0000000..6f14175
--- /dev/null
+++ b/media-video/omxplayer/Manifest
@@ -0,0 +1,11 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+DIST omxplayer-0_p20150421.tar.gz 1202582 SHA256 5534f7f74fc5a0cc18ec26c8befd50b7c973e03e0639fd83a3d48e318c013a0c SHA512 a74eee5419c6df62318f63c97af361ac4bada93f3b1ac37036f62df28d5bf206e45e6ca713c03c04d9fc95684cd76d29f8a69fb5f2c2289c3f97ace9de07c953 WHIRLPOOL a2ac02ea550b662adf90a5d3f46576462ef5ca213dd00d589f7d176062b741e75f9239c09da323b98589743ce1e44d0f47712075c35e108d4d0630a6f3575155
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2
+
+iF4EAREIAAYFAlU5lFAACgkQknrdDGLu8JCzGAD/d5QIZV9SJiVZVc3hc4x6RUbF
+KNIBW5+7HPyclwrZLzIA/i7smENc8X0KrprzoSdx/8ixRJ+IyuUA4kq9WSsvnvov
+=fR3K
+-----END PGP SIGNATURE-----
diff --git a/media-video/omxplayer/files/omxplayer-0_p20150421-Makefile.patch b/media-video/omxplayer/files/omxplayer-0_p20150421-Makefile.patch
new file mode 100644
index 0000000..c8aac90
--- /dev/null
+++ b/media-video/omxplayer/files/omxplayer-0_p20150421-Makefile.patch
@@ -0,0 +1,26 @@
+--- omxplayer-9999/Makefile
++++ omxplayer-9999/Makefile
+@@ -2,9 +2,11 @@
+
+ CFLAGS+=-std=c++0x -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -DTARGET_POSIX -DTARGET_LINUX -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CMAKE_CONFIG -D__VIDEOCORE4__ -U_FORTIFY_SOURCE -Wall -DHAVE_OMXLIB -DUSE_EXTERNAL_FFMPEG -DHAVE_LIBAVCODEC_AVCODEC_H -DHAVE_LIBAVUTIL_OPT_H -DHAVE_LIBAVUTIL_MEM_H -DHAVE_LIBAVUTIL_AVUTIL_H -DHAVE_LIBAVFORMAT_AVFORMAT_H -DHAVE_LIBAVFILTER_AVFILTER_H -DHAVE_LIBSWRESAMPLE_SWRESAMPLE_H -DOMX -DOMX_SKIP64BIT -ftree-vectorize -DUSE_EXTERNAL_OMX -DTARGET_RASPBERRY_PI -DUSE_EXTERNAL_LIBBCM_HOST
+
+-LDFLAGS+=-L./ -Lffmpeg_compiled/usr/local/lib/ -lc -lWFC -lGLESv2 -lEGL -lbcm_host -lopenmaxil -lfreetype -lz
++PKGS=freetype2 dbus-1 libavcodec libavutil libavformat libswresample libswscale libpcre
++
++LIBS+=-lrt -lpthread $(shell pkg-config --libs $(PKGS))
+
+-INCLUDES+=-I./ -Ilinux -Iffmpeg_compiled/usr/local/include/ -I /usr/include/dbus-1.0 -I /usr/lib/arm-linux-gnueabihf/dbus-1.0/include
++INCLUDES+=$(shell pkg-config --cflags $(PKGS)) -I. -Ilinux
+
+ DIST ?= omxplayer-dist
+
+@@ -51,8 +47,7 @@
+ bash gen_version.sh > version.h
+
+ omxplayer.bin: version $(OBJS)
+- $(CXX) $(LDFLAGS) -o omxplayer.bin $(OBJS) -lvchiq_arm -lvcos -ldbus-1 -lrt -lpthread -lavutil -lavcodec -lavformat -lswscale -lswresample -lpcre
+- $(STRIP) omxplayer.bin
++ $(CXX) $(LDFLAGS) -o omxplayer.bin $(OBJS) $(LIBS)
+
+ help.h: README.md Makefile
+ awk '/SYNOPSIS/{p=1;print;next} p&&/KEY BINDINGS/{p=0};p' $< \
diff --git a/media-video/omxplayer/omxplayer-0_p20150421.ebuild b/media-video/omxplayer/omxplayer-0_p20150421.ebuild
new file mode 100644
index 0000000..64c6b6c
--- /dev/null
+++ b/media-video/omxplayer/omxplayer-0_p20150421.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+inherit eutils toolchain-funcs vcs-snapshot
+
+DESCRIPTION="command line media player for the Raspberry Pi"
+HOMEPAGE="https://github.com/popcornmix/omxplayer"
+SRC_URI="https://github.com/popcornmix/omxplayer/tarball/b1ad23ec68 -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~arm"
+IUSE=""
+
+RDEPEND="dev-libs/libpcre
+ media-libs/raspberrypi-userland-bin
+ virtual/ffmpeg
+ sys-apps/dbus
+ sys-apps/fbset"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-Makefile.patch
+
+ cat > Makefile.include << EOF
+INCLUDES=-I/opt/vc/include -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface/vmcs_host/linux
+LIBS=-L/opt/vc/lib -lvchiq_arm -lvcos -lbcm_host -lEGL -lopenmaxil -lrt -lpthread
+EOF
+
+ tc-export CXX
+}
+
+src_compile() {
+ emake ${PN}.bin
+}
+
+src_install() {
+ dobin ${PN} ${PN}.bin
+ dodoc README.md
+}
diff --git a/media-video/omxplayer/omxplayer-9999-r1.ebuild b/media-video/omxplayer/omxplayer-9999-r1.ebuild
new file mode 100644
index 0000000..c3cecb0
--- /dev/null
+++ b/media-video/omxplayer/omxplayer-9999-r1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+inherit eutils git-r3 toolchain-funcs
+
+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-libs/raspberrypi-userland-bin
+ virtual/ffmpeg
+ sys-apps/dbus
+ sys-apps/fbset"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-0_p20150421-Makefile.patch
+
+ cat > Makefile.include << EOF
+INCLUDES=-I/opt/vc/include -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface/vmcs_host/linux
+LIBS=-L/opt/vc/lib -lvchiq_arm -lvcos -lbcm_host -lEGL -lopenmaxil -lrt -lpthread
+EOF
+
+ tc-export CXX
+}
+
+src_compile() {
+ emake ${PN}.bin
+}
+
+src_install() {
+ dobin ${PN} ${PN}.bin
+ dodoc README.md
+}
next reply other threads:[~2015-04-24 0:54 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-24 0:54 Michael Weber [this message]
-- strict thread matches above, loose matches on Subject: below --
2013-07-22 21:33 [gentoo-commits] dev/xmw:master commit in: media-video/omxplayer/files/, media-video/omxplayer/ Michael Weber
2012-06-18 2:54 Michael Weber
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1429836882.e17dcf7bc563e742322e3fbb572306fdb07591be.xmw@gentoo \
--to=xmw@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox