[OE-core] [PATCH] x265: add x265 recipe
Scott Branden
scott.branden at broadcom.com
Fri Feb 7 23:28:21 UTC 2020
Hi Alex,
more comment below about PV.
On 2020-02-07 2:26 p.m., Scott Branden wrote:
> HI Alex,
>
> On 2020-02-07 2:09 p.m., Alexander Kanavin wrote:
>> Can you also enable x265 in ffmpeg and gstreamer plugins recipes, so
>> there would be actual users of the codec in oe-core?
> I do have a patch for ffmpeg and have tested that works. I'll add
> that to the patch series.
>>
>> Also, x265 git repo does have tagged releases, and so PV/SRCREV in
>> recipe should be set to match a release tag.
> You'll have to help me out a little here on exactly what you want.
>
> This is based off the stable tag.
> I already specified the SRCREV in the recipe.
>
> Do you want PV to be:
> PV = "stable+git${SRCPV}"
>
> ?
I was trying to follow the x264 recipe.
Do you want me do something like name the recipe x265_stable.bb instead
and not specify PV?
>>
>> Alex
>>
>> On Fri, 7 Feb 2020 at 22:35, Scott Branden via Openembedded-core
>> <openembedded-core at lists.openembedded.org
>> <mailto:openembedded-core at lists.openembedded.org>> wrote:
>>
>> Add x265 recipe from latest revision of stable branch.
>>
>> Signed-off-by: Scott Branden <scott.branden at broadcom.com
>> <mailto:scott.branden at broadcom.com>>
>> ---
>> meta/recipes-multimedia/x265/x265_git.bb <http://x265_git.bb> |
>> 21 +++++++++++++++++++++
>> 1 file changed, 21 insertions(+)
>> create mode 100644 meta/recipes-multimedia/x265/x265_git.bb
>> <http://x265_git.bb>
>>
>> diff --git a/meta/recipes-multimedia/x265/x265_git.bb
>> <http://x265_git.bb> b/meta/recipes-multimedia/x265/x265_git.bb
>> <http://x265_git.bb>
>> new file mode 100644
>> index 0000000000..7c230e2b1e
>> --- /dev/null
>> +++ b/meta/recipes-multimedia/x265/x265_git.bb <http://x265_git.bb>
>> @@ -0,0 +1,21 @@
>> +SUMMARY = "H.265/HEVC video encoder"
>> +DESCRIPTION = "A free software library and application for
>> encoding video streams into the H.265/HEVC format."
>> +HOMEPAGE = "http://www.videolan.org/developers/x265.html"
>> +
>> +LICENSE = "GPLv2"
>> +LICENSE_FLAGS = "commercial"
>> +LIC_FILES_CHKSUM =
>> "file://../COPYING;md5=c9e0427bc58f129f99728c62d4ad4091"
>> +
>> +DEPENDS = "nasm-native"
>> +DEPENDS = "gnutls zlib libpcre"
>> +
>> +SRC_URI = "git://github.com/videolan/x265;branch=stable
>> <http://github.com/videolan/x265;branch=stable> \
>> + "
>> +
>> +SRCREV = "4ef6b67fd46e1584e52a11a264812edcaef02526"
>> +
>> +S = "${WORKDIR}/git/source"
>> +
>> +inherit lib_package pkgconfig cmake
>> +
>> +AS[unexport] = "1"
>> --
>> 2.17.1
>>
>> --
>> _______________________________________________
>> Openembedded-core mailing list
>> Openembedded-core at lists.openembedded.org
>> <mailto:Openembedded-core at lists.openembedded.org>
>> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20200207/2f1a839c/attachment.html>
More information about the Openembedded-core
mailing list