summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2016-10-05 17:09:17 +0200
committerAlexis Ballier <aballier@gentoo.org>2016-10-05 17:09:25 +0200
commit67c3302519d1d0befd9f3598228c7ca4a7b63233 (patch)
tree07b6e7a1c71a9e9e3b1ad1ebf53256b190bf3e3e /media-libs/libyami/libyami-9999.ebuild
parentdev-ros/rosconsole: fix build with latest boost/gcc6, bug #595818. Patch by P... (diff)
downloadgentoo-67c3302519d1d0befd9f3598228c7ca4a7b63233.tar.gz
gentoo-67c3302519d1d0befd9f3598228c7ca4a7b63233.tar.bz2
gentoo-67c3302519d1d0befd9f3598228c7ca4a7b63233.zip
media-libs/libyami: bump to 1.0.0
Package-Manager: portage-2.3.1
Diffstat (limited to 'media-libs/libyami/libyami-9999.ebuild')
-rw-r--r--media-libs/libyami/libyami-9999.ebuild12
1 files changed, 7 insertions, 5 deletions
diff --git a/media-libs/libyami/libyami-9999.ebuild b/media-libs/libyami/libyami-9999.ebuild
index ad517708968c..10af6ad3b5cd 100644
--- a/media-libs/libyami/libyami-9999.ebuild
+++ b/media-libs/libyami/libyami-9999.ebuild
@@ -10,7 +10,7 @@ if [ "${PV#9999}" != "${PV}" ] ; then
EGIT_REPO_URI="https://github.com/01org/libyami"
fi
-inherit ${SCM} autotools multilib-minimal
+inherit ${SCM} autotools multilib-minimal flag-o-matic
DESCRIPTION="Yet Another Media Infrastructure: Media codec with hardware acceleration"
HOMEPAGE="https://github.com/01org/libyami"
@@ -26,10 +26,10 @@ fi
LICENSE="Apache-2.0"
SLOT="0"
-IUSE="+capi debug dmabuf doc md5 v4l X test"
+IUSE="debug dmabuf doc md5 v4l X test wayland"
RDEPEND="
- >=x11-libs/libva-1.7[drm,X?,${MULTILIB_USEDEP}]
+ >=x11-libs/libva-1.7.2[drm,X?,wayland?,${MULTILIB_USEDEP}]
v4l? (
>=virtual/opengl-7[${MULTILIB_USEDEP}]
>=media-libs/libv4l-1.6.2[${MULTILIB_USEDEP}]
@@ -50,14 +50,15 @@ src_prepare() {
}
multilib_src_configure() {
+ append-cppflags -I"${S}/"
ECONF_SOURCE="${S}" econf \
$(use_enable debug) \
$(use_enable v4l v4l2) \
$(use_enable v4l v4l2-ops) \
- $(use_enable capi) \
$(use_enable X x11) \
$(use_enable dmabuf) \
$(use_enable md5) \
+ $(use_enable wayland) \
$(use_enable test gtest) \
$(multilib_native_use_enable doc docs) \
--enable-h265dec \
@@ -70,7 +71,8 @@ multilib_src_configure() {
--enable-h265enc \
--enable-h264enc \
--enable-jpegenc \
- --enable-vp8enc
+ --enable-vp8enc \
+ --enable-vp9enc
}
multilib_src_compile() {