1 |
commit: 8676ed83a71475247f285afc588efe0c483c7e80 |
2 |
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Dec 29 13:15:47 2015 +0000 |
4 |
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Dec 29 13:15:54 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8676ed83 |
7 |
|
8 |
media-libs/libyami: bump to 0.3.1 |
9 |
|
10 |
Package-Manager: portage-2.2.26 |
11 |
Signed-off-by: Alexis Ballier <aballier <AT> gentoo.org> |
12 |
|
13 |
media-libs/libyami/Manifest | 1 + |
14 |
media-libs/libyami/libyami-0.3.1.ebuild | 102 ++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 103 insertions(+) |
16 |
|
17 |
diff --git a/media-libs/libyami/Manifest b/media-libs/libyami/Manifest |
18 |
index cdd7bb9..03208c8 100644 |
19 |
--- a/media-libs/libyami/Manifest |
20 |
+++ b/media-libs/libyami/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST libyami-0.3.0.tar.gz 484586 SHA256 67064558999d63185025a6d63d08458375003bb86369abca50aca97fd2c63acb SHA512 691cbe90840d8cb30da958bb6621434c9962ae6cbfc75b016454570c303a01e7a465baa8622368cf1ef1c670dbc861fb1d49e0c414d684feae04ea742e8e0599 WHIRLPOOL d842f1ce57d40894b80f868934d687603014b6460bdbd274b64893d8f290f8a6a779239f931beb759a7fb8e5ed1649b90fb545391c1d9c8395bb05f6600218d2 |
23 |
+DIST libyami-0.3.1.tar.gz 492223 SHA256 7ab680138a1d34eb306bc941198f0715631bc8e5b0ee5717b3171f6672ca3bcb SHA512 eb58a6925de8379e40b2482780340becdb8c9295041bba11bf439cc2ff19c25f10ce4b1fc2b6c421342855946ddd471745bdfb364a227499658867911325b375 WHIRLPOOL ce44614aa04127c828761319dd96ee35956daea9cf7577e7631083e10db744c76596da7135f8f6c16952639c601ee065afe8c0097bf6d23829dc9893c4aa414f |
24 |
|
25 |
diff --git a/media-libs/libyami/libyami-0.3.1.ebuild b/media-libs/libyami/libyami-0.3.1.ebuild |
26 |
new file mode 100644 |
27 |
index 0000000..3951d2f |
28 |
--- /dev/null |
29 |
+++ b/media-libs/libyami/libyami-0.3.1.ebuild |
30 |
@@ -0,0 +1,102 @@ |
31 |
+# Copyright 1999-2015 Gentoo Foundation |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+# $Id$ |
34 |
+ |
35 |
+EAPI=5 |
36 |
+ |
37 |
+SCM="" |
38 |
+if [ "${PV#9999}" != "${PV}" ] ; then |
39 |
+ SCM=git-r3 |
40 |
+ EGIT_REPO_URI="https://github.com/01org/libyami" |
41 |
+fi |
42 |
+ |
43 |
+inherit ${SCM} autotools multilib-minimal |
44 |
+ |
45 |
+DESCRIPTION="Yet Another Media Infrastructure: Media codec with hardware acceleration" |
46 |
+HOMEPAGE="https://github.com/01org/libyami" |
47 |
+ |
48 |
+if [ "${PV#9999}" != "${PV}" ] ; then |
49 |
+ KEYWORDS="" |
50 |
+ SRC_URI="" |
51 |
+else |
52 |
+ KEYWORDS="~amd64" |
53 |
+ SRC_URI="https://github.com/01org/libyami/archive/${P}.tar.gz" |
54 |
+ S="${WORKDIR}/${PN}-${P}" |
55 |
+fi |
56 |
+ |
57 |
+LICENSE="LGPL-2.1" |
58 |
+SLOT="0" |
59 |
+IUSE="+capi debug dmabuf doc ffmpeg gles +glx libav md5 tools v4l X" |
60 |
+ |
61 |
+RDEPEND=" |
62 |
+ >=x11-libs/libva-1.6[drm,X?,${MULTILIB_USEDEP}] |
63 |
+ v4l? ( |
64 |
+ glx? ( |
65 |
+ >=x11-libs/libva-1.6[X,${MULTILIB_USEDEP}] |
66 |
+ >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}] |
67 |
+ >=virtual/opengl-7[${MULTILIB_USEDEP}] |
68 |
+ ) |
69 |
+ !glx? ( >=media-libs/mesa-10[egl,${MULTILIB_USEDEP}] ) |
70 |
+ >=media-libs/libv4l-1.6.2[${MULTILIB_USEDEP}] |
71 |
+ ) |
72 |
+ X? ( >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}] ) |
73 |
+ ffmpeg? ( |
74 |
+ !libav? ( media-video/ffmpeg:0=[${MULTILIB_USEDEP}] ) |
75 |
+ libav? ( media-video/libav:=[${MULTILIB_USEDEP}] ) |
76 |
+ ) |
77 |
+ md5? ( dev-libs/openssl:0=[${MULTILIB_USEDEP}] ) |
78 |
+ dmabuf? ( x11-libs/libdrm[${MULTILIB_USEDEP}] ) |
79 |
+ tools? ( |
80 |
+ gles? ( >=media-libs/mesa-10[egl,gles2,${MULTILIB_USEDEP}] ) |
81 |
+ v4l? ( !glx? ( >=media-libs/mesa-10[egl,gles2,${MULTILIB_USEDEP}] ) ) |
82 |
+ ) |
83 |
+" |
84 |
+DEPEND="${RDEPEND} |
85 |
+ virtual/pkgconfig |
86 |
+ doc? ( app-doc/doxygen ) |
87 |
+" |
88 |
+ |
89 |
+src_prepare() { |
90 |
+ eautoreconf |
91 |
+} |
92 |
+ |
93 |
+multilib_src_configure() { |
94 |
+ ECONF_SOURCE="${S}" econf \ |
95 |
+ $(use_enable debug) \ |
96 |
+ $(multilib_native_use_enable tools tests) \ |
97 |
+ $(use gles && multilib_native_use_enable tools tests-gles) \ |
98 |
+ $(use_enable v4l v4l2) \ |
99 |
+ $(usex v4l $(use_enable glx v4l2-glx) "--disable-v4l2-glx") \ |
100 |
+ $(use_enable capi) \ |
101 |
+ $(use_enable X x11) \ |
102 |
+ $(use_enable dmabuf) \ |
103 |
+ $(use_enable ffmpeg avformat) \ |
104 |
+ $(use_enable md5) \ |
105 |
+ $(multilib_native_use_enable doc docs) \ |
106 |
+ --enable-vp8dec \ |
107 |
+ --enable-vp9dec \ |
108 |
+ --enable-jpegdec \ |
109 |
+ --enable-h264dec \ |
110 |
+ --disable-h265dec \ |
111 |
+ --enable-h264enc \ |
112 |
+ --enable-jpegenc \ |
113 |
+ --enable-vp8enc \ |
114 |
+ --enable-h265enc |
115 |
+ |
116 |
+ # h265 decoder doesnt build here with gcc 5.2 |
117 |
+} |
118 |
+ |
119 |
+multilib_src_compile() { |
120 |
+ emake |
121 |
+ multilib_is_native_abi && use doc && emake -C doc |
122 |
+} |
123 |
+ |
124 |
+multilib_src_install() { |
125 |
+ emake DESTDIR="${D}" install |
126 |
+ multilib_is_native_abi && use doc && dohtml -r doc/html/* |
127 |
+} |
128 |
+ |
129 |
+src_install() { |
130 |
+ multilib-minimal_src_install |
131 |
+ find "${ED}" -name '*.la' -delete |
132 |
+} |