commit: 57a61bd634fbd53e799719d31c3d960fbf1747ce Author: g3ngr33n <gengreen <AT> tutanota <DOT> com> AuthorDate: Sun Aug 11 06:53:37 2019 +0000 Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org> CommitDate: Sun Aug 18 23:58:39 2019 +0000 URL: https://gitweb.gentoo.org/proj/musl.git/commit/?id=57a61bd6
x11-libs/libva-vdpau-driver: Bump 0.7.4-r5 - Fix headers time.h Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Anthony G. Basile <blueness <AT> gentoo.org> x11-libs/libva-vdpau-driver/Manifest | 2 +- .../files/0001-fix-headers-musl.patch | 10 +++++++ .../libva-vdpau-driver-0.7.4-r4.ebuild | 2 +- ...4.ebuild => libva-vdpau-driver-0.7.4-r5.ebuild} | 33 +++++++++++++--------- 4 files changed, 31 insertions(+), 16 deletions(-) diff --git a/x11-libs/libva-vdpau-driver/Manifest b/x11-libs/libva-vdpau-driver/Manifest index b79becd..3c4075e 100644 --- a/x11-libs/libva-vdpau-driver/Manifest +++ b/x11-libs/libva-vdpau-driver/Manifest @@ -1 +1 @@ -DIST libva-vdpau-driver-0.7.4.tar.bz2 316729 SHA256 155c1982f0ac3f5435ba20b221bcaa11be212c37db548cd1f2a030ffa17e9bb9 SHA512 89f98dc1d7d590fb68f440dd1e37e025d64a621324e013e85dd1367681c07b09132fd2089539fc5b48934624648887a8a97539b4f07ddf9f56a8a456ad030094 WHIRLPOOL b6ba281a482dc944acff67d83d26d5a5ac7f15ea1de05c921383bdf0f6dae769d0389e6d15b607e01a8d4e18d3254f66391bbd497aa4e0eed2adbab54a13bce1 +DIST libva-vdpau-driver-0.7.4.tar.bz2 316729 BLAKE2B b9cd0bbbe1e638ad29363cd0d8c6452de222023017283ce81f138730c7ba3396f3ffca40478746cab4b93a8855e73de405aa783e44e6c1179c5e347bd7eff657 SHA512 89f98dc1d7d590fb68f440dd1e37e025d64a621324e013e85dd1367681c07b09132fd2089539fc5b48934624648887a8a97539b4f07ddf9f56a8a456ad030094 diff --git a/x11-libs/libva-vdpau-driver/files/0001-fix-headers-musl.patch b/x11-libs/libva-vdpau-driver/files/0001-fix-headers-musl.patch new file mode 100644 index 0000000..2529fb2 --- /dev/null +++ b/x11-libs/libva-vdpau-driver/files/0001-fix-headers-musl.patch @@ -0,0 +1,10 @@ +--- a/src/utils.c ++++ b/src/utils.c +@@ -21,6 +21,7 @@ + #include "sysdeps.h" + #include "utils.h" + #include <time.h> ++#include <sys/time.h> + #include <errno.h> + + #define DEBUG 1 diff --git a/x11-libs/libva-vdpau-driver/libva-vdpau-driver-0.7.4-r4.ebuild b/x11-libs/libva-vdpau-driver/libva-vdpau-driver-0.7.4-r4.ebuild index c7a8a2e..cb8f67d 100644 --- a/x11-libs/libva-vdpau-driver/libva-vdpau-driver-0.7.4-r4.ebuild +++ b/x11-libs/libva-vdpau-driver/libva-vdpau-driver-0.7.4-r4.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=5 diff --git a/x11-libs/libva-vdpau-driver/libva-vdpau-driver-0.7.4-r4.ebuild b/x11-libs/libva-vdpau-driver/libva-vdpau-driver-0.7.4-r5.ebuild similarity index 55% copy from x11-libs/libva-vdpau-driver/libva-vdpau-driver-0.7.4-r4.ebuild copy to x11-libs/libva-vdpau-driver/libva-vdpau-driver-0.7.4-r5.ebuild index c7a8a2e..23e613e 100644 --- a/x11-libs/libva-vdpau-driver/libva-vdpau-driver-0.7.4-r4.ebuild +++ b/x11-libs/libva-vdpau-driver/libva-vdpau-driver-0.7.4-r5.ebuild @@ -1,10 +1,9 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=7 -AUTOTOOLS_AUTORECONF="yes" -inherit autotools-multilib eutils +inherit autotools multilib-minimal DESCRIPTION="VDPAU Backend for Video Acceleration (VA) API" HOMEPAGE="https://www.freedesktop.org/wiki/Software/vaapi" @@ -12,27 +11,32 @@ SRC_URI="https://www.freedesktop.org/software/vaapi/releases/libva-vdpau-driver/ LICENSE="GPL-2" SLOT="0" -KEYWORDS="amd64 x86" +KEYWORDS="~amd64 ~arm64 ~x86" IUSE="debug opengl" -RDEPEND=">=x11-libs/libva-1.2.1-r1[X,opengl?,${MULTILIB_USEDEP}] +RDEPEND=">=x11-libs/libva-1.2.1-r1:=[X,opengl?,${MULTILIB_USEDEP}] opengl? ( >=virtual/opengl-7.0-r1[${MULTILIB_USEDEP}] ) >=x11-libs/libvdpau-0.8[${MULTILIB_USEDEP}] !x11-libs/vdpau-video" -DEPEND="${DEPEND} +DEPEND="${RDEPEND} virtual/pkgconfig" DOCS=( NEWS README AUTHORS ) +PATCHES=( + "${FILESDIR}"/${P}-glext-missing-definition.patch + "${FILESDIR}"/${P}-VAEncH264VUIBufferType.patch + "${FILESDIR}"/${P}-libvdpau-0.8.patch + "${FILESDIR}"/${P}-sigfpe-crash.patch + "${FILESDIR}"/${P}-include-linux-videodev2.h.patch + "${FILESDIR}"/0001-fix-headers-musl.patch +) + src_prepare() { - epatch \ - "${FILESDIR}"/${P}-glext-missing-definition.patch \ - "${FILESDIR}"/${P}-VAEncH264VUIBufferType.patch \ - "${FILESDIR}"/${P}-libvdpau-0.8.patch \ - "${FILESDIR}"/${P}-missing-sys_time_h.patch + default sed -i 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' configure.ac || die - autotools-multilib_src_prepare + eautoreconf } multilib_src_configure() { @@ -40,5 +44,6 @@ multilib_src_configure() { $(use_enable debug) $(use_enable opengl glx) ) - autotools-utils_src_configure + + ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" }
