mirror of
https://github.com/coolsnowwolf/packages.git
synced 2025-05-01 15:22:43 +08:00
libmbim: sync upstream (#478)
* libmbim: bump to 1.26.0 Signed-off-by: Nicholas Smith <nicholas@nbembedded.com> * libmbim: switch to autorelease Signed-off-by: Nicholas Smith <nicholas@nbembedded.com> * libmbim: bump to 1.26.2 Signed-off-by: Kuan-Yi Li <kyli@abysm.org> * libmbim: remove unknown configure option The configure option --enable-more-warnings and --without-udev are not recognized by configure. Buildlog: configure: WARNING: unrecognized options: --disable-nls, --enable-more-warnings, --without-udev Therefore this unkown configure options are removed with this commit. Signed-off-by: Florian Eckert <fe@dev.tdt.de> * libmbim: switch to meson build tools Using https://gitlab.freedesktop.org/mobile-broadband/libmbim.git to download the source code. Enabled lto and additional gcc flags for perfomance and less size. Modified to use meson as upstream has abandoned autotools. Removed BUILD_PARALLEL options. These are default with ninja/meson. Signed-off-by: Maxim Anisimov <maxim.anisimov.ua@gmail.com> * libmbim: bump to 1.26.4 Signed-off-by: Aleksander Morgado <aleksander@aleksander.es> Co-authored-by: Nicholas Smith <nicholas@nbembedded.com> Co-authored-by: Kuan-Yi Li <kyli@abysm.org> Co-authored-by: Florian Eckert <fe@dev.tdt.de> Co-authored-by: Maxim Anisimov <maxim.anisimov.ua@gmail.com> Co-authored-by: Aleksander Morgado <aleksander@aleksander.es>
This commit is contained in:
parent
2ad4f53fa3
commit
bb1c7bc80d
@ -8,28 +8,29 @@
|
|||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=libmbim
|
PKG_NAME:=libmbim
|
||||||
PKG_VERSION:=1.24.8
|
PKG_SOURCE_VERSION:=1.26.4
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=$(AUTORELEASE)
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
|
PKG_SOURCE_PROTO:=git
|
||||||
PKG_SOURCE_URL:=https://www.freedesktop.org/software/libmbim
|
PKG_SOURCE_URL:=https://gitlab.freedesktop.org/mobile-broadband/libmbim.git
|
||||||
PKG_HASH:=02590736163fff10e5732191fccc1b9920969616ddc59613a003052a116a3c25
|
PKG_MIRROR_HASH:=4963f9135f8ad26165d969d0b2028b00d68243201113c94a2ebe22c4227058a4
|
||||||
|
|
||||||
PKG_MAINTAINER:=Nicholas Smith <nicholas.smith@telcoantennas.com.au>
|
PKG_MAINTAINER:=Nicholas Smith <nicholas@nbembedded.com>
|
||||||
|
|
||||||
PKG_INSTALL:=1
|
PKG_INSTALL:=1
|
||||||
PKG_BUILD_PARALLEL:=1
|
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
include $(INCLUDE_DIR)/nls.mk
|
include $(INCLUDE_DIR)/nls.mk
|
||||||
|
include $(INCLUDE_DIR)/meson.mk
|
||||||
|
|
||||||
CONFIGURE_ARGS += \
|
TARGET_CFLAGS += -ffunction-sections -fdata-sections -fno-merge-all-constants -fmerge-constants
|
||||||
--disable-static \
|
TARGET_LDFLAGS += -Wl,--gc-sections
|
||||||
--disable-gtk-doc \
|
|
||||||
--disable-gtk-doc-html \
|
MESON_ARGS += \
|
||||||
--disable-gtk-doc-pdf \
|
-Dintrospection=false \
|
||||||
--disable-silent-rules \
|
-Dman=false \
|
||||||
--enable-more-warnings=yes
|
-Dbash_completion=false \
|
||||||
|
-Db_lto=true
|
||||||
|
|
||||||
define Package/libmbim
|
define Package/libmbim
|
||||||
SECTION:=libs
|
SECTION:=libs
|
||||||
@ -56,10 +57,6 @@ define Package/mbim-utils
|
|||||||
LICENSE_FILES:=COPYING
|
LICENSE_FILES:=COPYING
|
||||||
endef
|
endef
|
||||||
|
|
||||||
CONFIGURE_ARGS += \
|
|
||||||
--without-udev \
|
|
||||||
--without-udev-base-dir
|
|
||||||
|
|
||||||
define Build/InstallDev
|
define Build/InstallDev
|
||||||
$(INSTALL_DIR) $(1)/usr/include
|
$(INSTALL_DIR) $(1)/usr/include
|
||||||
$(CP) \
|
$(CP) \
|
||||||
@ -78,11 +75,15 @@ define Build/InstallDev
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/libmbim/install
|
define Package/libmbim/install
|
||||||
$(INSTALL_DIR) $(1)/usr/lib
|
$(INSTALL_DIR) \
|
||||||
|
$(1)/usr/lib \
|
||||||
|
$(1)/usr/libexec
|
||||||
|
|
||||||
$(CP) \
|
$(CP) \
|
||||||
$(PKG_INSTALL_DIR)/usr/lib/libmbim*.so.* \
|
$(PKG_INSTALL_DIR)/usr/lib/libmbim*.so.* \
|
||||||
$(1)/usr/lib/
|
$(1)/usr/lib/
|
||||||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/mbim-proxy $(1)/usr/lib/
|
|
||||||
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/libexec/mbim-proxy $(1)/usr/libexec/
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/mbim-utils/install
|
define Package/mbim-utils/install
|
||||||
|
Loading…
Reference in New Issue
Block a user