diff options
Diffstat (limited to 'x11-libs/libvdpau/libvdpau-0.7.ebuild')
-rw-r--r-- | x11-libs/libvdpau/libvdpau-0.7.ebuild | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/x11-libs/libvdpau/libvdpau-0.7.ebuild b/x11-libs/libvdpau/libvdpau-0.7.ebuild new file mode 100644 index 000000000000..c4ddae0e640a --- /dev/null +++ b/x11-libs/libvdpau/libvdpau-0.7.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-libs/libvdpau/libvdpau-0.7.ebuild,v 1.1 2013/08/11 09:14:42 ssuominen Exp $ + +EAPI=5 +inherit autotools-multilib + +DESCRIPTION="VDPAU wrapper and trace libraries" +HOMEPAGE="http://www.freedesktop.org/wiki/Software/VDPAU" +SRC_URI="http://people.freedesktop.org/~aplattner/vdpau/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~x86 ~amd64-fbsd ~x86-fbsd" +IUSE="doc dri" + +RDEPEND="x11-libs/libX11[${MULTILIB_USEDEP}] + dri? ( x11-libs/libXext[${MULTILIB_USEDEP}] ) + !=x11-drivers/nvidia-drivers-180* + !=x11-drivers/nvidia-drivers-185* + !=x11-drivers/nvidia-drivers-190* + abi_x86_32? ( !app-emulation/emul-linux-x86-xlibs[-abi_x86_32(-)] )" +DEPEND="${RDEPEND} + virtual/pkgconfig + doc? ( + app-doc/doxygen + media-gfx/graphviz + virtual/latex-base + ) + dri? ( >=x11-proto/dri2proto-2.2 )" + +src_configure() { + local myeconfargs=( + --docdir="${EPREFIX}"/usr/share/doc/${PF} + $(use_enable doc documentation) + $(use dri || echo --disable-dri2) + ) + + autotools-multilib_src_configure +} + +src_install() { + autotools-multilib_src_install + prune_libtool_files --modules +} |