Home

Awesome

Build status License Alire crate GitHub release IRC Gitter chat

weechat-canberra

A WeeChat plug-in written in Ada 2012 that plays sounds using Canberra when a message is received, your nick name is highlighted, or when the client has (dis)connected to the IRC server.

If you are away (after 30 minutes of inactivity) then you will hear the sound of an incoming phone call if a message is received between 07:00 and 21:00, otherwise the plug-in tells the sender that you will be woken up around 07:00.

Uses the weechat-ada and canberra-ada bindings.

Dependencies

In order to build the plug-in, you need to have:

To use libcanberra, you need to have some backend installed:

Installation

A Makefile is provided to build the source code. Use make to build the source code:

$ make

After having compiled the source code, the plug-in can be installed to ~/.weechat/plugins/ by executing:

$ make install

Contributing

Read the contributing guidelines if you want to add a bugfix or an improvement.

License

This plug-in is licensed under the Apache License 2.0. The first line of each Ada file should contain an SPDX license identifier tag that refers to this license:

SPDX-License-Identifier: Apache-2.0