Patchwork [meta-oe] faad2: create -staticdev packages

login
register
mail settings
Submitter Andreas Oberritter
Date March 28, 2012, 9:20 p.m.
Message ID <1332969613-445-1-git-send-email-obi@opendreambox.org>
Download mbox | patch
Permalink /patch/24771/
State New, archived
Headers show

Comments

Andreas Oberritter - March 28, 2012, 9:20 p.m.
* Fixes QA warnings:

| faad2-2.7: non -staticdev package contains static .a library: libfaad-dev
| faad2-2.7: non -staticdev package contains static .a library: libmp4ff-dev

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
---
 meta-oe/recipes-multimedia/faad2/faad2_2.7.bb |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)
Andreas Müller - March 29, 2012, 6:29 a.m.
On Wed, Mar 28, 2012 at 11:20 PM, Andreas Oberritter
<obi@opendreambox.org> wrote:
> * Fixes QA warnings:
>
> | faad2-2.7: non -staticdev package contains static .a library: libfaad-dev
> | faad2-2.7: non -staticdev package contains static .a library: libmp4ff-dev
>
> Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
> ---
>  meta-oe/recipes-multimedia/faad2/faad2_2.7.bb |   10 ++++++----
>  1 files changed, 6 insertions(+), 4 deletions(-)
>
> diff --git a/meta-oe/recipes-multimedia/faad2/faad2_2.7.bb b/meta-oe/recipes-multimedia/faad2/faad2_2.7.bb
> index 462837f..3a64b6b 100644
> --- a/meta-oe/recipes-multimedia/faad2/faad2_2.7.bb
> +++ b/meta-oe/recipes-multimedia/faad2/faad2_2.7.bb
> @@ -1,6 +1,7 @@
>  DESCRIPTION = "Library for reading some sort of media format."
>  SECTION = "libs"
>  LICENSE = "GPLv2"
> +PR = "r1"
>
>  LIC_FILES_CHKSUM = "file://COPYING;md5=381c8cbe277a7bc1ee2ae6083a04c958"
>
> @@ -12,13 +13,14 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/faac/faad2-src/faad2-${PV}/${PN}-${PV}.tar.bz2;
>  SRC_URI[faad2.md5sum] = "4c332fa23febc0e4648064685a3d4332"
>  SRC_URI[faad2.sha256sum] = "14561b5d6bc457e825bfd3921ae50a6648f377a9396eaf16d4b057b39a3f63b5"
>
> -PACKAGES =+ "libfaad libfaad-dev libmp4ff libmp4ff-dev"
> +PACKAGES =+ "libfaad libfaad-dev libfaad-staticdev libmp4ff libmp4ff-dev libmp4ff-staticdev"
>
>  FILES_${PN} = "${bindir}/faad"
>
>  FILES_libfaad = "${libdir}/libfaad.so.*"
> -FILES_libfaad-dev = "${libdir}/libfaad.so ${libdir}/libfaad.la ${libdir}/libfaad.a ${includedir}/faad.h"
> +FILES_libfaad-dev = "${libdir}/libfaad.so ${libdir}/libfaad.la ${includedir}/faad.h"
> +FILES_libfaad-staticdev = "${libdir}/libfaad.a"
>
>  FILES_libmp4ff = "${libdir}/libmp4ff.so.*"
> -FILES_libmp4ff-dev = "${libdir}/libmp4ff.so ${libdir}/libmp4ff.la ${libdir}/libmp4ff.a ${includedir}/mp4ff.h"
> -
> +FILES_libmp4ff-dev = "${libdir}/libmp4ff.so ${libdir}/libmp4ff.la ${includedir}/mp4ff.h"
> +FILES_libmp4ff-staticdev = "${libdir}/libmp4ff.a"
> --
Looks like

http://patches.openembedded.org/patch/24713/

Andreas
Andreas Oberritter - March 29, 2012, 10:50 a.m.
On 29.03.2012 08:29, Andreas Müller wrote:
> On Wed, Mar 28, 2012 at 11:20 PM, Andreas Oberritter
> <obi@opendreambox.org> wrote:
>> * Fixes QA warnings:
>>
>> | faad2-2.7: non -staticdev package contains static .a library: libfaad-dev
>> | faad2-2.7: non -staticdev package contains static .a library: libmp4ff-dev
>>
>> Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
>> ---
>>  meta-oe/recipes-multimedia/faad2/faad2_2.7.bb |   10 ++++++----
>>  1 files changed, 6 insertions(+), 4 deletions(-)
>>
>> diff --git a/meta-oe/recipes-multimedia/faad2/faad2_2.7.bb b/meta-oe/recipes-multimedia/faad2/faad2_2.7.bb
>> index 462837f..3a64b6b 100644
>> --- a/meta-oe/recipes-multimedia/faad2/faad2_2.7.bb
>> +++ b/meta-oe/recipes-multimedia/faad2/faad2_2.7.bb
>> @@ -1,6 +1,7 @@
>>  DESCRIPTION = "Library for reading some sort of media format."
>>  SECTION = "libs"
>>  LICENSE = "GPLv2"
>> +PR = "r1"
>>
>>  LIC_FILES_CHKSUM = "file://COPYING;md5=381c8cbe277a7bc1ee2ae6083a04c958"
>>
>> @@ -12,13 +13,14 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/faac/faad2-src/faad2-${PV}/${PN}-${PV}.tar.bz2;
>>  SRC_URI[faad2.md5sum] = "4c332fa23febc0e4648064685a3d4332"
>>  SRC_URI[faad2.sha256sum] = "14561b5d6bc457e825bfd3921ae50a6648f377a9396eaf16d4b057b39a3f63b5"
>>
>> -PACKAGES =+ "libfaad libfaad-dev libmp4ff libmp4ff-dev"
>> +PACKAGES =+ "libfaad libfaad-dev libfaad-staticdev libmp4ff libmp4ff-dev libmp4ff-staticdev"
>>
>>  FILES_${PN} = "${bindir}/faad"
>>
>>  FILES_libfaad = "${libdir}/libfaad.so.*"
>> -FILES_libfaad-dev = "${libdir}/libfaad.so ${libdir}/libfaad.la ${libdir}/libfaad.a ${includedir}/faad.h"
>> +FILES_libfaad-dev = "${libdir}/libfaad.so ${libdir}/libfaad.la ${includedir}/faad.h"
>> +FILES_libfaad-staticdev = "${libdir}/libfaad.a"
>>
>>  FILES_libmp4ff = "${libdir}/libmp4ff.so.*"
>> -FILES_libmp4ff-dev = "${libdir}/libmp4ff.so ${libdir}/libmp4ff.la ${libdir}/libmp4ff.a ${includedir}/mp4ff.h"
>> -
>> +FILES_libmp4ff-dev = "${libdir}/libmp4ff.so ${libdir}/libmp4ff.la ${includedir}/mp4ff.h"
>> +FILES_libmp4ff-staticdev = "${libdir}/libmp4ff.a"
>> --
> Looks like
> 
> http://patches.openembedded.org/patch/24713/

Oops! I didn't notice your patch. :-)

Regards,
Andreas

Patch

diff --git a/meta-oe/recipes-multimedia/faad2/faad2_2.7.bb b/meta-oe/recipes-multimedia/faad2/faad2_2.7.bb
index 462837f..3a64b6b 100644
--- a/meta-oe/recipes-multimedia/faad2/faad2_2.7.bb
+++ b/meta-oe/recipes-multimedia/faad2/faad2_2.7.bb
@@ -1,6 +1,7 @@ 
 DESCRIPTION = "Library for reading some sort of media format."
 SECTION = "libs"
 LICENSE = "GPLv2"
+PR = "r1"
 
 LIC_FILES_CHKSUM = "file://COPYING;md5=381c8cbe277a7bc1ee2ae6083a04c958"
 
@@ -12,13 +13,14 @@  SRC_URI = "${SOURCEFORGE_MIRROR}/faac/faad2-src/faad2-${PV}/${PN}-${PV}.tar.bz2;
 SRC_URI[faad2.md5sum] = "4c332fa23febc0e4648064685a3d4332"
 SRC_URI[faad2.sha256sum] = "14561b5d6bc457e825bfd3921ae50a6648f377a9396eaf16d4b057b39a3f63b5"
 
-PACKAGES =+ "libfaad libfaad-dev libmp4ff libmp4ff-dev"
+PACKAGES =+ "libfaad libfaad-dev libfaad-staticdev libmp4ff libmp4ff-dev libmp4ff-staticdev"
 
 FILES_${PN} = "${bindir}/faad"
 
 FILES_libfaad = "${libdir}/libfaad.so.*"
-FILES_libfaad-dev = "${libdir}/libfaad.so ${libdir}/libfaad.la ${libdir}/libfaad.a ${includedir}/faad.h"
+FILES_libfaad-dev = "${libdir}/libfaad.so ${libdir}/libfaad.la ${includedir}/faad.h"
+FILES_libfaad-staticdev = "${libdir}/libfaad.a"
 
 FILES_libmp4ff = "${libdir}/libmp4ff.so.*"
-FILES_libmp4ff-dev = "${libdir}/libmp4ff.so ${libdir}/libmp4ff.la ${libdir}/libmp4ff.a ${includedir}/mp4ff.h"
-
+FILES_libmp4ff-dev = "${libdir}/libmp4ff.so ${libdir}/libmp4ff.la ${includedir}/mp4ff.h"
+FILES_libmp4ff-staticdev = "${libdir}/libmp4ff.a"