-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
spksrc: Allow managing spk files for realtek hardware acceleration
- Loading branch information
Showing
7 changed files
with
75 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,33 @@ | ||
PKG_NAME = gst-omx | ||
PKG_VERS = 1.20.3 | ||
PKG_EXT = tar.xz | ||
PKG_DIST_NAME = $(PKG_NAME)-$(PKG_VERS).$(PKG_EXT) | ||
PKG_DIST_SITE = https://gstreamer.freedesktop.org/src/gst-omx | ||
PKG_DIR = $(PKG_NAME)-$(PKG_VERS) | ||
|
||
#DEPENDS = cross/glib | ||
DEPENDS += cross/realtek-omx | ||
DEPENDS += cross/gstreamer | ||
DEPENDS += cross/gst-plugins-base | ||
|
||
HOMEPAGE = https://github.com/GStreamer/gst-omx | ||
COMMENT = This plugin wraps available OpenMAX IL components and makes them available as standard GStreamer elements. | ||
LICENSE = LGPLv2.1 | ||
|
||
CONFIGURE_ARGS += -Ddoc=disabled | ||
#CONFIGURE_ARGS += -Dexamples=disabled | ||
CONFIGURE_ARGS += -Dtarget=generic | ||
|
||
# Require access to glib-mkenums Python script | ||
#ENV += PATH=$(STAGING_INSTALL_PREFIX)/bin:$$PATH | ||
|
||
#include ../../mk/spksrc.common.mk | ||
|
||
#ADDITIONAL_CFLAGS = -std=c99 | ||
#ADDITIONAL_CFLAGS += -D_XOPEN_SOURCE=600 | ||
|
||
#ifeq ($(call version_lt, $(call version_gcc), 5),1) | ||
#ADDITIONAL_CFLAGS += -D_GNU_SOURCE | ||
#endif | ||
|
||
include ../../mk/spksrc.cross-meson.mk |
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 @@ | ||
lib:lib/gstreamer-1.0/libgstomx.so |
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 @@ | ||
gst-omx-1.20.3.tar.xz SHA1 b67f876a797629b12e7e6ab7444c28cfc811f393 | ||
gst-omx-1.20.3.tar.xz SHA256 8db48040bb41f09edf8d17ff6d16c54888d7777ba4501c2c69f0083350ea9a15 | ||
gst-omx-1.20.3.tar.xz MD5 e49a1f3a3460878ed015555764971a9b |
Binary file not shown.
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,34 @@ | ||
PKG_NAME = realtek-omx | ||
PKG_VERS = 2.4.9-1626 | ||
PKG_EXT = spk | ||
PKG_DIST_NAME = VideoStation-rtd1296-$(PKG_VERS).$(PKG_EXT) | ||
#PKG_DIST_NAME = $(PKG_NAME)src-$(PKG_VERS).$(PKG_EXT) | ||
#PKG_DIST_SITE = https://archive.synology.com/download/Package/VideoStation/$(PKG_VERS) | ||
PKG_DIST_SITE = https://global.download.synology.com/download/Package/spk/VideoStation/$(PKG_VERS) | ||
#https://global.download.synology.com/download/Package/spk/VideoStation/2.4.9-1626/VideoStation-rtd1296-2.4.9-1626.spk | ||
PKG_DIR = $(PKG_NAME)-$(PKG_VERS) | ||
|
||
DEPENDS = | ||
|
||
HOMEPAGE = https://rarlab.com | ||
COMMENT = Extract files from rar archives. | ||
LICENSE = freeware | ||
|
||
PRE_EXTRACT_TARGET = realtek-libomx_pre-extract | ||
POST_EXTRACT_TARGET = realtek-libomx_post-extract | ||
INSTALL_TARGET = realtek-libomx_install | ||
|
||
include ../../mk/spksrc.install-resources.mk | ||
|
||
.PHONY: realtek-libomx_pre-extract | ||
realtek-libomx_pre-extract: | ||
mkdir $(WORK_DIR)/$(PKG_DIR) | ||
|
||
.PHONY: realtek-libomx_post-extract | ||
realtek-libomx_post-extract: | ||
chmod 755 $(WORK_DIR)/$(PKG_DIR)/lib/gstreamer/gstreamer-1.0 | ||
|
||
.PHONY: realtek-libomx_install | ||
realtek-libomx_install: | ||
install -m 755 -d $(STAGING_INSTALL_PREFIX)/lib/realtek | ||
tar -cf - -C $(WORK_DIR)/$(PKG_DIR)/lib/realtek . | tar -xf - -C $(STAGING_INSTALL_PREFIX)/lib/realtek |
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 @@ | ||
VideoStation-rtd1296-2.4.9-1626.spk SHA1 c0c7d30d8eb7993f4d1e9b0a0c81be177dc07e7e | ||
VideoStation-rtd1296-2.4.9-1626.spk SHA256 cc8a7e6c0cf598b256b56542d0ec8c4c3bdc530f2328017fe0c1eb1c87ac7495 | ||
VideoStation-rtd1296-2.4.9-1626.spk MD5 224c03b009bf94631e61f780cad3c802 |
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