Longview man sentenced for dealing meth