Description: Use pkg-config to find libortc
 .
 trx (0.1-0leo1) unstable; urgency=low
 .
   * Initial release
Author: Paul Evans <leonerd@leonerd.org.uk>

---

--- trx-0.1.orig/Makefile
+++ trx-0.1/Makefile
@@ -11,9 +11,11 @@ CFLAGS += -MMD -Wall
 
 LDLIBS_ASOUND ?= -lasound
 LDLIBS_OPUS ?= -lopus
-LDLIBS_ORTP ?= -lortp
 
-LDLIBS += $(LDLIBS_ASOUND) $(LDLIBS_OPUS) $(LDLIBS_ORTP)
+LDLIBS += $(LDLIBS_ASOUND) $(LDLIBS_OPUS)
+
+CFLAGS += $(shell pkg-config --cflags ortp)
+LDLIBS += $(shell pkg-config --libs ortp)
 
 .PHONY:		all install dist clean
 
