forked from openwrt/openwrt
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
95ba1de
commit ec038a9
Showing
2 changed files
with
72 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
include $(TOPDIR)/rules.mk | ||
|
||
PKG_NAME:=v4l2m2mpasser | ||
PKG_RELEASE=1 | ||
|
||
PKG_LICENSE:=GPLv2 | ||
PKG_LICENSE_FILES:= | ||
|
||
PKG_SOURCE_URL:=https://github.com/TSKangetsu/v4l2m2m | ||
PKG_MIRROR_HASH:=skip | ||
PKG_SOURCE_PROTO:=git | ||
PKG_SOURCE_DATE:=2024-11-11 | ||
|
||
PKG_SOURCE_VERSION:=ff7c03e82471411b5d9b7245af772faa2dc95245 | ||
PKG_BUILD_PARALLEL:=1 | ||
|
||
include $(INCLUDE_DIR)/kernel.mk | ||
include $(INCLUDE_DIR)/package.mk | ||
|
||
define KernelPackage/v4l2m2mpasser | ||
SUBMENU:=Video Support | ||
DEPENDS:=+kmod-video-videobuf2 | ||
TITLE:=Driver for v4l2 user space img exchange | ||
FILES:=$(PKG_BUILD_DIR)/v4l2m2m.ko | ||
AUTOLOAD:=$(call AutoProbe,v4l2m2m) | ||
endef | ||
|
||
define Build/Compile | ||
+$(MAKE) $(PKG_JOBS) -C "$(LINUX_DIR)" \ | ||
$(KERNEL_MAKE_FLAGS) \ | ||
M="$(PKG_BUILD_DIR)" \ | ||
modules | ||
endef | ||
|
||
$(eval $(call KernelPackage,v4l2m2mpasser)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
include $(TOPDIR)/rules.mk | ||
|
||
PKG_NAME:=cedurs-v4l2 | ||
PKG_LICENSE:=GPLv3 | ||
PKG_SOURCE_URL:=https://github.com/TSKangetsu/cedurs264-libav2v4l2 | ||
PKG_SOURCE_PROTO:=git | ||
PKG_SOURCE_DATE:=2024-11-13 | ||
PKG_SOURCE_VERSION:=e6888a4cdc14e91bca8aa8164f77c787626e0873 | ||
PKG_MIRROR_HASH:=skip | ||
PKG_BUILD_PARALLEL:=1 | ||
|
||
include $(INCLUDE_DIR)/package.mk | ||
include $(INCLUDE_DIR)/cmake.mk | ||
|
||
# CMAKE_OPTIONS+= \ | ||
# -G "Unix Makefiles" | ||
|
||
define Package/cedurs-v4l2 | ||
SECTION:=utils | ||
CATEGORY:=Utilities | ||
TITLE:=sunxi h264 encoder | ||
VERSION:=$(LINUX_VERSION)-$(PKG_SOURCE_DATE) | ||
endef | ||
|
||
define Package/cedurs-v4l2/description | ||
sunxi h3 cedurs v4l2 m2m h264 encoder driver | ||
endef | ||
|
||
define Build/Install | ||
endef | ||
|
||
define Package/cedurs-v4l2/install | ||
$(INSTALL_DIR) $(1)/usr/bin | ||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/v4l2-cedurs $(1)/usr/bin | ||
endef | ||
|
||
$(eval $(call BuildPackage,cedurs-v4l2)) |