Add libdiscid to Meson and Flatpak

This commit is contained in:
Elias Projahn 2021-01-16 16:59:42 +01:00
parent 8c3c439409
commit 75ee84dff7
2 changed files with 17 additions and 1 deletions

View file

@ -38,6 +38,21 @@
"*.a"
],
"modules" : [
{
"name": "libdiscid",
"buildsystem": "cmake-ninja",
"sources": [
{
"type": "archive",
"url": "https://github.com/metabrainz/libdiscid/archive/v0.6.2.tar.gz",
"sha256": "a9b73b030603ce707941a3aab4f46649fa5029025e7e2bfbbe0c3c93a86d7b20"
}
],
"cleanup": [
"/include",
"/lib/pkgconfig"
]
},
{
"name" : "musicus",
"builddir" : true,

View file

@ -10,6 +10,7 @@ dependency('gio-2.0', version: '>= 2.56')
dependency('gstreamer-1.0', version: '>= 1.12')
dependency('gtk+-3.0', version: '>= 3.24.7')
dependency('libcurl', version: '>= 7.24.0')
dependency('libdiscid', version: '>= 0.6.2')
dependency('libhandy-1', version: '>= 1.0.0')
dependency('pango', version: '>= 1.0')
dependency('sqlite3', version: '>= 3.20')
@ -21,4 +22,4 @@ subdir('po')
subdir('res')
subdir('src')
meson.add_install_script('build-aux/postinstall.py')
meson.add_install_script('build-aux/postinstall.py')