diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-07-10 23:40:16 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-07-10 23:40:16 +0100 |
commit | 51af5f0eb4cddbe6aa7953717873691d77aae9ff (patch) | |
tree | 1541525274162b033ebbc3ed38abaf335fbbd49a /x11-libs/libva | |
parent | 7014a5a3ea0feffab9701fdd6b64cc7667a985af (diff) |
gentoo resync : 11.07.2019
Diffstat (limited to 'x11-libs/libva')
-rw-r--r-- | x11-libs/libva/Manifest | 14 | ||||
-rw-r--r-- | x11-libs/libva/libva-2.2.0.ebuild | 79 | ||||
-rw-r--r-- | x11-libs/libva/libva-2.3.0.ebuild | 79 | ||||
-rw-r--r-- | x11-libs/libva/libva-2.4.1-r1.ebuild (renamed from x11-libs/libva/libva-2.4.0.ebuild) | 31 | ||||
-rw-r--r-- | x11-libs/libva/libva-2.5.0-r1.ebuild (renamed from x11-libs/libva/libva-2.1.0.ebuild) | 64 | ||||
-rw-r--r-- | x11-libs/libva/libva-9999.ebuild | 31 |
6 files changed, 79 insertions, 219 deletions
diff --git a/x11-libs/libva/Manifest b/x11-libs/libva/Manifest index 2ef5a5c6a294..9c0ff4b2eb23 100644 --- a/x11-libs/libva/Manifest +++ b/x11-libs/libva/Manifest @@ -1,14 +1,10 @@ DIST libva-1.7.3.tar.bz2 824490 BLAKE2B 0579492b700b00e9ed009798e6dcf6dd7fd6cd19e32af9fbab6d780ba83ae3a264dbbfab2633a3458a624fec1935435974875e58a9e57baca9be9cb7ce627488 SHA512 ecc1ba17e2afea2efe4d36e8d9358d420015b3ad9d2a510ee2b263274c889caf39915a8b8da2d16329184bf4f42d0cbd124af3d070b83235b6a7453afd30b3a0 DIST libva-1.8.3.tar.gz 186915 BLAKE2B 10713e3bd7aaefc033490fc9ef6485ec50774f274f09e9e06fd1479b882b221791375533a6826e5db9a758f2acd74f913a478da61fe32250a3e2d9c0062739fc SHA512 f2f360876d8443a22a3434aa1ac7ec5aa6d4b3cc1f13f475ef74e716f5937acc43e02f9a8b858b5b7b6539da3731f763843d45664cc19c70e81d8b87e93659ea -DIST libva-2.1.0.tar.gz 214894 BLAKE2B 0e29d3de915ce44d90ac96bc2ead73725efc34163da92da7d8791547d6ca2fd407319093fee89bce5b26b26818cc0131cc0c7f3cd4f511e3f847e3fd2cf1dff3 SHA512 dd4c901f9c75d03fa45b32af5ca08ba24ef68d354ad26ad53d0f87d3290bee152eed9e61b4dd4116c2d15baf0c74f2d37996d08f007d485c57af5e8d9648eb82 -DIST libva-2.2.0.tar.gz 218971 BLAKE2B c715f5f94cf25bcdf03be9ddeeb390fc073fe3fc7cea324e2f6da9bea490b14a99c41cf5f74d89fa3847c1357297d2c6faa877e76dce470319f532dc76d36f8a SHA512 0b026c99be2600a56833377a1cfd8efb736862dee942576d4d360b9844ace1efb21a2f1b9b1c2fabbbe4a9c483af24e47f31dd07516816acc8fa72e207f8cad4 -DIST libva-2.3.0.tar.gz 222152 BLAKE2B 235cb4ba79eeac334163e32b51313f74506e54a7ca5693b81a2bf00eff1d5204ba630e32028dc02fb47268772d12032471d7d6d47e189318230e8a52cc940fcc SHA512 b328e7426bd5fb33a4ed4817d7a33fb104b1f524f5ca83f60349df66cff22e9cd46d40238d29d5bf527f32c7da153088525e43d50454832ac9b4b7fe0be40692 -DIST libva-2.4.0.tar.bz2 455989 BLAKE2B 740460b5e23fc09dbb4de61dbe6c7d3820032d54d0ff9895d0a5e3235362e559e50d5349eab4c907367cef101f367256a9da3cf3a87526c444450f830b0ac4d6 SHA512 67373e20932bca0d52cd8f48ed10c1f01752be73642ad4d2c85dcee813dccf205c8ca62fdc69fb3f4f83a685e2a8ef2c6646174e3453a8f5763cac16a58321c3 +DIST libva-2.4.1.tar.bz2 456435 BLAKE2B 8500d5d234f6b5841611b7e46c9a729d8becaba0ce8311fe41cc6689339fb80ae665a974152c04c9b7ae5ce7693ed2549c3c0f284d8b21ecb25964745b6f43e1 SHA512 24af06e407c833f588e05e2be853bf004b0322d35ab35838ec2705c4158feb41e8ecc3a1b619fc291dfa7da49c8e17dd49993937624df0d4ed7ee2dbb90b1568 +DIST libva-2.5.0.tar.bz2 459677 BLAKE2B d6e5bf94bcbda0a724634164bd8cf91efbdbe36120e62e7e7eefcd749afffec1950d8904318b472c81ae07490c559c68b0853725c654a08592457118cd5d6a83 SHA512 ffaeb9cf8ed1f93073c1cb3e58f5b3d3612e81622d02f8e428c089f625d4370b496b7681ac2fc2823c48670c9fd3da50893b1db51de768cf0f5d866e2ee78106 EBUILD libva-1.7.3.ebuild 2266 BLAKE2B f7807f5eca706ca9895d517626d8114e8db889d37ca44a09370243f4a8b89ac00b01416ee41ddb14110b91cd9923610a87699c05302523ec771755a0265e99d4 SHA512 fb26954bd83809530bfa4358e5b8021438c5743ba3deafb988a94cfdd92a56c960a7bd5a1ebca3c03f1c84aa96305b3b202f29c9e1de8d84b4b25ce8df5fdb71 EBUILD libva-1.8.3.ebuild 2228 BLAKE2B f8ec448a272a59b1a15fd863bb813215d15c5c30a7fb7b100548a89e03a0af46d4a001c9ea76ed51fd2086c26c235101ac23cd13f6c46c6e9b2aaa7dabf54b42 SHA512 61a2b89d42c961f6a12c956091ec5cebc9dec5094854c8dd8191fa891c3de76254dd5df60ecbfa8b5387a30a4c2091848955145edcae5a9d98496b1804bcae85 -EBUILD libva-2.1.0.ebuild 2187 BLAKE2B 598cb516447d1d76919c1f49cae124f6a1a63dc369f065eeab02b8378a851874b8b979aa0828b8736e6f2de538aca8f0ebea7dbc6814fe2442bf91bc2b73423a SHA512 83cf290c8dfd618725f6fe02f12d989f80cad19cbf8c7ddf5a8fd9337e05fa465d58fbec87b4b9e9b8fdba54dc9ea9afbf475817e0343dc78045da405405ec01 -EBUILD libva-2.2.0.ebuild 2187 BLAKE2B 598cb516447d1d76919c1f49cae124f6a1a63dc369f065eeab02b8378a851874b8b979aa0828b8736e6f2de538aca8f0ebea7dbc6814fe2442bf91bc2b73423a SHA512 83cf290c8dfd618725f6fe02f12d989f80cad19cbf8c7ddf5a8fd9337e05fa465d58fbec87b4b9e9b8fdba54dc9ea9afbf475817e0343dc78045da405405ec01 -EBUILD libva-2.3.0.ebuild 2184 BLAKE2B 92b05e58ba15e2629bfacad470f97b4e04f46f97e97cc2bf38d7f73825c95d68cba13e13e73d77b7bc0ec549b539f8f776a1b3d291edbd72bb79c7525acbbc4c SHA512 487fbbede1034edefb87eeb854cac46476919037b7e55a0d1d18def4f514125a454fcac1b52db6297304e61f68bbe72454416e0834b2235a22bffe9721f84856 -EBUILD libva-2.4.0.ebuild 2053 BLAKE2B ea191297339491e347dc69561a740e5e73eee8e31398b43d4da4ac4bd9801542e03bafcf86b0395032c4d5fc5ef711ce4a68c81d424332f88ae31da30c9237bb SHA512 0907ae20fb8e229ec7559ff61c415d5a8a556106f5cee6ae68ea63666eb99e0ddeda6690470a6ed5c1ca206e333dc77538ced3f61f7a14b0904f5bf078346a1e -EBUILD libva-9999.ebuild 2053 BLAKE2B ea191297339491e347dc69561a740e5e73eee8e31398b43d4da4ac4bd9801542e03bafcf86b0395032c4d5fc5ef711ce4a68c81d424332f88ae31da30c9237bb SHA512 0907ae20fb8e229ec7559ff61c415d5a8a556106f5cee6ae68ea63666eb99e0ddeda6690470a6ed5c1ca206e333dc77538ced3f61f7a14b0904f5bf078346a1e +EBUILD libva-2.4.1-r1.ebuild 2189 BLAKE2B a57e450dd0eaf80a440f5dafdbf48e1ea337ba897468bf831f11c89e412a03916f2c9190f06bea45215d34084311618d29089995af9cab7011f20ba3693725e2 SHA512 94cacf1f0eea1290e3e493ec7d7a30bbede70a9ad9d372c762c9905d01e9a2558bd31e9d5f4c80539d53ee25b7146744d28742add3676b7b1f9cd642a2962f74 +EBUILD libva-2.5.0-r1.ebuild 2189 BLAKE2B a57e450dd0eaf80a440f5dafdbf48e1ea337ba897468bf831f11c89e412a03916f2c9190f06bea45215d34084311618d29089995af9cab7011f20ba3693725e2 SHA512 94cacf1f0eea1290e3e493ec7d7a30bbede70a9ad9d372c762c9905d01e9a2558bd31e9d5f4c80539d53ee25b7146744d28742add3676b7b1f9cd642a2962f74 +EBUILD libva-9999.ebuild 2189 BLAKE2B a57e450dd0eaf80a440f5dafdbf48e1ea337ba897468bf831f11c89e412a03916f2c9190f06bea45215d34084311618d29089995af9cab7011f20ba3693725e2 SHA512 94cacf1f0eea1290e3e493ec7d7a30bbede70a9ad9d372c762c9905d01e9a2558bd31e9d5f4c80539d53ee25b7146744d28742add3676b7b1f9cd642a2962f74 MISC metadata.xml 518 BLAKE2B 2d363f9ee3a690cda208cd96d14003254c0226bb8c396e367d4382107b675fe9f5d0713f826ef611ddb250e3dd919da5e19473f6e10aa59c05e99cd13335e34e SHA512 655f89ce0b04f3d31f02617065baf715a4e6394828b83b18fe12f35a7fa3a626192d9165d2520a5731b98215afea3db4e5b50caf3ed1915be1a707389449a367 diff --git a/x11-libs/libva/libva-2.2.0.ebuild b/x11-libs/libva/libva-2.2.0.ebuild deleted file mode 100644 index 2cfeb67ae2f1..000000000000 --- a/x11-libs/libva/libva-2.2.0.ebuild +++ /dev/null @@ -1,79 +0,0 @@ -# Copyright 1999-2018 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/intel/libva" -fi - -AUTOTOOLS_AUTORECONF="yes" -inherit autotools-multilib ${SCM} multilib versionator - -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/intel/libva/archive/${PV}.tar.gz -> ${P}.tar.gz" -fi - -LICENSE="MIT" -SLOT="0/$(get_version_component_range 1)" -if [ "${PV%9999}" = "${PV}" ] ; then - KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux" -else - KEYWORDS="" -fi -IUSE="+drm opengl vdpau wayland X utils" - -VIDEO_CARDS="nvidia intel i965 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}] - ) - opengl? ( >=virtual/opengl-7.0-r1[${MULTILIB_USEDEP}] ) - wayland? ( >=dev-libs/wayland-1.11[${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_intel? ( >=x11-libs/libva-intel-driver-2.0.0[${MULTILIB_USEDEP}] ) - video_cards_i965? ( >=x11-libs/libva-intel-driver-2.0.0[${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 drm) - ) - autotools-utils_src_configure -} diff --git a/x11-libs/libva/libva-2.3.0.ebuild b/x11-libs/libva/libva-2.3.0.ebuild deleted file mode 100644 index c22f59b50128..000000000000 --- a/x11-libs/libva/libva-2.3.0.ebuild +++ /dev/null @@ -1,79 +0,0 @@ -# Copyright 1999-2018 Gentoo Authors -# 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/intel/libva" -fi - -AUTOTOOLS_AUTORECONF="yes" -inherit autotools-multilib ${SCM} multilib versionator - -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/intel/libva/archive/${PV}.tar.gz -> ${P}.tar.gz" -fi - -LICENSE="MIT" -SLOT="0/$(get_version_component_range 1)" -if [ "${PV%9999}" = "${PV}" ] ; then - KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux" -else - KEYWORDS="" -fi -IUSE="+drm opengl vdpau wayland X utils" - -VIDEO_CARDS="nvidia intel i965 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}] - ) - opengl? ( >=virtual/opengl-7.0-r1[${MULTILIB_USEDEP}] ) - wayland? ( >=dev-libs/wayland-1.11[${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_intel? ( >=x11-libs/libva-intel-driver-2.0.0[${MULTILIB_USEDEP}] ) - video_cards_i965? ( >=x11-libs/libva-intel-driver-2.0.0[${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 drm) - ) - autotools-utils_src_configure -} diff --git a/x11-libs/libva/libva-2.4.0.ebuild b/x11-libs/libva/libva-2.4.1-r1.ebuild index 7de898cf6aa1..00629ae44aeb 100644 --- a/x11-libs/libva/libva-2.4.0.ebuild +++ b/x11-libs/libva/libva-2.4.1-r1.ebuild @@ -1,20 +1,19 @@ # Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=7 -if [[ ${PV} = *9999* ]] ; then # Live ebuild - inherit git-r3 - EGIT_BRANCH=master - EGIT_REPO_URI="https://github.com/intel/libva" - AUTOTOOLS_AUTORECONF="yes" -fi -inherit autotools-multilib eapi7-ver multilib +inherit multilib-minimal DESCRIPTION="Video Acceleration (VA) API for Linux" HOMEPAGE="https://01.org/linuxmedia/vaapi" -if [[ ${PV} != *9999* ]] ; then +if [[ ${PV} = *9999* ]] ; then # Live ebuild + inherit autotools git-r3 + EGIT_BRANCH=master + EGIT_REPO_URI="https://github.com/intel/libva" + AUTOTOOLS_AUTORECONF="yes" +else SRC_URI="https://github.com/intel/libva/releases/download/${PV}/${P}.tar.bz2" KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux" fi @@ -38,7 +37,8 @@ RDEPEND=" >=x11-libs/libXfixes-5.0.1[${MULTILIB_USEDEP}] ) " -DEPEND="${RDEPEND} +DEPEND="${RDEPEND}" +BDEPEND=" virtual/pkgconfig " PDEPEND="video_cards_nvidia? ( >=x11-libs/libva-vdpau-driver-0.7.4-r1[${MULTILIB_USEDEP}] ) @@ -62,6 +62,11 @@ MULTILIB_WRAPPED_HEADERS=( /usr/include/va/va_glx.h ) +src_prepare() { + default + [[ "${PV}" == *9999* ]] && eautoreconf +} + multilib_src_configure() { local myeconfargs=( --with-drivers-path="${EPREFIX}/usr/$(get_libdir)/va/drivers" @@ -70,5 +75,9 @@ multilib_src_configure() { $(use_enable wayland) $(use_enable drm) ) - autotools-utils_src_configure + ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" +} + +multilib_src_install_all() { + find "${ED}" -type f -name "*.la" -delete || die } diff --git a/x11-libs/libva/libva-2.1.0.ebuild b/x11-libs/libva/libva-2.5.0-r1.ebuild index 2cfeb67ae2f1..00629ae44aeb 100644 --- a/x11-libs/libva/libva-2.1.0.ebuild +++ b/x11-libs/libva/libva-2.5.0-r1.ebuild @@ -1,61 +1,56 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=7 -SCM="" -if [ "${PV%9999}" != "${PV}" ] ; then # Live ebuild - SCM=git-r3 - EGIT_BRANCH=master - EGIT_REPO_URI="https://github.com/intel/libva" -fi - -AUTOTOOLS_AUTORECONF="yes" -inherit autotools-multilib ${SCM} multilib versionator +inherit multilib-minimal DESCRIPTION="Video Acceleration (VA) API for Linux" HOMEPAGE="https://01.org/linuxmedia/vaapi" -if [ "${PV%9999}" != "${PV}" ] ; then # Live ebuild - SRC_URI="" + +if [[ ${PV} = *9999* ]] ; then # Live ebuild + inherit autotools git-r3 + EGIT_BRANCH=master + EGIT_REPO_URI="https://github.com/intel/libva" + AUTOTOOLS_AUTORECONF="yes" else - SRC_URI="https://github.com/intel/libva/archive/${PV}.tar.gz -> ${P}.tar.gz" + SRC_URI="https://github.com/intel/libva/releases/download/${PV}/${P}.tar.bz2" + KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux" fi LICENSE="MIT" -SLOT="0/$(get_version_component_range 1)" -if [ "${PV%9999}" = "${PV}" ] ; then - KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux" -else - KEYWORDS="" -fi -IUSE="+drm opengl vdpau wayland X utils" +SLOT="0/$(ver_cut 1)" +IUSE="+drm opengl utils vdpau wayland X" VIDEO_CARDS="nvidia intel i965 nouveau" for x in ${VIDEO_CARDS}; do IUSE+=" video_cards_${x}" done -RDEPEND=">=x11-libs/libdrm-2.4.46[${MULTILIB_USEDEP}] +RDEPEND=" + >=x11-libs/libdrm-2.4.46[${MULTILIB_USEDEP}] + opengl? ( >=virtual/opengl-7.0-r1[${MULTILIB_USEDEP}] ) + wayland? ( >=dev-libs/wayland-1.11[${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}] ) - opengl? ( >=virtual/opengl-7.0-r1[${MULTILIB_USEDEP}] ) - wayland? ( >=dev-libs/wayland-1.11[${MULTILIB_USEDEP}] )" - -DEPEND="${RDEPEND} - virtual/pkgconfig" +" +DEPEND="${RDEPEND}" +BDEPEND=" + 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_intel? ( >=x11-libs/libva-intel-driver-2.0.0[${MULTILIB_USEDEP}] ) video_cards_i965? ( >=x11-libs/libva-intel-driver-2.0.0[${MULTILIB_USEDEP}] ) utils? ( media-video/libva-utils ) - " +" REQUIRED_USE="|| ( drm wayland X ) - opengl? ( X )" + opengl? ( X )" DOCS=( NEWS ) @@ -67,6 +62,11 @@ MULTILIB_WRAPPED_HEADERS=( /usr/include/va/va_glx.h ) +src_prepare() { + default + [[ "${PV}" == *9999* ]] && eautoreconf +} + multilib_src_configure() { local myeconfargs=( --with-drivers-path="${EPREFIX}/usr/$(get_libdir)/va/drivers" @@ -75,5 +75,9 @@ multilib_src_configure() { $(use_enable wayland) $(use_enable drm) ) - autotools-utils_src_configure + ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" +} + +multilib_src_install_all() { + find "${ED}" -type f -name "*.la" -delete || die } diff --git a/x11-libs/libva/libva-9999.ebuild b/x11-libs/libva/libva-9999.ebuild index 7de898cf6aa1..00629ae44aeb 100644 --- a/x11-libs/libva/libva-9999.ebuild +++ b/x11-libs/libva/libva-9999.ebuild @@ -1,20 +1,19 @@ # Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=7 -if [[ ${PV} = *9999* ]] ; then # Live ebuild - inherit git-r3 - EGIT_BRANCH=master - EGIT_REPO_URI="https://github.com/intel/libva" - AUTOTOOLS_AUTORECONF="yes" -fi -inherit autotools-multilib eapi7-ver multilib +inherit multilib-minimal DESCRIPTION="Video Acceleration (VA) API for Linux" HOMEPAGE="https://01.org/linuxmedia/vaapi" -if [[ ${PV} != *9999* ]] ; then +if [[ ${PV} = *9999* ]] ; then # Live ebuild + inherit autotools git-r3 + EGIT_BRANCH=master + EGIT_REPO_URI="https://github.com/intel/libva" + AUTOTOOLS_AUTORECONF="yes" +else SRC_URI="https://github.com/intel/libva/releases/download/${PV}/${P}.tar.bz2" KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux" fi @@ -38,7 +37,8 @@ RDEPEND=" >=x11-libs/libXfixes-5.0.1[${MULTILIB_USEDEP}] ) " -DEPEND="${RDEPEND} +DEPEND="${RDEPEND}" +BDEPEND=" virtual/pkgconfig " PDEPEND="video_cards_nvidia? ( >=x11-libs/libva-vdpau-driver-0.7.4-r1[${MULTILIB_USEDEP}] ) @@ -62,6 +62,11 @@ MULTILIB_WRAPPED_HEADERS=( /usr/include/va/va_glx.h ) +src_prepare() { + default + [[ "${PV}" == *9999* ]] && eautoreconf +} + multilib_src_configure() { local myeconfargs=( --with-drivers-path="${EPREFIX}/usr/$(get_libdir)/va/drivers" @@ -70,5 +75,9 @@ multilib_src_configure() { $(use_enable wayland) $(use_enable drm) ) - autotools-utils_src_configure + ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" +} + +multilib_src_install_all() { + find "${ED}" -type f -name "*.la" -delete || die } |