mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-09 04:51:27 +02:00
net-wireless/qflipper: rework nanopb include path
Keep closer to its upstream bundle path. Signed-off-by: Thibaud CANALE <thican@thican.net>
This commit is contained in:
parent
c692f456d2
commit
31a40d1aed
4 changed files with 8 additions and 22 deletions
|
|
@ -1,9 +1,9 @@
|
|||
---
|
||||
application/application.pro | 5 ++---
|
||||
cli/cli.pro | 5 ++---
|
||||
plugins/flipperproto0/flipperproto0.pro | 5 ++---
|
||||
plugins/flipperproto0/flipperproto0.pro | 4 ++--
|
||||
qFlipper.pro | 2 --
|
||||
4 files changed, 6 insertions(+), 11 deletions(-)
|
||||
4 files changed, 6 insertions(+), 10 deletions(-)
|
||||
|
||||
diff --git a/application/application.pro b/application/application.pro
|
||||
index c8b24333..28683b70 100644
|
||||
|
|
@ -52,20 +52,19 @@ index 5c007e7d..fe0106ee 100644
|
|||
|
||||
win32 {
|
||||
diff --git a/plugins/flipperproto0/flipperproto0.pro b/plugins/flipperproto0/flipperproto0.pro
|
||||
index 64848402..c6b9fee7 100644
|
||||
index 64848402..5595aa9b 100644
|
||||
--- a/plugins/flipperproto0/flipperproto0.pro
|
||||
+++ b/plugins/flipperproto0/flipperproto0.pro
|
||||
@@ -12,8 +12,7 @@ CONFIG += plugin c++11
|
||||
|
||||
@@ -13,7 +13,7 @@ CONFIG += plugin c++11
|
||||
VERSION = 0.0.0
|
||||
|
||||
-INCLUDEPATH += $$PWD/../protobufinterface \
|
||||
INCLUDEPATH += $$PWD/../protobufinterface \
|
||||
- $$PWD/../../3rdparty/nanopb
|
||||
+INCLUDEPATH += $$PWD/../protobufinterface
|
||||
+ /usr/include/nanopb
|
||||
|
||||
HEADERS += \
|
||||
guirequest.h \
|
||||
@@ -65,7 +64,7 @@ SOURCES += \
|
||||
@@ -65,7 +65,7 @@ SOURCES += \
|
||||
systemresponse.cpp
|
||||
|
||||
unix|win32 {
|
||||
|
|
@ -92,4 +91,4 @@ index 1bb97627..8b2a6c44 100644
|
|||
cli.depends = backend
|
||||
-plugins.depends = 3rdparty
|
||||
--
|
||||
2.39.2
|
||||
2.43.2
|
||||
|
|
|
|||
|
|
@ -1,11 +0,0 @@
|
|||
--- a/qflipper_common.pri.orig 2024-02-10 08:36:41.914137638 +0800
|
||||
+++ b/qflipper_common.pri 2024-02-10 08:51:51.385156397 +0800
|
||||
@@ -2,6 +2,8 @@
|
||||
|
||||
equals(QT_MAJOR_VERSION, 6): QT += core5compat
|
||||
|
||||
+INCLUDEPATH += "/usr/include/nanopb"
|
||||
+
|
||||
unix:!macx {
|
||||
DEFINES += USB_BACKEND_LIBUSB
|
||||
CONFIG += link_pkgconfig
|
||||
|
|
@ -45,7 +45,6 @@ DEPEND="${RDEPEND}"
|
|||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-1.3.0_unbundle.patch"
|
||||
"${FILESDIR}/${P}_display_version.patch"
|
||||
"${FILESDIR}/${PN}-nanopb.patch"
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
|
|
|
|||
|
|
@ -44,7 +44,6 @@ DEPEND="${RDEPEND}"
|
|||
# https://github.com/flipperdevices/qFlipper/issues/213
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-1.3.0_unbundle.patch"
|
||||
"${FILESDIR}/${PN}-nanopb.patch"
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue