Skip to content

Commit 83a65bd

Browse files
Esteve SoriaStellaSmith
Esteve Soria
authored andcommitted
(conan-io#15250) libsvtav1: Added latest releases
* libsvtav1: Fixed nitpick from previous PR * libsvtav1: Added latest releases
1 parent e9b2a9e commit 83a65bd

File tree

3 files changed

+15
-2
lines changed

3 files changed

+15
-2
lines changed

recipes/libsvtav1/all/conandata.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
sources:
2+
"1.4.1":
3+
url: https://gitlab.com/AOMediaCodec/SVT-AV1/-/archive/v1.4.1/SVT-AV1-v1.4.1.tar.bz2
4+
sha256: 0e988582f315fe76c909accf5e7f81b975c5bd2b850ee760d8e9fac297f70b5d
5+
"1.3.0":
6+
url: https://gitlab.com/AOMediaCodec/SVT-AV1/-/archive/v1.3.0/SVT-AV1-v1.3.0.tar.bz2
7+
sha256: f85fd13ef16880550e425797bdfdf1b0ba310c21d6b343f74ea79dd2fbb2336e
28
"1.2.1":
39
url: https://gitlab.com/AOMediaCodec/SVT-AV1/-/archive/v1.2.1/SVT-AV1-v1.2.1.tar.bz2
410
sha256: 805827daa8aedec4f1362b959f377075e2a811680bfc76b6f4fbf2ef4e7101d4

recipes/libsvtav1/all/conanfile.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
from conan import ConanFile
33
from conan.tools.cmake import cmake_layout, CMakeToolchain, CMakeDeps, CMake
44
from conan.tools.files import copy, get, rmdir
5+
from conan.tools.scm import Version
56

67
required_conan_version = ">=1.53.0"
78

@@ -10,7 +11,7 @@ class SVTAV1Conan(ConanFile):
1011
name = "libsvtav1"
1112
license = "BSD-3-Clause"
1213
description = "An AV1-compliant software encoder/decoder library"
13-
topics = "av1", "codec", "encoder", "ffmpeg", "video"
14+
topics = "av1", "codec", "encoder", "decoder", "video"
1415
homepage = "https://gitlab.com/AOMediaCodec/SVT-AV1"
1516
url = "https://github.com/conan-io/conan-center-index"
1617
settings = "os", "arch", "compiler", "build_type"
@@ -36,6 +37,9 @@ def configure(self):
3637
self.options.rm_safe("fPIC")
3738

3839
def build_requirements(self):
40+
if Version(self.version) >= "1.3.0":
41+
# at least CMake 3.16
42+
self.tool_requires("cmake/3.25.0")
3943
if self.settings.arch in ("x86", "x86_64"):
4044
self.tool_requires("nasm/2.15.05")
4145

@@ -50,7 +54,6 @@ def generate(self):
5054
tc.variables["BUILD_APPS"] = False
5155
tc.variables["BUILD_DEC"] = self.options.build_decoder
5256
tc.variables["BUILD_ENC"] = self.options.build_encoder
53-
tc.variables["BUILD_SHARED_LIBS"] = self.options.shared
5457
if self.settings.arch in ("x86", "x86_64"):
5558
tc.variables["ENABLE_NASM"] = True
5659
tc.generate()

recipes/libsvtav1/config.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
versions:
2+
"1.4.1":
3+
folder: all
4+
"1.3.0":
5+
folder: all
26
"1.2.1":
37
folder: all

0 commit comments

Comments
 (0)