mirror of
https://github.com/Tha14/toxic.git
synced 2024-11-26 01:53:02 +01:00
Add bazel build file for toxic.
This commit is contained in:
parent
812a13b0fb
commit
685837357b
26
BUILD.bazel
Normal file
26
BUILD.bazel
Normal 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",
|
||||||
|
],
|
||||||
|
)
|
@ -862,7 +862,7 @@ void cmd_bitrate(WINDOW *window, ToxWindow *self, Tox *m, int argc, char (*argv)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case TOXAV_ERR_BIT_RATE_SET_INVALID_BIT_RATE:
|
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;
|
break;
|
||||||
|
|
||||||
case TOXAV_ERR_BIT_RATE_SET_FRIEND_NOT_FOUND:
|
case TOXAV_ERR_BIT_RATE_SET_FRIEND_NOT_FOUND:
|
||||||
|
Loading…
Reference in New Issue
Block a user