Package Details: qflipper-momentum-git 1.3.3.r21.gfd70b20-1

Git Clone URL: https://aur.archlinux.org/qflipper-momentum-git.git (read-only, click to copy)
Package Base: qflipper-momentum-git
Description: Desktop qFlipper app configured with Momentum Firmware update server
Upstream URL: https://github.com/Next-Flip/qFlipper
Licenses: GPL3
Conflicts: qflipper
Provides: qflipper
Submitter: isaacify
Maintainer: isaacify
Last Packager: isaacify
Votes: 0
Popularity: 0.000000
First Submitted: 2024-08-17 03:01 (UTC)
Last Updated: 2025-09-27 04:04 (UTC)

Latest Comments

isaacify commented on 2025-09-27 04:05 (UTC)

I have updated the package according to your patches. Thank you.

darkgeem commented on 2025-09-27 02:41 (UTC)

Hey, the package won't build with more recent Qt versions (requires explicit definition of operator==, only defining operator!= won't work), it's an issue in the main qflipper-git package too, so here's a patch to address that:

diff --git a/.SRCINFO b/.SRCINFO
index df7aa03..fe55a28 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -2,6 +2,7 @@ pkgbase = qflipper-momentum-git
    pkgdesc = Desktop qFlipper app configured with Momentum Firmware update server
    pkgver = 1.3.3.r7.g25691ce
    pkgrel = 1
+   url = https://github.com/Next-Flip/qFlipper
    arch = x86_64
    license = GPL3
    makedepends = git
@@ -13,11 +14,13 @@ pkgbase = qflipper-momentum-git
    depends = qt6-svg
    provides = qflipper
    conflicts = qflipper
+   source = qflipper::git+https://github.com/Next-Flip/qFlipper.git
    source = libwdi::git+https://github.com/pbatard/libwdi
    source = nanopb::git+https://github.com/nanopb/nanopb
-   source = qflipper::git+https://github.com/Next-Flip/qFlipper
+   source = deviceinfo.patch
    sha256sums = SKIP
    sha256sums = SKIP
    sha256sums = SKIP
+   sha256sums = 62cda837a3b70964ee5f7ce692420451753e959b2b5e6bf31d3e8ddd1908a3dd

 pkgname = qflipper-momentum-git
diff --git a/PKGBUILD b/PKGBUILD
index e21b552..7044ff2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,8 +5,10 @@ pkgname="$_pkgname-momentum-git"
 pkgver=1.3.3.r7.g25691ce
 pkgrel=1
 pkgdesc="Desktop qFlipper app configured with Momentum Firmware update server"
+url="https://github.com/Next-Flip/qFlipper"
 license=('GPL3')
 arch=('x86_64')
+
 depends=(
   'libusb'
   'qt6-5compat'
@@ -18,24 +20,35 @@ makedepends=(
   'git'
   'qt6-tools'
 )
+
+provides=("$_pkgname")
+conflicts=("$_pkgname")
+
+_pkgsrc="$_pkgname"
 source=(
+  "$_pkgsrc"::"git+$url.git"
   "libwdi"::"git+https://github.com/pbatard/libwdi"
   "nanopb"::"git+https://github.com/nanopb/nanopb"
-  "$_pkgname"::"git+https://github.com/Next-Flip/qFlipper"
+  "deviceinfo.patch"
 )
 sha256sums=(
   'SKIP'
   'SKIP'
   'SKIP'
+  '62cda837a3b70964ee5f7ce692420451753e959b2b5e6bf31d3e8ddd1908a3dd'
 )

 prepare() {
-  cd "$_pkgname"
+  cd "$_pkgsrc"
   git submodule init
   git config submodule.driver-tool/libwdi.url "$srcdir/libwdi"
   git config submodule.3rdparty/nanopb.url "$srcdir/nanopb"
   git -c protocol.file.allow=always submodule update
-  
+
+  # https://github.com/flipperdevices/qFlipper/pull/233
+  patch -Np1 -i "$srcdir/deviceinfo.patch"
+
+  # Use uucp group instead of dialout for udev rules
   sed -i 's/dialout/uucp/g' installer-assets/udev/42-flipperzero.rules
 }

@@ -48,15 +61,15 @@ build() {
     PREFIX=/usr
   )

-  mkdir -p "$_pkgname/build"
-  cd "$_pkgname/build"
+  mkdir -p "$_pkgsrc/build"
+  cd "$_pkgsrc/build"

   qmake6 "${_qmake_options[@]}"
+
   make qmake_all
   make
 }

 package() {
-  make -C "$_pkgname/build" INSTALL_ROOT="$pkgdir" install
+  make -C "$_pkgsrc/build" INSTALL_ROOT="$pkgdir" install
 }
-
diff --git a/deviceinfo.patch b/deviceinfo.patch
new file mode 100644
index 0000000..6029a40
--- /dev/null
+++ b/deviceinfo.patch
@@ -0,0 +1,26 @@
+--- ./backend/flipperzero/deviceinfo.h 2025-09-27 04:20:36.356905116 +0200
++++ ./deviceinfo.h 2025-09-27 04:23:40.921991476 +0200
+@@ -31,6 +31,7 @@
+ 
+     // Needed in order to work with QVariant
+     bool operator !=(const HardwareInfo &other) const { Q_UNUSED(other) return true; }
++    bool operator ==(const HardwareInfo &other) const { Q_UNUSED(other) return false; }
+ };
+ 
+ struct SoftwareInfo {
+@@ -50,6 +51,7 @@
+ 
+     // Needed in order to work with QVariant
+     bool operator !=(const SoftwareInfo &other) const { Q_UNUSED(other) return true; }
++    bool operator ==(const SoftwareInfo &other) const { Q_UNUSED(other) return false; }
+ };
+ 
+ struct StorageInfo {
+@@ -67,6 +69,7 @@
+ 
+     // Needed in order to work with QVariant
+     bool operator !=(const StorageInfo &other) const { Q_UNUSED(other) return true; }
++    bool operator ==(const StorageInfo &other) const { Q_UNUSED(other) return false; }
+ };
+ 
+ struct ProtobufInfo {