From 8503a5c99e244f38d38659e9d43b5834b97a6d1b Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Tue, 26 Jul 2016 13:16:33 +0200 Subject: [PATCH] Release v0.4, and add a pkg-config file. --- Makefile | 8 ++++---- bmusb.cpp | 2 +- bmusb.pc | 12 ++++++++++++ 3 files changed, 17 insertions(+), 5 deletions(-) create mode 100644 bmusb.pc diff --git a/Makefile b/Makefile index c267aa1..a147176 100644 --- a/Makefile +++ b/Makefile @@ -16,14 +16,14 @@ $(LIB): bmusb.o fake_capture.o $(RANLIB) $@ clean: - $(RM) bmusb.o main.o $(LIB) main + $(RM) bmusb.o main.o fake_capture.o $(LIB) main install: all $(INSTALL) -m 755 -o root -g root -d \ $(DESTDIR)$(PREFIX)/lib \ - $(DESTDIR)$(PREFIX)/include/bmusb \ - $(DESTDIR)$(PREFIX)/pkgconfig + $(DESTDIR)$(PREFIX)/lib/pkgconfig \ + $(DESTDIR)$(PREFIX)/include/bmusb $(INSTALL) -m 755 -o root -g root $(LIB) $(DESTDIR)$(PREFIX)/lib $(INSTALL) -m 755 -o root -g root bmusb.h fake_capture.h $(DESTDIR)$(PREFIX)/include/bmusb - $(INSTALL) -m 755 -o root -g root bmusb.pc $(DESTDIR)$(PREFIX)/pkgconfig + $(INSTALL) -m 644 -o root -g root bmusb.pc $(DESTDIR)$(PREFIX)/lib/pkgconfig diff --git a/bmusb.cpp b/bmusb.cpp index 249722e..c4758f5 100644 --- a/bmusb.cpp +++ b/bmusb.cpp @@ -1,4 +1,4 @@ -// Intensity Shuttle USB3 prototype capture driver, v0.3 +// Intensity Shuttle USB3 capture driver, v0.4 // Can download 8-bit and 10-bit UYVY/v210 frames from HDMI, quite stable // (can do captures for hours at a time with no drops), except during startup // 576p60/720p60/1080i60 works, 1080p60 does not work (firmware limitation) diff --git a/bmusb.pc b/bmusb.pc new file mode 100644 index 0000000..18216d5 --- /dev/null +++ b/bmusb.pc @@ -0,0 +1,12 @@ +prefix=/usr/local +exec_prefix=${prefix} +libdir=${exec_prefix}/lib +includedir=${prefix}/include + +Name: bmusb +Description: userspace driver for Blackmagic USB3 video capture cards +Version: 0.4 +Cflags: -I${includedir} +Libs: -L${libdir} -lbmusb +Requires.private: libusb-1.0 +Libs.private: -lpthread -- 2.39.2