aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>2023-07-17 18:27:14 +0900
committer坂本 貴史 <o-takashi@sakamocchi.jp>2023-07-17 22:49:46 +0900
commit855f27f9f3388526e62dcc8a21e8cc210323b9a5 (patch)
treec0319c84f201aed09f2506ec36135d9d05458cb2
parent1b5e3136e36b707514980a83d6ca9eabaa80eca0 (diff)
downloadlibhinoko-855f27f9f3388526e62dcc8a21e8cc210323b9a5.tar.gz
meson: add dependency to libhinawa v2.6.0 or later
This commit adds new dependency to libhinawa v2.6.0 or later. Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
-rw-r--r--doc/hinoko.toml.in6
-rw-r--r--doc/urlmap.js1
-rw-r--r--meson.build4
-rw-r--r--src/meson.build7
4 files changed, 16 insertions, 2 deletions
diff --git a/doc/hinoko.toml.in b/doc/hinoko.toml.in
index a9f2332..ac71298 100644
--- a/doc/hinoko.toml.in
+++ b/doc/hinoko.toml.in
@@ -13,6 +13,7 @@ search_index=true
dependencies = [
"GLib-2.0",
"GObject-2.0",
+ "Hinawa-3.0",
]
[dependencies."GLib-2.0"]
@@ -25,6 +26,11 @@ name = "GObject"
description = "The base type system and object class"
docs_url = "https://docs.gtk.org/gobject/"
+[dependencies."Hinawa-3.0"]
+name = "Hinawa"
+description = "Operate OHCI 1394 hardware for asynchronous communication with GObject Introspection support"
+docs_url = "https://alsa-project.github.io/gobject-introspection-docs/hinawa/"
+
[source-location]
base_url = "https://git.kernel.org/pub/scm/libs/ieee1394/libhinoko.git/tree/"
file_format = "{filename}?h=v@VERSION@#n{line}"
diff --git a/doc/urlmap.js b/doc/urlmap.js
index 915cb9d..ebe064e 100644
--- a/doc/urlmap.js
+++ b/doc/urlmap.js
@@ -1,4 +1,5 @@
baseURLs = [
[ 'GLib', 'https://docs.gtk.org/glib/' ],
[ 'GObject', 'https://docs.gtk.org/gobject/' ],
+ [ 'Hinawa', 'https://alsa-project.github.io/gobject-introspection-docs/hinawa/'],
]
diff --git a/meson.build b/meson.build
index 47cdcaf..3d9e8ed 100644
--- a/meson.build
+++ b/meson.build
@@ -9,6 +9,10 @@ major_version = version[0].to_int()
minor_version = version[1].to_int()
micro_version = version[2].to_int()
+hinawa_dependency = dependency('hinawa',
+ version: '>=2.6.0'
+)
+
subdir('src')
subdir('tests')
diff --git a/src/meson.build b/src/meson.build
index 33469d6..3f1684a 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -1,9 +1,11 @@
# Depends on glib-2.0 and gobject-2.0.
-gobject = dependency('gobject-2.0',
+gobject_dependency = dependency('gobject-2.0',
version: '>=2.44.0'
)
+
dependencies = [
- gobject,
+ gobject_dependency,
+ hinawa_dependency,
]
sources = [
@@ -93,6 +95,7 @@ hinoko_gir = gnome.generate_gir(myself,
includes: [
'GLib-2.0',
'GObject-2.0',
+ 'Hinawa-3.0',
],
header: 'hinoko.h',
install: true,