Browse Source

meson: update to 1.3.1

Waldemar Brodkorb 1 year ago
parent
commit
cb5079ae83
3 changed files with 7 additions and 5 deletions
  1. 1 1
      mk/pkg-bottom.mk
  2. 2 2
      package/meson/Makefile
  3. 4 2
      package/meson/src/cross-compilation.conf.in

+ 1 - 1
mk/pkg-bottom.mk

@@ -53,7 +53,7 @@ ifneq ($(filter manual,${CONFIG_STYLE}),)
 else ifneq ($(filter meson,${CONFIG_STYLE}),)
 	@$(CMD_TRACE) "configuring meson.. "
 	(cd ${WRKSRC} && $(MESON_ENV) \
-		meson --prefix /usr --libdir lib \
+		meson setup --prefix /usr --libdir lib \
 		 --cross-file $(STAGING_HOST_DIR)/etc/meson/cross-compilation.conf \
 		 --build.pkg-config-path $(STAGING_HOST_DIR)/usr/lib/pkgconfig \
 		 --buildtype release $(MESON_FLAGS) \

+ 2 - 2
package/meson/Makefile

@@ -4,9 +4,9 @@
 include $(ADK_TOPDIR)/rules.mk
 
 PKG_NAME:=		meson
-PKG_VERSION:=		1.0.0
+PKG_VERSION:=		1.3.1
 PKG_RELEASE:=		1
-PKG_HASH:=		a2ada84d43c7e57400daee80a880a1f5003d062b2cb6c9be1747b0db38f2eb8d
+PKG_HASH:=		274c121edb859602eb4589d31d8791e980748bb19950fc6f611a21d76dc22cc6
 PKG_DESCR:=		build utility
 PKG_SECTION:=		dev/tools
 HOST_BUILDDEP:=		python3-host ninja-host

+ 4 - 2
package/meson/src/cross-compilation.conf.in

@@ -8,13 +8,15 @@ c = '@TARGET_CROSS@gcc'
 cpp = '@TARGET_CROSS@g++'                                                    
 ar = '@TARGET_CROSS@ar'                                                      
 strip = '@TARGET_CROSS@strip'                                                
-pkgconfig = '@STAGING_HOST_DIR@/usr/bin/pkg-config'
+pkg-config = '@STAGING_HOST_DIR@/usr/bin/pkg-config'
 
-[properties]                                                                 
+[built-in options]
 c_args = [@TARGET_CFLAGS@]                                                   
 c_link_args = [@TARGET_LDFLAGS@]                                             
 cpp_args = [@TARGET_CXXFLAGS@]                                               
 cpp_link_args = [@TARGET_LDFLAGS@]                                           
+
+[properties]                                                                 
 needs_exe_wrapper = true
                                                                              
 [host_machine]