Generalized two-dimensional QCD