this is my current manifest
{
"id" : "csucarig.wp2.LoraMap",
"runtime" : "org.gnome.Platform",
"runtime-version" : "master",
"sdk" : "org.gnome.Sdk",
"command" : "loramapc",
"finish-args" : [
"--share=network",
"--share=ipc",
"--socket=fallback-x11",
"--device=dri",
"--socket=wayland"
],
"cleanup" : [
"/include",
"/lib/pkgconfig",
"/man",
"/share/doc",
"/share/gtk-doc",
"/share/man",
"/share/pkgconfig",
"*.la",
"*.a"
],
"modules" : [
{
"name" : "protobuf",
"buildsystem" : "autotools",
"config-opts": [ "DIST_LANG=cpp" ],
"cleanup" : [
"/bin/protoc*",
"/lib/libprotoc*",
"/lib/libprotobuf-lite*"
],
"sources" : [
{
"type" : "archive",
"url" : "https://github.com/protocolbuffers/protobuf/releases/download/v3.17.3/protobuf-all-3.17.3.tar.gz",
"sha256" : "77ad26d3f65222fd96ccc18b055632b0bfedf295cb748b712a98ba1ac0b704b2"
}
]
},
{
"name" : "protobuf-c",
"buildsystem" : "autotools",
"sources" : [
{
"type" : "archive",
"url" : "https://github.com/protobuf-c/protobuf-c/releases/download/v1.4.0/protobuf-c-1.4.0.tar.gz",
"sha256" : "26d98ee9bf18a6eba0d3f855ddec31dbe857667d269bc0b6017335572f85bbcb"
}
]
},
{
"name" : "libshumate",
"buildsystem": "meson",
"config-opts": [
"-Ddemos=false",
"-Dgtk_doc=false",
"-Dvapi=false"
],
"sources" : [
{
"type" : "git",
"url" : "https://gitlab.gnome.org/GNOME/libshumate.git",
"branch" : "main"
}
]
},
{
"name" : "loramapc",
"builddir" : true,
"buildsystem" : "meson",
"sources" : [
{
"type" : "git",
"url" : "file:///home/wp2/Projects"
}
]
}
]
}
building the project works fine
but adding the dependency is a different story
loramapc_sources = [
'main.c',
'loramapc-application.c',
'loramapc-window.c',
]
shumate = dependency('shumate-1.0', version: '>= 1.2.alpha')
loramapc_deps = [
dependency('gtk4'),
dependency('libadwaita-1', version: '>= 1.4'),
dependency('shumate-1.0')
]
loramapc_sources += gnome.compile_resources('loramapc-resources',
'loramapc.gresource.xml',
c_name: 'loramapc'
)
executable('loramapc', loramapc_sources,
dependencies: [
loramapc_deps,
],
install: true,
)
i get this error message
Run-time dependency shumate-1.0 found: NO (tried pkgconfig and cmake)
../../../../../../Projects/LoraMapC/src/meson.build:8:10: ERROR: Dependency "shumate-1.0" not found, tried pkgconfig and cmake