1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-06-29 14:47:46 +02:00

Add bazel build file for toxic.

This commit is contained in:
iphydf 2018-01-20 19:04:27 +00:00
parent 812a13b0fb
commit 685837357b
No known key found for this signature in database
GPG Key ID: 3855DBA2D74403C9
2 changed files with 27 additions and 1 deletions

26
BUILD.bazel Normal file
View File

@ -0,0 +1,26 @@
cc_binary(
name = "toxic",
srcs = glob([
"src/*.c",
"src/*.h",
]),
copts = [
"-DAUDIO",
"-DPACKAGE_DATADIR='\"data\"'",
"-DPYTHON",
"-DVIDEO",
],
linkopts = [
"-lconfig",
"-lncurses",
"-lopenal",
"-lX11",
],
deps = [
"//c-toxcore",
"@curl",
"@libqrencode",
"@libvpx",
"@python3//:python",
],
)

View File

@ -862,7 +862,7 @@ void cmd_bitrate(WINDOW *window, ToxWindow *self, Tox *m, int argc, char (*argv)
break;
case TOXAV_ERR_BIT_RATE_SET_INVALID_BIT_RATE:
error_str = "Invalid AV bit rate value (valid is 6-510)";
error_str = "Invalid audio bit rate value (valid is 6-510)";
break;
case TOXAV_ERR_BIT_RATE_SET_FRIEND_NOT_FOUND: