]> git.sesse.net Git - bmusb/commitdiff
Release v0.4, and add a pkg-config file. 0.4
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Tue, 26 Jul 2016 11:16:33 +0000 (13:16 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Tue, 26 Jul 2016 12:16:06 +0000 (14:16 +0200)
Makefile
bmusb.cpp
bmusb.pc [new file with mode: 0644]

index c267aa1243aeb02e815b76060051953a6c6ccf9f..a14717685bba25c761c1bc090c2f01d29f732f67 100644 (file)
--- 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
 
index 249722ee8b3202a5ab7fbb239a5eca95a455c2b6..c4758f5eaa7a0c9c5bb8fe1e74b81c17ee255c14 100644 (file)
--- 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 (file)
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