Skip to contentSkip to conversation

libav: Add v9.10

PATCH Superseded Andrei Gherzan 2 participants 5 messages Dec 5, 2013 – Dec 7, 2013

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/2 libav: Add v9.10

This version includes libavresample needed for packages like xbmc. To use this version add:
PREFERRED_VERSION_libav = "9.10".
Removed git version as being an older version of a 9.X release.

---
 .../libav/{libav_git.bb => libav_9.10.bb}               | 17 +++++++----------
 1 file changed, 7 insertions(+), 10 deletions(-)
 rename meta/recipes-multimedia/libav/{libav_git.bb => libav_9.10.bb} (65%)
meta/recipes-multimedia/libav/libav_9.10.bb renamed from meta/recipes-multimedia/libav/libav_git.bb +7 -10
similarity index 65%
rename from meta/recipes-multimedia/libav/libav_git.bb
rename to meta/recipes-multimedia/libav/libav_9.10.bb
index 951baa9..a76cc9c 100644
@@ -1,16 +1,13 @@
 require libav.inc
 
-LIC_FILES_CHKSUM = "file://COPYING.GPLv2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
-                    file://COPYING.GPLv3;md5=d32239bcb673463ab874e80d47fae504 \
-                    file://COPYING.LGPLv2.1;md5=bd7a443320af8c812e4c18d1b79df004 \
-                    file://COPYING.LGPLv3;md5=e6a600fd5e1d9cbde2d983680233ad02"
+SRC_URI = "http://libav.org/releases/libav-9.10.tar.xz"
 
-PV = "9.8+git${SRCPV}"
+SRC_URI[md5sum] = "4b49d1d8734815ca095bb0600d41c5cb"
+SRC_URI[sha256sum] = "83dbe640779da1c1e8d8836c99575f57f749d18407494ebca451578afee9300d"
 
 DEFAULT_PREFERENCE = "-1"
 
-SRCREV = "9aaca159bd220582c698f13d081a455f398c9975"
-SRC_URI = "git://git.libav.org/libav.git"
-
-S = "${WORKDIR}/git"
-
+LIC_FILES_CHKSUM = "file://COPYING.GPLv2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
+                    file://COPYING.GPLv3;md5=d32239bcb673463ab874e80d47fae504 \
+                    file://COPYING.LGPLv2.1;md5=bd7a443320af8c812e4c18d1b79df004 \
+                    file://COPYING.LGPLv3;md5=e6a600fd5e1d9cbde2d983680233ad02"
Signature · 1 line
1.8.1.4
#1 lore raw

PATCH v2 2/2 libav: Update to v0.8.9

---
 .../0001-configure-enable-pic-for-AArch64.patch                   | 0
 meta/recipes-multimedia/libav/{libav_0.8.8.bb => libav_0.8.9.bb}  | 8 +++-----
 2 files changed, 3 insertions(+), 5 deletions(-)
 rename meta/recipes-multimedia/libav/{libav-0.8.8 => libav-0.8.9}/0001-configure-enable-pic-for-AArch64.patch (100%)
 rename meta/recipes-multimedia/libav/{libav_0.8.8.bb => libav_0.8.9.bb} (69%)
meta/recipes-multimedia/libav/libav-0.8.9/0001-configure-enable-pic-for-AArch64.patch renamed from meta/recipes-multimedia/libav/libav-0.8.8/0001-configure-enable-pic-for-AArch64.patch +0 -0
similarity index 100%
rename from meta/recipes-multimedia/libav/libav-0.8.8/0001-configure-enable-pic-for-AArch64.patch
rename to meta/recipes-multimedia/libav/libav-0.8.9/0001-configure-enable-pic-for-AArch64.patch
meta/recipes-multimedia/libav/libav_0.8.9.bb renamed from meta/recipes-multimedia/libav/libav_0.8.8.bb +3 -5
similarity index 69%
rename from meta/recipes-multimedia/libav/libav_0.8.8.bb
rename to meta/recipes-multimedia/libav/libav_0.8.9.bb
index 9cb4cf2..065a6d2 100644
@@ -1,10 +1,10 @@
 require libav.inc
 
-SRC_URI = "http://libav.org/releases/libav-0.8.8.tar.xz \
+SRC_URI = "http://libav.org/releases/libav-0.8.9.tar.xz \
            file://0001-configure-enable-pic-for-AArch64.patch"
 
-SRC_URI[md5sum] = "34b8f1279a04466386ed67731197efe3"
-SRC_URI[sha256sum] = "e95cf618eb6239177a62c46f15e840c37e02e8308baf94912fc5910ff4aacbf2"
+SRC_URI[md5sum] = "7c0e5743cd5c4d4b1bcafd02a2e82e09"
+SRC_URI[sha256sum] = "4f5181164e4007d5b0013bb3cc5e3b7393ab71ac286319c714b7697e2784f77f"
 
 LIC_FILES_CHKSUM = "file://COPYING.GPLv2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
                     file://COPYING.GPLv3;md5=d32239bcb673463ab874e80d47fae504 \
@@ -14,5 +14,3 @@ LIC_FILES_CHKSUM = "file://COPYING.GPLv2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
 EXTRA_OECONF += " \
     --enable-postproc \
 "
-
-
Signature · 1 line
1.8.1.4
#2 lore raw

Re: [PATCH V2][ 2/2] libav: Update to v0.8.9

Andrei:

I see RP already merged this, but I have a couple of comments

meta/recipes-multimedia/libav/libav-0.8.9/0001-configure-enable-pic-for-AArch64.patch

Quoted 12 lines · Andrei Gherzan
---
  .../0001-configure-enable-pic-for-AArch64.patch                   | 0
  meta/recipes-multimedia/libav/{libav_0.8.8.bb => libav_0.8.9.bb}  | 8 +++-----
  2 files changed, 3 insertions(+), 5 deletions(-)

rename meta/recipes-multimedia/libav/{libav-0.8.8 => libav-0.8.9}/0001-configure-enable-pic-for-AArch64.patch (100%) rename meta/recipes-multimedia/libav/{libav_0.8.8.bb => libav_0.8.9.bb} (69%)

meta/recipes-multimedia/libav/libav-0.8.9/0001-configure-enable-pic-for-AArch64.patch renamed from meta/recipes-multimedia/libav/libav-0.8.8/0001-configure-enable-pic-for-AArch64.patch +0 -0
similarity index 100%
rename from meta/recipes-multimedia/libav/libav-0.8.8/0001-configure-enable-pic-for-AArch64.patch
rename to meta/recipes-multimedia/libav/libav-0.8.9/0001-configure-enable-pic-for-AArch64.patch

We are generally trying to get rid of versioned patch directory in favor of just a general recipe name (libav in this case).

meta/recipes-multimedia/libav/libav_0.8.9.bb line 3

Quoted 12 lines
meta/recipes-multimedia/libav/libav_0.8.9.bb renamed from meta/recipes-multimedia/libav/libav_0.8.8.bb +1 -1
similarity index 69%
rename from meta/recipes-multimedia/libav/libav_0.8.8.bb
rename to meta/recipes-multimedia/libav/libav_0.8.9.bb
index 9cb4cf2..065a6d2 100644
@@ -1,10 +1,10 @@
  require libav.inc
 
-SRC_URI = "http://libav.org/releases/libav-0.8.8.tar.xz \
+SRC_URI = "http://libav.org/releases/libav-0.8.9.tar.xz \

why not convert this to ${BP} so it does not need to be edited in the future. BP = BPN-PV.

Sau!

Quoted 16 lines
meta/recipes-multimedia/libav/libav_0.8.9.bb renamed from meta/recipes-multimedia/libav/libav_0.8.8.bb +2 -4
             file://0001-configure-enable-pic-for-AArch64.patch"
 
-SRC_URI[md5sum] = "34b8f1279a04466386ed67731197efe3"
-SRC_URI[sha256sum] = "e95cf618eb6239177a62c46f15e840c37e02e8308baf94912fc5910ff4aacbf2"
+SRC_URI[md5sum] = "7c0e5743cd5c4d4b1bcafd02a2e82e09"
+SRC_URI[sha256sum] = "4f5181164e4007d5b0013bb3cc5e3b7393ab71ac286319c714b7697e2784f77f"
 
  LIC_FILES_CHKSUM = "file://COPYING.GPLv2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
                      file://COPYING.GPLv3;md5=d32239bcb673463ab874e80d47fae504 \
@@ -14,5 +14,3 @@ LIC_FILES_CHKSUM = "file://COPYING.GPLv2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
  EXTRA_OECONF += " \
      --enable-postproc \
  "
-
-
#3 lore raw

Re: [PATCH V2][ 2/2] libav: Update to v0.8.9

Quoted 45 lines · Saul Wold

Andrei:

I see RP already merged this, but I have a couple of comments

Quoted 11 lines · Andrei Gherzan
---
  .../0001-configure-enable-pic-for-AArch64.patch                   | 0
  meta/recipes-multimedia/libav/{libav_0.8.8.bb => libav_0.8.9.bb}  | 8
+++-----
  2 files changed, 3 insertions(+), 5 deletions(-)

rename meta/recipes-multimedia/libav/{libav-0.8.8 =>
libav-0.8.9}/0001-configure-enable-pic-for-AArch64.patch (100%)
rename meta/recipes-multimedia/libav/{libav_0.8.8.bb => libav_0.8.9.bb}
(69%)

Quoted 9 lines
(quoted diff) +0 -0

configure-enable-pic-for-AArch64.patch b/meta/recipes-multimedia/ libav/libav-0.8.9/0001-configure-enable-pic-for-AArch64.patch similarity index 100%
rename from meta/recipes-multimedia/libav/libav-0.8.8/0001-configure- enable-pic-for-AArch64.patch
rename to meta/recipes-multimedia/libav/libav-0.8.9/0001-configure- enable-pic-for-AArch64.patch

We are generally trying to get rid of versioned patch directory in favor of just a general recipe name (libav in this case).

diff --git a/meta/recipes-multimedia/libav/libav_0.8.8.bbb/meta/recipes-multimedia/

Quoted 10 lines

libav/libav_0.8.9.bb
similarity index 69%
rename from meta/recipes-multimedia/libav/libav_0.8.8.bb rename to meta/recipes-multimedia/libav/libav_0.8.9.bb index 9cb4cf2..065a6d2 100644

meta/recipes-multimedia/libav/libav_0.8.9.bb renamed from meta/recipes-multimedia/libav/libav_0.8.8.bb +0 -0
@@ -1,10 +1,10 @@
  require libav.inc
 
Quoted 7 lines

meta/recipes-multimedia/libav/libav_0.8.9.bb line 5

Quoted 3 lines
meta/recipes-multimedia/libav/libav_0.8.9.bb renamed from meta/recipes-multimedia/libav/libav_0.8.8.bb +1 -1
-SRC_URI = "http://libav.org/releases/libav-0.8.8.tar.xz \
+SRC_URI = "http://libav.org/releases/libav-0.8.9.tar.xz \
 

why not convert this to ${BP} so it does not need to be edited in the future. BP = BPN-PV.

Sau!

Pushing a patch to address these comments. Thanks.

Signature · 1 line
*ag*
#4 lore raw
In reply to Andrei Gherzan
Quoted 19 lines · Andrei Gherzan

This version includes libavresample needed for packages like xbmc. To use this version add:
PREFERRED_VERSION_libav = "9.10".
Removed git version as being an older version of a 9.X release.

---
  .../libav/{libav_git.bb => libav_9.10.bb}               | 17 +++++++----------
  1 file changed, 7 insertions(+), 10 deletions(-)

rename meta/recipes-multimedia/libav/{libav_git.bb => libav_9.10.bb} (65%)

meta/recipes-multimedia/libav/libav_9.10.bb renamed from meta/recipes-multimedia/libav/libav_git.bb +0 -0
similarity index 65%
rename from meta/recipes-multimedia/libav/libav_git.bb
rename to meta/recipes-multimedia/libav/libav_9.10.bb
index 951baa9..a76cc9c 100644

meta/recipes-multimedia/libav/libav_9.10.bb line 4

Quoted 8 lines
meta/recipes-multimedia/libav/libav_9.10.bb renamed from meta/recipes-multimedia/libav/libav_git.bb +1 -4
@@ -1,16 +1,13 @@
  require libav.inc
 
-LIC_FILES_CHKSUM = "file://COPYING.GPLv2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
-                    file://COPYING.GPLv3;md5=d32239bcb673463ab874e80d47fae504 \
-                    file://COPYING.LGPLv2.1;md5=bd7a443320af8c812e4c18d1b79df004 \
-                    file://COPYING.LGPLv3;md5=e6a600fd5e1d9cbde2d983680233ad02"
+SRC_URI = "http://libav.org/releases/libav-9.10.tar.xz"
 

why not use ${BP} here instead, so we do not need to edit it for version changes?

Quoted 6 lines
meta/recipes-multimedia/libav/libav_9.10.bb renamed from meta/recipes-multimedia/libav/libav_git.bb +2 -1
-PV = "9.8+git${SRCPV}"
+SRC_URI[md5sum] = "4b49d1d8734815ca095bb0600d41c5cb"
+SRC_URI[sha256sum] = "83dbe640779da1c1e8d8836c99575f57f749d18407494ebca451578afee9300d"
 
  DEFAULT_PREFERENCE = "-1"

meta/recipes-multimedia/libav/libav_9.10.bb line 13

Quoted 10 lines
meta/recipes-multimedia/libav/libav_9.10.bb renamed from meta/recipes-multimedia/libav/libav_git.bb +4 -5
 
-SRCREV = "9aaca159bd220582c698f13d081a455f398c9975"
-SRC_URI = "git://git.libav.org/libav.git"
-
-S = "${WORKDIR}/git"
-
+LIC_FILES_CHKSUM = "file://COPYING.GPLv2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
+                    file://COPYING.GPLv3;md5=d32239bcb673463ab874e80d47fae504 \
+                    file://COPYING.LGPLv2.1;md5=bd7a443320af8c812e4c18d1b79df004 \
+                    file://COPYING.LGPLv3;md5=e6a600fd5e1d9cbde2d983680233ad02"

LIC_FILES_CHKSUM should be at the beginning before the SRC_URI

Thanks
Sau!