Update package version to 4.2
This commit is contained in:
@@ -1,9 +1,21 @@
|
|||||||
name: x265
|
name: x265
|
||||||
description: Free software library and application for encoding video streams into the H.265/MPEG-H HEVC compression format
|
description: Free software library and application for encoding video streams into the H.265/MPEG-H HEVC compression format
|
||||||
version: 4.1
|
version: "4.2"
|
||||||
|
revision: 1
|
||||||
url: https://www.videolan.org/developers/x265.html
|
url: https://www.videolan.org/developers/x265.html
|
||||||
license: GPL
|
license: GPL
|
||||||
|
maintainers:
|
||||||
|
- [email protected]
|
||||||
architecture: any
|
architecture: any
|
||||||
depends: ["gcc-libs"]
|
|
||||||
make_depends: ["cmake", "nasm"]
|
|
||||||
type: source
|
type: source
|
||||||
|
depends:
|
||||||
|
- gcc-libs
|
||||||
|
- numactl
|
||||||
|
make_depends:
|
||||||
|
- cmake
|
||||||
|
- nasm
|
||||||
|
downloads:
|
||||||
|
- url: https://bitbucket.org/multicoreware/x265_git/downloads/x265_${BPM_PKG_VERSION}.tar.gz
|
||||||
|
extract_to: ${BPM_SOURCE}
|
||||||
|
extract_strip_components: 1
|
||||||
|
checksum: 40b1ea0453e0309f0eba934e0ddf533f8f6295966679e8894e8f1c1c8d5e1210
|
||||||
|
|||||||
@@ -2,15 +2,9 @@
|
|||||||
# BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE
|
# BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE
|
||||||
# BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT
|
# BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT
|
||||||
|
|
||||||
DOWNLOAD="https://bitbucket.org/multicoreware/x265_git/downloads/x265_${BPM_PKG_VERSION}.tar.gz"
|
|
||||||
FILENAME="${DOWNLOAD##*/}"
|
|
||||||
|
|
||||||
# The prepare function is executed in the root of the temp directory
|
# The prepare function is executed in the root of the temp directory
|
||||||
# This function is used for downloading files and putting them into the correct location
|
# This function is used for putting downloaded files to the correct location or applying patches
|
||||||
prepare() {
|
prepare() {
|
||||||
wget "$DOWNLOAD"
|
|
||||||
tar -xvf "$FILENAME" --strip-components=1 -C "$BPM_SOURCE"
|
|
||||||
|
|
||||||
cd "$BPM_SOURCE"
|
cd "$BPM_SOURCE"
|
||||||
# Fix Cmake 4.0+ issue
|
# Fix Cmake 4.0+ issue
|
||||||
sed -r -i '/cmake_policy.*(0025|0054)/d' source/CMakeLists.txt
|
sed -r -i '/cmake_policy.*(0025|0054)/d' source/CMakeLists.txt
|
||||||
|
|||||||
Reference in New Issue
Block a user