commit: b8c63f93d545f945e66c2bebdc285c0b5982cb9a Author: Nikoli <nikoli <AT> gmx <DOT> us> AuthorDate: Tue Apr 8 10:31:48 2014 +0000 Commit: Nikoli <nikoli <AT> lavabit <DOT> com> CommitDate: Tue Apr 8 10:31:48 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/x11.git;a=commit;h=b8c63f93
x11-libs/libvdpau-va-gl: version bump, upstream fixed tests Package-Manager: portage-2.2.8-r1 --- ...gl-0.1.0.ebuild => libvdpau-va-gl-0.3.4.ebuild} | 26 +++++++++++++--------- x11-libs/libvdpau-va-gl/libvdpau-va-gl-9999.ebuild | 26 +++++++++++++--------- 2 files changed, 30 insertions(+), 22 deletions(-) diff --git a/x11-libs/libvdpau-va-gl/libvdpau-va-gl-0.1.0.ebuild b/x11-libs/libvdpau-va-gl/libvdpau-va-gl-0.3.4.ebuild similarity index 57% rename from x11-libs/libvdpau-va-gl/libvdpau-va-gl-0.1.0.ebuild rename to x11-libs/libvdpau-va-gl/libvdpau-va-gl-0.3.4.ebuild index c0ecbb2..2117873 100644 --- a/x11-libs/libvdpau-va-gl/libvdpau-va-gl-0.1.0.ebuild +++ b/x11-libs/libvdpau-va-gl/libvdpau-va-gl-0.3.4.ebuild @@ -4,11 +4,11 @@ EAPI=5 -inherit cmake-utils +inherit cmake-utils virtualx pax-utils DESCRIPTION="VDPAU driver with VA-API/OpenGL backend." HOMEPAGE="https://github.com/i-rinat/libvdpau-va-gl/" -SRC_URI="https://github.com/i-rinat/${PN}/archive/v${PV}.tar.gz" +SRC_URI="https://github.com/i-rinat/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="LGPL-3" SLOT="0" @@ -16,22 +16,26 @@ KEYWORDS="~amd64 ~x86" RDEPEND=" dev-libs/glib:2 - x11-libs/libva[X,opengl] + media-libs/glu + virtual/ffmpeg + virtual/opengl + x11-libs/libva[X] x11-libs/libvdpau x11-libs/libX11 x11-libs/libXext - media-libs/glu - virtual/opengl - virtual/ffmpeg " DEPEND="${RDEPEND}" DOCS=(ChangeLog README.md) -# https://github.com/i-rinat/libvdpau-va-gl/issues/6 -RESTRICT="test" +src_compile() { + cmake-utils_src_compile + if use test; then + cmake-utils_src_make build-tests + pax-mark m "${BUILD_DIR}"/tests/test-* + fi +} -pkg_postinst() { - einfo "In order to use vdpau hardware video acceleration via ${PN}" - einfo "you have to add VDPAU_DRIVER=va_gl to your environment" +src_test() { + VIRTUALX_COMMAND=cmake-utils_src_test virtualmake } diff --git a/x11-libs/libvdpau-va-gl/libvdpau-va-gl-9999.ebuild b/x11-libs/libvdpau-va-gl/libvdpau-va-gl-9999.ebuild index a8d2840..56efa5f 100644 --- a/x11-libs/libvdpau-va-gl/libvdpau-va-gl-9999.ebuild +++ b/x11-libs/libvdpau-va-gl/libvdpau-va-gl-9999.ebuild @@ -4,33 +4,37 @@ EAPI=5 -inherit cmake-utils git-r3 +inherit cmake-utils virtualx pax-utils git-r3 DESCRIPTION="VDPAU driver with VA-API/OpenGL backend." HOMEPAGE="https://github.com/i-rinat/libvdpau-va-gl/" -EGIT_REPO_URI="git://github.com/i-rinat/libvdpau-va-gl.git" +EGIT_REPO_URI="https://github.com/i-rinat/libvdpau-va-gl.git" LICENSE="LGPL-3" SLOT="0" RDEPEND=" dev-libs/glib:2 - x11-libs/libva[X,opengl] + media-libs/glu + virtual/ffmpeg + virtual/opengl + x11-libs/libva[X] x11-libs/libvdpau x11-libs/libX11 x11-libs/libXext - media-libs/glu - virtual/opengl - virtual/ffmpeg " DEPEND="${RDEPEND}" DOCS=(ChangeLog README.md) -# https://github.com/i-rinat/libvdpau-va-gl/issues/6 -RESTRICT="test" +src_compile() { + cmake-utils_src_compile + if use test; then + cmake-utils_src_make build-tests + pax-mark m "${BUILD_DIR}"/tests/test-* + fi +} -pkg_postinst() { - einfo "In order to use vdpau hardware video acceleration via ${PN}" - einfo "you have to add VDPAU_DRIVER=va_gl to your environment" +src_test() { + VIRTUALX_COMMAND=cmake-utils_src_test virtualmake }