Skip to contentSkip to conversation

libav: library packages shouldn't rdepend on libav package

PATCH Applied Andreas Oberritter 3 participants 3 messages Mar 12, 2013 – Mar 13, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libav: library packages shouldn't rdepend on libav package

Otherwise the libav executables (avplay, ffmpeg etc.) get dragged into the image, along with all their dependencies (e.g. SDL).

---
 meta-oe/recipes-multimedia/libav/libav.inc |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
meta-oe/recipes-multimedia/libav/libav.inc +2 -1
index 388a567..54307af 100644
@@ -11,7 +11,7 @@ ARM_INSTRUCTION_SET = "arm"
 # faac faad2 lame schroedinger libgsm
 DEPENDS = "x264 virtual/libsdl zlib libogg libvorbis libvpx libtheora ${@base_conditional('ENTERPRISE_DISTRO', '1', '', 'liba52', d)}"
 
-INC_PR = "r7"
+INC_PR = "r8"
 
 inherit autotools pkgconfig
 
@@ -96,6 +96,7 @@ python populate_packages_prepend() {
     do_split_packages(d, av_libdir, '^lib(.*)\.so\..*',
                       output_pattern='lib%s',
                       description='libav %s library',
+                      extra_depends='',
                       prepend=True,
                       allow_links=True)
 
Signature · 1 line
1.7.10.4
Acked-by on v1 1/1
#1 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Op 12-03-13 23:09, Andreas Oberritter schreef:

Quoted 21 lines

Otherwise the libav executables (avplay, ffmpeg etc.) get dragged into the image, along with all their dependencies (e.g. SDL).

meta-oe/recipes-multimedia/libav/libav.inc | 3 ++- 1 file changed, 2
insertions(+), 1 deletion(-)

(quoted diff) +0 -0

b/meta-oe/recipes-multimedia/libav/libav.inc index 388a567..54307af 100644 --- a/meta-oe/recipes-multimedia/libav/libav.inc +++ b/meta-oe/recipes-multimedia/libav/libav.inc @@ -11,7 +11,7 @@ ARM_INSTRUCTION_SET = "arm" # faac faad2 lame schroedinger libgsm DEPENDS = "x264 virtual/libsdl zlib libogg libvorbis libvpx libtheora ${@base_conditional('ENTERPRISE_DISTRO', '1', '', 'liba52', d)}"

-INC_PR = "r7" +INC_PR = "r8"

inherit autotools pkgconfig

meta-oe/recipes-multimedia/libav/libav.inc +0 -0
@@ -96,6 +96,7 @@ python populate_packages_prepend() { 
 do_split_packages(d, av_libdir, '^lib(.*)\.so\..*', 
Quoted 2 lines

output_pattern='lib%s', description='libav %s library', + extra_depends='', prepend=True, allow_links=True)

Ah, so that's why that happens!

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
Comment: GPGTools - http://gpgtools.org

iD8DBQFRQEPPMkyGM64RGpERAoWvAKCPmD5imlxQhkUotQftxW094mTzsgCbBMeG FhxvbTNmnXhaKhfrgaeVigE=
=Jmzk
-----END PGP SIGNATURE-----

Applied
#2 lore raw
In reply to Andreas Oberritter
Quoted 2 lines · Andreas Oberritter

Otherwise the libav executables (avplay, ffmpeg etc.) get dragged into the image, along with all their dependencies (e.g. SDL).

Applied, thanks!

Quoted 35 lines
---
 meta-oe/recipes-multimedia/libav/libav.inc |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
meta-oe/recipes-multimedia/libav/libav.inc +2 -1
index 388a567..54307af 100644
@@ -11,7 +11,7 @@ ARM_INSTRUCTION_SET = "arm"
 # faac faad2 lame schroedinger libgsm
 DEPENDS = "x264 virtual/libsdl zlib libogg libvorbis libvpx libtheora ${@base_conditional('ENTERPRISE_DISTRO', '1', '', 'liba52', d)}"
 
-INC_PR = "r7"
+INC_PR = "r8"
 
 inherit autotools pkgconfig
 
@@ -96,6 +96,7 @@ python populate_packages_prepend() {
     do_split_packages(d, av_libdir, '^lib(.*)\.so\..*',
                       output_pattern='lib%s',
                       description='libav %s library',
+                      extra_depends='',
                       prepend=True,
                       allow_links=True)
 
Signature · 7 lines
1.7.10.4


_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]