diff options
| -rw-r--r-- | meta/recipes-multimedia/libomxil/libomxil-0.9.3/disable-so-versioning.patch | 36 | ||||
| -rw-r--r-- | meta/recipes-multimedia/libomxil/libomxil_0.9.3.bb | 10 |
2 files changed, 43 insertions, 3 deletions
diff --git a/meta/recipes-multimedia/libomxil/libomxil-0.9.3/disable-so-versioning.patch b/meta/recipes-multimedia/libomxil/libomxil-0.9.3/disable-so-versioning.patch new file mode 100644 index 0000000000..f408e4a621 --- /dev/null +++ b/meta/recipes-multimedia/libomxil/libomxil-0.9.3/disable-so-versioning.patch | |||
| @@ -0,0 +1,36 @@ | |||
| 1 | Disable so versioning since they are really not a versioned shared lib. | ||
| 2 | |||
| 3 | Upstream-Status: Submitted @ https://sourceforge.net/p/omxil/bugs/59/ | ||
| 4 | |||
| 5 | Signed-off-by: Drew Moseley <drew_moseley@mentor.com> | ||
| 6 | |||
| 7 | diff -rub libomxil-bellagio-0.9.3-orig/src/components/audio_effects/Makefile.am libomxil-bellagio-0.9.3/src/components/audio_effects/Makefile.am | ||
| 8 | --- libomxil-bellagio-0.9.3-orig/src/components/audio_effects/Makefile.am 2014-07-20 15:22:00.858425234 -0400 | ||
| 9 | +++ libomxil-bellagio-0.9.3/src/components/audio_effects/Makefile.am 2014-07-20 15:25:42.687525225 -0400 | ||
| 10 | @@ -10,4 +10,5 @@ | ||
| 11 | libomxaudio_effects_la_CFLAGS = -I$(top_srcdir)/include \ | ||
| 12 | -I$(top_srcdir)/src \ | ||
| 13 | -I$(top_srcdir)/src/base | ||
| 14 | +libomxaudio_effects_la_LDFLAGS = -avoid-version | ||
| 15 | |||
| 16 | diff -rub libomxil-bellagio-0.9.3-orig/src/components/clocksrc/Makefile.am libomxil-bellagio-0.9.3/src/components/clocksrc/Makefile.am | ||
| 17 | --- libomxil-bellagio-0.9.3-orig/src/components/clocksrc/Makefile.am 2014-07-20 15:22:00.858425234 -0400 | ||
| 18 | +++ libomxil-bellagio-0.9.3/src/components/clocksrc/Makefile.am 2014-07-20 15:24:49.151259753 -0400 | ||
| 19 | @@ -10,4 +10,4 @@ | ||
| 20 | -I$(top_srcdir)/include \ | ||
| 21 | -I$(top_srcdir)/src \ | ||
| 22 | -I$(top_srcdir)/src/base | ||
| 23 | - | ||
| 24 | +libomxclocksrc_la_LDFLAGS = -avoid-version | ||
| 25 | diff -rub libomxil-bellagio-0.9.3-orig/src/components/videoscheduler/Makefile.am libomxil-bellagio-0.9.3/src/components/videoscheduler/Makefile.am | ||
| 26 | --- libomxil-bellagio-0.9.3-orig/src/components/videoscheduler/Makefile.am 2014-07-20 15:22:00.862425254 -0400 | ||
| 27 | +++ libomxil-bellagio-0.9.3/src/components/videoscheduler/Makefile.am 2014-07-20 15:22:36.462601786 -0400 | ||
| 28 | @@ -6,7 +6,7 @@ | ||
| 29 | library_entry_point.c | ||
| 30 | |||
| 31 | libomxvideosched_la_LIBADD = $(top_builddir)/src/libomxil-bellagio.la | ||
| 32 | -libomxvideosched_la_LDFLAGS = | ||
| 33 | +libomxvideosched_la_LDFLAGS = -avoid-version | ||
| 34 | libomxvideosched_la_CFLAGS = -I$(top_srcdir)/include \ | ||
| 35 | -I$(top_srcdir)/src \ | ||
| 36 | -I$(top_srcdir)/src/base | ||
diff --git a/meta/recipes-multimedia/libomxil/libomxil_0.9.3.bb b/meta/recipes-multimedia/libomxil/libomxil_0.9.3.bb index 103d789482..40d6df8b6a 100644 --- a/meta/recipes-multimedia/libomxil/libomxil_0.9.3.bb +++ b/meta/recipes-multimedia/libomxil/libomxil_0.9.3.bb | |||
| @@ -12,7 +12,8 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/omxil/libomxil-bellagio-${PV}.tar.gz \ | |||
| 12 | file://configure-fix.patch \ | 12 | file://configure-fix.patch \ |
| 13 | file://parallel-make.patch \ | 13 | file://parallel-make.patch \ |
| 14 | file://makefile-docdir-fix.patch \ | 14 | file://makefile-docdir-fix.patch \ |
| 15 | file://dynamicloader-linking.patch" | 15 | file://dynamicloader-linking.patch \ |
| 16 | file://disable-so-versioning.patch" | ||
| 16 | 17 | ||
| 17 | SRC_URI[md5sum] = "a1de827fdb75c02c84e55f740ca27cb8" | 18 | SRC_URI[md5sum] = "a1de827fdb75c02c84e55f740ca27cb8" |
| 18 | SRC_URI[sha256sum] = "593c0729c8ef8c1467b3bfefcf355ec19a46dd92e31bfc280e17d96b0934d74c" | 19 | SRC_URI[sha256sum] = "593c0729c8ef8c1467b3bfefcf355ec19a46dd92e31bfc280e17d96b0934d74c" |
| @@ -23,12 +24,15 @@ inherit autotools | |||
| 23 | 24 | ||
| 24 | EXTRA_OECONF += "--disable-doc --disable-Werror" | 25 | EXTRA_OECONF += "--disable-doc --disable-Werror" |
| 25 | 26 | ||
| 26 | FILES_${PN} += "${libdir}/bellagio/*${SOLIBS} \ | 27 | # |
| 28 | # The .so files under ${libdir}/bellagio are not intended to be versioned and symlinked. | ||
| 29 | # Make sure they get packaged in the main package. | ||
| 30 | # | ||
| 31 | FILES_${PN} += "${libdir}/bellagio/*.so \ | ||
| 27 | ${libdir}/omxloaders/*${SOLIBS}" | 32 | ${libdir}/omxloaders/*${SOLIBS}" |
| 28 | FILES_${PN}-staticdev += "${libdir}/bellagio/*.a \ | 33 | FILES_${PN}-staticdev += "${libdir}/bellagio/*.a \ |
| 29 | ${libdir}/omxloaders/*.a" | 34 | ${libdir}/omxloaders/*.a" |
| 30 | FILES_${PN}-dev += "${libdir}/bellagio/*.la \ | 35 | FILES_${PN}-dev += "${libdir}/bellagio/*.la \ |
| 31 | ${libdir}/bellagio/*${SOLIBSDEV} \ | ||
| 32 | ${libdir}/omxloaders/*.la \ | 36 | ${libdir}/omxloaders/*.la \ |
| 33 | ${libdir}/omxloaders/*${SOLIBSDEV}" | 37 | ${libdir}/omxloaders/*${SOLIBSDEV}" |
| 34 | FILES_${PN}-dbg += "${libdir}/bellagio/.debug/ \ | 38 | FILES_${PN}-dbg += "${libdir}/bellagio/.debug/ \ |
