forked from SynoCommunity/spksrc
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
openh264: Import from gstreamer PR SynoCommunity#5298
- Loading branch information
Showing
3 changed files
with
40 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,32 @@ | ||
PKG_NAME = openh264 | ||
PKG_VERS = 2.3.1 | ||
PKG_EXT = tar.gz | ||
PKG_DIST_FILE = $(PKG_NAME)-$(PKG_VERS).$(PKG_EXT) | ||
PKG_DIST_NAME = v$(PKG_VERS).$(PKG_EXT) | ||
PKG_DIST_SITE = https://github.com/cisco/openh264/archive/refs/tags | ||
PKG_DIR = $(PKG_NAME)-$(PKG_VERS) | ||
|
||
DEPENDS = | ||
|
||
HOMEPAGE = http://www.openh264.org/ | ||
COMMENT = OpenH264 is a codec library which supports H.264 encoding and decoding. It is suitable for use in real time applications such as WebRTC. | ||
LICENSE = BSD | ||
|
||
UNSUPPORTED_ARCHS = $(PPC_ARCHS) | ||
|
||
CONFIGURE_ARGS += -Dtests=disabled | ||
|
||
POST_INSTALL_TARGET = openh264-post_install | ||
|
||
BUILD_DEPENDS = native/nasm | ||
NASM_PATH = $(realpath $(WORK_DIR)/../../../native/nasm/work-native/install/usr/local/bin) | ||
ENV += PATH=$(NASM_PATH):$$PATH | ||
ENV += AS=$(NASM_PATH)/nasm | ||
|
||
include ../../mk/spksrc.cross-meson.mk | ||
|
||
.PHONY: openh264-post_install | ||
openh264-post_install: | ||
install -m 755 -d $(STAGING_INSTALL_PREFIX)/bin | ||
install -m 755 $(WORK_DIR)/$(PKG_DIR)/builddir/codec/console/dec/h264dec $(STAGING_INSTALL_PREFIX)/bin | ||
install -m 755 $(WORK_DIR)/$(PKG_DIR)/builddir/codec/console/enc/h264enc $(STAGING_INSTALL_PREFIX)/bin |
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,5 @@ | ||
bin:bin/h264dec | ||
bin:bin/h264enc | ||
lnk:lib/libopenh264.so | ||
lnk:lib/libopenh264.so.7 | ||
lib:lib/libopenh264.so.2.3.1 |
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,3 @@ | ||
openh264-2.3.1.tar.gz SHA1 e45884817e5bcca3fc0b0f90e8b87e8c00cf810b | ||
openh264-2.3.1.tar.gz SHA256 453afa66dacb560bc5fd0468aabee90c483741571bca820a39a1c07f0362dc32 | ||
openh264-2.3.1.tar.gz MD5 fb26184faec8e0d99ffc87e2abd188aa |