libqrtr-glib: bump to 1.2.2
authorKuan-Yi Li <kyli@abysm.org>
Thu, 3 Mar 2022 18:38:07 +0000 (02:38 +0800)
committerRosen Penev <rosenp@gmail.com>
Wed, 9 Mar 2022 10:15:46 +0000 (02:15 -0800)
Builds are now done from git repository based on release tag. [1][2]

Switch to meson as GNU autotools based build is no longer supported. [2]

Update SPDX license identifier [3] and switch to AUTORELEASE to avoid
manual increments.

[1] https://www.freedesktop.org/software/libqmi/libqrtr-glib-RELEASES-README
[2] https://lists.freedesktop.org/archives/libqmi-devel/2021-November/003721.html
[3] https://gitlab.freedesktop.org/mobile-broadband/libqrtr-glib/-/tree/1.2.2#license

Signed-off-by: Kuan-Yi Li <kyli@abysm.org>
libs/libqrtr-glib/Makefile

index b20ca1831d4ec4792b730d55a840225750bbd8d0..a1634a4e1bde4727883ac32ebc40aa2af1a67e20 100644 (file)
@@ -8,12 +8,13 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=libqrtr-glib
-PKG_VERSION:=1.0.0
-PKG_RELEASE:=1
+PKG_VERSION:=1.2.2
+PKG_RELEASE:=$(AUTORELEASE)
 
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
-PKG_SOURCE_URL:=https://www.freedesktop.org/software/libqmi/
-PKG_HASH:=30d879b2ade6f8f461def3a677755db5c0238babf688d5c83c03b3e6abe35cee
+PKG_SOURCE_PROTO:=git
+PKG_SOURCE_URL:=https://gitlab.freedesktop.org/mobile-broadband/libqrtr-glib.git
+PKG_SOURCE_VERSION:=$(PKG_VERSION)
+PKG_MIRROR_HASH:=ffb918edf96581d4ba310bd1e975297e9a7006a7e26f37934afde462585125f2
 
 PKG_MAINTAINER:=Nicholas Smith <nicholas.smith@telcoantennas.com.au>
 
@@ -22,6 +23,7 @@ PKG_BUILD_PARALLEL:=1
 
 include $(INCLUDE_DIR)/package.mk
 include $(INCLUDE_DIR)/nls.mk
+include $(INCLUDE_DIR)/meson.mk
 
 define Package/libqrtr-glib
   SECTION:=libs
@@ -29,7 +31,7 @@ define Package/libqrtr-glib
   DEPENDS:=+glib2
   TITLE:=Helper library to talk to QRTR enabled modems
   URL:=https://gitlab.freedesktop.org/mobile-broadband/libqrtr-glib
-  LICENSE:=LGPL-2.0-or-later
+  LICENSE:=LGPL-2.1-or-later
   LICENSE_FILES:=COPYING.LIB
 endef
 
@@ -37,12 +39,9 @@ define Package/libqrtr-glib/description
   Helper library talk to QRTR enabled modems.
 endef
 
-CONFIGURE_ARGS += \
-       --disable-static \
-       --disable-gtk-doc \
-       --disable-gtk-doc-html \
-       --disable-gtk-doc-pdf \
-       --disable-silent-rules
+MESON_ARGS += \
+       -Dintrospection=false \
+       -Dgtk_doc=false
 
 define Build/InstallDev
        $(INSTALL_DIR) $(1)/usr/include