package/{mesa3d, mesa3d-headers}: bump version to 10.6.0
PATCH 1/1 package/{mesa3d, mesa3d-headers}: bump version to 10.6.0
Mesa3d 10.6 adds optional support for SHA-1:
http://cgit.freedesktop.org/mesa/mesa/commit/configure.ac?id=a24bdce46f95cbe9efd3b26f157d1eb36584861f
Adding "--without-sha1" will cause this failure during configure:
configure: error: Illegal value for --with-sha1: no
so I did not add the else-clause when no SHA-1 provider is enabled.
--- package/mesa3d-headers/mesa3d-headers.mk | 2 +- package/mesa3d/mesa3d.hash | 4 ++-- package/mesa3d/mesa3d.mk | 12 +++++++++++- 3 files changed, 14 insertions(+), 4 deletions(-)
package/mesa3d-headers/mesa3d-headers.mk +1 -1
@@ -12,7 +12,7 @@ endif # Not possible to directly refer to mesa3d variables, because of # first/second expansion trickery... -MESA3D_HEADERS_VERSION = 10.5.7 +MESA3D_HEADERS_VERSION = 10.6.0 MESA3D_HEADERS_SOURCE = mesa-$(MESA3D_HEADERS_VERSION).tar.xz MESA3D_HEADERS_SITE = ftp://ftp.freedesktop.org/pub/mesa/$(MESA3D_HEADERS_VERSION) MESA3D_HEADERS_LICENSE = MIT, SGI, Khronos
package/mesa3d/mesa3d.hash +2 -2
@@ -1,2 +1,2 @@ -# From http://lists.freedesktop.org/archives/mesa-announce/2015-June/000157.html -sha256 04d06890cd69af8089d6ca76f40e46dcf9cacfe4a9788b32be620574d4638818 mesa-10.5.7.tar.xz +# From http://lists.freedesktop.org/archives/mesa-announce/2015-June/000158.html +sha256 f37e2633978deed02ff0522abc36c709586e2b555fd439a82ab71dce2c866c76 mesa-10.6.0.tar.xz
package/mesa3d/mesa3d.mk +11 -1
@@ -5,7 +5,7 @@ ################################################################################ # When updating the version, please also update mesa3d-headers -MESA3D_VERSION = 10.5.7 +MESA3D_VERSION = 10.6.0 MESA3D_SOURCE = mesa-$(MESA3D_VERSION).tar.xz MESA3D_SITE = ftp://ftp.freedesktop.org/pub/mesa/$(MESA3D_VERSION) MESA3D_LICENSE = MIT, SGI, Khronos
@@ -20,6 +20,16 @@ MESA3D_DEPENDENCIES = \ expat \ libdrm +ifeq ($(BR2_PACKAGE_OPENSSL),y) +MESA3D_DEPENDENCIES += openssl +MESA3D_CONF_OPTS += --with-sha1=libcrypto +else +ifeq ($(BR2_PACKAGE_LIBGCRYPT),y) +MESA3D_DEPENDENCIES += libgcrypt +MESA3D_CONF_OPTS += --with-sha1=libgcrypt +endif +endif + ifeq ($(BR2_PACKAGE_XORG7),y) MESA3D_DEPENDENCIES += \ xproto_xf86driproto \
Signature · 1 line
1.7.10.4
PATCH 1/1 package/{mesa3d, mesa3d-headers}: bump version to 10.6.0
Dear Bernd Kuhls,
Quoted 7 lines · Bernd Kuhls
Mesa3d 10.6 adds optional support for SHA-1:
http://cgit.freedesktop.org/mesa/mesa/commit/configure.ac?id=a24bdce46f95cbe9efd3b26f157d1eb36584861fAdding "--without-sha1" will cause this failure during configure:
configure: error: Illegal value for --with-sha1: no
Quoted 8 lines
so I did not add the else-clause when no SHA-1 provider is enabled.
Signed-off-by Bernd Kuhls <[email protected]>--- package/mesa3d-headers/mesa3d-headers.mk | 2 +- package/mesa3d/mesa3d.hash | 4 ++-- package/mesa3d/mesa3d.mk | 12 +++++++++++- 3 files changed, 14 insertions(+), 4 deletions(-)
Applied after simplifying the else ifeq test. Instead of:
ifeq ...
....
else
ifeq ...
...
endif
endif
You can do:
ifeq ...
...
else ifeq ...
...
endif
Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com