-
-
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.
Added new package gpac v2.2.1 (#6004)
* Added new package gpac v2.2.1 * Changed description and added gpac to list of package binaries --------- Co-authored-by: Wolfram Manthey <[email protected]>
- Loading branch information
Showing
7 changed files
with
94 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,28 @@ | ||
PKG_NAME = gpac | ||
PKG_VERS = 2.2.1 | ||
PKG_REV = 1 | ||
PKG_EXT = tar.gz | ||
PKG_DIST_NAME = v$(PKG_VERS).$(PKG_EXT) | ||
PKG_DIST_SITE = https://github.com/gpac/gpac/archive | ||
PKG_DIST_FILE = $(PKG_NAME)-$(PKG_VERS).$(PKG_EXT) | ||
PKG_DIR = $(PKG_NAME)-$(PKG_VERS) | ||
|
||
HOMEPAGE = https://gpac.io | ||
COMMENT = Home of MP4Box. | ||
LICENSE = LGPLv2 | ||
|
||
# incompatible toolchain | ||
UNSUPPORTED_ARCHS = $(PPC_ARCHS) $(ARMv5_ARCHS) $(ARMv7L_ARCHS) | ||
|
||
DEPENDS = cross/zlib | ||
|
||
CONFIGURE_ARGS = --enable-pic | ||
CONFIGURE_ARGS += --extra-cflags="-Wno-pointer-sign" | ||
|
||
PRE_COMPILE_TARGET = gpac_precompile | ||
|
||
include ../../mk/spksrc.cross-cc.mk | ||
|
||
.PHONY: gpac_precompile | ||
gpac_precompile: | ||
@echo "#define GPAC_GIT_REVISION \"$(PKG_REV) (SynoCommunity)\"" > $(WORK_DIR)/$(PKG_DIR)/include/gpac/revision.h |
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,11 @@ | ||
bin:bin/MP4Box | ||
bin:bin/gpac | ||
lib:lib/gpac/gm_validator.so | ||
lnk:lib/libgpac.so | ||
lnk:lib/libgpac.so.12 | ||
lib:lib/libgpac.so.12.10.1 | ||
lnk:lib/libz.so | ||
lnk:lib/libz.so.1 | ||
lib:lib/libz.so.1.2.13 | ||
rsc:share/gpac/ | ||
rsc:share/man/ |
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 @@ | ||
gpac-2.2.1.tar.gz SHA1 ad7189be7ee0540ab8187a982ea39a4266c0950d | ||
gpac-2.2.1.tar.gz SHA256 8173ecc4143631d7f2c59f77e1144b429ccadb8de0d53a4e254389fb5948d8b8 | ||
gpac-2.2.1.tar.gz MD5 a1a4a6c7f1525431b211b5ba47253ed0 |
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,22 @@ | ||
--- configure | ||
+++ configure | ||
@@ -48,13 +48,13 @@ if test "$cxx_orig" = "" ; then | ||
cxx_orig="g++" | ||
fi | ||
|
||
-ar="ar" | ||
-ranlib="ranlib" | ||
-make="make" | ||
-strip="strip" | ||
+ar="${AR:=ar}" | ||
+ranlib="${RANLIB:=ranlib}" | ||
+make="${MAKE:=make}" | ||
+strip="${STRIP:=strip}" | ||
pkg_config="pkg-config" | ||
-windres="windres" | ||
-readelf="readelf" | ||
+windres="${WINDRES:=windres}" | ||
+readelf="${READELF:=readelf}" | ||
install="${INSTALL:=install}" | ||
instflags="${INSTFLAGS:=-p}" | ||
cpu=`uname -m` |
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,11 @@ | ||
--- src/quickjs/quickjs.c | ||
+++ src/quickjs/quickjs.c | ||
@@ -73,7 +73,7 @@ | ||
|
||
/* define to include Atomics.* operations which depend on the OS | ||
threads */ | ||
-#if !defined(EMSCRIPTEN) && !defined(_MSC_VER) && !defined(GPAC_CONFIG_ANDROID) && !defined(__MINGW32__) && !defined(__CYGWIN__) | ||
+#if !defined(EMSCRIPTEN) && !defined(_MSC_VER) && !defined(GPAC_CONFIG_ANDROID) && !defined(GPAC_NO_STDATOMIC) && !defined(__MINGW32__) && !defined(__CYGWIN__) | ||
#define CONFIG_ATOMICS | ||
#endif | ||
|
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,19 @@ | ||
SPK_NAME = gpac | ||
SPK_VERS = 2.2.1 | ||
SPK_REV = 1 | ||
|
||
SPK_ICON = src/gpac.png | ||
|
||
DEPENDS = cross/$(SPK_NAME) | ||
|
||
MAINTAINER = wmanth | ||
DISPLAY_NAME = GPAC | ||
DESCRIPTION = GPAC is an open-source software dedicated to rich-media and broadcast technologies. It features the MP4 reference muxer MP4Box. | ||
STARTABLE = no | ||
|
||
HOMEPAGE = https://gpac.io | ||
LICENSE = LGPLv2 | ||
|
||
SPK_COMMANDS = bin/gpac bin/MP4Box | ||
|
||
include ../../mk/spksrc.spk.mk |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.