mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-11 13:22:33 +00:00
parent
ae5b4c9624
commit
4a56171a77
repos/libports
1
repos/libports/lib/import/import-libuvc.mk
Normal file
1
repos/libports/lib/import/import-libuvc.mk
Normal file
@ -0,0 +1 @@
|
||||
INC_DIR += $(call select_from_ports,libuvc)/include
|
17
repos/libports/lib/mk/libuvc.mk
Normal file
17
repos/libports/lib/mk/libuvc.mk
Normal file
@ -0,0 +1,17 @@
|
||||
include $(REP_DIR)/lib/import/import-libuvc.mk
|
||||
|
||||
LIBUVC_DIR := $(call select_from_ports,libuvc)/src/lib/libuvc
|
||||
LIBS += libc libusb jpeg
|
||||
|
||||
INC_DIR += $(LIBUVC_DIR)/include
|
||||
|
||||
#CC_OPT += -DUVC_DEBUGGING
|
||||
|
||||
ALL_SRC_C := $(notdir $(wildcard $(LIBUVC_DIR)/src/*.c))
|
||||
SRC_C := $(filter-out example.c test.c,$(ALL_SRC_C))
|
||||
|
||||
vpath %.c $(LIBUVC_DIR)/src
|
||||
|
||||
SHARED_LIB := yes
|
||||
|
||||
CC_CXX_WARN_STRICT =
|
1
repos/libports/ports/libuvc.hash
Normal file
1
repos/libports/ports/libuvc.hash
Normal file
@ -0,0 +1 @@
|
||||
7a28e14a7037264f56d8a9a25e9c354054d6294d
|
21
repos/libports/ports/libuvc.port
Normal file
21
repos/libports/ports/libuvc.port
Normal file
@ -0,0 +1,21 @@
|
||||
LICENSE := BSD-3-Clause
|
||||
DOWNLOADS := libuvc.git
|
||||
VERSION := git
|
||||
|
||||
URL(libuvc) := https://github.com/libuvc/libuvc.git
|
||||
REV(libuvc) := 5cddef71b17d41f7e98875a840c50d9704c3d2b2
|
||||
DIR(libuvc) := src/lib/libuvc
|
||||
|
||||
DIRS := include/libuvc
|
||||
DIR_CONTENT(include/libuvc) := src/lib/libuvc/include/libuvc/libuvc.h
|
||||
|
||||
default: include/libuvc/libuvc_config.h
|
||||
|
||||
include/libuvc/libuvc_config.h: _dirs
|
||||
@$(MSG_GENERATE)$@
|
||||
$(VERBOSE)cp src/lib/libuvc/include/libuvc/libuvc_config.h.in $@
|
||||
$(VERBOSE)sed -e 's/@libuvc_VERSION_MAJOR@/0/' \
|
||||
-e 's/@libuvc_VERSION_MINOR@/0/' \
|
||||
-e 's/@libuvc_VERSION_PATCH@/6/' \
|
||||
-e 's/@libuvc_VERSION@/0.0.6/' \
|
||||
-e 's/cmakedefine/define/' -i $@
|
Loading…
x
Reference in New Issue
Block a user