diff options
Diffstat (limited to 'x11-libs')
-rw-r--r-- | x11-libs/libva/Manifest | 1 | ||||
-rw-r--r-- | x11-libs/libva/libva-1.8.3.ebuild | 85 | ||||
-rw-r--r-- | x11-libs/libva/libva-9999.ebuild | 3 |
3 files changed, 87 insertions, 2 deletions
diff --git a/x11-libs/libva/Manifest b/x11-libs/libva/Manifest index ca79194fd10e..fc3df430ec71 100644 --- a/x11-libs/libva/Manifest +++ b/x11-libs/libva/Manifest @@ -2,3 +2,4 @@ DIST libva-1.7.3.tar.bz2 824490 SHA256 22bc139498065a7950d966dbdb000cad04905cbd3 DIST libva-1.8.0.tar.gz 195261 SHA256 924ed467d50a24018428448071a311d6467e0d40dc94731e2164f9d5d61bac51 SHA512 0f1b527d67497bc501f2f1acdddcb2519f12a8682a6d98303e7d86dd88b6270eb25e3b0789179aaf5f3b4c70b7e8448eb5505cbadeb0b44c9727ac7cf77a51d6 WHIRLPOOL 220f4864835d11ae70457d76c549b03cbad35f285f697e3f470cec402573cfdf3811645ae7cea3ea7af96f77ba504ac9f563f3966e84a7108990122e5cee241b DIST libva-1.8.1.tar.gz 195281 SHA256 b8b876dc5571f278ce418ad81d9bfd689453e33ba39aeb681d5d53d226b17e36 SHA512 381267a1835a2c98a5fb093597aa795929afc4c64e2c5fa3aebb6497acf27428dff05ada5ecd698c25c74a350aa5bd9c42baacfcfe7028b2b420d52e10c78bfa WHIRLPOOL efb43f1b2aede1f91fbe30fe47123d87c3edc84370bea829d455faaae82dbe2b51cdbb53e0be77a5f5a55daab940e3ccbced0504d786fd6a641ad12e6497a335 DIST libva-1.8.2.tar.gz 195281 SHA256 bce8a3b8f1274dcae3e42146416fd9d1231bab5c40666b7b8aa9e534faa9d400 SHA512 1cf6ab6155e53d09d13710e23bf7baf6dfc33fb121d2171792fc258a41a78bbb5741bf6860f72a832f15e027034aa1e19b4feac0a1ba02ce8b19b2081ac730a3 WHIRLPOOL 4ab45eabdd7b5dac1697d236b4fcc2ddb35a99e78af11b96934ed0da36f4f37ae850155ece3cd1a856c3f081052b757a932a1aa9f999966ea784db47309b3831 +DIST libva-1.8.3.tar.gz 186915 SHA256 5ac4b0156c39cbca78913ebc0ff823b1abd5faa41121204c0707d62c27f07285 SHA512 f2f360876d8443a22a3434aa1ac7ec5aa6d4b3cc1f13f475ef74e716f5937acc43e02f9a8b858b5b7b6539da3731f763843d45664cc19c70e81d8b87e93659ea WHIRLPOOL 8d34b91a9a553ce871bf2f87cb5f06cd49cf63b8ee567f23a39e141a9420aa01c39ff45653a2662a0685881c383f0542063f47fea73e92a372fe3218ae7cdd5b diff --git a/x11-libs/libva/libva-1.8.3.ebuild b/x11-libs/libva/libva-1.8.3.ebuild new file mode 100644 index 000000000000..702170c3b9e1 --- /dev/null +++ b/x11-libs/libva/libva-1.8.3.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +SCM="" +if [ "${PV%9999}" != "${PV}" ] ; then # Live ebuild + SCM=git-r3 + EGIT_BRANCH=master + EGIT_REPO_URI="https://github.com/01org/libva" +fi + +AUTOTOOLS_AUTORECONF="yes" +inherit autotools-multilib ${SCM} multilib + +DESCRIPTION="Video Acceleration (VA) API for Linux" +HOMEPAGE="https://01.org/linuxmedia/vaapi" +if [ "${PV%9999}" != "${PV}" ] ; then # Live ebuild + SRC_URI="" +else + SRC_URI="https://github.com/01org/libva/archive/${PV}.tar.gz -> ${P}.tar.gz" +fi + +LICENSE="MIT" +SLOT="0" +if [ "${PV%9999}" = "${PV}" ] ; then + KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux" +else + KEYWORDS="" +fi +IUSE="+drm egl opengl vdpau wayland X utils" + +VIDEO_CARDS="nvidia intel i965 fglrx nouveau" +for x in ${VIDEO_CARDS}; do + IUSE+=" video_cards_${x}" +done + +RDEPEND=">=x11-libs/libdrm-2.4.46[${MULTILIB_USEDEP}] + X? ( + >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}] + >=x11-libs/libXext-1.3.2[${MULTILIB_USEDEP}] + >=x11-libs/libXfixes-5.0.1[${MULTILIB_USEDEP}] + ) + egl? ( >=media-libs/mesa-9.1.6[egl,${MULTILIB_USEDEP}] ) + opengl? ( >=virtual/opengl-7.0-r1[${MULTILIB_USEDEP}] ) + wayland? ( >=dev-libs/wayland-1.0.6[${MULTILIB_USEDEP}] )" + +DEPEND="${RDEPEND} + virtual/pkgconfig" +PDEPEND="video_cards_nvidia? ( >=x11-libs/libva-vdpau-driver-0.7.4-r1[${MULTILIB_USEDEP}] ) + video_cards_nouveau? ( >=x11-libs/libva-vdpau-driver-0.7.4-r3[${MULTILIB_USEDEP}] ) + vdpau? ( >=x11-libs/libva-vdpau-driver-0.7.4-r1[${MULTILIB_USEDEP}] ) + video_cards_fglrx? ( + || ( >=x11-drivers/ati-drivers-14.12-r3[${MULTILIB_USEDEP}] + >=x11-libs/xvba-video-0.8.0-r1[${MULTILIB_USEDEP}] ) + ) + video_cards_intel? ( >=x11-libs/libva-intel-driver-1.2.2-r1[${MULTILIB_USEDEP}] ) + video_cards_i965? ( >=x11-libs/libva-intel-driver-1.2.2-r1[${MULTILIB_USEDEP}] ) + utils? ( media-video/libva-utils ) + " + +REQUIRED_USE="|| ( drm wayland X ) + opengl? ( X )" + +DOCS=( NEWS ) + +MULTILIB_WRAPPED_HEADERS=( +/usr/include/va/va_backend_glx.h +/usr/include/va/va_x11.h +/usr/include/va/va_dri2.h +/usr/include/va/va_dricommon.h +/usr/include/va/va_glx.h +) + +multilib_src_configure() { + local myeconfargs=( + --with-drivers-path="${EPREFIX}/usr/$(get_libdir)/va/drivers" + $(use_enable opengl glx) + $(use_enable X x11) + $(use_enable wayland) + $(use_enable egl) + $(use_enable drm) + ) + autotools-utils_src_configure +} diff --git a/x11-libs/libva/libva-9999.ebuild b/x11-libs/libva/libva-9999.ebuild index 687996985436..702170c3b9e1 100644 --- a/x11-libs/libva/libva-9999.ebuild +++ b/x11-libs/libva/libva-9999.ebuild @@ -30,7 +30,7 @@ else fi IUSE="+drm egl opengl vdpau wayland X utils" -VIDEO_CARDS="dummy nvidia intel i965 fglrx nouveau" +VIDEO_CARDS="nvidia intel i965 fglrx nouveau" for x in ${VIDEO_CARDS}; do IUSE+=" video_cards_${x}" done @@ -75,7 +75,6 @@ MULTILIB_WRAPPED_HEADERS=( multilib_src_configure() { local myeconfargs=( --with-drivers-path="${EPREFIX}/usr/$(get_libdir)/va/drivers" - $(use_enable video_cards_dummy dummy-driver) $(use_enable opengl glx) $(use_enable X x11) $(use_enable wayland) |