Skip to contentSkip to conversation

gstreamer1.0-plugins-base: move data to the right subpackage

PATCH New Ross Burton 1 participant 4 messages Feb 11, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/4 gstreamer1.0-plugins-base: move data to the right subpackage

The libgsttag library has a data file that was packaged in gstreamer1.0-plugins-base, so was never actually installed.

---
 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base.inc |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base.inc +1 -1
index 972ff18..eb5db46 100644
@@ -35,6 +35,6 @@ EXTRA_OECONF += " \
     ${GSTREAMER_1_0_ORC} \
 "
 
-FILES_${PN} += "${datadir}/gst-plugins-base"
+FILES_libgsttag-1.0 += "${datadir}/gst-plugins-base/1.0/license-translations.dict"
 
 CACHED_CONFIGUREVARS_append_i586 = " ac_cv_header_emmintrin_h=no ac_cv_header_xmmintrin_h=no"
Signature · 1 line
1.7.10.4
#1 lore raw

PATCH 2/4 gstreamer1.0-plugins-good: ship equaliser presets in right package

The equaliser presets were packaged into ${PN} which was rarely installed, so move the files to the right subpackage.

---
 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good.inc |    1 +
 1 file changed, 1 insertion(+)
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good.inc +1 -0
index b33ab2b..37217f0 100644
@@ -55,3 +55,4 @@ EXTRA_OECONF += " \
     ${GSTREAMER_1_0_ORC} \
 "
 
+FILES_${PN}-equalizer += "${datadir}/gstreamer-1.0/presets/*.prs"
Signature · 1 line
1.7.10.4
#2 lore raw

PATCH 3/4 gst-plugins-good: ship equaliser presets in right package

In reply to Ross Burton

The equaliser presets were packaged into ${PN} which was rarely installed, so move the files to the right subpackage.

---
 meta/recipes-multimedia/gstreamer/gst-plugins-good_0.10.31.bb |    1 +
 1 file changed, 1 insertion(+)
meta/recipes-multimedia/gstreamer/gst-plugins-good_0.10.31.bb +1 -0
index 495bb17..85f2196 100644
@@ -42,3 +42,4 @@ SRC_URI[md5sum] = "24f98a294a2b521e1b29412bdadae2e6"
 SRC_URI[sha256sum] = "7e27840e40a7932ef2dc032d7201f9f41afcaf0b437daf5d1d44dc96d9e35ac6"
 
 FILES_${PN}-gconfelements += "${sysconfdir}/gconf/schemas/gstreamer-0.10.schemas"
+FILES_${PN}-equalizer += "${datadir}/gstreamer-0.10/presets/*.prs"
Signature · 1 line
1.7.10.4
#3 lore raw

PATCH 4/4 gstreamer-plugins: don't ship files in ${PN}

In reply to Ross Burton

${PN} generally should be empty as every file the GStreamer packages ship is owned by a particular plugin or library, so enforce this behaviour by unsetting FILES_${PN}.

---
 meta/recipes-multimedia/gstreamer/gst-plugins-package.inc |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-multimedia/gstreamer/gst-plugins-package.inc +1 -1
index 586bd05..bc33b0e 100644
@@ -53,7 +53,7 @@ FILES_${PN}-apps = "${bindir}"
 RDEPENDS_${PN}-apps += "perl"
 RRECOMMENDS_${PN} += "${PN}-meta"
 
-FILES_${PN} = "${datadir}/gstreamer-${LIBV}"
+FILES_${PN} = ""
 FILES_${PN}-dbg += "${libdir}/gstreamer-${LIBV}/.debug"
 FILES_${PN}-glib = "${datadir}/glib-2.0"
 
Signature · 1 line
1.7.10.4