[gentoo-commits] proj/x11:master commit in: media-libs/mesa/

2014-08-17 Thread Nikoli
commit: a6cbdcee9c4bbb52d0ad726804b2c1775e8feb50
Author: Nikoli nikoli AT gmx DOT us
AuthorDate: Sun Aug 17 17:24:49 2014 +
Commit: Nikoli nikoli AT lavabit DOT com
CommitDate: Sun Aug 17 17:24:49 2014 +
URL:
http://git.overlays.gentoo.org/gitweb/?p=proj/x11.git;a=commit;h=a6cbdcee

media-libs/mesa: rebuild is required when llvm is updated

https://bugs.gentoo.org/510774 by Alexander Tsoy alexander AT tsoy.me

Package-Manager: portage-2.2.8-r1

---
 media-libs/mesa/mesa-.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/mesa/mesa-.ebuild b/media-libs/mesa/mesa-.ebuild
index 3eeaf19..9ce1752 100644
--- a/media-libs/mesa/mesa-.ebuild
+++ b/media-libs/mesa/mesa-.ebuild
@@ -118,7 +118,7 @@ RDEPEND=
=dev-libs/libelf-0.8.13-r2[${MULTILIB_USEDEP}]
) )
)
-   =sys-devel/llvm-3.3-r3[${MULTILIB_USEDEP}]
+   =sys-devel/llvm-3.3-r3:=[${MULTILIB_USEDEP}]
)
opencl? (
app-admin/eselect-opencl



[gentoo-commits] proj/x11:master commit in: media-libs/mesa/

2014-06-14 Thread Nikoli
commit: 59d46d2a5035bbf15276f913ef88896781f9be84
Author: Nikoli nikoli AT gmx DOT us
AuthorDate: Sat Jun 14 06:26:30 2014 +
Commit: Nikoli nikoli AT lavabit DOT com
CommitDate: Sat Jun 14 06:26:30 2014 +
URL:
http://git.overlays.gentoo.org/gitweb/?p=proj/x11.git;a=commit;h=59d46d2a

media-libs/mesa: enable dri3 by default

Package-Manager: portage-2.2.8-r1

---
 media-libs/mesa/mesa-.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/mesa/mesa-.ebuild b/media-libs/mesa/mesa-.ebuild
index 70aa961..3d1ed05 100644
--- a/media-libs/mesa/mesa-.ebuild
+++ b/media-libs/mesa/mesa-.ebuild
@@ -49,7 +49,7 @@ for card in ${VIDEO_CARDS}; do
 done
 
 IUSE=${IUSE_VIDEO_CARDS}
-   bindist +classic debug dri3 +egl +gallium gbm gles1 gles2 +llvm +nptl
+   bindist +classic debug +dri3 +egl +gallium gbm gles1 gles2 +llvm +nptl
opencl openvg osmesa pax_kernel openmax pic r600-llvm-compiler selinux
vdpau wayland xvmc xa kernel_FreeBSD
 



[gentoo-commits] proj/x11:master commit in: media-libs/mesa/

2014-06-14 Thread Nikoli
commit: 10c2c5f6080cdb4a8932add26c668e3859f4f135
Author: Nikoli nikoli AT gmx DOT us
AuthorDate: Sat Jun 14 06:25:12 2014 +
Commit: Nikoli nikoli AT lavabit DOT com
CommitDate: Sat Jun 14 06:25:12 2014 +
URL:
http://git.overlays.gentoo.org/gitweb/?p=proj/x11.git;a=commit;h=10c2c5f6

media-libs/mesa: do not disable asm for amd64

bug #512208, thanks to Magnus Granberg for the patch

Package-Manager: portage-2.2.8-r1

---
 media-libs/mesa/mesa-.ebuild | 6 +-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/media-libs/mesa/mesa-.ebuild b/media-libs/mesa/mesa-.ebuild
index 965bb55..70aa961 100644
--- a/media-libs/mesa/mesa-.ebuild
+++ b/media-libs/mesa/mesa-.ebuild
@@ -300,6 +300,11 @@ multilib_src_configure() {

fi
 
+   # on abi_x86_32 hardened we need to have asm disable  
+   if [[ ${ABI} == x86* ]]  use pic; then
+   myconf+= --disable-asm
+   fi
+
# build fails with BSD indent, bug #428112
use userland_GNU || export INDENT=cat
 
@@ -316,7 +321,6 @@ multilib_src_configure() {
$(use_enable gles2) \
$(use_enable nptl glx-tls) \
$(use_enable osmesa) \
-   $(use_enable !pic asm) \
--enable-llvm-shared-libs \
--with-dri-drivers=${DRI_DRIVERS} \
--with-gallium-drivers=${GALLIUM_DRIVERS} \



[gentoo-commits] proj/x11:master commit in: media-libs/mesa/

2014-05-10 Thread Nikoli
commit: 4a6f2dd063e438eaa9f3c2594ba9d5893f4b6980
Author: Nikoli nikoli AT gmx DOT us
AuthorDate: Sat May 10 09:07:07 2014 +
Commit: Nikoli nikoli AT lavabit DOT com
CommitDate: Sat May 10 09:07:07 2014 +
URL:
http://git.overlays.gentoo.org/gitweb/?p=proj/x11.git;a=commit;h=4a6f2dd0

media-libs/mesa: fix runnings tests in hardened

Package-Manager: portage-2.2.8-r1

---
 media-libs/mesa/mesa-.ebuild | 9 -
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/media-libs/mesa/mesa-.ebuild b/media-libs/mesa/mesa-.ebuild
index 79f3c4e..835d0f8 100644
--- a/media-libs/mesa/mesa-.ebuild
+++ b/media-libs/mesa/mesa-.ebuild
@@ -14,7 +14,7 @@ fi
 PYTHON_COMPAT=( python{2_6,2_7} )
 
 inherit base autotools multilib multilib-minimal flag-o-matic \
-   python-any-r1 toolchain-funcs ${GIT_ECLASS}
+   python-any-r1 toolchain-funcs pax-utils ${GIT_ECLASS}
 
 OPENGL_DIR=xorg-x11
 
@@ -413,6 +413,13 @@ multilib_src_install_all() {
 }
 
 multilib_src_test() {
+   if use llvm; then
+   local llvm_tests='lp_test_arit lp_test_arit lp_test_blend 
lp_test_blend lp_test_conv lp_test_conv lp_test_format lp_test_format 
lp_test_printf lp_test_printf'
+   pushd src/gallium/drivers/llvmpipe /dev/null || die
+   emake ${llvm_tests}
+   pax-mark m ${llvm_tests}
+   popd /dev/null || die
+   fi
emake check
 }
 



[gentoo-commits] proj/x11:master commit in: media-libs/mesa/

2014-05-10 Thread Nikoli
commit: 985c1612d39f789ae9c6c5b76947189fd8a03777
Author: Nikoli nikoli AT gmx DOT us
AuthorDate: Sat May 10 09:09:49 2014 +
Commit: Nikoli nikoli AT lavabit DOT com
CommitDate: Sat May 10 09:09:49 2014 +
URL:
http://git.overlays.gentoo.org/gitweb/?p=proj/x11.git;a=commit;h=985c1612

media-libs/mesa: add missing dep

Package-Manager: portage-2.2.8-r1

---
 media-libs/mesa/mesa-.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/media-libs/mesa/mesa-.ebuild b/media-libs/mesa/mesa-.ebuild
index 835d0f8..a767726 100644
--- a/media-libs/mesa/mesa-.ebuild
+++ b/media-libs/mesa/mesa-.ebuild
@@ -165,6 +165,7 @@ DEPEND=${RDEPEND}
=x11-proto/xextproto-7.0.99.1[${MULTILIB_USEDEP}]
x11-proto/xf86driproto[${MULTILIB_USEDEP}]
x11-proto/xf86vidmodeproto[${MULTILIB_USEDEP}]
+   sys-devel/gettext
 
 
 S=${WORKDIR}/${MY_P}



[gentoo-commits] proj/x11:master commit in: x11-libs/libvdpau-va-gl/

2014-04-08 Thread Nikoli
commit: b8c63f93d545f945e66c2bebdc285c0b5982cb9a
Author: Nikoli nikoli AT gmx DOT us
AuthorDate: Tue Apr  8 10:31:48 2014 +
Commit: Nikoli nikoli AT lavabit DOT com
CommitDate: Tue Apr  8 10:31:48 2014 +
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-.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-.ebuild 
b/x11-libs/libvdpau-va-gl/libvdpau-va-gl-.ebuild
index a8d2840..56efa5f 100644
--- a/x11-libs/libvdpau-va-gl/libvdpau-va-gl-.ebuild
+++ b/x11-libs/libvdpau-va-gl/libvdpau-va-gl-.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
 }