-
-
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.
x264: restore deleted commit while rebasing
- Loading branch information
Showing
3 changed files
with
59 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,53 @@ | ||
PKG_NAME = x264 | ||
PKG_VERS = 20200702-stable | ||
PKG_EXT = tar.gz | ||
PKG_DOWNLOAD_METHOD = git | ||
PKG_GIT_HASH = 4c2aafd864dd201832ec2be0fef4484925146650 | ||
PKG_DIST_SITE = https://github.com/mirror/x264.git | ||
PKG_DIST_FILE = $(PKG_NAME)-git$(PKG_GIT_HASH).$(PKG_EXT) | ||
PKG_DIR = $(PKG_NAME)-git$(PKG_GIT_HASH) | ||
|
||
DEPENDS = | ||
OPTIONAL_DEPENDS = native/nasm | ||
|
||
HOMEPAGE = http://www.videolan.org/developers/x264.html | ||
COMMENT = x264 is a free software library and application for encoding video streams into the H.264/MPEG-4 AVC forma | ||
LICENSE = GPLv2 | ||
|
||
GNU_CONFIGURE = 1 | ||
|
||
# YASM_PATH = $(WORK_DIR)/../../../native/yasm/work-native/install/usr/local/bin | ||
NASM_PATH = $(WORK_DIR)/../../../native/nasm/work-native/install/usr/local/bin | ||
|
||
CONFIGURE_ARGS = --enable-shared --prefix=$(INSTALL_PREFIX) --enable-pic --cross-prefix=$(TC_PATH)$(TC_PREFIX) | ||
|
||
include ../../mk/spksrc.cross-cc.mk | ||
|
||
ifeq ($(findstring $(ARCH), $(ARM5_ARCHES) $(ARM7_ARCHES)),$(ARCH)) | ||
ENV += x264_ARCH=ARM | ||
CONFIGURE_ARGS += --disable-asm | ||
endif | ||
|
||
ifeq ($(findstring $(ARCH), $(ARM8_ARCHES)),$(ARCH)) | ||
ENV += x264_ARCH=aarch64 | ||
CONFIGURE_ARGS += --disable-asm --host=arm-linux | ||
endif | ||
|
||
ifeq ($(findstring $(ARCH), $(PPC_ARCHES)),$(ARCH)) | ||
ENV += x264_ARCH=PPC | ||
CONFIGURE_ARGS += --disable-asm | ||
endif | ||
|
||
ifeq ($(findstring $(ARCH), $(x64_ARCHES)),$(ARCH)) | ||
DEPENDS += native/nasm | ||
ENV += AS=$(NASM_PATH)/nasm | ||
ENV += PATH=$(NASM_PATH):$$PATH | ||
ENV += x264_ARCH=X86_64 | ||
endif | ||
|
||
ifeq ($(findstring $(ARCH), $(x86_ARCHES)),$(ARCH)) | ||
DEPENDS += native/nasm | ||
ENV += AS=$(NASM_PATH)/nasm | ||
ENV += PATH=$(NASM_PATH):$$PATH | ||
ENV += x264_ARCH=X86 | ||
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,3 @@ | ||
bin:bin/x264 | ||
lnk:lib/libx264.so | ||
lib:lib/libx264.so.161 |
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 @@ | ||
x264-git4c2aafd864dd201832ec2be0fef4484925146650.tar.gz SHA1 f175337ca760802730630aea8f2217ea91aaba2b | ||
x264-git4c2aafd864dd201832ec2be0fef4484925146650.tar.gz SHA256 0198c07a6dd1f60830e9ef0a42db2e92957b63091aa80a6b16eb8ca6bcfc9c05 | ||
x264-git4c2aafd864dd201832ec2be0fef4484925146650.tar.gz MD5 96767339ff11dd65ed5e8dd41d649d77 |