diff options
Diffstat (limited to 'lib/bluetooth')
-rw-r--r-- | lib/bluetooth/config.vala.in | 1 | ||||
-rw-r--r-- | lib/bluetooth/default.nix | 10 | ||||
-rw-r--r-- | lib/bluetooth/meson.build | 1 |
3 files changed, 12 insertions, 0 deletions
diff --git a/lib/bluetooth/config.vala.in b/lib/bluetooth/config.vala.in index 9fce720..f43dba3 100644 --- a/lib/bluetooth/config.vala.in +++ b/lib/bluetooth/config.vala.in @@ -1,3 +1,4 @@ +[CCode (gir_namespace = "AstalBluetooth", gir_version = "@API_VERSION@")] namespace AstalBluetooth { public const int MAJOR_VERSION = @MAJOR_VERSION@; public const int MINOR_VERSION = @MINOR_VERSION@; diff --git a/lib/bluetooth/default.nix b/lib/bluetooth/default.nix new file mode 100644 index 0000000..f2d58c8 --- /dev/null +++ b/lib/bluetooth/default.nix @@ -0,0 +1,10 @@ +{mkAstalPkg, ...}: +mkAstalPkg { + pname = "astal-bluetooth"; + src = ./.; + + libname = "bluetooth"; + authors = "Aylur"; + gir-suffix = "Bluetooth"; + description = "DBus proxy for bluez"; +} diff --git a/lib/bluetooth/meson.build b/lib/bluetooth/meson.build index 5288a9e..529e85f 100644 --- a/lib/bluetooth/meson.build +++ b/lib/bluetooth/meson.build @@ -20,6 +20,7 @@ config = configure_file( input: 'config.vala.in', output: 'config.vala', configuration: { + 'API_VERSION': api_version, 'VERSION': meson.project_version(), 'MAJOR_VERSION': version_split[0], 'MINOR_VERSION': version_split[1], |