]> git.ipfire.org Git - people/stevee/ipfire-3.x.git/commitdiff
libqrtr-glib: New package
authorStefan Schantl <stefan.schantl@ipfire.org>
Thu, 9 Jan 2025 18:35:13 +0000 (19:35 +0100)
committerStefan Schantl <stefan.schantl@ipfire.org>
Thu, 9 Jan 2025 18:37:47 +0000 (19:37 +0100)
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
libqrtr-glib/libqrtr-glib.nm [new file with mode: 0644]

diff --git a/libqrtr-glib/libqrtr-glib.nm b/libqrtr-glib/libqrtr-glib.nm
new file mode 100644 (file)
index 0000000..cd9a4c9
--- /dev/null
@@ -0,0 +1,66 @@
+###############################################################################
+# IPFire.org    - An Open Source Firewall Solution                            #
+# Copyright (C) - IPFire Development Team <info@ipfire.org>                   #
+###############################################################################
+
+name       = libqrtr-glib
+version    = 1.2.2
+release    = 1
+
+groups     = System/Libraries
+url        = https://modemmanager.org/docs/libqrtr-glib/
+license    = LGPL2.1+
+summary    = Qualcomm IPC Router protocol helper library.
+
+description
+       This package contains the libraries that make it easier to use and
+       manage the QRTR (Qualcomm IPC Router) bus.
+end
+
+source_dl  = https://gitlab.freedesktop.org/mobile-broadband/%{name}/-/archive/%{version}/
+sources    = %{thisapp}.tar.gz
+
+build
+       requires
+               gobject-introspection-devel
+               glib2-devel
+               meson
+               ninja
+               pkg-config
+       end
+
+       configure_options =\
+               --buildtype=release \
+               -D introspection=true \
+               -D gtk_doc=false
+
+       build
+               # Call meson and pass configure options
+               %{meson} %{configure_options}
+
+               # Call ninja to start build
+               %{meson_build}
+       end
+
+       test
+               # Run the testsuite
+               %{meson_test} || true
+       end
+
+       install
+               # Call meson for install
+               %{meson_install}
+       end
+end
+
+packages
+       package %{name}
+
+       package %{name}-devel
+               template DEVEL
+       end
+
+       package %{name}-debuginfo
+               template DEBUGINFO
+       end
+end